View source: R/data_read_hurdle.R
data_read_hurdle | R Documentation |
This internal function imports the data and outputs only those variables that are needed to run the hurdle model according to the information provided by the user.
data_read_hurdle(
data,
model.eff,
model.cost,
model.se,
model.sc,
se,
sc,
type,
center
)
data |
A data frame in which to find variables supplied in |
model.eff |
A formula expression in conventional |
model.cost |
A formula expression in conventional |
model.se |
A formula expression in conventional |
model.sc |
A formula expression in conventional |
se |
Structural value to be found in the effect data defined in |
sc |
Structural value to be found in the cost data defined in |
type |
Type of structural value mechanism assumed, either 'SCAR' (Structural Completely At Random) or 'SAR' (Strcutural At Random). |
center |
Logical. If |
#Internal function only
#no examples
#
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.