myopizer: myopizer

Description Usage Arguments See Also

View source: R/myop.R

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

1
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()


tjebo/eye documentation built on Jan. 24, 2022, 8:34 p.m.