pct_grupo: Porcentaje-grupos

pct_grupoR Documentation

Porcentaje-grupos

Description

Contribución al total del grupo

Usage

pct_grupo(x = numeric(), by = numeric(), dec = 0L)

Arguments

x

numeric: datos

by

numeric o character o factor: variable agrupamiento; por omisión, sin agrupar

dec

integer: decimales; 0 por omisión

Value

list

Examples

pct_grupo(1:4, c("a", "a", "b", "b"))

ecastellon/magest documentation built on Dec. 9, 2024, 7:44 p.m.