getCTPparms: Auxiliary function

Description Usage Arguments Value

View source: R/getCTPparms.R

Description

Extracting CTP - parameters

Usage

1
2
3
4
5
6
7
8
getCTPparms(
  ctp.struc,
  model,
  dataset,
  factor.name = NULL,
  test.name = "F",
  ...
)

Arguments

ctp.struc

Object of class ctp.str.

model

Formula of the form response~treatment.

dataset

Dataframe.

factor.name

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.

test.name

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

Value

A list with CTP parameters


CTP documentation built on April 27, 2021, 5:07 p.m.