My data are formatted with 4 columns (Site, Count, Distance, Theta), as specified in the vignette. However when I attempt to fit the REM, I receive the following:
rem(grpDat_BTJ_rand[[1]], tm = tm_BTJ_18S_rand, v = v_BTJ_18S) #2018 Summer
[1] NA
Warning messages:
1: In mean.default(dat[, 3], na.rm = TRUE) :
argument is not numeric or logical: returning NA
2: In mean.default(dat[, 4], na.rm = TRUE) :
argument is not numeric or logical: returning NA
Both the Distance and Theta columns are formatted as numeric (see below), so it is unclear why these warnings keep popping up and an estimate is not produced.
My data are formatted with 4 columns (Site, Count, Distance, Theta), as specified in the vignette. However when I attempt to fit the REM, I receive the following:
Both the Distance and Theta columns are formatted as numeric (see below), so it is unclear why these warnings keep popping up and an estimate is not produced.
I'm using v4.2.1 of R.