collectOutcomeVector | R Documentation |
offloading the majority of processing onto sql if dbplyr tables are involved
collectOutcomeVector(df, rowVar, outcomeVar, factorise = TRUE, ...)
df |
- a df |
rowVar |
- the dataframe columns(s) which define the matrix row, quoted by vars(...) - typically this is the observation id |
outcomeVar |
- (optional) the dataframe column continaing the outcome |
factorise |
- convert outcomeVar to a factor (default FALSE) |
... |
- other parameters passed to as.factor |
a dbplyr dataframe containing the grouped function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.