Description Usage Arguments Value Examples
This function allows to crate a coloured barplot using the R-package plotly of a function applied to to a specific dataframe.
1 2 3 4 5 6 7 | barplotly_func(
dataset = NULL,
func,
main = "Barplot",
xname = "Countries",
yname = "Number of sales"
)
|
dataset |
A dataframe (default= 'NULL' which will recall the original dataset). |
func |
A function to be applied to the columns of the dataset. |
main |
A character string for the name of the plot (default = 'Barplot'). |
xname |
A character string for the name of the x-axe (default = 'Countries'). |
yname |
A character string for the name of the y-axe (default = 'Number of sales'). |
The plot for the selected arguments.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.