getTimeTrans {patientProfilesVis} | R Documentation |
Get useful transformation for the time variable in patient profiles.
Description
Get useful transformation for the time variable in patient profiles.
Usage
getTimeTrans(
type = c("asinh", "asinh-neg"),
scale = 1,
formatFct = prettyNum,
n = 10
)
Arguments
type |
String with transformation type, either:
|
scale |
Numeric vector of length 1 (1 by default)
with size of the linear region around 0, only used if in case
|
formatFct |
function formatting the time axis breaks,
( |
n |
Integer of length 1 with number of breaks, 10 by default. |
Value
ggplot2 transformation (see trans_new
)
Author(s)
Pieter-Jan Stiers, Laure Cougnaud
[Package patientProfilesVis version 2.0.9 Index]