# NOT RUN {
# 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
# Statistics of numerical variables normalized by Min-Max method
summary(all_var, stand = "minmax")
# Statistics of numerical variables standardized by Z-score method
summary(all_var, stand = "zscore")
# }
Run the code above in your browser using DataLab