Learn R Programming

epiR (version 0.9-22)

epi.descriptives: Descriptive statistics

Description

Computes descriptive statistics from a vector of numbers.

Usage

epi.descriptives(dat, quantile = c(0.025, 0.975))

Arguments

dat
vector for which descriptive statistics will be calculated.
quantile
vector of length two specifying quantiles to be calculated.

Value

    Examples

    Run this code
    tmp <- rnorm(1000, mean = 0, sd = 1)
    epi.descriptives(tmp, quantile = c(0.025, 0.975))

    Run the code above in your browser using DataLab