pjp_unique_values: returns a df with the unique values in each colum of the...

View source: R/pjp_unique_values.R

pjp_unique_valuesR Documentation

returns a df with the unique values in each colum of the input df

Description

pjp_unique_values() returns a df with the unique values that exits in each column of the input df

Usage

pjp_unique_values(df, truncate = FALSE, nn_truncate = 100)

Arguments

df

(a data frame)

truncate

(default to FALSE)

nn_truncate

(if you truncate, this is the maximun character that you will see. The default = 100)

Value

Un nuevo df con los valores unicos del df original

Examples

pjp_unique_values(iris)

perezp44/pjpv.curso.2022 documentation built on May 1, 2022, 12:13 a.m.