[R-sig-Geo] EBlocal() returning NaN values
Erin Stearns
e@te@rn@88 @end|ng |rom gm@||@com
Tue Jan 4 18:15:07 CET 2022
Hello R-sig-Geo friends & happy 2022!
Running EBlocal() on US county sf dataset and getting NaN values where
Empirical Bayes and a BYM model are returning values and I do not
understand why. Additionally, does anyone know how to examine the parameters
attribute list from the output of the EBlocal() function? I have not been
able to look at this and perhaps that would be informative.
*Function call:*
seb_icu <- EBlocal(thedata$icu_bed_avg, thedata$over18pop, nb = nb,
zero.policy = TRUE)
*Environment details:*
OS: Windows 10 x64
R Version: 4.1.1
spdep version: 1.1-11
sf version : 1.0-3
Full dataset and code to reproduce can be found for download here.
<https://app.box.com/s/r26ta0gl9avwlwm65ivtze7j97hyw8i7>
Thank you in advance for your help!
Best,
Erin
[[alternative HTML version deleted]]
More information about the R-sig-Geo
mailing list