Description Usage Arguments Details Value Note Author(s)
Create a list with specific descriptive plots analizing the mean from the distribution of a numeric variable based on the levels of factor variables from a dataset.
1 | analyzing_means_plots(df, num_int_var)
|
df |
dataset to obtain the plots |
num_int_var |
ONE NUMERICAL VARIABLE from the dataset |
This function allows you to return descriptive plots analizing the mean from a numeric variable based on the levels of factor variables from a dataset.
"This function returns a list where each element is going to be a sublist containing".
bar plot comparing the standard error of each combination level of the factor variables for the distribution of the num_int_var
.
Polar area plot comparing the mean of each combination level of the factor variables for the distribution of the num_int_var
.
Each output is going to be a list, where each element is the result from each combination levels of the factor variables and the whole distribution of the numeric variable.
If there is no factor variable(s) then it is going to bring plots analyzing only the population mean, rather than the sample means, because this function needs factor variables to compare the means of the num_int_var
for the levels combinations
This function is applied to one numeric variable num_int_var
If you are not using a shiny app, is better to use general_descript_stats
function.
Eduardo Trujillo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.