Learn R Programming

twowaytests (version 1.4)

descTwoWay: 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)

Value

Returns a data.frame of output.

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.

Author

Osman Dag, Sam Weerahandi, Malwane Ananda

Examples

Run this code

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

Run the code above in your browser using DataLab