center and scale function to handle non-numeric data. checks for numeric data, applies scale() from base R
1 | center_scale(indices, DF, center, scale)
|
indices |
the indices from the shiny gadget |
DF |
the dataframe that is being worked on |
center |
binary true/false for scale() function |
scale |
binary true/false for scale() function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.