View source: R/timeTransformations.R
getTimeTrans | R Documentation |
Get useful transformation for the time variable in patient profiles.
getTimeTrans(
type = c("asinh", "asinh-neg"),
scale = 1,
formatFct = prettyNum,
n = 10
)
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. |
ggplot2 transformation (see trans_new
)
Pieter-Jan Stiers, Laure Cougnaud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.