Hello,
You don't provide a reproducible example. And, also, the package the
"titan" function comes from. The function I found doesn't use the
options you used in yours.
Regards,
Pascal
Le 14/11/2012 23:10, Sonja69 a écrit :
Hallo everybody!
I am trying to perform a TiTAN (Baker & King 2010) analysis with R 2.14.1. I
have come that far:
h89Abund <- read.csv("Fish89Abund.csv")
names (Fish89Abund)
[1] "StationCode" "Abramisbrama"
"Alburnoidesbipunctatus" "Alburnusalburnus"
[5] "Ameiurusmelas"
Fish89PCA <-read.csv("Fish89PCA.csv")
names (Fish89PCA)
[1] "StationCode" "PCA1"
# Check data (1:X rows, e.g. 1:3,=1.-3.row or else)
Fish89PCA [1:3,]
StationCode PCA1
1 DE582 -1.5592527
2 DE38 0.3530658
3 FR02116570 2.8057854
names (Fish89PCA)
[1] "StationCode" "PCA1"
Fish89TiTAN <- titan(Fish89PCA, Fish89Abund, minsplt=5,
+ numprm=250, nboot=500, boot=TRUE, deviance=TRUE)
[1] "Taxa frequency screen complete"
[1] "Function definition complete"
Error in is.data.frame(x) : subscript out of bounds
This essror mesage is killing me. I checked the data tables and the
internet, but nowhere any satisfying answer.
Can anybody help me please? Thanks in advance!!
--
View this message in context:
http://r.789695.n4.nabble.com/error-data-frame-tp4649491.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.