dssSuggestPivot | R Documentation |
Makes a crude attempt at guessing an appropriate widening formula to feed into dssPivot. The method is pretty basic, it should serve more as a starting point for further investigation
dssSuggestPivot(
what,
cols = NULL,
by.col = NULL,
async = TRUE,
datasources = NULL
)
what |
a character name of the dataframe |
cols |
a vector of columns used in the formula. They must exist in 'what'. If null, all the columns from 'what' will be used. |
by.col |
typically the patient id, the column that will end up as key of the resulting 'wide' data.frame. |
async |
a logical, see datashield.aggregate |
datasources |
a list of opal objects obtained after logging into the opal servers (see datashield.login) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.