Select Page

# Description of the R functions associated to the data set

 getObservationInformation Get the name, the type and the values of the observations present in the project. getCovariateInformation Get the name, the type and the values of the covariates present in the project.

## Get observations information

### Description

Get the name and the values of the observations present in the project.

### Usage

getObservationInformation()


### Value

A list containing the name of the observations, their type and their values (id, time and observationName (and occasion if present in the data set)).

### Click here to see examples

## Not run:

info = getObservationInformation()

info

-> $name c(“concentration”) ->$concentration

id time concentration

1 0.5 0.0

. . .

N 9.0 10.8

## End(Not run)

Top of the page, PKanalix-R functions.

## Get covariates information

### Description

Get the name, the type and the values of the covariates present in the project.

### Usage

getCovariateInformation()


### Value

A list containing the following fields :

• name : (vector<string>) covariate names
• type : (vector<string>) covariate types. Existing types are “continuous”, “continuoustransformed”, “categorical”, “categoricaltransformed” .
• modalityNumber : (vector<int>) number of modalities (for latent covariates only)
• covariate : a data frame giving the values of continuous and categorical covariates for each subject.

### Click here to see examples

## Not run:

info = getCovariateInformation()

info

-> $name c(“sex”,”wt”) ->$type

c(sex = “categorical”, wt = “continuous”)

-> $modalityNumber c(lcat = 2) ->$covariate

id sex wt

1 M 66.7

. . .

N F 59.0

## End(Not run)

)
Top of the page, PKanalix-R functions.