Error while using engine_inlabru #144
Unanswered
ishashyam98
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Hi, this could be a bug to be honest, possibly because the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello again,
I am trying to use ibis.iSDM for modelling using the inlabru engine. On trying to run the following code:
model1 <- distribution(study_area) |>
add_predictors(env = env_stack,
transform = "scale",
derivates = "none") |>
add_biodiversity_poipo(spin_p_o_sf,
field_occurrence = "observation") |>
add_biodiversity_poipa(spin_p_a_sf,
field_occurrence = "observation") |>
engine_inlabru() |>
train(runname = "combined_1",
verbose = T,
aggregate_observations = F)
I get the following error:
Error in UseMethod("as_bru_obs") :
no applicable method for 'as_bru_obs' applied to an object of class "list".
Do you have any advice or suggestions for this issue? Many thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions