Extracting CTP - parameters
getCTPparms(
ctp.struc,
model,
dataset,
factor.name = NULL,
test.name = "F",
...
)
Object of class ctp.str
.
Formula of the form response~treatment.
Dataframe.
Character string naming the factor whose levels are compared (treatment factor). By default the first variable of the right-hand side of the model formula is used.
One of the following strings
"F"
- F-Test (ANOVA, default)
"kruskal"
-Kruskal-Wallis-Test
"chisq"
- Chi square test
"prob"
- Fisher's exact test for total number of observations <200 else Chi square test
"lgrank"
- Logrank-test
"jonckheere"
- Jonckheere-Terpstra test of ordered alternatives
"glm"
- generlaized linear model
Additional arguments for the chosen test
A list with CTP parameters