[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in 'is.nan(). #16

Open
jenniejester opened this issue Jun 26, 2024 · 0 comments
Open

Error in 'is.nan(). #16

jenniejester opened this issue Jun 26, 2024 · 0 comments

Comments

@jenniejester
Copy link

Here is the error:

|.................... | 39% [unnamed-chunk-5] Error in is.nan():
! default method not implemented for type 'list'
Backtrace:

  1. JointAI::lme_imp(...)
  2. JointAI (local) <fn>(...)
  3. JointAI:::check_data(data, fixed, random, auxvars, timevar, mess)
  4. JointAI:::convert_variables(...)
  5. tibble:::[<-.tbl_df(*tmp*, is.nan(data[, k]), k, value = <lgl>)

Here is the code: lmimp1<- lme_imp(phqtotal~time_25 + treat + treat:time_25 + PHQBL + time_25:PHQBL+nonwhite +(1|id)
+(1|cohort), data =rostlong1r)

Here is the result of lapply for my dataset:

View(rostlong1r)
lapply(rostlong1r, class)
$id
[1] "numeric"

$phqtotal
[1] "numeric"

$time_25
[1] "numeric"

$treat
[1] "numeric"

$PHQBL
[1] "numeric"

$nonwhite
[1] "numeric"

$cohort
[1] "numeric"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant