# NOT RUN {
# Examples of how to test the plotting options individually
# Sample of 10 work patterns
em_data %>%
flex_index(return = "plot", plot_method = "sample")
# 10 most common work patterns
em_data %>%
flex_index(return = "plot", plot_method = "common")
# Plot Flexibility Index over time
em_data %>%
flex_index(return = "plot", plot_method = "time")
# Return a summary table with the computed Flexibility Index
em_data %>%
flex_index(hrvar = "Organization", return = "table")
# }
# NOT RUN {
# Return the raw data with the computed Flexibility Index
em_data %>%
flex_index(return = "data")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab