t21: Transform categorical to normalised numeric on a levelled...

Description Usage Arguments Value Examples

View source: R/t21.R

Description

This function will return a number between 0 and 1. This depends on whether the entry is Excellent(1) to Poor(0).

Usage

1
t21(x)

Arguments

Rating

A valid rating, either "Excellent", "Good", "Average/Typical", "Fair" or "Poor"

Value

0, 0.25, 0.5, 0.75, 1

Examples

1
t21("Excellent")

tapp100/IowaHomesProject documentation built on Nov. 27, 2019, 12:30 a.m.