convertAny {HLAtools} | R Documentation |
Convert Values Across an Entire Data Frame or Vector Converts all instances of a value in a data frame or vector to a specified value.
Description
Convert Values Across an Entire Data Frame or Vector
Converts all instances of a value in a data frame or vector to a specified value.
Usage
convertAny(dataset, change.from = NA, change.to = "****")
Arguments
dataset |
A data frame or vector of values. |
change.from |
The value present in the data frame or vector that should be changed. The default value is NA. |
change.to |
The value to which 'change.from' should be changed to. The default value is "****". |
Value
A data frame or vector in which 'change.from' has been converted to 'change.to'.
Examples
dataset <- convertAny(sHLAdata)
[Package HLAtools version 1.1.1 Index]