Select Page

Description of the R functions associated to covariate models

Description of the functions of the API

addCategoricalTransformedCovariate Create a new categorical covariate by transforming an existing one.
addContinuousTransformedCovariate Create a new continuous covariate by transforming an existing one.
addMixture Add a new latent covariate to the current model giving its name and its modality number.
removeCovariate Remove some of the transformed covariates (discrete and continuous) and/or latent covariates.

[Monolix] Add categorical transformed covariate

Description

Create a new categorical covariate by transforming an existing one. Transformed covariates cannot be use to produce new covariates.
Call getCovariateInformation to know which covariates can be transformed.

Usage

addCategoricalTransformedCovariate(...)

Arguments

... A list of comma-separated pairs {transformedCovariateName = { from = (array<(string)>)["basicCovariateNames"], transformed = (array<array<string>>)"transformation"} }

See Also

getCovariateInformation removeCovariate

Click here to see examples

addCategoricalTransformedCovariate( Country2 = list(reference = “A1”,

from = “Country”, transformed = list( A1 = c(“A”,”B”), A2 = c(“C”)))

)

## End(Not run)


Top of the page, PKanalix API, Monolix API, Simulx API.


[Monolix] Add continuous transformed covariate

Description

Create a new continuous covariate by transforming an existing one. Transformed covariates cannot be use to produce new covariates.
Call getCovariateInformation to know which covariates can be transformed.

Usage

addContinuousTransformedCovariate(...)

Arguments

... A list of comma-separated pairs {transformedCovariateName = (string)"transformation"}

See Also

getCovariateInformation removeCovariate

Click here to see examples

addContinuousTransformedCovariate( tWt2 = “3*exp(Wt)” )

## End(Not run)


Top of the page, PKanalix API, Monolix API, Simulx API.


[Monolix] Add mixture to the covariate model

Description

Add a new latent covariate to the current model giving its name and its modality number.

Usage

addMixture(...)

Arguments

... A list of comma-separated pairs {latentCovariateName = (int)modalityNumber}

See Also

getCovariateInformation removeCovariate

Click here to see examples

addMixture(lcat = 2)

## End(Not run)


Top of the page, PKanalix API, Monolix API, Simulx API.


[Monolix] Remove covariate

Description

Remove some of the transformed covariates (discrete and continuous) and/or latent covariates.
Call getCovariateInformation to know which covariates can be removed.

Usage

removeCovariate(...)

Arguments

... A list of covariate names.

See Also

getCovariateInformation addContinuousTransformedCovariate addCategoricalTransformedCovariate
addMixture

Click here to see examples

removeCovariate(“tWt”,”lcat1″)

## End(Not run)


Top of the page, PKanalix API, Monolix API, Simulx API.