Skip to content

REM model not fitting #25

@smmurp2

Description

@smmurp2

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.

grpDat_BTJ_rand[[1]]

A tibble: 1 x 4

Site Count Distance Theta

1 1 15 0.005 0.766
#... with 39 more rows

I'm using v4.2.1 of R.

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