search for: unmarkedframe

Displaying 2 results from an estimated 2 matches for "unmarkedframe".

2012 Aug 14
1
Error; contrasts can be applied only to factors with 2 or more levels
..., + 82, + 86, + 90, + 94, + 84, + 68, + 62, + 44, + 64, + 73, + 92, + 106, + 119, + 125, + 126, + 132, + 138, + 157, + 160, + 171, + 174, + 164, + 159, + 149, + 132, + 109, + 80, + 62, + 49, + 42, + 36, + 30, + 26, + 44, + 51, + 67, + 70, + 88), nrow=R, ncol=J, byrow=TRUE)) > > > umf<-unmarkedFrameOccu(y=y, siteCovs=ndvi, obsCovs=elev) > summary(umf) unmarkedFrame Object 121 sites Maximum number of observations per site: 2 Mean number of observations per site: 2 Sites with at least one detection: 13 Tabulation of y observations: 0 1 <NA> 223 19 0 Site-level covari...
2011 Dec 01
0
Error message: object 'A' not found
...ect lengths len <- as.numeric(c(100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100)) #Make this equal A, AA....KK for number of 10000s # Organize distance data along with covariates and metadata, MAKE SURE THESE COVARIATES ARE RIGHT, MAYBE I CAN ADD MINE HERE peldist <- unmarkedFrameDS(y=yDat, siteCovs = data.frame(hab, year), dist.breaks=cp, tlength=len, survey="Line", unitsIn="m") peldist # look at the data summary(peldist) # get a summary of the data # Part 3 # Fit model...