Description Usage Arguments Details Author(s) Examples
Provides a convenience function
1 | clinical.derive(datalist, derivations, verbose = TRUE, only)
|
datalist |
A list of data frames of clinical data |
derivations |
A data frame of derivation rules |
verbose |
Whether to print progress messages |
only |
Character vector of targets to derive |
Read the code or see the examples.
The derivations
argument must be a dataframe with the
following columns (with the following information in each row):
“targets” (a name [or space delimited names] for the derived
variable[s]); “types” (the type [or space delimited types] for
the derived variable[s]); “deps” (a string with space delimited
names of clinical datasets the derivation depends on); “data” (a string
with an R language statement to extract a data subset); “fun”
(a string with an R language statement of the derivation).
Toby Johnson Toby.x.Johnson@gsk.com
1 2 3 4 5 6 7 | ## Not run:
clindata <- clinical.import("path/to/clinical/export/")
data(derivations.standard)
gxvars <- clinical.derive(clindata, derivations.standard)
summary(gxvars)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.