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

ppc_loo_pit_overlay(): NA values generated near ends after convolution in boundary correction #241

Open
ecoronado92 opened this issue Oct 16, 2020 · 0 comments
Assignees
Labels

Comments

@ecoronado92
Copy link
Collaborator

ecoronado92 commented Oct 16, 2020

Currently boundary correction generates NAs for values near ends of vector after convolution . Important to note that # of NAs "varies" so na.omit() won't work and will cause size inconsistencies. Current fix, use last non-null value at head and tail of vector as padding.

See line 627 in R/ppc-loo.R

@ecoronado92 ecoronado92 changed the title ppc_loo_pit_overlay(): NA values generated near ends after convolution ppc_loo_pit_overlay(): NA values generated near ends after convolution in boundary correction Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants