JWileymisc:::.styleaov(mtcars$mpg, mtcars$cyl)
JWileymisc:::.style2sttest(mtcars$mpg, mtcars$am)
JWileymisc:::.stylepairedttest(sleep$extra, sleep$group, sleep$ID)
JWileymisc:::.stylepairedwilcox(sleep$extra, sleep$group, sleep$ID)
## example data
set.seed(1234)
exdata <- data.frame(
ID = rep(1:10, 2),
Time = rep(c("base", "post"), each = 10),
Rating = sample(c("good", "bad"), size = 20, replace = TRUE))
JWileymisc:::.stylepairedmcnemar(exdata$Rating, exdata$Time, exdata$ID)
rm(exdata) ## cleanup
JWileymisc:::.stylekruskal(mtcars$mpg, mtcars$am)
JWileymisc:::.stylekruskal(mtcars$mpg, mtcars$cyl)
JWileymisc:::.stylechisq(mtcars$cyl, mtcars$am)
JWileymisc:::.stylemsd("Miles per Gallon", mtcars$mpg)
JWileymisc:::.stylemsd("Miles per Gallon", mtcars$mpg, includeLabel = TRUE)
JWileymisc:::.stylemdniqr("Miles per Gallon", mtcars$mpg)
JWileymisc:::.stylemdniqr("Miles per Gallon", mtcars$mpg, includeLabel = TRUE)
JWileymisc:::.stylefreq("Transmission", mtcars$am)
JWileymisc:::.stylefreq("Transmission", mtcars$am)
Run the code above in your browser using DataLab