oneway.formula: Extracting factor and data from two input columns of data

Description Usage Arguments See Also Examples

Description

Extracting factor and data from two input columns of data

Usage

1
2
## S3 method for class 'formula'
oneway(formula, data = list(), ...)

Arguments

formula

is regular formula in r which is defining two variables by ~ sign

data

is a list that can have more two columns so its two col will be extracted by formula

See Also

print.oneway

print.summary.oneway

Examples

1
2
3
4
5
6
zz <- list (factor = c(rep("A",4),rep("B",6), rep("C",6), rep("D",8)) ,
  values = c (62, 60 ,63 ,59 ,63 ,67, 71 ,64 ,65 ,66 ,68 ,66, 71 ,67 ,68 ,68, 56,62 ,60 ,61, 63, 64 ,63 ,59 ),
  factor2= c(rep("A",4),rep("B",2)) , factor3= c(rep("F",3)) , values2 = c( 63 ,67 ,71, 64, 65, 66),
  values2 =c(23,45,67) )
onewayformula2 <- onewayanova:::oneway.formula(factor ~ values , zz)
onewayanova:::print.oneway(onewayformula2)

AliDB/onewayanova documentation built on May 19, 2019, 3:04 p.m.