parTest2 {bdots}R Documentation

Parameter t-test

Description

Perform t-test on curve parameters of bdotsFit object

Usage

parTest2(bdObj, group, vals = NULL)

Arguments

bdObj

Object of class bdObj

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 NULL, it will do all pairwise tests

Details

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

Value

List of t-test results of class bdotsPars_ttest

Examples

## 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)

[Package bdots version 1.2.5 Index]