longLagPlot.RdPlots the lagged-plot given the taxon index.
longLagPlot(ps, main_factor, time_var, taxon, lags, taxlevel = "Species")
| ps | (Required). A |
|---|---|
| main_factor | Character string. The name of the variable to map main factor in the plot (factor vector). |
| time_var | Character string. The name of the variable to map time in the plot (integer vector). |
| taxon | A numeric. The index of taxon to get the variogram |
| lags | numeric (vector) how many lags to plot |
| taxlevel | Character string. The taxonomy level for the plot title |
ggplot2 object of lagged plot for speciec taxon.