summary_stats: Computes a set of basic statistics for a scalar valued vector

Description Usage Arguments Value

View source: R/stats.R

Description

Computes a set of basic statistics for a scalar valued vector

Usage

1
2
summary_stats(v, percentiles = c(0.01, 0.05, 0.1, 0.3, 0.7, 0.9, 0.95, 0.99),
  as.df = F)

Arguments

v

A scalar valued vector.

percentiles

Which percentiles to calculate for?

as.df

Return as a data frame? Gives a named vector otherwise.

Value

A named vector of statistical parameters of the vector 'v'


kahaaga/tstools documentation built on Nov. 30, 2017, 7:24 a.m.