R语言vegan包使用教程(10)

时间:2025-07-13

R语言中的外在软件包“Vegan”是专门用于群落生态学分析的工具。Vegan能够提供所有基本的排序方法,同时具有生成精美排序图的功能,版本更新很快。我们认为Vegan包完全可以取代CANOCO,成为今后排序分析的首选统计工具。

2.4Eigenvectormethods9

1

11Cla.phy

10Cla.coc

Poh.nut

Cla.stePin.sylCla.chl

Cla.spCet.isl

Cla.gra1223Vac.vit5

Cla.ran14Pol.pilCet.eriCla.cri

Cla.fimCla.arbSte.sp618Dic.pol21

2

Ich.eriCla.ama13Cla.uncDip.monCla.corCla.defPel.aph24Bet.pubCla.bot

Bar.lycPti.cilC4

7Cal.vulCet.niv1516Vac.uli20Dic.sp

Emp.nig

Led.palVac.myr

1

25

Des.fle

Ple.sch

Hyl.spl28

27

2

10123

PC1

5

.19Bar.lyc2128

10

Bet.pub

0.Pti.cil

Vac.myrHyl.spl

12

27Cla.ste

Cla.phyCla.chl

Cet.islDes.fle

5

Cla.bot

.0Cla.sp

Pin.sylPoh.nutPle.sch3

Emp.nigVac.vitNep.arc

Dic.sp24250

.Pol.jun

0Cla.cer

11

Cla.fim2

Cla.graCla.corPel.aph23A1522C5

Cla.coc

Cla.criCla.def20Cet.eri

Dic.fus

.0Cet.niv 4

Dip.monCla.ran

Cla.unc16

Pol.pil0

.Cla.amaCla.arb181Vac.uli

Cal.vul 14

5

Ste.sp

6

13.1Ich.eri

7

.2 5

1012

CA1

2ORDINATION:BASICMETHOD

Call:rda(X=varespec,scale=TRUE)InertiaRank

Total44Unconstrained4423Inertiaiscorrelations

Eigenvaluesforunconstrainedaxes:

PC1PC2PC3PC4PC5PC6PC7PC88.904.764.263.732.962.882.732.18

(Showedonly8ofall23unconstrainedeigenvalues)>plot(vare.pca,scaling=3)

Nowinertiaiscorrelation,andthecorrelationofavariablewithitselfisone.Thusthetotalinertiaisequaltothenumberofvariables(species).Therankorthetotalnumberofeigenvectorsisthesameaspreviously.Themaximumpossiblerankisde nedbythedimensionsofthedata:itisonelessthansmallerofnumberofspeciesornumberofsites:

>dim(varespec)[1]2444

Iftherearespeciesorsitessimilartoeachother,rankwillbereducedevenfromthis.

Thepercentageexplainedbythe rstaxisdecreasedfromthepreviouspcaabundant.Thisspeciesisnatural,withsincehighpreviouslyvariances,webutneedednowwetohave“explain”toexplainonlytheallspeciesequally.Weshouldnotlookblindlyatpercentages,buttheresultweget.

Correspondenceanalysisisverysimilartopca:

>vare.ca<-cca(varespec)>vare.ca

Call:cca(X=varespec)

InertiaRank

Total2.08Unconstrained2.0823

Inertiaismeansquaredcontingencycoefficient

Eigenvaluesforunconstrainedaxes:

CA1CA2CA3CA4CA5CA6CA7CA80.52490.35680.23440.19550.17760.12160.11550.0889(Showedonly8ofall23unconstrainedeigenvalues)>plot(vare.ca)

Nowtheinertiaiscalledmeansquaredcontingencycoe cient.Corre-spondenceanalysisisbasedonChi-squareddistance,andtheinertiais

theChi-squaredstatisticofadatamatrixstandardizedtounittotal:

>chisq.test(varespec/sum(varespec))

Pearson'sChi-squaredtest

data:varespec/sum(varespec)

X-squared=2.083,df=989,p-value=1

10

…… 此处隐藏:427字,全部文档内容请下载后查看。喜欢就下载吧 ……
R语言vegan包使用教程(10).doc 将本文的Word文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219