descTwoWay: Descriptive Statistics for Two-Way Layout

View source: R/descTwoWay.R

descTwoWayR Documentation

Descriptive Statistics for Two-Way Layout

Description

descTwoWay produces basic descriptive statistics including sample size, mean, standard deviation, median, minimum value, maximum value, 25th quantile, 75th quantile, skewness, kurtosis, the number of missing value for two-way layout.

Usage

descTwoWay(formula, data)

Arguments

formula

a formula of the form lhs ~ rhs where lhs gives the sample values and rhs gives two factors.

data

a data frame containing the variables in formula.

Value

Returns a data.frame of output.

Author(s)

Osman Dag, Sam Weerahandi, Malwane Ananda

Examples


library(twowaytests)
data(alveolar)
descTwoWay(cell ~ ovalbumin*treatment, data = alveolar)

twowaytests documentation built on March 31, 2023, 9:26 p.m.