
make.unique
which adds numbers to the end of CEP names if needed.make.cepnames(names)
FORTRAN IV
did not have CHARACTER
data type,
but text variables had to be stored into numerical variables, which in
popular computers could hold four characters. In modern times,
there is no reason for this limitation, but ecologists are used to
these names, and they may be practical to avoid congestion in
ordination plots.make.names
, strsplit
,
substring
, paste
.make.cepnames(c("Aa maderoi", "Poa sp.", "Cladina rangiferina",
"Cladonia cornuta", "Cladonia cornuta var. groenlandica",
"Cladonia rangiformis"))
data(BCI)
colnames(BCI) <- make.cepnames(colnames(BCI))
Run the code above in your browser using DataLab