Learn R Programming

easynem (version 1.0.3)

nem_plot: Visualize the results of the calculation

Description

The nem_plot() is used to visualize the calculation results and is a generalized function for multiple classes including beta-class, beta2-class, compare-class, compare2-class, ef-class, ef2-class, funguild-class, funguild2-class, mf-class, mf2-class, ter-class, ter2-class, etc.

Usage

nem_plot(object, ...)

Value

A plot object. Typically a ggplot object for most classes, or a recordedplot object for ter-class and ter2-class ternary plots.

Arguments

object

beta-class or other types data (beta2-class, compare-class, compare2-class, ef-class, ef2-class, funguild-class, funguild2-class, mf-class, mf2-class, ter-class, ter2-class, etc.).

...

Other parameters to be expanded.

Details

To facilitate code interpretation, it is recommended to use the pipe symbol |> to connect functions:

nem_plot <- nem |> calc_beta(pca, Treatments, method = "bray") |> nem_plot()