| slideimp_resolve_group | R Documentation |
Convert a group specification to the canonical data-frame form expected by
prep_groups(). This S3 generic is exported so that extension packages,
such as slideimp.extra, can register additional methods.
slideimp_resolve_group(x)
## S3 method for class 'data.frame'
slideimp_resolve_group(x)
## Default S3 method:
slideimp_resolve_group(x)
x |
A group specification. |
A data frame group specification, or an error for unsupported inputs.
This is primarily an extension hook for slideimp.extra.
df <- data.frame(feature = c("cg1", "cg2"), group = c(1, 1))
slideimp_resolve_group(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.