change_model_factor_levels: Change factor levels in order to get nice legends in ggplots

Description Usage Arguments Examples

View source: R/plot_doBackTesting.R

Description

Change factor levels in order to get nice legends in ggplots

Usage

1

Arguments

vect

A vector of the class factor.

Examples

1
2
x <- factor(c("MRWD", "LeeCarter", "HyndmanUllah", "Oeppen", "MEM6"))
new.x <- change_model_factor_levels(x)

mpascariu/MortalityForecast documentation built on Dec. 10, 2018, 2:33 a.m.