med.new: Median value for continous variables

Description Usage Arguments Value Author(s) See Also Examples

View source: R/med.new.R

Description

Compute the median of continous variables.

Usage

1
med.new(x, k = c())

Arguments

x

Vector of the continous variable.

k

Number of decimal places. If not specified, the number of decimal places is 1 or 2.

Value

The median is returned.

Author(s)

Lorenz Uhlmann, Csilla van Lunteren

See Also

formatr

Examples

1
2
3
4
5
6
7
## Not run: 
set.seed(12345)
x<-rnorm(100)

med.new(x,k=c(3))

## End(Not run)

vanLunteren/DescrTab documentation built on May 4, 2019, 10:56 a.m.