View source: R/preconditionChecks.R
uniformize.data | R Documentation |
Checks the required preconditions of the data and possibly restructures the data.
uniformize.data(
data,
admin = FALSE,
conf = FALSE,
comp.risks = FALSE,
Zbin = NULL,
Wbin = NULL
)
data |
A data frame that should contain columns named |
admin |
Boolean value indicating whether the provided data frame contains
administrative (i.e. independent) censoring on top of the dependent censoring
(in the column named |
conf |
Boolean value indicating whether the provided data frame contains
a confounded variable and a corresponding instrument. If |
comp.risks |
Boolean value indicating whether the provided data frame
contains competing risks. If |
Zbin |
Boolean or integer value (0, 1) indicating whether the confounded
variable is binary. |
Wbin |
Boolean or integer value (0, 1) indicating whether the instrument
is binary. |
Returns the uniformized data set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.