[Phylobase-devl] tdata<- method bug

Peter Cowan pdc at berkeley.edu
Sun Jul 27 20:47:40 CEST 2008


Hi all,

I'm getting an error when I attempt the following.  I think this
should be allowed no?  There appears to be a method defined but
perhaps it's not being dispatched properly?

Peter

require(phylobase)
Loading required package: phylobase
Loading required package: ape
foo <- as(rcoal(5), 'phylo4d')
tdata(foo) <- as.data.frame(rnorm(9))

Error in tdata(foo) <- as.data.frame(rnorm(9)) :
  could not find function "tdata<-"


More information about the Phylobase-devl mailing list