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

Column mean in bird_dens_dt contains NA #21

Open
JannisLi opened this issue Mar 10, 2022 · 1 comment
Open

Column mean in bird_dens_dt contains NA #21

JannisLi opened this issue Mar 10, 2022 · 1 comment

Comments

@JannisLi
Copy link

see error below

Hi, maybe not a common thing but in my birds dense datasets I have some missing values for some species in some month. Would be nice to be able to load the whole dataset with all month included. Is there a way that it runs with NAs?
Cheers Jannis

Error in val_df_columns():
! Parameter inputs can't hold missing values.
x Column mean in bird_dens_dt contains NAs.
Run rlang::last_error() to see where the error occurred.

@grwhumphries
Copy link
Collaborator

Hey Jannis, just set those values to 0 instead of NAs. If it has 0 bird density, the output on the other side will just be a 0 as well. You can then exclude those data from your final presentation

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

2 participants