You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm having a bit of trouble getting the first example in the vignette to work for me. Specifically, I get a "Duplicate names not allowed in 'data'." error. I'm using cmdstan-2.31.0, if that helps. I also get
I've attached the code and error output below.
library(idealstan)
ord_ideal_sim <- id_sim_gen(model='ordinal_grm', inflate = T)
true_legis <- ord_ideal_sim@simul_data$true_person
high_leg <- sort(true_legis,decreasing = TRUE,index.return=TRUE)
low_leg <- sort(true_legis,index.return=TRUE)
ord_ideal_est <- id_estimate(idealdata=ord_ideal_sim,
model_type=6,
fixtype='prefix',
restrict_ind_high = as.character(high_leg$ix[1]),
restrict_ind_low=as.character(low_leg$ix[1]),
id_refresh=500,
ncores=1,
nchains=2)
[1] "Compiling model. Will take some time as this is the first time package is used."
[1] "Have you thought about donating to relief for victims for Yemen's famine?"
[1] "Check out https://www.unicef.org/emergencies/yemen-crisis for more info."
Model executable is up to date!
[1] "Estimating model with full Stan MCMC sampler."
Error: Duplicate names not allowed in 'data'.
In addition: Warning messages:
1: In max(Y_cont) : no non-missing arguments to max; returning -Inf
2: In max(Y_cont) : no non-missing arguments to max; returning -Inf
The text was updated successfully, but these errors were encountered:
I am releasing a big update of the package in a bit so the current version is a bit out of sync. You can install the development version with the following command:
Hi, I'm having a bit of trouble getting the first example in the vignette to work for me. Specifically, I get a "Duplicate names not allowed in 'data'." error. I'm using cmdstan-2.31.0, if that helps. I also get
I've attached the code and error output below.
The text was updated successfully, but these errors were encountered: