[R] epitools and R 2.5

Pietro Bulian pbulian at cro.it
Mon Jun 11 09:55:30 CEST 2007


At work after updating to R 2.5 I get an error using epitab from package 
epitools, when at home  (R 2.4) I get no error. Could someone help me?

Thanks
Pietro Bulian

Servizio di Onco-Ematologia Clinico-Sperimentale
I.R.C.C.S. Centro di Riferimento Oncologico
Via Franco Gallini 2
33081 Aviano (PN) - Italy

phone: +39 0434 659 412
fax: +39 0434 659 409
e-mail: pbulian at cro.it


(at work)
epitab(matrix(c(227,473,74,126),2))
the part of the args list of 'list' being evaluated was:
   (tab = tab, measure = oddsratio, conf.level = conf.level, pvalue = 
pvalue, )
Error in epitab(matrix(c(227, 473, 74, 126), 2)) :
        element 5 is empty

R.version
               _
platform       i386-pc-mingw32
arch           i386
os             mingw32
system         i386, mingw32
status
major          2
minor          5.0
year           2007
month          04
day            23
svn rev        41293
language       R
version.string R version 2.5.0 (2007-04-23)

Package: epitools
Version: 0.4-8
Date: 2007-05-10
Title: Epidemiology Tools
Author: Tomas Aragon <aragon at berkeley.edu>
Maintainer: Tomas Aragon <aragon at berkeley.edu>
Depends: R (>= 2.1.0)
Description: A package of analytic tools for epidemiologists.
License: GPL version 2 or newer
URL: http://www.epitools.net
Packaged: Thu May 10 01:55:28 2007; Tomas
Built: R 2.5.0; ; 2007-05-10 14:22:09; windows

(at home)
> epitab(matrix(c(227,473,74,126),2))
Warning: a final empty element has been omitted

the part of the args list of 'list' being evaluated was:

(tab = tab, measure = oddsratio, conf.level = conf.level, pvalue = pvalue, )

$tab

Outcome

Predictor Disease1 p0 Disease2 p1 oddsratio lower upper p.value

Exposed1 227 0.3242857 74 0.37 1.0000000 NA NA NA

Exposed2 473 0.6757143 126 0.63 0.8171533 0.5887731 1.134120 0.2348794

$measure

[1] "wald"

$conf.level

[1] 0.95

$pvalue

[1] "fisher.exact"



> R.version

_

platform i386-pc-mingw32

arch i386

os mingw32

system i386, mingw32

status

major 2

minor 4.1

year 2006

month 12

day 18

svn rev 40228

language R



Package: epitools

Title: Epidemiology Tools

Version: 0.4-7

Date: 2005-03-20

Author: Tomas Aragon

Description: Basic tools for applied epidemiology.

Maintainer: Tomas Aragon <aragon at berkeley.edu>

License: GPL version 2 or newer

URL: http://www.epitools.net

Packaged: Sun Mar 20 16:30:07 2005; Tomas

Built: R 2.4.0; ; 2006-10-03 22:02:05; windows

version.string R version 2.4.1 (2006-12-18)



More information about the R-help mailing list