aboutsummaryrefslogtreecommitdiff
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
parent3947731a5a8c3598271b26f5201dea4bcb13ef6d (diff)
Correct default y axis label for plot.one_box
-rw-r--r--R/twa.R2
-rw-r--r--docs/reference/one_box-2.pngbin5783 -> 5599 bytes
-rw-r--r--docs/reference/one_box-4.pngbin5587 -> 5426 bytes
-rw-r--r--docs/reference/one_box-8.pngbin9860 -> 9671 bytes
-rw-r--r--docs/reference/plot.one_box-2.pngbin5828 -> 5653 bytes
-rw-r--r--docs/reference/plot.one_box-4.pngbin10603 -> 10315 bytes
-rw-r--r--docs/reference/plot.one_box-8.pngbin13603 -> 13307 bytes
-rw-r--r--docs/reference/plot.one_box.html2
-rw-r--r--docs/reference/sawtooth-2.pngbin6175 -> 6018 bytes
-rw-r--r--docs/reference/sawtooth-6.pngbin13603 -> 13307 bytes
-rw-r--r--man/plot.one_box.Rd2
11 files changed, 3 insertions, 3 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]]
diff --git a/docs/reference/one_box-2.png b/docs/reference/one_box-2.png
index 84094b9..a43ff32 100644
--- a/docs/reference/one_box-2.png
+++ b/docs/reference/one_box-2.png
Binary files differ
diff --git a/docs/reference/one_box-4.png b/docs/reference/one_box-4.png
index 3c6dadb..63d59ff 100644
--- a/docs/reference/one_box-4.png
+++ b/docs/reference/one_box-4.png
Binary files differ
diff --git a/docs/reference/one_box-8.png b/docs/reference/one_box-8.png
index 897737e..963775a 100644
--- a/docs/reference/one_box-8.png
+++ b/docs/reference/one_box-8.png
Binary files differ
diff --git a/docs/reference/plot.one_box-2.png b/docs/reference/plot.one_box-2.png
index 1145f68..89b52df 100644
--- a/docs/reference/plot.one_box-2.png
+++ b/docs/reference/plot.one_box-2.png
Binary files differ
diff --git a/docs/reference/plot.one_box-4.png b/docs/reference/plot.one_box-4.png
index 9664c14..eeb88e3 100644
--- a/docs/reference/plot.one_box-4.png
+++ b/docs/reference/plot.one_box-4.png
Binary files differ
diff --git a/docs/reference/plot.one_box-8.png b/docs/reference/plot.one_box-8.png
index 161ecb4..6998974 100644
--- a/docs/reference/plot.one_box-8.png
+++ b/docs/reference/plot.one_box-8.png
Binary files differ
diff --git a/docs/reference/plot.one_box.html b/docs/reference/plot.one_box.html
index d75b465..4c3cb82 100644
--- a/docs/reference/plot.one_box.html
+++ b/docs/reference/plot.one_box.html
@@ -75,7 +75,7 @@
<pre><span class='co'># S3 method for one_box</span>
<span class='fu'>plot</span>(<span class='no'>x</span>, <span class='kw'>xlim</span> <span class='kw'>=</span> <span class='fu'>range</span>(<span class='fu'>time</span>(<span class='no'>x</span>)), <span class='kw'>ylim</span> <span class='kw'>=</span> <span class='fu'>c</span>(<span class='fl'>0</span>, <span class='fu'>max</span>(<span class='no'>x</span>)),
- <span class='kw'>xlab</span> <span class='kw'>=</span> <span class='st'>"Time"</span>, <span class='kw'>ylab</span> <span class='kw'>=</span> <span class='st'>"Fraction of initial"</span>, <span class='kw'>max_twa</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
+ <span class='kw'>xlab</span> <span class='kw'>=</span> <span class='st'>"Time"</span>, <span class='kw'>ylab</span> <span class='kw'>=</span> <span class='st'>"Residue"</span>, <span class='kw'>max_twa</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
<span class='kw'>max_twa_var</span> <span class='kw'>=</span> <span class='fu'>dimnames</span>(<span class='no'>x</span>)<span class='kw'>[[</span><span class='fl'>2</span>]][<span class='fl'>1</span>], <span class='no'>...</span>)</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a> Arguments</h2>
diff --git a/docs/reference/sawtooth-2.png b/docs/reference/sawtooth-2.png
index e6ff97d..1270a14 100644
--- a/docs/reference/sawtooth-2.png
+++ b/docs/reference/sawtooth-2.png
Binary files differ
diff --git a/docs/reference/sawtooth-6.png b/docs/reference/sawtooth-6.png
index 161ecb4..6998974 100644
--- a/docs/reference/sawtooth-6.png
+++ b/docs/reference/sawtooth-6.png
Binary files differ
diff --git a/man/plot.one_box.Rd b/man/plot.one_box.Rd
index 8c8a301..a212c11 100644
--- a/man/plot.one_box.Rd
+++ b/man/plot.one_box.Rd
@@ -5,7 +5,7 @@
\title{Plot time series of decline data}
\usage{
\method{plot}{one_box}(x, xlim = range(time(x)), ylim = c(0, max(x)),
- xlab = "Time", ylab = "Fraction of initial", max_twa = NULL,
+ xlab = "Time", ylab = "Residue", max_twa = NULL,
max_twa_var = dimnames(x)[[2]][1], ...)
}
\arguments{

Contact - Imprint