|
Hola, una forma con la libreria data.table: library(data.table) as.data.table(el_data.frame) el_data.frame[, length(DNI), by=JURISDICCION] JURISDICCION V1
Suerte !!!!!!!!! Eric.
On 08/06/2018 04:45 PM, juan manuel
dias wrote:
Hola, Tengo el siguiente DATA FRAMEDNI JURISDICCION DISPOSITIVO NOMBRE APELLIDO 1 Bs As 2 Bs As 3 Bs As 4 Entre Ríos 5 Entre Ríos 6 Entre Ríos Quiero contar DNI por Jurisdicción, quedando una tabla que sea: DNI JURISDICCION 3 Bs As 3 Entre Ríos Tanto DNI como Jurisdicción son factores. Muchas gracias. Saludos, Juan. [[alternative HTML version deleted]] _______________________________________________ R-help-es mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-help-es -- Nota: Las tildes se han omitido para asegurar compatibilidad con algunos lectores de correo. |
_______________________________________________ R-help-es mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-help-es
