Skip to content

Error in mcv.FLORAL bind_rows() #25

@funnell

Description

@funnell

Hello, I'm running FLORAL 0.3.0 like so:

> mcv_fit_0_6 <- mcv.FLORAL(
  mcv = 10, ncore = 8,
  x = as.matrix(X_0_6), y = y_0_6,
  longitudinal = TRUE,
  id = as.integer(factor(metadata_0_6$mouse_id)),
  tobs = metadata_0_6$day,
  family = "binomial", ncv = 5, progress = TRUE
)

and received this error message:

Error in `bind_rows()`:
! Argument 3 must be a data frame or a named atomic vector.
Run `rlang::last_trace()` to see where the error occurred.
> rlang::last_trace()
<error/rlang_error>
Error in `bind_rows()`:
! Argument 3 must be a data frame or a named atomic vector.
---
Backtrace:1. └─FLORAL::mcv.FLORAL(...)
 2.   ├─base::colMeans(...)
 3.   │ └─base::is.data.frame(x)
 4.   └─dplyr::bind_rows(...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions