View source: R/parameter_ttest.R
parTest2 | R Documentation |
Perform t-test on curve parameters of bdotsFit object
parTest2(bdObj, group, vals = NULL)
bdObj |
Object of class |
group |
Length one character of grouping column in which to perform t-test |
vals |
Character vector of values within grouping column in which to perform the
test. If |
Performs pairwise t-test. Currently only tests at alpha = 0.95. Also currently only allows t-test within single grouping column. Ability to test across grouping columns to come later
List of t-test results of class bdotsPars_ttest
## Not run: res <- bdotsFit(data = cohort_unrelated, subject = "Subject", time = "Time", y = "Fixations", group = c("Group", "LookType"), curveType = doubleGauss(concave = TRUE), cor = TRUE, numRefits = 2, cores = 0, verbose = FALSE) tstats <- parTest(res, group = "LookType", vals = c("Cohort", "Unrelated_Cohort")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.