tabledesc: Descriptive: Table descritive analysis

View source: R/tabledesc_function.R

tabledescR Documentation

Descriptive: Table descritive analysis

Description

Function for generating a data.frame with averages or other descriptive measures grouped by a categorical variable

Usage

tabledesc(data, fun = mean)

Arguments

data

data.frame containing the first column with the categorical variable and the remaining response columns

fun

Function of descriptive statistics (default is mean)

Value

Returns a data.frame with a measure of dispersion or position from a dataset and separated by a factor

Author(s)

Gabriel Danilo Shimizu, shimizu@uel.br

Leandro Simoes Azeredo Goncalves

Rodrigo Yudi Palhaci Marubayashi

Examples

data(pomegranate)
tabledesc(pomegranate)
library(knitr)
kable(tabledesc(pomegranate))

AgroR documentation built on Sept. 14, 2023, 1:09 a.m.