Learn R Programming

prettyR (version 1.1-3)

describe.numeric: Description of numeric variables

Description

Describes a numeric variable.

Usage

describe.numeric(x,num.desc=c("mean","median","var","sd","valid.n"),
 varname="",vname.space=10,fname.space=10)

Arguments

x
A numeric vector.
num.desc
The names of the functions to apply to the vector.
varname
The variable name to display.
vname.space
The width of the variable name display.
fname.space
The width of the descriptive columns.

Value

  • The vector of values returned from the functions in num.desc.

Details

describe.numeric displays the name of the vector and the results of the functions whose names are passed in num.desc. Note that any functions that are called by describe.numeric must have an na.rm argument, even if it is a dummy.

See Also

describe, valid.n