aboutsummaryrefslogtreecommitdiff
path: root/R/twa.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2017-01-19 11:22:08 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2017-01-19 11:22:08 +0100
commit46883a0c3a3c00127a563a7befa0af440573baaa (patch)
tree37b0f920766a49ede36d05e865ec26e7ec02b9d6 /R/twa.R
parent3947731a5a8c3598271b26f5201dea4bcb13ef6d (diff)
Correct default y axis label for plot.one_box
Diffstat (limited to 'R/twa.R')
-rw-r--r--R/twa.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/twa.R b/R/twa.R
index 0e03baf..7fa6241 100644
--- a/R/twa.R
+++ b/R/twa.R
@@ -146,7 +146,7 @@ one_box.mkinfit <- function(x, ini = c("model", 1), ..., t_end = 100, res = 0.01
#' plot(pred_2_saw, max_twa = 21, max_twa_var = "m1")
plot.one_box <- function(x,
xlim = range(time(x)), ylim = c(0, max(x)),
- xlab = "Time", ylab = "Fraction of initial",
+ xlab = "Time", ylab = "Residue",
max_twa = NULL, max_twa_var = dimnames(x)[[2]][1], ...)
{
obs_vars <- dimnames(x)[[2]]

Contact - Imprint