From 46883a0c3a3c00127a563a7befa0af440573baaa Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 19 Jan 2017 11:22:08 +0100 Subject: Correct default y axis label for plot.one_box --- R/twa.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'R/twa.R') 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]] -- cgit v1.2.1