measures1d: Closure of One Dimensional Measures

View source: R/measures.R

measures1dR Documentation

Closure of One Dimensional Measures

Description

Function creates a 1d measures object that can be used with l_ng_plots and l_ng_ranges.

Usage

measures1d(data, ...)

Arguments

data

a data.frame with the data used to calculate the measures

...

named arguments, name is the function name and argument is the function to calculate the measure for each variable.

Details

For more information run: l_help("learn_R_display_graph.html#measures")

Value

a measures object

See Also

l_ng_plots, l_ng_ranges, measures2d

Examples

m1 <- measures1d(oliveAcids, mean=mean, median=median,
     sd=sd, q1=function(x)as.vector(quantile(x, probs=0.25)),
     q3=function(x)as.vector(quantile(x, probs=0.75)))
     
m1
m1()
m1(olive$palmitoleic>100)
m1('data')
m1('measures')

loon documentation built on July 9, 2023, 5:48 p.m.