longPACFSingle.Rd
Plots the PACF (Partial Autocorrelation Function) given the taxon index.
longPACFSingle(ps, main_factor, time_var, taxon, taxlevel = "Species", lag.max = 10)
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 | Numeric. The index of taxon to get the correlogram. |
taxlevel | Character string. The taxonomy level for the plot title. |
lag.max | Numeric. The maximum lags that PACF to be computed. |
ggplot2
object of PACF for one taxon according to the taxon index.