nosoi (version 1.1.2)

FunctionSanityChecks: Checks if a function is properly formatted

Description

Checks if the function is properly formatted given the user's input and nosoi's requirements.

Usage

FunctionSanityChecks(
  pFunc,
  name,
  param.pFunc,
  timeDep,
  diff,
  hostCount,
  continuous,
  stateNames
)

Arguments

pFunc

a function

name

the name of the function

param.pFunc

a named list of arguments

timeDep

is the function differential according to absolute time? (TRUE/FALSE)

diff

is the function differential according to state/env.variable? (TRUE/FALSE)

hostCount

is the function differential according to host count? (TRUE/FALSE)

continuous

is the function to be used in a continuous space? (TRUE/FALSE)

stateNames

name of the states (vector) in case of discrete structure.