Skip to content

Dtheta error #11

Description

@Lisa239217

Hi, an error for Dtheta is now popping up for me which I suspect is related to to the recent Dtheta changes.
Error in FUN(X[[i]], ...) : object 'Dtheta' not found

The help example also now throws the same error

data(beardata)
tdf<- cbind(1:38, beardata$trapmat, matrix(1, nrow=38, ncol=8))
edf<- beardata$edf
edf[,1]<- 1
data<- data2oscr(edf, sess.col = 1, id.col = 2, occ.col = 3, trap.col = 4, 
                 sex.col = NULL, tdf = list(tdf), K = c(8), ntraps = c(38),
                 remove.zeros = TRUE, remove.extracaps = TRUE, sex.nacode = NULL, 
                 tdf.sep = "/")
scrFrame  <- make.scrFrame(caphist=data$y3d, traps=data$traplocs, trapCovs=NULL ,
                           trapOperation=data$trapopp)
sf <- data$scrFrame
ssDF <- make.ssDF(sf, buffer=3, res = 0.5)

#fit the NULL model: 
m0 <- oSCR.fit(model=list(D~1,p0~1,sig~1), scrFrame=sf, ssDF=ssDF)`

Error in FUN(X[[i]], ...) : object 'Dtheta' not found

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions