Learn R Programming

wordgraph (version 0.1.0)

get_label_from_columnrow: Returns the label of a value.

Description

Finds the label (string) of a variable specific value at the row. If there is not a label then the function return the value. If there is not value or the nrow is not in an acceptable range then it returns NA.

Usage

get_label_from_columnrow(
              arow,
              column.of.data.frame,
              verbose = FALSE)

Arguments

arow

The row to look at

column.of.data.frame

The column name to look for value labels

verbose

Set to TRUE if quiet use is not desired. Default is set to FALSE (do not show warning messages

Value

A string with the label of the value

Examples

Run this code
# NOT RUN {
get_label_from_columnrow(21, freeassociationdata$gender)
# }

Run the code above in your browser using DataLab