myopizer {eye} | R Documentation |
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.
myopizer(x, var = "value")
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") |
Other myopizer:
myop_pivot()
,
myop_rename()