Learn R Programming

⚠️There's a newer version (2.3.5) of this package.Take me there.

rv (version 2.3.2)

Simulation-Based Random Variable Objects

Description

Implements simulation-based random variable class and a suite of methods.

Copy Link

Version

Install

install.packages('rv')

Monthly Downloads

162

Version

2.3.2

License

GPL-2

Maintainer

Jouni Kerman

Last Published

April 26th, 2017

Functions in rv (2.3.2)

Math.rv

Mathematical functions and Operators for rv Objects
Summary.rv

Summary
as.rv.bugs

Coerce a bugs object into Random Variable Objects
as.rv.stanfit

as.vector.rv

Coerce an rv object
c

Concatenation of random vectors
abline.rv

Add (Random) Straight Lines to a Plot
aperm.rv

Random Array Transposition
Covariance, Correlation, Variance, and Standard deviation Statistics

Distributions of Various Statistics of a Random Vector and Array
detachrv

Detach the rv package
plot.rv

Plotting Scatterplots of Random Variable Objects
points.rv

Add Points and Intervals to a Plot
apply.rv

Apply Functions over Margins of Random Arrays
as.list.rv

Coerce a random vector object to a list
as.double.rv

Coercing Random Vectors to Real-valued
is.na.rv

Missing Data Indicators
ivplot

lines.rv

Add Connected (Random) Line Segments to a Plot
as.logical.rv

Logical Random vectors
hist.rv

Histogram of a random vector
as.integer.rv

Integer Random vectors
numeric.rv

Numeric Random Vectors
outer.rv

Outer Product of Random Arrays
Extract.rv

Extract or Replace Parts of a Random Vector
posterior

Generate Posterior Simulations
postsim

Generate Posterior Simulations for lm or glm Objects (defunct)
rvboot

Generate a Random Vector from an Empirical Distribution
rvci

Credible (Uncertainty) Intervals for Random Scalars
rvconst

Random Vector with a Point-Mass Distribution
rvdens

Sample from an arbitrary density function using grid approximation
rvdirichlet

Generate Random Variables from a Dirichlet Sampling Model
fuzzy

Fuzziness
median.rv

Distribution of the Sample Median
mlplot

Horizontal interval plot of components of a random vector
rv

Random Vectors
cbind.rv

Combine random vectors by columns or rows
constant

Constant Vectors
matmult.rv

Random Matrix Multiplication
mean.rv

Distribution of the Arithmetic Mean of a Random Vector
print.rv

Print Distribution Summary of a Random Variable
rvmultinom

Generate Random Variables from a Multinomial Sampling Model
rvmapply

Apply a function to multiple random vector arguments
rvmatch

Generate a Random Vector from a Bernoulli Sampling Model
rvnsims

Number of simulations stored in each component of an rv object
rvpar

Set or Query Parameters of the 'rv' Package
rvcat

Generate Categorical Random Variables
rvdiscrete

Generate Random Vectors from a Discrete Sampling Model
rvempirical

Generate a Random Vector from an Empirical Distribution
rvifelse

Conditional Random Element Selection
quantile.rv

Distribution of a Quantile of a Random Vector
rvvar

Variances of Components of Random Vectors
simapply

Apply a Function to Rows of Simulations of Random Vectors
range.rv

Distribution of the Range of a Random Vector
rep.rv

Replicate Elements of Random Vectors
rvbeta

Generate Random Vectors from a Beta Sampling Model
rvbinom

Generate Random Variables from a Binomial Sampling Model
rvnchains

Number of Markov Chains Used to Generate Simulations of a Random Vector
rvsample

Draw a Sample from the Simulation Matrix of a Random Variable
rvsimapply

Apply a Function to Columns of the Matrix of Simulation of a Random Vector
sort.rv

Distribution of Order Statistics of a Random Vector
rvinvchisq

Generate Random Variables from a Inverse-Chi-Square Sampling Model
rvneff

Number of Effective Draws in Each Component of a Random Variable
rvnorm

Generate Random Variables from a Gaussian (Normal) Sampling Model
sims

Retrieve the Simulations of Random Vectors
splitbyname

Split a vector based on the names of the components
rvRhat

R-hat Convergence Diagnostic
rvattr

Attributes of Random Variables
rvbern

Generate a Random Vector from a Bernoulli Sampling Model
rvexp

Generate Random Vectors from an Exponential Sampling Model
rvfactor

Categorical Random Variables (Random Factors)
rvpermut

Random Vectors with a Permutation Distribution
rv-package

Simulation-based Random Variable Objects
rvcauchy

Generate Random Variables from a Cauchy Sampling Model
rvchisq

Generate Random Variables from a Chi-Square Sampling Model
solve.rv

Random Vectors
rvpois

Generate Random Vectors from a Poisson Sampling Model
rvgamma

Generate Random Variables from a Gamma Sampling Model
rvhist

Histogram of Distributions of Components of a Random Vector
rvarray

Matrices and Arrays of Random Vectors
rvmean

Expectation of a Random Variable
rvpredict

rvquantile

Componentwise Quantiles of Random Variables
rvcov

Covariance Between Components of Random Vectors
rvcut

Convert Numeric to Random Factor
rvmeanunif

Extremes-rv

Maxima and Minima of Random Variables
rvsims

Create Random Vectors from Simulation Draws
rvsummary

Random Vector Summaries
rvt

Generate Random Variables from a Student-t Sampling Model
rvunif

Generate Random Vectors from a Uniform Sampling Model
summary.rv

Numerical Summary of a Random Variable
unlistrv

Flatten Lists Containing rv Objects