Description Usage Arguments Details Author(s)
This function converts the satisfaction_score
from a
character value into a numeric value $scoreNumber
that can be used
in regression or in other ways.
1 |
dF |
The dataFrame for which to convert number. |
Values for satisfaction_score
include Good
,
Not Offered
, Offered
, and Bad
. This function converts
Good
values into the numeric 4
, Bad
into 1
, and
the others to NA
values.
If all values for satisfaction_score
are NA
, then
the resulting $scoreNumber
will be filled with NA
values.
Steven H. Ranney
Contact: Steven.Ranney@gmail.com
Steven Ranney
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.