Learn R Programming

eye (version 1.3.0)

convertQuali: convert quali entries

Description

converting quality VA entries

Usage

convertQuali(x, to_class)

convertQuali_custom(x, to_class, to, quali_values)

Value

vector

vector

Arguments

x

vector

to_class

to which class quali entries are cleaned (if not using custom values)

to

to which class the final conversion should be (only used when using custom quali values)

quali_values

define your own values for qualitative entries (see details)

Details

To define your own values for qualitative entries, you need to pass a names list with names c("cf", "hm", "npl", "pl") - in that order. It accepts only values that can be converted into numeric values and it converts only to logMAR. If you want to convert to a different notation, you will need to call va() a second time.