testStartingValues: Test function for defining starting values

Description Usage Arguments Value

View source: R/tests.R

Description

Test function for defining starting values

Usage

1
2
testStartingValues(shinyInput, data, modelAns, startValues = NULL,
  results = NULL, doPrint, track)

Arguments

shinyInput

list with input from Shiny

data

dataset

modelAns

integer, type of response fitted

startValues

list with starting values for each of the response fitted This should be named with the modelAns as character; default value is NULL

results

list with expected results, default value is NULL; 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: (only for continous model) vector with CED values, of length modelAns

  • CED.matr: (only for quantal model) vector with CED values, of length (modelAns - 2) (without null and full models)

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

    • continuous modellength modelAns

    • quantal modellength (modelAns - 2) (without null and full models)

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.