create_CustomSpace {Certara.RDarwin} | R Documentation |
Create a Custom Space
Description
This function creates a custom space object based on the provided custom code.
Usage
create_CustomSpace(CustomCode = character())
Arguments
CustomCode |
A character string containing the custom code. |
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.
Value
A list with one element of the class PMLModels
.