stattable: Descritive statistic table

Description Usage Arguments Value Examples

View source: R/stattable.R

Description

stattable make a descritive statistic table.

Usage

1
stattable(data, horiz = FALSE, translate = FALSE)

Arguments

data

a dataframe

horiz

defines table be a horizontal table (default=FALSE)

translate

if TRUE translate table to PT-BR (default=FALSE)

Value

Return a dataframe with descritive statistics.

Examples

1
2
3
4
5
6
v=data.frame(dataone=c(3,2,5,6,5,4),datatwo=c(33,22,55,66,55,44)
,datathree=c(133,122,155,166,155,144))
stattable(v) #vertical table
stattable(v,translate=TRUE) #vertical table translated
stattable(v,horiz=TRUE) #horizontal table
stattable(v,horiz=TRUE,translate=TRUE) #horizontal table translated

jvg0mes/metools documentation built on June 28, 2020, 2:38 a.m.