Running examples in 'goeveg-Ex.R' failed
The error most likely occurred in:

> ### Name: synsort
> ### Title: Sorting functions for synoptic tables
> ### Aliases: synsort
> 
> ### ** Examples
> 
> ## Synoptic table of Scheden vegetation data:
> library(cluster)
> pam1 <- pam(schedenveg, 4)
> 
> ## Unordered synoptic tables
> # Unordered synoptiv percentage frequency table
> unordered <- syntable(schedenveg, pam1$clustering, abund = "perc",
+                       type = "percfreq")
> # Differential species analysis
> differential <- syntable(schedenveg, pam1$clustering, abund = "perc",
+                          type = "diffspec")
> # Fidelity phi
> phitable <- syntable(schedenveg, pam1$clustering, abund = "perc",
+                      type = "phi")
> 
> ## Common complete synoptic table: sort by percentage frequency,
> ## show all species
> sorted <- synsort(syn1 = unordered$syntable, cluster = pam1$clustering,
+                   method = "allspec", min1 = 0)
> sorted             # view results
$output
[1] "synoptic table sorted by values of one input table"

$species
[1] "species with minimum value =0 in input table 1, others listet below"

$samplesize
 1  2  3  4 
 3 10 11  4 

$syntable
          1   2   3   4
DacGlom 100 100  64 100
FesPrat 100  60  27  75
GalAlbu 100  90  64 100
HolLana 100  70  36  75
PoaTriv 100  70  18  75
TriFlav 100 100  82  75
AloPrat  67  50   0   0
BroHord  67  20   9  25
DauCaro  67  20  36  25
GleHede  67  30  27   0
HelPube  67  40  27  50
PhlPrat  67  10   9   0
TriRepe  67  50  27  50
CarPrat  33   0   0  25
CirArve  33   0   0   0
CirVulg  33   0   0  25
CynCris  33  30   9  25
RanRepe  33  10   0   0
VerArve  33  30  18  25
VerHede  33   0   0   0
ArrElat  67 100  55  75
BroErec  33 100 100  75
PlaLanc  67 100 100 100
PoaPrat  33  90  64  75
CerHolo  33  80   9  75
LolPere  67  80  27   0
AntOdor  33  60   9  50
PoaAngu   0  50  18  25
TriDubi   0  50  36  50
ConArve   0  40  18  25
RhiMino  33  40  27  25
TraPrat   0  40  27  25
QueRobu   0  30  27   0
RosSpec   0  30  18  25
AntSylv   0  20   0   0
BelPere   0  20   0   0
GerDiss   0  20   0   0
VicCrac   0  20  18   0
AceCamp   0  10   0   0
CalSepi   0  10   0   0
CamGlom   0  10   0   0
CorAvel   0  10   0   0
FraExce   0  10   0   0
GerMoll   0  10   0   0
PlaMajo   0  10   9   0
PotRept   0  10   0   0
RanSpec   0  10   0   0
SteGram   0  10   0   0
TarEryt   0  10   0   0
RanBulb  33  80 100  25
SanMino   0  20  91  50
BriMedi   0  20  82   0
CarFlac   0  10  73   0
KnaArve  33  70  73  50
LeuIrcu  33  40  73  50
MedLupu  33  50  73  25
AchMill   0  30  55  25
CirAcau   0  10  55   0
FraViri   0  10  55   0
HipComo   0   0  55   0
LotCorn   0  30  55  50
PimSaxi   0  50  55  50
PlaMedi   0   0  55  25
PruAviu   0  20  55   0
VioHirt   0  20  55  50
CarCary   0  10  45   0
GalVeru   0   0  45   0
LuzCamp   0  40  45  25
PolComo   0   0  45   0
PruSpin   0   0  45   0
AgrEupa   0   0  36   0
CenJace   0  10  36   0
FesOvin   0  10  36   0
LinCath   0   0  36  25
PilOffi   0  10  36   0
PotVern   0   0  36   0
SenJaco   0  10  36   0
CenScab   0   0  27   0
CraLaev   0  20  27   0
CraSpec   0   0  27   0
EupCypa   0   0  27   0
GenTinc   0  10  27   0
HerSpho   0  20  27   0
LeoHisp   0   0  27   0
OnoRepe   0  10  27   0
SalPrat   0  10  27   0
ScaColu   0   0  27   0
ThyPule   0   0  27   0
VerTeuc   0   0  27   0
AntVuln   0   0  18   0
CarBetu   0  10  18   0
CorSang   0  10  18   0
GymCono   0   0  18   0
HieMuro   0   0  18   0
KoePyra   0   0  18   0
LisOvat   0   0  18   0
QueSpec   0   0  18   0
SilNuta   0  10  18   0
AjuGene   0   0   9   0
AntDioi   0   0   9   0
AreSerp   0   0   9   0
AstGlyc   0   0   9   0
BetPend   0   0   9   0
CenEryt   0   0   9   0
CraMono   0   0   9   0
EupSpec   0   0   9   0
GalPumi   0   0   9   0
HelNumm   0   0   9   0
HypMacu   0   0   9   0
JunComm   0   0   9   0
LeoAutu   0   0   9   0
LysNumm   0   0   9   0
MedFalc   0   0   9   0
OnoVici   0   0   9   0
OphInse   0   0   9   0
OrcMasc   0   0   9   0
PinSpec   0   0   9   0
PlaLaet   0   0   9   0
PotAnse   0   0   9   0
PruGran   0   0   9   0
RosCani   0   0   9   0
RubIdae   0   0   9   0
RumObtu   0   0   9   0
SedSexa   0   0   9   0
SilPusi   0   0   9   0
TriCamp   0   0   9   0
VibOpul   0   0   9   0
FesRubr  67  70  27 100
RumAcet  33  90  36 100
VerCham  67  40  36 100
HypPerf   0   0  45  75
PriVeri   0  60  73  75
RanAcri  67  30  27  75
TarRude  67  70  55  75
TriPrat  67  70  64  75
CerGlom  33  30  18  50
CreBien   0  40  27  50
LatPrat  33  40  18  50
MyoArve  33  20   0  50
PimMajo   0  10   0  50
VicAngu   0  40  45  50
VicSepi   0  20  18  50
AjuRept   0   0   0  25
AllVine   0  20   0  25
AraThal   0   0   0  25
BroSter   0  10   0  25
CerArve   0   0   0  25
FraVesc   0   0   0  25
GeuUrba   0   0   0  25
LuzMult   0   0   0  25
RubFrut   0   0   0  25
ThlPerf   0   0   9  25
UrtDioi   0   0   0  25
ValCari   0   0   0  25
ValLocu   0  20   9  25

$others
character(0)

> 
> ## Synoptic table, with only positive differentiating species with
> ## minimum 25% frequency in table
> positive <- synsort(syn1 = unordered$syntable, syn2 = differential$syntable,
+                     cluster = pam1$clustering, method = "p_diff", min1 = 25)
> positive           # view results
$output
[1] "synoptic table sorted by values of numeric input table and differential species and synoptic table of POSITIVE differentiating species"

$species
[1] "species with minimim value of 25 in input numeric table and that are POSITIVE differential species (algorithm of Tsiripidis et al.) in one ore max. 7 clusters"

$samplesize
 1  2  3  4 
 3 10 11  4 

$syntable
          1   2   3   4
HolLana 100  70  36  75
BroHord  67  20   9  25
DauCaro  67  20  36  25
PhlPrat  67  10   9   0
CirArve  33   0   0   0
RanRepe  33  10   0   0
VerHede  33   0   0   0
PoaPrat  33  90  64  75
BriMedi   0  20  82   0
CarFlac   0  10  73   0
MedLupu  33  50  73  25
CirAcau   0  10  55   0
FraViri   0  10  55   0
HipComo   0   0  55   0
PruAviu   0  20  55   0
CarCary   0  10  45   0
GalVeru   0   0  45   0
PolComo   0   0  45   0
PruSpin   0   0  45   0
AgrEupa   0   0  36   0
CenJace   0  10  36   0
FesOvin   0  10  36   0
PilOffi   0  10  36   0
PotVern   0   0  36   0
SenJaco   0  10  36   0
CenScab   0   0  27   0
CraLaev   0  20  27   0
CraSpec   0   0  27   0
EupCypa   0   0  27   0
GenTinc   0  10  27   0
HerSpho   0  20  27   0
LeoHisp   0   0  27   0
OnoRepe   0  10  27   0
SalPrat   0  10  27   0
ScaColu   0   0  27   0
ThyPule   0   0  27   0
VerTeuc   0   0  27   0
FesRubr  67  70  27 100
VerCham  67  40  36 100
RanAcri  67  30  27  75
PimMajo   0  10   0  50
VicSepi   0  20  18  50
AjuRept   0   0   0  25
AllVine   0  20   0  25
AraThal   0   0   0  25
BroSter   0  10   0  25
CerArve   0   0   0  25
FraVesc   0   0   0  25
GeuUrba   0   0   0  25
LuzMult   0   0   0  25
RubFrut   0   0   0  25
ThlPerf   0   0   9  25
UrtDioi   0   0   0  25
ValCari   0   0   0  25
ValLocu   0  20   9  25
FesPrat 100  60  27  75
AloPrat  67  50   0   0
CarPrat  33   0   0  25
MyoArve  33  20   0  50
BroErec  33 100 100  75
RumAcet  33  90  36 100
CerHolo  33  80   9  75
RanBulb  33  80 100  25
AntOdor  33  60   9  50
PoaAngu   0  50  18  25
ConArve   0  40  18  25
QueRobu   0  30  27   0
RosSpec   0  30  18  25
SanMino   0  20  91  50
PlaMedi   0   0  55  25
VioHirt   0  20  55  50
HypPerf   0   0  45  75
LinCath   0   0  36  25
PoaTriv 100  70  18  75
GleHede  67  30  27   0
LolPere  67  80  27   0
PriVeri   0  60  73  75
PimSaxi   0  50  55  50
TriDubi   0  50  36  50
CreBien   0  40  27  50
LuzCamp   0  40  45  25
TraPrat   0  40  27  25
VicAngu   0  40  45  50
AchMill   0  30  55  25
LotCorn   0  30  55  50

$differential
        1 2 3 4
HolLana p - - -
BroHord p - - -
DauCaro p - - -
PhlPrat p - - -
CirArve p - - -
RanRepe p - - -
VerHede p - - -
PoaPrat - p - -
BriMedi - - p -
CarFlac - - p -
MedLupu - - p -
CirAcau - - p -
FraViri - - p -
HipComo - - p -
PruAviu - - p -
CarCary - - p -
GalVeru - - p -
PolComo - - p -
PruSpin - - p -
AgrEupa - - p -
CenJace - - p -
FesOvin - - p -
PilOffi - - p -
PotVern - - p -
SenJaco - - p -
CenScab - - p -
CraLaev - - p -
CraSpec - - p -
EupCypa - - p -
GenTinc - - p -
HerSpho - - p -
LeoHisp - - p -
OnoRepe - - p -
SalPrat - - p -
ScaColu - - p -
ThyPule - - p -
VerTeuc - - p -
FesRubr - - - p
VerCham - - - p
RanAcri - - - p
PimMajo - - - p
VicSepi - - - p
AjuRept - - - p
AllVine - - - p
AraThal - - - p
BroSter - - - p
CerArve - - - p
FraVesc - - - p
GeuUrba - - - p
LuzMult - - - p
RubFrut - - - p
ThlPerf - - - p
UrtDioi - - - p
ValCari - - - p
ValLocu - - - p
FesPrat p - - p
AloPrat p p - -
CarPrat p - - p
MyoArve p - - p
BroErec - p p -
RumAcet - p - p
CerHolo - p - p
RanBulb - p p -
AntOdor - p - p
PoaAngu - p - p
ConArve - p - p
QueRobu - p p -
RosSpec - p - p
SanMino - - p p
PlaMedi - - p p
VioHirt - - p p
HypPerf - - p p
LinCath - - p p
PoaTriv p p - p
GleHede p p p -
LolPere p p p -
PriVeri - p p p
PimSaxi - p p p
TriDubi - p p p
CreBien - p p p
LuzCamp - p p p
TraPrat - p p p
VicAngu - p p p
AchMill - p p p
LotCorn - p p p

$others
 [1] "AceCamp" "AjuGene" "AntDioi" "AntSylv" "AntVuln" "AreSerp" "ArrElat"
 [8] "AstGlyc" "BelPere" "BetPend" "CalSepi" "CamGlom" "CarBetu" "CenEryt"
[15] "CerGlom" "CirVulg" "CorAvel" "CorSang" "CraMono" "CynCris" "DacGlom"
[22] "EupSpec" "FraExce" "GalAlbu" "GalPumi" "GerDiss" "GerMoll" "GymCono"
[29] "HelNumm" "HelPube" "HieMuro" "HypMacu" "JunComm" "KnaArve" "KoePyra"
[36] "LatPrat" "LeoAutu" "LeuIrcu" "LisOvat" "LysNumm" "MedFalc" "OnoVici"
[43] "OphInse" "OrcMasc" "PinSpec" "PlaLaet" "PlaLanc" "PlaMajo" "PotAnse"
[50] "PotRept" "PruGran" "QueSpec" "RanSpec" "RhiMino" "RosCani" "RubIdae"
[57] "RumObtu" "SedSexa" "SilNuta" "SilPusi" "SteGram" "TarEryt" "TarRude"
[64] "TriCamp" "TriFlav" "TriPrat" "TriRepe" "VerArve" "VibOpul" "VicCrac"

> 
> ## Synoptic table, with percentage frequency (only species >25%) and
> ## differential character.
> complete <- synsort(syn1 = unordered$syntable, syn2 = differential$syntable,
+                     cluster = pam1$clustering, method = "all_diff", min1 = 25)
Error in xtfrm.default(x) : cannot xtfrm 'x'
Calls: synsort ... lapply -> FUN -> as.vector -> xtfrm -> xtfrm.default
Execution halted