From 4a91212601c379498202f8a5cecdee085f2cbe0a Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Sat, 26 Apr 2014 08:42:29 +0200 Subject: Fix the default case for obs_vars in plot.mkinfit() --- man/plot.mkinfit.Rd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'man') diff --git a/man/plot.mkinfit.Rd b/man/plot.mkinfit.Rd index 41682ad..4ae82a5 100644 --- a/man/plot.mkinfit.Rd +++ b/man/plot.mkinfit.Rd @@ -10,7 +10,7 @@ } \usage{ \method{plot}{mkinfit}(x, fit = x, - obs_vars = vector(), + obs_vars = names(fit$mkinmod$map), xlab = "Time", ylab = "Observed", xlim = range(fit$data$time), ylim = c(0, max(fit$data$observed, na.rm = TRUE)), col_obs = 1:length(fit$mkinmod$map), pch_obs = col_obs, @@ -26,7 +26,8 @@ } \item{obs_vars}{ A character vector of names of the observed variables for which the - data and the model should be plotted. + data and the model should be plotted. Defauls to all observed variables + in the model. } \item{xlab}{ label for the x axis. -- cgit v1.2.1