Package: rstanemax 0.1.9.1001
rstanemax: Emax Model Analysis with 'Stan'
Perform sigmoidal Emax model fit using 'Stan' in a formula notation, without writing 'Stan' model code.
Authors:
rstanemax_0.1.9.1001.tar.gz
rstanemax_0.1.9.1001.zip(r-4.5)rstanemax_0.1.9.1001.zip(r-4.4)rstanemax_0.1.9.1001.zip(r-4.3)
rstanemax_0.1.9.1001.tgz(r-4.5-x86_64)rstanemax_0.1.9.1001.tgz(r-4.5-arm64)rstanemax_0.1.9.1001.tgz(r-4.4-x86_64)rstanemax_0.1.9.1001.tgz(r-4.4-arm64)rstanemax_0.1.9.1001.tgz(r-4.3-x86_64)rstanemax_0.1.9.1001.tgz(r-4.3-arm64)
rstanemax_0.1.9.1001.tar.gz(r-4.5-noble)rstanemax_0.1.9.1001.tar.gz(r-4.4-noble)
rstanemax.pdf |rstanemax.html✨
rstanemax/json (API)
NEWS
# Install 'rstanemax' in R: |
install.packages('rstanemax', repos = c('https://yoshidk6.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/yoshidk6/rstanemax/issues
Pkgdown site:https://yoshidk6.github.io
- exposure.response.sample - Sample simulated data for exposure-response.
- exposure.response.sample.binary - Sample simulated data for exposure-response for binary endpoint
- exposure.response.sample.with.cov - Sample simulated data for exposure-response with covariates
Last updated 2 days agofrom:86a8377593. Checks:4 OK, 7 NOTE. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Feb 17 2025 |
R-4.5-win-x86_64 | NOTE | Feb 17 2025 |
R-4.5-mac-x86_64 | OK | Feb 17 2025 |
R-4.5-mac-aarch64 | OK | Feb 17 2025 |
R-4.5-linux-x86_64 | OK | Feb 17 2025 |
R-4.4-win-x86_64 | NOTE | Feb 17 2025 |
R-4.4-mac-x86_64 | NOTE | Feb 17 2025 |
R-4.4-mac-aarch64 | NOTE | Feb 17 2025 |
R-4.3-win-x86_64 | NOTE | Feb 17 2025 |
R-4.3-mac-x86_64 | NOTE | Feb 17 2025 |
R-4.3-mac-aarch64 | NOTE | Feb 17 2025 |
Exports:%>%as_drawsas_draws_arrayas_draws_dfas_draws_listas_draws_matrixas_draws_rvarsextract_obs_mod_frameextract_paramextract_stanfitlog_likposterior_epredposterior_linpredposterior_predictposterior_predict_quantilestan_emaxstan_emax_binary
Dependencies:abindbackportsBHcallrcheckmateclicolorspacecpp11descdistributionaldplyrfansifarvergenericsggplot2gluegridExtragtableinlineisobandlabelinglatticelifecycleloomagrittrMASSMatrixmatrixStatsmgcvmunsellnlmenumDerivpillarpkgbuildpkgconfigposteriorprocessxpspurrrQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanrstantoolsscalesStanHeadersstringistringrtensorAtibbletidyrtidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
The 'rstanemax' package. | rstanemax-package rstanemax |
Convert stanemax object to a posterior draws object | as_draws as_draws.stanemax as_draws.stanemaxbin as_draws_array as_draws_array.stanemax as_draws_array.stanemaxbin as_draws_df as_draws_df.stanemax as_draws_df.stanemaxbin as_draws_list as_draws_list.stanemax as_draws_list.stanemaxbin as_draws_matrix as_draws_matrix.stanemax as_draws_matrix.stanemaxbin as_draws_rvars as_draws_rvars.stanemax as_draws_rvars.stanemaxbin |
Sample simulated data for exposure-response. | exposure.response.sample |
Sample simulated data for exposure-response for binary endpoint | exposure.response.sample.binary |
Sample simulated data for exposure-response with covariates | exposure.response.sample.with.cov |
Extract posterior draws of key parameters | extract_param |
Calculate log-likelihoods from posterior samples. Data can be either original data used for model fit or new data. | log_lik log_lik.stanemax log_lik.stanemaxbin |
Outcome prediction from posterior distribution of parameters | posterior_epred posterior_epred.stanemax posterior_epred.stanemaxbin posterior_linpred posterior_linpred.stanemax posterior_linpred.stanemaxbin posterior_predict posterior_predict.stanemax posterior_predict.stanemaxbin posterior_predict_quantile |
Bayesian Emax model fit with Stan | stan_emax |
Bayesian Emax model fit with Stan for binary endpoint | stan_emax_binary |
Methods for stanemax objects | extract_obs_mod_frame extract_stanfit plot.stanemax plot.stanemaxbin print.stanemax print.stanemaxbin stanemax-methods |