regressoR (version 1.1.8)

categorical_summary: categorical_summary

Description

generates the fields for individual categorical analysis.

Usage

categorical_summary(data, variable)

Arguments

data

a data.frame with the data for analysis.

variable

the name of the variable for analysis.

Examples

Run this code
# NOT RUN {
if(interactive()) {
  library(shiny)
  library(DT)
  shinyApp(ui = fluidPage(fluidRow(uiOutput("resumen"))),
           server = function(input, output) {
                         output$resumen = renderUI(categorical_summary(iris, "Species"))
           })
}
# }

Run the code above in your browser using DataLab