Learn R Programming

sampler (version 0.2.4)

dedupe: Removes duplicate observations within collected data

Description

Removes duplicate observations within collected data

Usage

dedupe(df, col_name)

Arguments

df

object containing data frame of collected data

col_name

variable within data frame by which to filter for duplicate values

Value

Returns table of all data based on unique values within collected data

Examples

Run this code
# NOT RUN {
aldupe <- rsamp(df=albania, n=390, rep=TRUE)
dedupe(df=aldupe, col_name=qvKod)
# }

Run the code above in your browser using DataLab