decrib: create tables providing descriptive statistics

Description Usage Arguments Value References See Also

Description

Generic function to create tables providing descriptive statistics summary for overall and in different groups.

Usage

1
2
decrib(dat, y = NULL, alternative = c("overall", "total", "bygroup"),
  digit = 2, ...)

Arguments

dat

a data frame or environment (or object coercible by as.data.frame to a data frame) containing the variables to be summarized

y

a numeric vector of outcome variable of interest (default is NULL)

alternative

a character string specifying the alternative approaches, must be one of "overall" (default), "total" or "bygroup"

...

further arguments to be passed to or from methods

digits

the digits of the data values (default is 2)

Value

Generate descriptive statistical tables for different type of outcome variables of interest without missing value

References

Hlavac Marek (2018). stargazer: Well-Formatted Regression and Summary Statistics Tables. R package version 5.2.1. https://CRAN.R-project.org/package=stargazer

See Also

anova

kruskal.test


YuweiNi45/lng documentation built on May 12, 2019, 6:26 p.m.