Description Usage Arguments Value See Also Examples
Plots an appropriate visualisations for each attribute in a given dataset. This function utilises ggplot2 to design and plot the Visualisations. Plots a histogram for numeric variables. Plots a bar chart for factor variables. There is also an option to click through the points one by one, or print them all simultaneously. The plots are outputed as a list. The plots can also be saved to a specified directory. Note, that it is crucial that the variables are correctly defined as either numeric or categorical.
1 | visualise_variables_x(dataset, click = TRUE, directory = NULL)
|
dataset |
A dataset to be visualise |
click |
A boolean value, indicating whether to click through the plots one by one, default is True, |
directory |
A character object specifying the directory where the data frame is to be saved as a .csv file. |
Outputs a variety of bar charts or histograms
visualise_qqplot
, visualise_residuals
, visualise_variables_xx
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #-- Example 1: LungCap Data --#
# Regular Visualisations of the data frame, with click option
visualise_variables_x(dataset = lungcap, click = TRUE)
# Regular visualisations without the click option
visualise_variables_x(dataset = lungcap, click = FALSE)
#-- Example 2: Titanic Data --#
# Regular visulations with click option
visualise_variables_x(dataset = titanic, click = TRUE)
# Regular visulations without click option
visualise_variables_x(dataset = titanic, click = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.