descripYG {Analitica} | R Documentation |
Descriptive Analysis With Optional Grouping
Description
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).
Usage
descripYG(dataset, vd, vi = NULL)
Arguments
dataset |
A |
vd |
A numeric variable to analyze (dependent variable). |
vi |
An optional grouping variable (independent variable, categorical or numeric). |
Value
A data.frame
with descriptive statistics. Also prints plots to the graphics device.
Examples
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)
[Package Analitica version 1.8.5 Index]