dfsplit_test_equality: dfsplit_test_equality

Description Usage Arguments Details Value Author(s)

View source: R/utils.R

Description

Split a dataset into unique and duplicate elements by an id reference

Usage

1
dfsplit_test_equality(df, split_reference, test_reference, names)

Arguments

df

dataset to split

split_reference

variable of reference to split dataset

test_reference

variable of reference to test if elements of that variable are unique

names

names of the sublists unique and repeated.

Details

This function has been design for a given dataset split it by the variable split_reference and divide it in sublists. This is if the variable test_reference has unique elements or not.

Value

List where each sublist is the unique and the duplicated observations from df.

Author(s)

Eduardo Trujillo


1Edtrujillo1/udeploy documentation built on July 13, 2021, 9:12 p.m.