sumNum: sumNum

Description Usage Arguments Value Author(s) Examples

View source: R/sumNum.R

Description

Summarise all numerical variables in a data.frame.

Usage

1
sumNum(data, grp = NULL, rd = 2)

Arguments

data

a data frame or matrix.

grp

possible factor to group by, defaults to NULL. Maximum are two groups.

rd

round results to rd digits, default is 2.

Value

prints a summary table of number of observations (N), number of missing values (miss), minimum, maximum, median, mean and standard deviation; possibly separated by grp.

Author(s)

Jutta Gamper

Examples

1
2
3

juttaGa/jmisc documentation built on May 20, 2019, 5:16 a.m.