Description Usage Arguments Value
View source: R/longPACFSingle.R
Plots the PACF (Partial Autocorrelation Function) given the taxon index.
1 2 | 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.