
Last chance! 50% off unlimited learning
Sale ends in
Parameters of h-tests (correlations, t-tests).
# S3 method for htest
model_parameters(model, bootstrap = FALSE, ...)
Object of class htest
.
Should estimates be bootstrapped?
Arguments passed to or from other methods.
A data.frame of indices related to the model's parameters.
# NOT RUN {
model <- cor.test(mtcars$mpg, mtcars$cyl, method = "pearson")
model_parameters(model)
model <- t.test(iris$Sepal.Width, iris$Sepal.Length)
model_parameters(model)
model <- t.test(mtcars$mpg ~ mtcars$vs)
model_parameters(model)
model <- t.test(iris$Sepal.Width, mu = 1)
model_parameters(model)
# }
Run the code above in your browser using DataLab