Convert existing and external ordinations to dsv format
This function updates ordinations from previous versions of labdsv and converts ordinations of class ‘boral’ from package boral, list output objects from package Rtsne, class ‘metaMDS’ objects from package vegan, or class ‘ordiplot’ objects from package vegan into objects of class ‘dsvord’ for plotting and comparison.
as.dsvord(obj)
obj |
an object of class nmds, pco, pca, boral, metaMDS, or ordiplot or an output list object from Rtsne |
as.dsvord calls internal format-specific conversion functions to produce an object of class ‘dsvord’ from the given input.
an object of class ‘dsvord’, i.e. a list with items ‘points’ and ‘type’ (optionally more), and attributes ‘call’ and ‘timestamp’ and ‘class’.
LabDSV recently converted all ordination objects to a single class with an ancillary ‘type’ specification to differentiate ordination types.
## Not run: data(bryceveg) dis.bc <- dsvdis(bryceveg,'bray') library(vegan) demo.metaMDS <- metaMDS(bryceveg) metamds.dsv <- as.dsvord(demo.metaMDS) demo.ordi <- plot(demo.metaMDS) ordip.dsv <- as.dsvord(demo.ordi) library(boral) demo.boral <- boral(bryceveg,row.eff='random') boral.dsv <- as.dsvord(demo.boral) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.