data.summary: Statistical data summary generator

View source: R/data.summary.R

data.summaryR Documentation

Statistical data summary generator

Description

Produces a table with a summary of the statistics for a specific column of an input data.frame by a group of values defined by a group defined by another column.

Usage

data.summary(data, variable, group.names)

Arguments

data

Input data.frame to be analyzed.

variable

A string with the name of the column to be analyzed.

group.names

A string with the name of the column indicating the groups.

Value

It returns a list that is a combination of the lists in the input list.
If the list is not a nested list of list the original input is returned.

Examples

data.summary(data = mtcars, variable = "mpg", group.names = "disp")


sebastian-gregoricchio/Rseb documentation built on May 15, 2024, 5:45 a.m.