From 9a594513914874eac093046678f0e7a5ab640871 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 15 May 2014 23:29:21 +0200 Subject: Start new version number, Fix #5 (Inf values in mkinparplot) --- R/mkinparplot.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'R') diff --git a/R/mkinparplot.R b/R/mkinparplot.R index 5a352be8..683a8b24 100644 --- a/R/mkinparplot.R +++ b/R/mkinparplot.R @@ -54,8 +54,9 @@ mkinparplot <- function(object) { text(ifelse(position == "left", min(xlim), max(xlim)), length(parnames):1, parnames, pos = ifelse(position == "left", 4, 2)) + values.upper.nonInf <- ifelse(values["Upper", ] == Inf, 1.5 * xlim[[2]], values["Upper", ]) arrows(as.numeric(values["Lower", ]), length(parnames):1, - as.numeric(values["Upper", ]), length(parnames):1, + as.numeric(values.upper.nonInf), length(parnames):1, code = 3, angle = 90, length = 0.05) } par(oldpars) -- cgit v1.2.1