aboutsummaryrefslogtreecommitdiff
path: root/R/mkinfit.R
diff options
context:
space:
mode:
authorjranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>2012-11-26 23:03:19 +0000
committerjranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>2012-11-26 23:03:19 +0000
commitdf916b91c90f80e2c68f3e136a7b6e07b8c6bae1 (patch)
tree4b54b46c68a0b5866aa6bf15131b55b34668af08 /R/mkinfit.R
parentd267b8c116f78ee9b7b4d76c9ddb7b8950a127b4 (diff)
- Added an S3 plot method for mkinfit models
- Fixed a bug in the mkinfit summary method which crashed on missing covariance matrices git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/kinfit/pkg/mkin@58 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Diffstat (limited to 'R/mkinfit.R')
-rw-r--r--R/mkinfit.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/mkinfit.R b/R/mkinfit.R
index 0215596..3649b20 100644
--- a/R/mkinfit.R
+++ b/R/mkinfit.R
@@ -317,7 +317,7 @@ print.summary.mkinfit <- function(x, digits = max(3, getOption("digits") - 3), .
print(x$SFORB, digits=digits,...)
}
- printcor <- !is.null(x$cov.unscaled)
+ printcor <- is.numeric(x$cov.unscaled)
if (printcor){
Corr <- cov2cor(x$cov.unscaled)
rownames(Corr) <- colnames(Corr) <- rownames(x$par)

Contact - Imprint