variable_summary: Computes mean and optional probabilities for a given...

Description Usage Arguments Value Examples

View source: R/variable_summary.R

Description

Computes mean and optional probabilities for a given variable.

Usage

1
variable_summary(var_name, var_matrix, probs)

Arguments

var_name

String, name of the dependent variable

var_matrix

Numeric matrix samplesN x observationsN.

probs

A numeric vector of quantiles to compute.

Value

data.frame with "var_name" column for the mean and "var_name_prob" columns for each probability.

Examples

1
variable_summary("test", matrix(1:1000, ncol = 1), c(0.05, 0.95))

TriDimRegression documentation built on May 4, 2021, 9:08 a.m.