This is an R Markdown Notebook. When you execute code within the notebook, the results appear beneath the code.
Try executing this chunk by clicking the Run button within the chunk or by placing your cursor inside it and pressing Ctrl+Shift+Enter. \\ frequency counts must be converted to species abundances Frq Counts #### frq counts by site with zero counts removed
Cnt_1 <-c(1,1,1,1)
Cnt_2 <- c(1,1,1,1)
Cnt_21 <- c(1,1,1)
Cnt_33 <- c(1,1)
Cnt_51 <- c(1,1,1)
cnt_53 <- c(1,1,2,1)
cnt_59 <- c(1,1,1,1)
cnt_66 <- c(1,2,1)
cnt_68 <- c(1,1,1)
cnt_77 <- c(1,1)
cnt_88 <- c(1,1,1)
cnt_91 <- c(1,1,1,1)
cnt_188 <- c(1,1,1,1)
cnt_246 <- c(1,2,1,1)
cnt_267 <- c(1,1,1)
cnt_270 <- c(1,1)
cnt_313 <- c(2,1,1,1,1)
cnt_329 <- c(1,1,1)
cnt_360 <- c(1,1,1)
cnt_371 <- c(2,1,1)
cnt_429 <- c(1,1)
cnt_456 <- c(1,1,1)
cnt_493 <- c(1,1,1,1)
cnt_565 <- c(2,1,1)
cnt_571 <- c(1,1,1,1,1)
cnt_587 <- c(1,1,1,1)
cnt_596 <- c(1,1,1,1)
cnt_651 <- c(1,1,1,1)
cnt_671 <- c(1,1,1)
cnt_872 <- c(2)
cnt_909 <- c(2,1,1,1)
cnt_932 <- c(2,1,1)
cnt_937 <- c(1,1,1,1)
cnt_949 <- c(1,1,1,1)
cnt_955 <- c(1,1,1)
cnt_968 <- c(1,1)
cnt_970 <- c(1,1,1,1)
cnt_971 <- c(2,1,1,1)
cnt_972 <- c(2,1,1,1)
cnt_985 <- c(1,1,1)
cnt_1017 <- c(1,1,1,1)
cnt_1024 <- c(1,1,2,1)
cnt_1092 <- c(1,1,1)
cnt_1190 <- c(1,1,1,1)
cnt_1204 <- c(1,1,1,1)
\\
Spp Abnd converting to species abundances
x1 <- rep(c(1,3,34,149), Cnt_1)
x2 <- rep(c(1,16,23,35), Cnt_2)
x21 <- rep(c(1,48,51), Cnt_21)
x33 <- rep(c(3,89), Cnt_33)
x51 <- rep(c(5,6,66), Cnt_51)
x53 <- rep(c(1,7,9,189), cnt_53)
x59 <- rep(c(3,14,19,56), cnt_59)
x66 <- rep(c(1,22,73), cnt_66)
x68 <- rep(c(5,9,60), cnt_68)
x77 <- rep(c(3,72), cnt_77)
x88 <- rep(c(5,8,51), cnt_88)
x91 <- rep(c(1,8,93,99), cnt_91)
x188 <- rep(c(6,27,80,166), cnt_188)
x246 <- rep(c(1,4,39,115), cnt_246)
x267 <- rep(c(1,7,102), cnt_267)
x270 <- rep(c(3,54), cnt_270)
x313 <- rep(c(2,3,5,6,39), cnt_313)
x329 <- rep(c(10,11,46), cnt_329)
x360 <- rep(c(1,3,59), cnt_360)
x371 <- rep(c(1,19,155), cnt_371)
x429 <- rep(c(2,132), cnt_429)
x456 <- rep(c(1,28,148),cnt_456)
x493 <- rep(c(2,9,44,45), cnt_493)
x565 <- rep(c(2,13,47), cnt_565)
x571 <- rep(c(1,7,33,50,70), cnt_571)
x587 <- rep(c(1,3,12,86), cnt_587)
x596 <- rep(c(1,2,9,72), cnt_596)
x651 <- rep(c(2,19,28,70), cnt_651)
x671 <- rep(c(2,6,18), cnt_671)
x872 <- rep(c(45), cnt_872)
x909 <- rep(c(1,5,8,47), cnt_909)
x932 <- rep(c(1,2,71), cnt_932)
x937 <- rep(c(1,2,4,59), cnt_937)
x949 <- rep(c(1,3,4,145), cnt_949)
x955 <- rep(c(1,4,129), cnt_955)
x968 <- rep(c(17,19), cnt_968)
x970 <- rep(c(3,13,15,20), cnt_970)
x971 <- rep(c(2,6,21,24), cnt_971)
x972 <- rep(c(1,9,16,140), cnt_972)
x985 <- rep(c(11,64,91), cnt_985)
x1017 <- rep(c(2,3,7,86),cnt_1017)
x1024 <- rep(c(1,4,8,25), cnt_1024)
x1092 <- rep(c(1,8,371), cnt_1092)
x1190 <- rep(c(1,10,24,66), cnt_1190)
x1204 <- rep(c(1,2,15,25), cnt_1204)
\\ Msqtos
Creating the data set list
Msqtos <- list(bch1=x1, bch2=x2, bch21=x21, bch33=x33,bch51=x51,bch53=x53,
bch59=x59, bch66=x66, bch68=x68, bch77=x77, bch88=x88,
bch91=x91,bch188=x188, bch246=x246, bch267=x267, bch270=x270,
bch313=x313, bch329=x329, bch360=x360, bch371=x371, bch429=x429,
bch456=x456, bch493=x493, bch565=x565, bch571=x571, bch587=x587,
bch596=x596, bch651=x651, bch671=x671, bch872=x872, bch909=x909,
bch932=x932, bch937=x937, bch949=x949, bch955=x955, bch968=x968,
bch970=x970, bch971=x971, bch972=x972, bch985=x985, bch1017=x1017,
bch1024=x1024, bch1092=x1092, bch1190=x1190, bch1204=x1204)
str(Msqtos)
List of 45
$ bch1 : num [1:4] 1 3 34 149
$ bch2 : num [1:4] 1 16 23 35
$ bch21 : num [1:3] 1 48 51
$ bch33 : num [1:2] 3 89
$ bch51 : num [1:3] 5 6 66
$ bch53 : num [1:5] 1 7 9 9 189
$ bch59 : num [1:4] 3 14 19 56
$ bch66 : num [1:4] 1 22 22 73
$ bch68 : num [1:3] 5 9 60
$ bch77 : num [1:2] 3 72
$ bch88 : num [1:3] 5 8 51
$ bch91 : num [1:4] 1 8 93 99
$ bch188 : num [1:4] 6 27 80 166
$ bch246 : num [1:5] 1 4 4 39 115
$ bch267 : num [1:3] 1 7 102
$ bch270 : num [1:2] 3 54
$ bch313 : num [1:6] 2 2 3 5 6 39
$ bch329 : num [1:3] 10 11 46
$ bch360 : num [1:3] 1 3 59
$ bch371 : num [1:4] 1 1 19 155
$ bch429 : num [1:2] 2 132
$ bch456 : num [1:3] 1 28 148
$ bch493 : num [1:4] 2 9 44 45
$ bch565 : num [1:4] 2 2 13 47
$ bch571 : num [1:5] 1 7 33 50 70
$ bch587 : num [1:4] 1 3 12 86
$ bch596 : num [1:4] 1 2 9 72
$ bch651 : num [1:4] 2 19 28 70
$ bch671 : num [1:3] 2 6 18
$ bch872 : num [1:2] 45 45
$ bch909 : num [1:5] 1 1 5 8 47
$ bch932 : num [1:4] 1 1 2 71
$ bch937 : num [1:4] 1 2 4 59
$ bch949 : num [1:4] 1 3 4 145
$ bch955 : num [1:3] 1 4 129
$ bch968 : num [1:2] 17 19
$ bch970 : num [1:4] 3 13 15 20
$ bch971 : num [1:5] 2 2 6 21 24
$ bch972 : num [1:5] 1 1 9 16 140
$ bch985 : num [1:3] 11 64 91
$ bch1017: num [1:4] 2 3 7 86
$ bch1024: num [1:5] 1 4 8 8 25
$ bch1092: num [1:3] 1 8 371
$ bch1190: num [1:4] 1 10 24 66
$ bch1204: num [1:4] 1 2 15 25
correct row length############# correcting uneven row lengths
Msqtos2 <- Msqtos
str(Msqtos2)
List of 45
$ bch1 : num [1:4] 1 3 34 149
$ bch2 : num [1:4] 1 16 23 35
$ bch21 : num [1:3] 1 48 51
$ bch33 : num [1:2] 3 89
$ bch51 : num [1:3] 5 6 66
$ bch53 : num [1:5] 1 7 9 9 189
$ bch59 : num [1:4] 3 14 19 56
$ bch66 : num [1:4] 1 22 22 73
$ bch68 : num [1:3] 5 9 60
$ bch77 : num [1:2] 3 72
$ bch88 : num [1:3] 5 8 51
$ bch91 : num [1:4] 1 8 93 99
$ bch188 : num [1:4] 6 27 80 166
$ bch246 : num [1:5] 1 4 4 39 115
$ bch267 : num [1:3] 1 7 102
$ bch270 : num [1:2] 3 54
$ bch313 : num [1:6] 2 2 3 5 6 39
$ bch329 : num [1:3] 10 11 46
$ bch360 : num [1:3] 1 3 59
$ bch371 : num [1:4] 1 1 19 155
$ bch429 : num [1:2] 2 132
$ bch456 : num [1:3] 1 28 148
$ bch493 : num [1:4] 2 9 44 45
$ bch565 : num [1:4] 2 2 13 47
$ bch571 : num [1:5] 1 7 33 50 70
$ bch587 : num [1:4] 1 3 12 86
$ bch596 : num [1:4] 1 2 9 72
$ bch651 : num [1:4] 2 19 28 70
$ bch671 : num [1:3] 2 6 18
$ bch872 : num [1:2] 45 45
$ bch909 : num [1:5] 1 1 5 8 47
$ bch932 : num [1:4] 1 1 2 71
$ bch937 : num [1:4] 1 2 4 59
$ bch949 : num [1:4] 1 3 4 145
$ bch955 : num [1:3] 1 4 129
$ bch968 : num [1:2] 17 19
$ bch970 : num [1:4] 3 13 15 20
$ bch971 : num [1:5] 2 2 6 21 24
$ bch972 : num [1:5] 1 1 9 16 140
$ bch985 : num [1:3] 11 64 91
$ bch1017: num [1:4] 2 3 7 86
$ bch1024: num [1:5] 1 4 8 8 25
$ bch1092: num [1:3] 1 8 371
$ bch1190: num [1:4] 1 10 24 66
$ bch1204: num [1:4] 1 2 15 25
length(Msqtos2$bch1) <- length(Msqtos2$bch53)
length(Msqtos2$bch2) <- length(Msqtos2$bch53)
length(Msqtos2$bch21) <- length(Msqtos2$bch53)
length(Msqtos2$bch33) <- length(Msqtos2$bch53)
length(Msqtos2$bch51) <- length(Msqtos2$bch53)
length(Msqtos2$bch53) <- length(Msqtos2$bch53)
length(Msqtos2$bch59) <- length(Msqtos2$bch53)
length(Msqtos2$bch66) <- length(Msqtos2$bch53)
length(Msqtos2$bch68) <- length(Msqtos2$bch53)
length(Msqtos2$bch77) <- length(Msqtos2$bch53)
length(Msqtos2$bch88) <- length(Msqtos2$bch53)
length(Msqtos2$bch91) <- length(Msqtos2$bch53)
length(Msqtos2$bch188) <- length(Msqtos2$bch53)
length(Msqtos2$bch246) <- length(Msqtos2$bch53)
length(Msqtos2$bch267) <- length(Msqtos2$bch53)
length(Msqtos2$bch270) <- length(Msqtos2$bch53)
length(Msqtos2$bch313) <- length(Msqtos2$bch53)
length(Msqtos2$bch329) <- length(Msqtos2$bch53)
length(Msqtos2$bch360) <- length(Msqtos2$bch53)
length(Msqtos2$bch371) <- length(Msqtos2$bch53)
length(Msqtos2$bch429) <- length(Msqtos2$bch53)
length(Msqtos2$bch456) <- length(Msqtos2$bch53)
length(Msqtos2$bch493) <- length(Msqtos2$bch53)
length(Msqtos2$bch565) <- length(Msqtos2$bch53)
length(Msqtos2$bch571) <- length(Msqtos2$bch53)
length(Msqtos2$bch587) <- length(Msqtos2$bch53)
length(Msqtos2$bch596) <- length(Msqtos2$bch53)
length(Msqtos2$bch651) <- length(Msqtos2$bch53)
length(Msqtos2$bch671) <- length(Msqtos2$bch53)
length(Msqtos2$bch872) <- length(Msqtos2$bch53)
length(Msqtos2$bch909) <- length(Msqtos2$bch53)
length(Msqtos2$bch932) <- length(Msqtos2$bch53)
length(Msqtos2$bch937) <- length(Msqtos2$bch53)
length(Msqtos2$bch949) <- length(Msqtos2$bch53)
length(Msqtos2$bch955) <- length(Msqtos2$bch53)
length(Msqtos2$bch968) <- length(Msqtos2$bch53)
length(Msqtos2$bch970) <- length(Msqtos2$bch53)
length(Msqtos2$bch971) <- length(Msqtos2$bch53)
length(Msqtos2$bch972) <- length(Msqtos2$bch53)
length(Msqtos2$bch985) <- length(Msqtos2$bch53)
length(Msqtos2$bch1017) <- length(Msqtos2$bch53)
length(Msqtos2$bch1024) <- length(Msqtos2$bch53)
length(Msqtos2$bch1092) <- length(Msqtos2$bch53)
length(Msqtos2$bch1190) <- length(Msqtos2$bch53)
length(Msqtos2$bch1204) <- length(Msqtos2$bch53)
##iNEXT Msqtos#############
#sample species abundances
iNEXT(Msqtos, q=0, datatype="abundance",size=NULL, endpoint=NULL, knots=40, se=TRUE, conf=0.95)
Compare 45 assemblages with Hill number order q = 0.
$class: iNEXT
$DataInfo: basic data information
$iNextEst: diversity estimates with rarefied and extrapolated samples.
$bch1
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.666 0.594 0.739
10 93 interpolated 0 3.372 2.469 4.275 0.991 0.984 0.997
20 187 observed 0 4.000 2.796 5.204 1.000 0.995 1.005
30 276 extrapolated 0 4.000 2.709 5.291 1.000 0.998 1.002
40 374 extrapolated 0 4.000 2.661 5.339 1.000 0.999 1.001
$bch2
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.349 0.290 0.408
10 37 interpolated 0 3.493 2.839 4.148 0.987 0.974 0.999
20 75 observed 0 4.000 3.030 4.970 1.000 1.000 1.000
30 111 extrapolated 0 4.000 3.030 4.970 1.000 1.000 1.000
40 150 extrapolated 0 4.000 3.030 4.970 1.000 1.000 1.000
$bch21
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.0 1.000 1.000 0.485 0.467 0.504
10 50 interpolated 0 2.5 1.950 3.050 0.990 0.982 0.998
20 100 observed 0 3.0 2.154 3.846 1.000 1.000 1.000
30 147 extrapolated 0 3.0 2.154 3.846 1.000 1.000 1.000
40 200 extrapolated 0 3.0 2.154 3.846 1.000 1.000 1.000
$bch33
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.936 0.874 0.998
10 46 interpolated 0 1.879 1.383 2.375 0.992 0.985 0.999
20 92 observed 0 2.000 1.530 2.470 1.000 1.000 1.000
30 136 extrapolated 0 2.000 1.530 2.470 1.000 1.000 1.000
40 184 extrapolated 0 2.000 1.530 2.470 1.000 1.000 1.000
$bch51
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.742 0.603 0.881
10 38 interpolated 0 2.957 2.601 3.313 0.994 0.983 1.005
20 77 observed 0 3.000 2.723 3.277 1.000 1.000 1.000
30 114 extrapolated 0 3.000 2.723 3.277 1.000 1.000 1.000
40 154 extrapolated 0 3.000 2.723 3.277 1.000 1.000 1.000
$bch53
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.776 0.699 0.853
10 107 interpolated 0 4.487 3.885 5.089 0.995 0.989 1.000
20 215 observed 0 5.000 4.023 5.977 1.000 0.999 1.001
30 317 extrapolated 0 5.000 4.009 5.991 1.000 1.000 1.000
40 430 extrapolated 0 5.000 4.001 5.999 1.000 1.000 1.000
$bch59
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.431 0.364 0.499
10 46 interpolated 0 3.879 3.359 4.399 0.992 0.985 0.999
20 92 observed 0 4.000 3.463 4.537 1.000 1.000 1.000
30 136 extrapolated 0 4.000 3.463 4.537 1.000 1.000 1.000
40 184 extrapolated 0 4.000 3.463 4.537 1.000 1.000 1.000
$bch66
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.0 1.000 1.000 0.448 0.374 0.522
10 59 interpolated 0 3.5 2.894 4.106 0.992 0.983 1.000
20 118 observed 0 4.0 3.030 4.970 1.000 1.000 1.000
30 174 extrapolated 0 4.0 3.030 4.970 1.000 1.000 1.000
40 236 extrapolated 0 4.0 3.030 4.970 1.000 1.000 1.000
$bch68
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.00 1.000 0.672 0.544 0.801
10 37 interpolated 0 2.972 2.79 3.153 0.996 0.987 1.005
20 74 observed 0 3.000 3.00 3.000 1.000 1.000 1.000
30 109 extrapolated 0 3.000 3.00 3.000 1.000 1.000 1.000
40 148 extrapolated 0 3.000 3.00 3.000 1.000 1.000 1.000
$bch77
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.922 0.840 1.004
10 37 interpolated 0 1.875 1.421 2.330 0.990 0.981 0.999
20 75 observed 0 2.000 1.612 2.388 1.000 1.000 1.000
30 111 extrapolated 0 2.000 1.612 2.388 1.000 1.000 1.000
40 150 extrapolated 0 2.000 1.612 2.388 1.000 1.000 1.000
$bch88
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.651 0.506 0.797
10 32 interpolated 0 2.971 2.755 3.187 0.995 0.984 1.006
20 64 observed 0 3.000 3.000 3.000 1.000 1.000 1.000
30 94 extrapolated 0 3.000 3.000 3.000 1.000 1.000 1.000
40 128 extrapolated 0 3.000 3.000 3.000 1.000 1.000 1.000
$bch91
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.456 0.432 0.48
10 100 interpolated 0 3.494 2.882 4.106 0.995 0.990 1.00
20 201 observed 0 4.000 3.062 4.938 1.000 1.000 1.00
30 296 extrapolated 0 4.000 3.062 4.938 1.000 1.000 1.00
40 402 extrapolated 0 4.000 3.062 4.938 1.000 1.000 1.00
$bch188
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.444 0.393 0.495
10 139 interpolated 0 3.985 3.885 4.084 0.999 0.998 1.001
20 279 observed 0 4.000 4.000 4.000 1.000 1.000 1.000
30 411 extrapolated 0 4.000 4.000 4.000 1.000 1.000 1.000
40 558 extrapolated 0 4.000 4.000 4.000 1.000 1.000 1.000
$bch246
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.554 0.480 0.627
10 81 interpolated 0 4.374 3.486 5.261 0.988 0.981 0.995
20 163 observed 0 5.000 3.940 6.060 1.000 0.993 1.007
30 240 extrapolated 0 5.000 3.777 6.223 1.000 0.997 1.003
40 326 extrapolated 0 5.000 3.667 6.333 1.000 0.999 1.001
$bch267
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.863 0.763 0.963
10 55 interpolated 0 2.494 1.842 3.145 0.990 0.981 0.999
20 110 observed 0 3.000 2.030 3.970 1.000 1.000 1.000
30 162 extrapolated 0 3.000 2.030 3.970 1.000 1.000 1.000
40 220 extrapolated 0 3.000 2.030 3.970 1.000 1.000 1.000
$bch270
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.898 0.793 1.004
10 28 interpolated 0 1.875 1.410 2.340 0.987 0.976 0.998
20 57 observed 0 2.000 1.612 2.388 1.000 1.000 1.000
30 84 extrapolated 0 2.000 1.612 2.388 1.000 1.000 1.000
40 114 extrapolated 0 2.000 1.612 2.388 1.000 1.000 1.000
$bch313
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.483 0.357 0.609
10 28 interpolated 0 5.325 4.361 6.289 0.944 0.918 0.971
20 57 observed 0 6.000 4.869 7.131 1.000 0.974 1.026
30 84 extrapolated 0 6.000 4.676 7.324 1.000 0.988 1.012
40 114 extrapolated 0 6.000 4.530 7.470 1.000 0.994 1.006
$bch329
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.00 1.000 0.513 0.409 0.618
10 33 interpolated 0 2.999 2.96 3.038 1.000 0.996 1.004
20 67 observed 0 3.000 3.00 3.000 1.000 1.000 1.000
30 99 extrapolated 0 3.000 3.00 3.000 1.000 1.000 1.000
40 134 extrapolated 0 3.000 3.00 3.000 1.000 1.000 1.000
$bch360
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.878 0.742 1.013
10 31 interpolated 0 2.367 1.570 3.165 0.972 0.952 0.992
20 63 observed 0 3.000 1.946 4.054 1.000 0.986 1.014
30 93 extrapolated 0 3.000 1.839 4.161 1.000 0.995 1.005
40 126 extrapolated 0 3.000 1.780 4.220 1.000 0.998 1.002
$bch371
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.786 0.694 0.878
10 88 interpolated 0 3.000 2.325 3.675 0.989 0.984 0.993
20 176 observed 0 4.000 3.208 4.792 0.989 0.989 0.989
30 259 extrapolated 0 4.607 3.815 5.399 0.996 0.996 0.996
40 352 extrapolated 0 4.860 4.068 5.652 0.998 0.998 0.998
$bch429
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.970 0.934 1.006
10 67 interpolated 0 1.752 1.179 2.325 0.993 0.987 0.998
20 134 observed 0 2.000 1.313 2.687 1.000 1.000 1.000
30 198 extrapolated 0 2.000 1.313 2.687 1.000 1.000 1.000
40 268 extrapolated 0 2.000 1.313 2.687 1.000 1.000 1.000
$bch456
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.723 0.646 0.799
10 88 interpolated 0 2.497 1.899 3.095 0.994 0.989 1.000
20 177 observed 0 3.000 2.062 3.938 1.000 1.000 1.000
30 261 extrapolated 0 3.000 2.062 3.938 1.000 1.000 1.000
40 354 extrapolated 0 3.000 2.062 3.938 1.000 1.000 1.000
$bch493
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.399 0.358 0.439
10 50 interpolated 0 3.751 3.202 4.300 0.990 0.983 0.997
20 100 observed 0 4.000 3.357 4.643 1.000 1.000 1.000
30 147 extrapolated 0 4.000 3.357 4.643 1.000 1.000 1.000
40 200 extrapolated 0 4.000 3.357 4.643 1.000 1.000 1.000
$bch565
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.576 0.458 0.694
10 32 interpolated 0 3.508 2.658 4.358 0.969 0.955 0.983
20 64 observed 0 4.000 3.066 4.934 1.000 0.981 1.019
30 94 extrapolated 0 4.000 2.905 5.095 1.000 0.992 1.008
40 128 extrapolated 0 4.000 2.806 5.194 1.000 0.997 1.003
$bch571
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.00 1.000 1.000 0.325 0.289 0.361
10 80 interpolated 0 4.49 3.804 5.176 0.993 0.987 0.999
20 161 observed 0 5.00 3.995 6.005 1.000 0.998 1.002
30 237 extrapolated 0 5.00 3.984 6.016 1.000 0.999 1.001
40 322 extrapolated 0 5.00 3.978 6.022 1.000 1.000 1.000
$bch587
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.723 0.628 0.818
10 51 interpolated 0 3.379 2.644 4.113 0.983 0.972 0.994
20 102 observed 0 4.000 2.995 5.005 1.000 0.987 1.013
30 150 extrapolated 0 4.000 2.788 5.212 1.000 0.995 1.005
40 204 extrapolated 0 4.000 2.675 5.325 1.000 0.998 1.002
$bch596
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.744 0.613 0.875
10 42 interpolated 0 3.252 2.228 4.275 0.976 0.957 0.995
20 84 observed 0 4.000 2.438 5.562 0.988 0.968 1.009
30 124 extrapolated 0 4.303 2.318 6.289 0.996 0.985 1.006
40 168 extrapolated 0 4.427 2.179 6.675 0.998 0.993 1.004
$bch651
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.422 0.349 0.496
10 59 interpolated 0 3.748 3.145 4.351 0.992 0.986 0.998
20 119 observed 0 4.000 3.313 4.687 1.000 1.000 1.000
30 175 extrapolated 0 4.000 3.313 4.687 1.000 1.000 1.000
40 238 extrapolated 0 4.000 3.313 4.687 1.000 1.000 1.000
$bch671
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.52 0.319 0.721
10 13 interpolated 0 2.753 2.143 3.362 0.96 0.925 0.994
20 26 observed 0 3.000 2.313 3.687 1.00 0.990 1.010
30 38 extrapolated 0 3.000 2.304 3.696 1.00 0.996 1.004
40 52 extrapolated 0 3.000 2.297 3.703 1.00 0.999 1.001
$bch872
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1 1 1 0.494 0.484 0.504
10 45 interpolated 0 2 2 2 1.000 1.000 1.000
20 90 observed 0 2 2 2 1.000 1.000 1.000
30 133 extrapolated 0 2 2 2 1.000 1.000 1.000
40 180 extrapolated 0 2 2 2 1.000 1.000 1.000
$bch909
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.592 0.453 0.731
10 31 interpolated 0 3.971 3.135 4.808 0.963 0.944 0.982
20 62 observed 0 5.000 3.780 6.220 0.969 0.953 0.985
30 91 extrapolated 0 5.598 4.173 7.023 0.988 0.980 0.995
40 124 extrapolated 0 5.851 4.305 7.396 0.996 0.992 0.999
$bch932
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.896 0.797 0.994
10 37 interpolated 0 2.733 1.500 3.966 0.960 0.936 0.984
20 75 observed 0 4.000 2.097 5.903 0.974 0.948 1.000
30 111 extrapolated 0 4.756 2.273 7.239 0.984 0.967 1.001
40 150 extrapolated 0 5.252 2.330 8.175 0.990 0.979 1.002
$bch937
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.801 0.679 0.923
10 33 interpolated 0 3.197 2.175 4.219 0.963 0.938 0.988
20 66 observed 0 4.000 2.466 5.534 0.985 0.959 1.012
30 97 extrapolated 0 4.300 2.280 6.320 0.994 0.980 1.009
40 132 extrapolated 0 4.426 2.086 6.766 0.998 0.990 1.006
$bch949
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.00 1.000 1.000 0.899 0.826 0.972
10 76 interpolated 0 3.31 2.534 4.086 0.985 0.977 0.994
20 153 observed 0 4.00 3.011 4.989 1.000 0.992 1.008
30 226 extrapolated 0 4.00 2.795 5.205 1.000 0.997 1.003
40 306 extrapolated 0 4.00 2.671 5.329 1.000 0.998 1.002
$bch955
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.00 1.000 1.000 0.927 0.866 0.988
10 67 interpolated 0 2.44 1.670 3.210 0.989 0.980 0.998
20 134 observed 0 3.00 1.946 4.054 1.000 0.995 1.005
30 198 extrapolated 0 3.00 1.878 4.122 1.000 0.998 1.002
40 268 extrapolated 0 3.00 1.839 4.161 1.000 0.999 1.001
$bch968
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1 1 1 0.487 0.431 0.543
10 18 interpolated 0 2 2 2 1.000 1.000 1.000
20 36 observed 0 2 2 2 1.000 1.000 1.000
30 53 extrapolated 0 2 2 2 1.000 1.000 1.000
40 72 extrapolated 0 2 2 2 1.000 1.000 1.000
$bch970
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.295 0.239 0.350
10 25 interpolated 0 3.875 3.306 4.445 0.986 0.972 0.999
20 51 observed 0 4.000 3.406 4.594 1.000 1.000 1.000
30 75 extrapolated 0 4.000 3.406 4.594 1.000 1.000 1.000
40 102 extrapolated 0 4.000 3.406 4.594 1.000 1.000 1.000
$bch971
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.339 0.278 0.400
10 27 interpolated 0 4.478 3.800 5.155 0.961 0.943 0.979
20 55 observed 0 5.000 4.239 5.761 1.000 0.982 1.018
30 81 extrapolated 0 5.000 4.114 5.886 1.000 0.993 1.007
40 110 extrapolated 0 5.000 4.037 5.963 1.000 0.998 1.002
$bch972
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.713 0.621 0.805
10 83 interpolated 0 3.992 3.361 4.623 0.988 0.982 0.993
20 167 observed 0 5.000 4.208 5.792 0.988 0.986 0.990
30 246 extrapolated 0 5.608 4.796 6.421 0.995 0.995 0.996
40 334 extrapolated 0 5.859 5.034 6.685 0.998 0.998 0.999
$bch985
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1 1.000 1.000 0.45 0.41 0.49
10 83 interpolated 0 3 2.995 3.005 1.00 1.00 1.00
20 166 observed 0 3 3.000 3.000 1.00 1.00 1.00
30 245 extrapolated 0 3 3.000 3.000 1.00 1.00 1.00
40 332 extrapolated 0 3 3.000 3.000 1.00 1.00 1.00
$bch1017
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.774 0.668 0.880
10 49 interpolated 0 3.625 2.887 4.364 0.982 0.973 0.991
20 98 observed 0 4.000 3.239 4.761 1.000 0.992 1.008
30 144 extrapolated 0 4.000 3.159 4.841 1.000 0.997 1.003
40 196 extrapolated 0 4.000 3.109 4.891 1.000 0.999 1.001
$bch1024
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.350 0.234 0.466
10 23 interpolated 0 4.442 3.813 5.071 0.968 0.943 0.992
20 46 observed 0 5.000 4.062 5.938 1.000 0.985 1.015
30 68 extrapolated 0 5.000 3.997 6.003 1.000 0.994 1.006
40 92 extrapolated 0 5.000 3.959 6.041 1.000 0.998 1.002
$bch1092
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.954 0.923 0.984
10 190 interpolated 0 2.496 1.892 3.101 0.997 0.994 1.000
20 380 observed 0 3.000 2.039 3.961 1.000 0.999 1.001
30 560 extrapolated 0 3.000 2.026 3.974 1.000 1.000 1.000
40 760 extrapolated 0 3.000 2.018 3.982 1.000 1.000 1.000
$bch1190
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.488 0.401 0.576
10 50 interpolated 0 3.494 2.851 4.138 0.990 0.980 1.000
20 101 observed 0 4.000 3.039 4.961 1.000 1.000 1.000
30 149 extrapolated 0 4.000 3.039 4.961 1.000 1.000 1.000
40 202 extrapolated 0 4.000 3.039 4.961 1.000 1.000 1.000
$bch1204
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.450 0.343 0.556
10 21 interpolated 0 3.233 2.258 4.208 0.953 0.920 0.987
20 43 observed 0 4.000 2.572 5.428 0.978 0.938 1.018
30 63 extrapolated 0 4.296 2.435 6.157 0.991 0.969 1.013
40 86 extrapolated 0 4.422 2.238 6.606 0.997 0.985 1.009
$AsyEst: asymptotic diversity estimates along with related statistics.
NOTE: Only show five estimates, call iNEXT.object$iNextEst. to show complete output.
outALL <- iNEXT(Msqtos2, q=c(0,1,2), datatype="abundance", endpoint = NULL, se=TRUE)
Error in if (sum(x) == 0) stop("Zero abundance counts in one or more sample sites") :
missing value where TRUE/FALSE needed
Msq2estD <- estimateD(Msqtos2, datatype = "abundance", base = "coverage", level = NULL)
Error in if (m < n) { : missing value where TRUE/FALSE needed
#graph#############
#BCH 1
out1 <- iNEXT(Msqtos$bch1, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out1, type=1, facet.var="site")
estimateD(Msqtos$bch1, datatype = "abundance", base = "size", level = NULL)
#BCH 2
out2 <- iNEXT(Msqtos$bch2, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out2, type=1, facet.var="site")
estimateD(Msqtos$bch2, datatype = "abundance", base = "size", level = NULL)
#BCH 21
out21 <- iNEXT(Msqtos$bch21, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out21, type=1, facet.var="site")
#BCH 33
out33 <- iNEXT(Msqtos$bch33, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out33, type=1, facet.var="site")
#BCH 51
out51 <- iNEXT(Msqtos$bch51, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out51, type=1, facet.var="site")
#BCH 53
out53 <- iNEXT(Msqtos$bch53, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out53, type=1, facet.var="site")
#BCH 59
out59 <- iNEXT(Msqtos$bch59, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out59, type=1, facet.var="site")
#BCH 66
out66 <- iNEXT(Msqtos$bch66, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out66, type=1, facet.var="site")
#BCH 68
out68 <- iNEXT(Msqtos$bch68, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out68, type=1, facet.var="site")
#BCH 77
out77 <- iNEXT(Msqtos$bch77, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out77, type=1, facet.var="site")
#BCH 88
out88 <- iNEXT(Msqtos$bch88, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out88, type=1, facet.var="site")
#BCH 91
out91 <- iNEXT(Msqtos$bch91, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out91, type=1, facet.var="site")
#BCH 188
out188 <- iNEXT(Msqtos$bch188, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out188, type=1, facet.var="site")
#BCH 246
out246 <- iNEXT(Msqtos$bch246, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out246, type=1, facet.var="site")
#BCH 267
out267 <- iNEXT(Msqtos$bch267, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out267, type=1, facet.var="site")
#BCH 270
out270 <- iNEXT(Msqtos$bch270, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out270, type=1, facet.var="site")
#BCH 313
out313 <- iNEXT(Msqtos$bch313, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out313, type=1, facet.var="site")
#BCH 329
out329 <- iNEXT(Msqtos$bch329, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out329, type=1, facet.var="site")
#BCH 360
out360 <- iNEXT(Msqtos$bch360, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out360, type=1, facet.var="site")
#BCH 371
out371 <- iNEXT(Msqtos$bch371, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out371, type=1, facet.var="site")
#BCH 429
out429 <- iNEXT(Msqtos$bch429, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out429, type=1, facet.var="site")
#BCH 456
out456 <- iNEXT(Msqtos$bch456, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out456, type=1, facet.var="site")
#BCH 493
out493 <- iNEXT(Msqtos$bch493, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out493, type=1, facet.var="site")
#BCH 565
out565 <- iNEXT(Msqtos$bch565, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out565, type=1, facet.var="site")
#BCH 571
out571 <- iNEXT(Msqtos$bch571, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out571, type=1, facet.var="site")
#BCH 587
out587 <- iNEXT(Msqtos$bch587, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out587, type=1, facet.var="site")
#BCH 596
out596 <- iNEXT(Msqtos$bch596, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out596, type=1, facet.var="site")
#BCH 651
out651 <- iNEXT(Msqtos$bch651, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out651, type=1, facet.var="site")
#BCH 671
out671 <- iNEXT(Msqtos$bch671, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out671, type=1, facet.var="site")
#BCH 872
out872 <- iNEXT(Msqtos$bch872, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out872, type=1, facet.var="site")
#BCH 909
out909 <- iNEXT(Msqtos$bch909, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out909, type=1, facet.var="site")
#BCH 932
out932 <- iNEXT(Msqtos$bch932, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out932, type=1, facet.var="site")
#BCH 937
out937 <- iNEXT(Msqtos$bch937, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out937, type=1, facet.var="site")
#BCH 949
out949 <- iNEXT(Msqtos$bch949, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out949, type=1, facet.var="site")
#BCH 955
out955 <- iNEXT(Msqtos$bch955, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out955, type=1, facet.var="site")
#BCH 968
out968 <- iNEXT(Msqtos$bch968, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out968, type=1, facet.var="site")
#BCH 970
out970 <- iNEXT(Msqtos$bch970, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out970, type=1, facet.var="site")
#BCH 971
out971 <- iNEXT(Msqtos$bch971, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out971, type=1, facet.var="site")
#BCH 972
out972 <- iNEXT(Msqtos$bch972, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out972, type=1, facet.var="site")
#BCH 985
out985 <- iNEXT(Msqtos$bch985, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out985, type=1, facet.var="site")
#BCH 1017
out1017 <- iNEXT(Msqtos$bch1017, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out1017, type=1, facet.var="site")
#BCH 1024
out1024 <- iNEXT(Msqtos$bch1024, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out1024, type=1, facet.var="site")
#BCH 1092
out1092 <- iNEXT(Msqtos$bch1092, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out1092, type=1, facet.var="site")
#BCH 1190
out1190 <- iNEXT(Msqtos$bch1190, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out1190, type=1, facet.var="site")
#BCH 1204
out1204 <- iNEXT(Msqtos$bch1204, q=c(0, 1, 2), datatype="abundance", endpoint=500)
# Sample-size-based R/E curves, separating plots by "site"
ggiNEXT(out1204, type=1, facet.var="site")
#iNEXT ComboCert########################### #### frq counts by treatment with zero counts removed
Cnt_none <-c(2, 1, 2, 1, 1, 1, 1)
Cnt_slvr <-c(3, 1, 1, 1, 1, 1, 1, 1)
Cnt_gplt <-c(1, 1, 2, 1, 1, 1, 1, 1)
xN <- rep(c(1, 3, 6, 56, 97, 186, 1062), Cnt_none)
xS <- rep(c(1, 10, 11, 15, 57, 121, 145, 1466), Cnt_slvr)
xGP <- rep(c(2, 3, 23, 28, 123, 160, 184, 1240), Cnt_gplt)
ComboCert <- list(Tx1N=xN, Tx2S=xS, Tx3GP=xGP)
#sample species abundances
iNEXT(ComboCert, q=0, datatype="abundance")
Compare 3 assemblages with Hill number order q = 0.
$class: iNEXT
$DataInfo: basic data information
$iNextEst: diversity estimates with rarefied and extrapolated samples.
$Tx1N
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.584 0.555 0.613
10 709 interpolated 0 7.844 6.780 8.909 0.998 0.997 0.999
20 1418 observed 0 9.000 7.553 10.447 0.999 0.997 1.000
30 2090 extrapolated 0 9.612 7.797 11.427 0.999 0.999 1.000
40 2836 extrapolated 0 9.864 7.784 11.944 1.000 0.999 1.000
$Tx2S
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.655 0.625 0.685
10 914 interpolated 0 8.499 7.447 9.550 0.998 0.997 0.999
20 1828 observed 0 10.000 8.424 11.576 0.998 0.997 0.999
30 2694 extrapolated 0 11.132 9.012 13.251 0.999 0.998 1.000
40 3656 extrapolated 0 11.896 9.376 14.415 0.999 0.999 1.000
$Tx3GP
m method order qD qD.LCL qD.UCL SC SC.LCL SC.UCL
1 1 interpolated 0 1.000 1.000 1.000 0.506 0.480 0.531
10 893 interpolated 0 8.625 7.889 9.362 0.999 0.999 1.000
20 1786 observed 0 9.000 8.208 9.792 1.000 1.000 1.000
30 2632 extrapolated 0 9.000 8.132 9.868 1.000 1.000 1.000
40 3572 extrapolated 0 9.000 8.081 9.919 1.000 1.000 1.000
$AsyEst: asymptotic diversity estimates along with related statistics.
NOTE: Only show five estimates, call iNEXT.object$iNextEst. to show complete output.
CCoutALL <- iNEXT(ComboCert, q=c(0,1,2), datatype=“abundance”, endpoint = NULL)
estimateD(ComboCert, datatype = "abundance", base = "size", level = NULL, conf = 0.95)
# this keeps kicking back because it doesn't know what to do with the 'NA' values
#BCH Combo Certs
outCC <- iNEXT(ComboCert, q=c(0, 1, 2), datatype="abundance", endpoint=NULL)
# Sample-size-based R/E curves, separating plots by "treatment"
PEC_CC <- ggiNEXT(outCC, type=3, facet.var = "order")
print(PEC_CC)
#BCH Cert None
outN <- iNEXT(ComboCert$Tx1N, q=c(0, 1, 2), datatype="abundance", endpoint=NULL)
# Sample-size-based R/E curves, separating plots by "treatment"
ggiNEXT(outN, type=1, facet.var="site")
#BCH Cert Silver
outS <- iNEXT(ComboCert$Tx2S, q=c(0, 1, 2), datatype="abundance", endpoint=NULL)
# Sample-size-based R/E curves, separating plots by "treatment"
ggiNEXT(outS, type=1, facet.var="site")
#BCH Cert Gold/Platinum
outGP <- iNEXT(ComboCert$Tx3GP, q=c(0, 1, 2), datatype="abundance", endpoint=NULL)
# Sample-size-based R/E curves, separating plots by "treatment"
ggiNEXT(outGP, type=1, facet.var="site")
End of iNext section ###############
Start of analysis section
library(readr)
BCH_AvV <- read_csv("C:/Users/prv.hullt/OneDrive - Saint Louis University/Dissertation/Data/BCH_AvV.csv",
col_types = cols(bch_id = col_character(),
trio_id = col_character(), goplt_dummy = col_number(),
silv_dummy = col_number(), comb_cert_num = col_number(),
comb_cert_strg = col_factor(levels = c("gopl","silv", "none")),
pc1_urban_cat = col_factor(levels = c("urban","suburban", "exurban")),
pc1 = col_number(), RS_q0 = col_number(), Shan_q1 = col_number(),
Simp_q2 = col_number(), Veg_Area_prcl = col_number(), Veg_Vol_Prcl = col_number(),
Veg_Area_500mbfr = col_number(), Veg_Vol_500mbfr = col_number()))
View(BCH_AvV)
Add a new chunk by clicking the Insert Chunk button on the toolbar or by pressing Ctrl+Alt+I.
When you save the notebook, an HTML file containing the code and output will be saved alongside it (click the Preview button or press Ctrl+Shift+K to preview the HTML file).
The preview shows you a rendered HTML copy of the contents of the editor. Consequently, unlike Knit, Preview does not run any R code chunks. Instead, the output of the chunk when it was last run in the editor is displayed. \\\ MANCOVA
library(jmv)
detach(BCH_AvV)
attach(BCH_AvV)
The following objects are masked _by_ .GlobalEnv:
comb_cert_num, Shan_q1
mancova(data = BCH_AvV,
deps = vars(RS_q0,Shan_q1, Simp_q2),
factors = comb_cert_strg,
covs = vars(pc1, Veg_Area_prcl, Veg_Area_500mbfr),
boxM = TRUE,
shapiro = TRUE,
qqPlot = TRUE)
MANCOVA
Multivariate Tests
────────────────────────────────────────────────────────────────────────────────────────────────
value F df1 df2 p
────────────────────────────────────────────────────────────────────────────────────────────────
comb_cert_strg Pillai's Trace 0.13389491 0.8610120 6 72 0.5277967
Wilks' Lambda 0.8676636 0.8581418 6 70 0.5300268
Hotelling's Trace 0.15072412 0.8541033 6 68 0.5331168
Roy's Largest Root 0.13767736 1.6521283 3 36 0.1945808
pc1 Pillai's Trace 0.08748088 1.1184535 3 35 0.3548035
Wilks' Lambda 0.9125191 1.1184535 3 35 0.3548035
Hotelling's Trace 0.09586744 1.1184535 3 35 0.3548035
Roy's Largest Root 0.09586744 1.1184535 3 35 0.3548035
Veg_Area_prcl Pillai's Trace 0.05834492 0.7228663 3 35 0.5451407
Wilks' Lambda 0.9416551 0.7228663 3 35 0.5451407
Hotelling's Trace 0.06195996 0.7228663 3 35 0.5451407
Roy's Largest Root 0.06195996 0.7228663 3 35 0.5451407
Veg_Area_500mbfr Pillai's Trace 0.02434304 0.2910881 3 35 0.8315285
Wilks' Lambda 0.9756570 0.2910881 3 35 0.8315285
Hotelling's Trace 0.02495041 0.2910881 3 35 0.8315285
Roy's Largest Root 0.02495041 0.2910881 3 35 0.8315285
────────────────────────────────────────────────────────────────────────────────────────────────
Univariate Tests
─────────────────────────────────────────────────────────────────────────────────────────────────────────────
Dependent Variable Sum of Squares df Mean Square F p
─────────────────────────────────────────────────────────────────────────────────────────────────────────────
comb_cert_strg RS_q0 0.503096457 2 0.251548229 0.233762940 0.7927096
Shan_q1 0.480589640 2 0.240294820 0.695924594 0.5050214
Simp_q2 0.301097323 2 0.150548661 0.650620208 0.5275873
pc1 RS_q0 0.005498700 1 0.005498700 0.005109923 0.9433978
Shan_q1 0.435230132 1 0.435230132 1.260482238 0.2687925
Simp_q2 0.487656797 1 0.487656797 2.107487133 0.1550070
Veg_Area_prcl RS_q0 2.172602428 1 2.172602428 2.018992276 0.1637156
Shan_q1 0.610837644 1 0.610837644 1.769064099 0.1916390
Simp_q2 0.287146514 1 0.287146514 1.240949757 0.2724725
Veg_Area_500mbfr RS_q0 0.375966759 1 0.375966759 0.349384670 0.5580556
Shan_q1 0.042227956 1 0.042227956 0.122297572 0.7285386
Simp_q2 0.025906104 1 0.025906104 0.111957389 0.7398160
Residuals RS_q0 39.815055656 37 1.076082585
Shan_q1 12.775677744 37 0.345288588
Simp_q2 8.561523913 37 0.231392538
─────────────────────────────────────────────────────────────────────────────────────────────────────────────
ASSUMPTION CHECKS
Box's Homogeneity of Covariance Matrices Test
─────────────────────────────────────────────
χ² df p
─────────────────────────────────────────────
19.33307 12 0.0808013
─────────────────────────────────────────────
Shapiro-Wilk Multivariate Normality Test
────────────────────────────────────────
W p
────────────────────────────────────────
0.8131168 0.0000070
────────────────────────────────────────
\\ anovaRMNP
anovaRMNP(BCH_AvV,measures = vars(RS_q0, Shan_q1, Simp_q2))
REPEATED MEASURES ANOVA (NON-PARAMETRIC)
Friedman
────────────────────────────────
χ² df p
────────────────────────────────
82.00000 2 < .0000001
────────────────────────────────
\\ ancova
ancova(data = BCH_AvV,
dep = vars(RS_q0),
factors = comb_cert_strg,
covs = vars(pc1, Veg_Area_prcl, Veg_Area_500mbfr))
ANCOVA
ANCOVA - RS_q0
──────────────────────────────────────────────────────────────────────────────────────
Sum of Squares df Mean Square F p
──────────────────────────────────────────────────────────────────────────────────────
comb_cert_strg 1.0035084 2 0.5017542 0.46627851 0.6309685
pc1 0.1045161 1 0.1045161 0.09712647 0.7570550
Veg_Area_prcl 2.0281671 1 2.0281671 1.88476896 0.1780572
Veg_Area_500mbfr 0.3759668 1 0.3759668 0.34938467 0.5580556
Residuals 39.8150557 37 1.0760826
──────────────────────────────────────────────────────────────────────────────────────
ancova(data = BCH_AvV,
dep = var(Shan_q1),
factors = comb_cert_strg,
covs = vars(pc1, Veg_Area_prcl, Veg_Area_500mbfr))
Error in `vectbl_as_col_location2()`:
! Must extract column with a single valid subscript.
x Subscript `columnName` has the wrong type `double`.
i It must be numeric or character.
Backtrace:
1. jmv::ancova(...)
2. analysis$run()
3. self$init()
6. jmvcore::select(private$.data, self$options$varsRequired)
8. tibble:::`[[.tbl_df`(df, columnName)
9. tibble:::tbl_subset2(x, j = i, j_arg = substitute(i))
10. tibble:::vectbl_as_col_location2(j, length(x), j_arg = j_arg)
13. vctrs::vec_as_location2(j, n, names)
14. vctrs:::result_get(...)
ancova(data = BCH_AvV,
dep = vars(Simp_q2),
factors = comb_cert_strg,
covs = vars(pc1, Veg_Area_prcl, Veg_Area_500mbfr))
ANCOVA
ANCOVA - Simp_q2
─────────────────────────────────────────────────────────────────────────────────────
Sum of Squares df Mean Square F p
─────────────────────────────────────────────────────────────────────────────────────
comb_cert_strg 0.37012346 2 0.18506173 0.7997740 0.4570470
pc1 0.16641004 1 0.16641004 0.7191677 0.4018699
Veg_Area_prcl 0.22152261 1 0.22152261 0.9573455 0.3342111
Veg_Area_500mbfr 0.02590610 1 0.02590610 0.1119574 0.7398160
Residuals 8.56152391 37 0.23139254
─────────────────────────────────────────────────────────────────────────────────────
\\
Ordinal Logistic Regression with area
library(ordinal)
modelnull <- clm(as.factor(comb_cert_num)~1,
data = BCH_AvV,
link = "logit")
summary(modelnull)
formula: as.factor(comb_cert_num) ~ 1
data: BCH_AvV
Threshold coefficients:
Estimate Std. Error z value
0|1 -0.6242 0.3200 -1.951
1|2 0.7282 0.3254 2.238
modelRS_area <- clm(as.factor(comb_cert_num)~RS_q0+Veg_Area_prcl,
data = BCH_AvV,
link = "logit")
Warning: (2) Model is nearly unidentifiable: very large eigenvalue
- Rescale variables?
In addition: Absolute and relative convergence criteria were met
anova(modelnull,modelRS_area)
Likelihood ratio tests of cumulative link models:
no.par AIC logLik LR.stat df Pr(>Chisq)
modelnull 2 98.434 -47.217
modelRS_area 4 100.249 -46.124 2.1855 2 0.3353
summary(modelRS_area)
formula: as.factor(comb_cert_num) ~ RS_q0 + Veg_Area_prcl
data: BCH_AvV
Coefficients:
Estimate Std. Error z value Pr(>|z|)
RS_q0 0.1305342 0.2864919 0.456 0.649
Veg_Area_prcl 0.0001142 0.0001300 0.878 0.380
Threshold coefficients:
Estimate Std. Error z value
0|1 -0.1404 0.8562 -0.164
1|2 1.2528 0.8780 1.427
modelShan_area <- clm(as.factor(comb_cert_num)~Shan_q1+Veg_Area_prcl,
data = BCH_AvV,
link = "logit")
Warning: (3) Model is nearly unidentifiable: large eigenvalue ratio
- Rescale variables?
In addition: Absolute and relative convergence criteria were met
anova(modelnull,modelShan_area)
Likelihood ratio tests of cumulative link models:
no.par AIC logLik LR.stat df Pr(>Chisq)
modelnull 2 98.434 -47.217
modelShan_area 4 98.462 -45.231 3.9729 2 0.1372
summary(modelShan_area)
formula: as.factor(comb_cert_num) ~ Shan_q1 + Veg_Area_prcl
data: BCH_AvV
Coefficients:
Estimate Std. Error z value Pr(>|z|)
Shan_q1 0.6758139 0.4865741 1.389 0.165
Veg_Area_prcl 0.0001292 0.0001401 0.922 0.357
Threshold coefficients:
Estimate Std. Error z value
0|1 0.7681 0.9727 0.79
1|2 2.2105 1.0283 2.15
modelSimp_area <- clm(as.factor(comb_cert_num)~Simp_q2+Veg_Area_prcl,
data = BCH_AvV,
link = "logit")
Warning: (3) Model is nearly unidentifiable: large eigenvalue ratio
- Rescale variables?
In addition: Absolute and relative convergence criteria were met
anova(modelnull,modelSimp_area)
Likelihood ratio tests of cumulative link models:
no.par AIC logLik LR.stat df Pr(>Chisq)
modelnull 2 98.434 -47.217
modelSimp_area 4 98.612 -45.306 3.822 2 0.1479
summary(modelSimp_area)
formula: as.factor(comb_cert_num) ~ Simp_q2 + Veg_Area_prcl
data: BCH_AvV
Coefficients:
Estimate Std. Error z value Pr(>|z|)
Simp_q2 0.7892891 0.5913188 1.335 0.182
Veg_Area_prcl 0.0001289 0.0001440 0.895 0.371
Threshold coefficients:
Estimate Std. Error z value
0|1 0.7822 1.0156 0.770
1|2 2.2200 1.0688 2.077
\\\ ordinal regression with vol
modelRS_vol <- clm(as.factor(comb_cert_num)~RS_q0+Veg_Vol_Prcl,
data = BCH_AvV,
link = "logit")
Warning: (2) Model is nearly unidentifiable: very large eigenvalue
- Rescale variables?
In addition: Absolute and relative convergence criteria were met
anova(modelnull,modelRS_vol)
Likelihood ratio tests of cumulative link models:
no.par AIC logLik LR.stat df Pr(>Chisq)
modelnull 2 98.434 -47.217
modelRS_vol 4 100.141 -46.071 2.2934 2 0.3177
summary(modelRS_vol)
formula: as.factor(comb_cert_num) ~ RS_q0 + Veg_Vol_Prcl
data: BCH_AvV
Coefficients:
Estimate Std. Error z value Pr(>|z|)
RS_q0 1.358e-01 2.871e-01 0.473 0.636
Veg_Vol_Prcl 3.224e-07 4.297e-07 0.750 0.453
Threshold coefficients:
Estimate Std. Error z value
0|1 -0.1587 0.8526 -0.186
1|2 1.2355 0.8744 1.413
modelShan_vol <- clm(as.factor(comb_cert_num)~Shan_q1+Veg_Vol_Prcl,
data = BCH_AvV,
link = "logit")
Warning: (2) Model is nearly unidentifiable: very large eigenvalue
- Rescale variables?
In addition: Absolute and relative convergence criteria were met
anova(modelnull,modelShan_vol)
Likelihood ratio tests of cumulative link models:
no.par AIC logLik LR.stat df Pr(>Chisq)
modelnull 2 98.434 -47.217
modelShan_vol 4 98.402 -45.201 4.0328 2 0.1331
summary(modelShan_vol)
formula: as.factor(comb_cert_num) ~ Shan_q1 + Veg_Vol_Prcl
data: BCH_AvV
Coefficients:
Estimate Std. Error z value Pr(>|z|)
Shan_q1 6.700e-01 4.863e-01 1.378 0.168
Veg_Vol_Prcl 3.524e-07 4.475e-07 0.787 0.431
Threshold coefficients:
Estimate Std. Error z value
0|1 0.7163 0.9622 0.745
1|2 2.1591 1.0174 2.122
modelSimp_vol <- clm(as.factor(comb_cert_num)~Simp_q2+Veg_Vol_Prcl,
data = BCH_AvV,
link = "logit")
Warning: (2) Model is nearly unidentifiable: very large eigenvalue
- Rescale variables?
In addition: Absolute and relative convergence criteria were met
anova(modelnull,modelSimp_vol)
Likelihood ratio tests of cumulative link models:
no.par AIC logLik LR.stat df Pr(>Chisq)
modelnull 2 98.434 -47.217
modelSimp_vol 4 98.558 -45.279 3.8761 2 0.144
summary(modelSimp_vol)
formula: as.factor(comb_cert_num) ~ Simp_q2 + Veg_Vol_Prcl
data: BCH_AvV
Coefficients:
Estimate Std. Error z value Pr(>|z|)
Simp_q2 7.806e-01 5.909e-01 1.321 0.186
Veg_Vol_Prcl 3.523e-07 4.631e-07 0.761 0.447
Threshold coefficients:
Estimate Std. Error z value
0|1 0.7276 1.0049 0.724
1|2 2.1655 1.0578 2.047
anova(modelRS_area,modelRS_vol)
Likelihood ratio tests of cumulative link models:
no.par AIC logLik LR.stat df Pr(>Chisq)
modelRS_area 4 100.25 -46.124
modelRS_vol 4 100.14 -46.071 0.1078 0
anova(modelShan_area,modelShan_vol)
Likelihood ratio tests of cumulative link models:
no.par AIC logLik LR.stat df Pr(>Chisq)
modelShan_area 4 98.462 -45.231
modelShan_vol 4 98.402 -45.201 0.0599 0
anova(modelSimp_area,modelSimp_vol)
Likelihood ratio tests of cumulative link models:
no.par AIC logLik LR.stat df Pr(>Chisq)
modelSimp_area 4 98.612 -45.306
modelSimp_vol 4 98.558 -45.279 0.054 0