Closed Tess-LaCoil closed 1 month ago
This is working fine for me.
> samples <- rstan::extract(multi_ind_trout, permuted = TRUE, inc_warmup = FALSE)
+ names(samples)
[1] "ind_y_0" "ind_beta" "pop_beta_mu" "pop_beta_sigma"
[5] "global_error_sigma" "y_hat" "Delta_hat" "lp__"
>
As noted in #30, I think you need to remove old installation and reinstall. Somehow you're loading an old installation
Re-installing from remote did not update the names so I have created a separate branch and pull request for it.
Forced re-install from remote with the updated names worked.
On branch function-update I've changed the names of population-level parameters to pop_theta_mu and pop_theta_sigma to generalise away from the species terminology. Despite re-loading and re-compiling the stan files, when the samples are extracted I am getting the old parameter names anyway.
This happens on both Ubuntu and Windows