Description Usage Arguments Examples
View source: R/pca_module.R
Perform PCA analysis on shiny
1
pca(input, output, session, data)
data
A Dataframe
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
require(shiny) if(interactive()) { ui <- fluidPage( title = "Principal Component Analysis", pcaUI("pca") ) server <- function(input, output, session) { callModule(pca, "pca", data = mtcars) } shinyApp(ui, server) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.