zodiac_factor_order: Turn zodiac character into an ordered factor

Description Usage Arguments Value Examples

View source: R/zodiac_sign.R

Description

Turn zodiac character into an ordered factor

Usage

1
zodiac_factor_order(x, factor_order = "roman")

Arguments

x

a vector of data, usually taking a small number of distinct values.

factor_order

A character. Sort the factor levels by the following:

  • roman: roman calender; Aries first (Default)

  • modern: modern calender; Capricorn first

  • none: return the data as a character

Value

A character with the requests levels.

Examples

1

KoderKow/kowr documentation built on July 19, 2021, 4:18 p.m.