guess_room_class: Guess Room Class

Description Usage Arguments Value

View source: R/groups.R

Description

Every new room must be assigned a room "class" (Living room, Kitchen, etc). This function attempts to guess the room class from the room name. For example, a room named "Master Bedroom" would be assigned the class "Bedroom" because it contains a substring match.

Usage

1

Arguments

x

room name

Value

Returns a character vector with the single best guess of the room class of the given room name.


fascinatingfingers/PhilipsHue documentation built on Nov. 25, 2019, 2:22 a.m.