Description Usage Arguments See Also Examples
Extracting factor and data from two input columns of data
1 2 |
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 |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.