Package: rvec 0.0.7
rvec: Vector Representing a Random Variable
Random vectors, called rvecs. An rvec holds multiple draws, but tries to behave like a standard R vector, including working well in data frames. Rvecs are useful for working with output from a simulation or a Bayesian analysis.
Authors:
rvec_0.0.7.tar.gz
rvec_0.0.7.zip(r-4.5)rvec_0.0.7.zip(r-4.4)rvec_0.0.7.zip(r-4.3)
rvec_0.0.7.tgz(r-4.4-any)rvec_0.0.7.tgz(r-4.3-any)
rvec_0.0.7.tar.gz(r-4.5-noble)rvec_0.0.7.tar.gz(r-4.4-noble)
rvec_0.0.7.tgz(r-4.4-emscripten)rvec_0.0.7.tgz(r-4.3-emscripten)
rvec.pdf |rvec.html✨
rvec/json (API)
NEWS
# Install 'rvec' in R: |
install.packages('rvec', repos = c('https://bayesiandemography.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/bayesiandemography/rvec/issues
Last updated 2 months agofrom:3287860a53. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 27 2024 |
R-4.5-win | OK | Oct 27 2024 |
R-4.5-linux | OK | Oct 27 2024 |
R-4.4-win | OK | Oct 27 2024 |
R-4.4-mac | OK | Oct 27 2024 |
R-4.3-win | OK | Oct 27 2024 |
R-4.3-mac | OK | Oct 27 2024 |
Exports:as_list_colcollapse_to_rvecdbeta_rvecdbinom_rvecdcauchy_rvecdchisq_rvecdexp_rvecdf_rvecdgamma_rvecdgeom_rvecdhyper_rvecdlnorm_rvecdmultinom_rvecdnbinom_rvecdnorm_rvecdpois_rvecdraws_alldraws_anydraws_cidraws_fundraws_maxdraws_meandraws_mediandraws_mindraws_modedraws_quantiledt_rvecdunif_rvecdweibull_rvecexpand_from_rvecextract_drawif_else_rvecis_rvecmap_rvecn_drawnew_rvecpbeta_rvecpbinom_rvecpcauchy_rvecpchisq_rvecpexp_rvecpf_rvecpgamma_rvecpgeom_rvecphyper_rvecplnorm_rvecpnbinom_rvecpnorm_rvecppois_rvecpt_rvecpunif_rvecpweibull_rvecqbeta_rvecqbinom_rvecqcauchy_rvecqchisq_rvecqexp_rvecqf_rvecqgamma_rvecqgeom_rvecqhyper_rvecqlnorm_rvecqnbinom_rvecqnorm_rvecqpois_rvecqt_rvecqunif_rvecqweibull_rvecrankrbeta_rvecrbinom_rvecrcauchy_rvecrchisq_rvecrexp_rvecrf_rvecrgamma_rvecrgeom_rvecrhyper_rvecrlnorm_rvecrmultinom_rvecrnbinom_rvecrnorm_rvecrpois_rvecrt_rvecrunif_rvecrvecrvec_chrrvec_dblrvec_intrvec_lglrweibull_rvecsdvarweighted_madweighted_meanweighted_medianweighted_sdweighted_var
Dependencies:clifansigluelifecyclemagrittrmatrixStatspillarpkgconfigrlangtibbletidyselectutf8vctrswithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Package 'rvec' | rvec-package |
Convert to List Column | as_list_col as_list_col.matrix as_list_col.rvec |
Convert a Data Frame Between 'Database' and 'Rvec' Formats | collapse_to_rvec collapse_to_rvec.data.frame collapse_to_rvec.grouped_df expand_from_rvec expand_from_rvec.data.frame expand_from_rvec.grouped_df |
The Beta Distribution, Using Multiple Draws | dbeta_rvec pbeta_rvec qbeta_rvec rbeta_rvec |
The Binomial Distribution, Using Multiple Draws | dbinom_rvec pbinom_rvec qbinom_rvec rbinom_rvec |
The Cauchy Distribution, Using Multiple Draws | dcauchy_rvec pcauchy_rvec qcauchy_rvec rcauchy_rvec |
The Chi-Squared Distribution, Using Multiple Draws | dchisq_rvec pchisq_rvec qchisq_rvec rchisq_rvec |
The Exponential Distribution, Using Multiple Draws | dexp_rvec pexp_rvec qexp_rvec rexp_rvec |
The F Distribution, Using Multiple Draws | df_rvec pf_rvec qf_rvec rf_rvec |
The Gamma Distribution, Using Multiple Draws | dgamma_rvec pgamma_rvec qgamma_rvec rgamma_rvec |
The Geometric Distribution, Using Multiple Draws | dgeom_rvec pgeom_rvec qgeom_rvec rgeom_rvec |
The Hypergeometric Distribution, Using Multiple Draws | dhyper_rvec phyper_rvec qhyper_rvec rhyper_rvec |
Divorce Rates in New Zealand | divorce |
The Log-Normal Distribution, Using Multiple Draws | dlnorm_rvec plnorm_rvec qlnorm_rvec rlnorm_rvec |
The Multinomial Distribution, Using Multiple Draws | dmultinom_rvec rmultinom_rvec |
The Negative Binomial Distribution, Using Multiple Draws | dnbinom_rvec pnbinom_rvec qnbinom_rvec rnbinom_rvec |
The Normal Distribution, Using Multiple Draws | dnorm_rvec pnorm_rvec qnorm_rvec rnorm_rvec |
The Poisson Distribution, Using Multiple Draws | dpois_rvec ppois_rvec qpois_rvec rpois_rvec |
Logical Operations Across Random Draws | draws_all draws_all.rvec draws_all.rvec_chr draws_any draws_any.rvec draws_any.rvec_chr |
Credible Intervals from Random Draws | draws_ci draws_ci.rvec draws_ci.rvec_chr |
Apply Summary Function Across Random Draws | draws_fun draws_fun.rvec |
Medians, Means, and Modes Across Random Draws | draws_mean draws_mean.rvec draws_mean.rvec_chr draws_median draws_median.rvec draws_median.rvec_chr draws_mode draws_mode.rvec |
Minima and Maxima Across Random Draws | draws_max draws_max.rvec draws_max.rvec_chr draws_min draws_min.rvec draws_min.rvec_chr |
Quantiles Across Random Draws | draws_quantile draws_quantile.rvec draws_quantile.rvec_chr |
Student t Distribution, Using Multiple Draws | dt_rvec pt_rvec qt_rvec rt_rvec |
Uniform Distribution, Using Multiple Draws | dunif_rvec punif_rvec qunif_rvec runif_rvec |
Weibull Distribution, Using Multiple Draws | dweibull_rvec pweibull_rvec qweibull_rvec rweibull_rvec |
Extract a Single Draw From an Rvec | extract_draw |
Vectorised If-Else, When Condition is an Rvec | if_else_rvec |
Is an Object an Rvec | is_rvec |
Apply a Function and Put Results in an Rvec | map_rvec |
Matrix Multiplication with Rvecs | matrixOps.rvec |
Missing, Finite, and Infinite Values in Rvecs | anyNA.rvec is.na.rvec missing na.exclude.rvec na.omit.rvec |
Query Number of Draws | n_draw n_draw.default n_draw.rvec |
Create a Blank Rvec | new_rvec |
Sample Ranks, Including Rvecs | rank |
Posterior Sample from Linear Regression | reg_post |
Create an Rvec from Data | rvec rvec_chr rvec_dbl rvec_int rvec_lgl |
Standard Deviation, Including Rvecs | sd |
Correlation, Variance and Covariance (Matrices), Including Rvecs | var |
Calculate Weighted Summaries | weighted_mad weighted_mad.default weighted_mad.rvec weighted_mean weighted_mean.default weighted_mean.rvec weighted_median weighted_median.default weighted_median.rvec weighted_sd weighted_sd.default weighted_sd.rvec weighted_var weighted_var.default weighted_var.rvec |