[R] error data frame
Sonja69
sonja.stendera at gmail.com
Wed Nov 14 15:10:35 CET 2012
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.
More information about the R-help
mailing list