make_unique: Remove duplicated entries. If there are still several...

Description Usage Arguments Value

Description

Remove duplicated entries. If there are still several instances of the same value in the id column, take the most frequent unique value, or the mean, or a random value of the duplicates to keep only one observation.

Usage

1

Arguments

x

dataframe. Variables indicating the attributes of observations.

Value

Dataframe with only one instance of each id.


NicolasJBM/grpcomp documentation built on May 28, 2019, 2:21 p.m.