CoronaNetDataScience / corona_tscs

This is the raw data repository (policy record format) of the CoronaNet project on government responses to the COVID-19 pandemic.
98 stars 57 forks source link

quantile.default(cum_est,K) NAN error in kubinek_daily_update.Rmd #10

Closed Tsardoz closed 4 years ago

Tsardoz commented 4 years ago

Error in quantile.default(cum_est, 0.5) : missing values and NaN's not allowed if 'na.rm' is FALSE

I think there are 6 occurrences of this I changed to quantile.default(cum_est, K, na.rm = T) not sure if correct

saudiwin commented 4 years ago

the file you should be using is kubinec_model_preprint.Rmd (see the README file). The others are old files no longer up to date.