as_trans: As trans

View source: R/contents.R

as_transR Documentation

As trans

Description

Gets a proper trans object from scales package. Original function scales::as.trans() is not working properly when scales are in Imports

Usage

as_trans(x)

Arguments

x

character string, the scale name

Value

scale object


Roche/ggtips documentation built on May 14, 2022, 12:44 p.m.