descripYG | R Documentation |
Performs a descriptive analysis on a numeric dependent variable, either globally or grouped by an independent variable. Displays summary statistics such as mean, standard deviation, skewness, and kurtosis, and generates associated plots (histogram, boxplot, or density ridges).
descripYG(dataset, vd, vi = NULL)
dataset |
A |
vd |
A numeric variable to analyze (dependent variable). |
vi |
An optional grouping variable (independent variable, categorical or numeric). |
A data.frame
with descriptive statistics. Also prints plots to the graphics device.
data(d_e, package = "Analitica")
descripYG(d_e, vd = Sueldo_actual)
descripYG(d_e, vd = Sueldo_actual, vi = labor)
descripYG(d_e,Sueldo_actual,labor)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.