Creates a template for a model in PSM

Share:

Description

Creates a template with R-syntax to help setup a model in PSM.

Usage

1
  PSM.template(Linear=FALSE,dimX=2,dimY=3,dimU=4,dimEta=5,file="")

Arguments

Linear

Boolean. Linear or non-linear model.

dimX

Number of state equations.

dimY

Number of response variables.

dimU

Number of input variables (can be zero).

dimEta

Number of random effects (can be zero).

file

A character string naming the file to print to. If '""' (the default), PSM.template prints to the standard output connection.

Value

None (invisible NULL).

Note

For further details please also read the package vignette pdf-document by writing vignette("PSM") in R.

Author(s)

Stig B. Mortensen and S<f8>ren Klim

References

Please visit http://www.imm.dtu.dk/psm or refer to the help page for PSM.

See Also

PSM, PSM.estimate, PSM.smooth, PSM.template

Examples

1
2
3
4
5
# Linear model with input, random effects and dose
PSM.template(Linear=TRUE,dimX=1,dimY=2,dimU=3,dimEta=4)

# Non-linear model without input, random effects and dose
PSM.template(Linear=FALSE,dimX=1,dimY=2,dimU=0,dimEta=0)