testCovariates: Test function for including covariates

Description Usage Arguments Value

View source: R/tests.R

Description

Test function for including covariates

Usage

1
2
testCovariates(shinyInput, shinyInputCovariates, data, modelAns,
  results = NULL, doPrint, track)

Arguments

shinyInput

list with input from Shiny

shinyInputCovariates

list with input from Shiny for parameters concerning the covariates

data

dataset

modelAns

integer, type of response fitted

results

list with expected results, should contain the following items

  • par.start: list with starting values for the parameters, of length modelAns

  • loglik: vector with values for the log likelihood, of length modelAns

  • CED: vector with CED values, of length modelAns

  • conf.int: vector with confidence intervals, with 2 rows (lower/upper bounds) and length modelAns columns

doPrint

logical, if TRUE, additional information concerning the test is printed

track

logical, if TRUE (FALSE by default) print the name of the function which is currently being run

Value

no returned value


alfcrisci/bmdModeling documentation built on May 28, 2019, 12:32 a.m.