From d38e129954e952c0cc6bcbae88c5a2bcbca024f8 Mon Sep 17 00:00:00 2001 From: ranke Date: Fri, 5 May 2006 15:11:07 +0000 Subject: - Fix of the drfit() function for the case that the calculation of the confidence interval fails - Updated version of the drfit-Rnews preprint git-svn-id: http://kriemhild.uft.uni-bremen.de/svn/drfit@77 d1b72e20-2ee0-0310-a1c4-ad5adbbefcdc --- DESCRIPTION | 4 ++-- R/drfit.R | 6 ++++-- inst/doc/drfit-Rnews.pdf | Bin 233496 -> 235966 bytes 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index e12b6bf..fa83085 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: drfit -Version: 0.05-76 -Date: 2006-05-04 +Version: 0.05-77 +Date: 2006-05-05 Title: Dose-response data evaluation Author: Johannes Ranke Maintainer: Johannes Ranke diff --git a/R/drfit.R b/R/drfit.R index b33d754..e3d9d3b 100644 --- a/R/drfit.R +++ b/R/drfit.R @@ -273,8 +273,10 @@ drfit <- function(data, startlogED50 = NA, chooseone=TRUE, } results <- data.frame(rsubstance, rndl, rn, rlld, rlhd, mtype, logED50, logED50low, logED50high, runit, sigma, a, b) - names(results) <- c("Substance","ndl","n","lld","lhd","mtype", - "logED50",names(logED50conf)[[1]],names(logED50conf)[[2]],"unit","sigma","a","b") + names(results) <- c("Substance","ndl","n","lld","lhd","mtype","logED50", + paste(100*(1-level)/2,"%",sep=""), + paste(100*(1+level)/2,"%",sep=""), + "unit","sigma","a","b") if (linlogit) { results$c <- c diff --git a/inst/doc/drfit-Rnews.pdf b/inst/doc/drfit-Rnews.pdf index 25f36e4..571f69e 100644 Binary files a/inst/doc/drfit-Rnews.pdf and b/inst/doc/drfit-Rnews.pdf differ -- cgit v1.2.1