From 42739646dc36ff74d43b638fc2c4f5259496e2b9 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Sat, 21 Feb 2015 06:56:35 +0100 Subject: Avoid NOTES in R CMD check - Export S3 methods - Avoid using undeclared variable names --- R/mkinparplot.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'R') diff --git a/R/mkinparplot.R b/R/mkinparplot.R index 53354db7..a5e8fb89 100644 --- a/R/mkinparplot.R +++ b/R/mkinparplot.R @@ -39,7 +39,7 @@ mkinparplot <- function(object) { for (type in names(n.plot)) { parnames <- get(type) values <- bpar[parnames] - values_with_confints <- data.frame(t(subset(data.frame(t(values)), !is.na(Lower)))) + values_with_confints <- data.frame(t(subset(data.frame(t(values)), !is.na("Lower")))) xlim = switch(type, state.optim = range(c(0, unlist(values)), na.rm = TRUE, finite = TRUE), -- cgit v1.2.1