Create a Custom Space
create_CustomSpace.Rd
This function creates a custom space object based on the provided custom code.
Usage
create_CustomSpace(CustomCode = character())
Details
This function parses the provided CustomCode
and extracts
information related to:
Responses/observations (
observe
,multi
,ordinal
,count
,event
, andLL
)Structural parameters (
stparm
)Covariates (
covariate
,fcovariate
andinterpolate
)Dosepoints (
dosepoint
anddosepoint2
)Random effects (
ranef
)Fixed effects (
fixef
)Derivatives (
deriv
)Urine compartments (
urinecpt
)Closed Form statements (
cfMicro
,cfMacro
andcfMacro1
)Distributed delay statements (
transit
anddelayInfCpt
)
The extracted information is then used to create a CustomSpace
object,
which contains the parsed and structured representation of the custom code.
An identifier is generated and used as the name of the Space.