Now I am using the function “stan” to estimate model parameters.After that ,I want to obtain the density curve of the parameter,what I should do for it
f <- stan(data = ...)
rstan::stan_hist(f)
or
f <- stan(data = ...)
rstan::stan_dens(f)
Now I am using the function “stan” to estimate model parameters.After that ,I want to obtain the density curve of the parameter,what I should do for it
f <- stan(data = ...)
rstan::stan_hist(f)
or
f <- stan(data = ...)
rstan::stan_dens(f)