# \donttest{
# Calculates the all categorical variables
all_var <- univar_numeric(heartfailure)
# Print univar_numeric class object
all_var
# Calculates the platelets, sodium variable
univar_numeric(heartfailure, platelets, sodium)
# Summary the all case : Return a invisible copy of an object.
stat <- summary(all_var)
# Summary by returned object
stat
# one plot with all variables
plot(all_var)
# one plot with all normalized variables by Min-Max method
plot(all_var, stand = "minmax")
# one plot with all variables
plot(all_var, stand = "none")
# one plot with all robust standardized variables
plot(all_var, viz = "boxplot")
# one plot with all standardized variables by Z-score method
plot(all_var, viz = "boxplot", stand = "zscore")
# individual boxplot by variables
plot(all_var, indiv = TRUE, "boxplot")
# individual histogram by variables
plot(all_var, indiv = TRUE, "hist")
# individual histogram by robust standardized variable
plot(all_var, indiv = TRUE, "hist", stand = "robust")
# plot all variables by prompt
plot(all_var, indiv = TRUE, "hist", prompt = TRUE)
# }
Run the code above in your browser using DataLab