Learn R Programming

eye (version 1.2.1)

myopizer: myopizer

Description

internal function, checks and prepares data frames for "myopization": Removing duplicates, returning myopized data if criteria fulfilled (No "eye" column, more than one variable column with eye codes as partial string). Names need to be prepared with myop_rename beforehand.

Usage

myopizer(x, var = "value")

Arguments

x

data frame

var

Character vector of length 1 specifying the variable if there is only one column per eye with no further info on the variable (default "value")

See Also

Other myopizer: myop_pivot(), myop_rename()