Psst! Check what courses we have in our offer, and get them all here to save $727. Act fast–this deal is available only 3/14–3/21.
Factors
Summary

Instruction

Usually you will not create new factor columns based on existing character columns. Instead, you will convert an existing character column to a factor column.

You can overwrite the existing phone column and turn it into a factor, like this:

houses$phone <- factor(houses$phone)

Exercise

Convert the air_conditioner column to a factor.