View source: R/variable_summary.R
variable_summary | R Documentation |
Computes mean and optional probabilities for a given variable.
variable_summary(var_name, var_matrix, probs)
var_name |
String, name of the dependent variable |
var_matrix |
Numeric matrix samplesN x observationsN. |
probs |
A numeric vector of quantiles to compute. |
data.frame with "var_name" column for the mean and "var_name_prob" columns for each probability.
variable_summary("test", matrix(1:1000, ncol = 1), c(0.05, 0.95))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.