[R] Indicator Species analysis; trouble with multipatt
John Kane
jrkrideau at inbox.com
Tue Apr 19 12:47:23 CEST 2016
Hi Ansely,
As Jim points out we really need some sample data to go with the code.
Have a look at ?dput which is the best way to supply sample data here or have a look at http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and/or http://adv-r.had.co.nz/Reproducibility.html for some general suggestions on asking questions here---including discussions of using dput()
John Kane
Kingston ON Canada
> -----Original Message-----
> From: daily.puja at gmail.com
> Sent: Mon, 18 Apr 2016 16:33:54 -0400
> To: r-help at r-project.org
> Subject: [R] Indicator Species analysis; trouble with multipatt
>
> Hello,
>
> *Error in tx %*% comb : non-conformable arguments*
>
> Suggestions greatly appreciated. I am a beginner and this is my first
> time
> posting.
>
> I would like to get the summary for indicator species analysis, using
> package indicspecies with multipatt. I am getting errors, I believe, do
> to
> my data organization. After reorganizing and reorganizing, nothing has
> helped.
>
>> data<- read.csv(file="Data1.csv", header=TRUE, row.names=1, sep=",")
>> ap<-data[c(1:24, 1:81)]
>> groups<-c(rep(1:4,6))
>> indval<- multipatt(ap, groups, control = how(nperm=999))
> *Error in tx %*% comb : non-conformable arguments*
>
>
>
> --
> Ansley Silva
>
>
> *"The clearest way into the Universe is through a forest wilderness."
> John
> Muir*
>
>
> *Graduate Research Assistant*
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
More information about the R-help
mailing list