R/build_report.r
build_report.Rd
Build a report with basic spatio-temporal movement computations
build_report(df, path = here::here(), proj4, stats = c("rolling", "diurnal"), construct = c("klocoh"), seas = NULL, wavelet = NULL)
df | a dataframe containing columns "x", "y", and "date" |
---|---|
path | absolute file path for output .pdf, defaults to project working directory. see also here. |
proj4 | a character string indicating the proj.4 definition of the coordinate reference system defining the relocations |
stats | a character vector of stats to calculate, options include: "rolling", "diurnal", "lunar", and "seasonal" |
construct | a character vector indicating which spacetime construction methods to use. options include "klocoh" and "akde" |
seas | a character vector including the start date of each season interval in the format
%Y-%m-%d, e.g. "2015-01-01". Required if |
wavelet | a character vector indicating which variables to calculate wavelet analysis on, options in "dist", "rel.angle", "acf_dist", "acf_ang", and "ccf". |
build_report(AG195, proj4 = "+proj=utm +zone=33 +south +datum=WGS84 +units=m +no_defs")#> #> #>#> | | | 0% | |... | 4% #> inline R code fragments #> #> | |...... | 9% #> label: setup (with options) #> List of 1 #> $ include: symbol F #> #> | |........ | 13% #> ordinary text without R code #> #> | |........... | 17% #> label: unnamed-chunk-1#>#> Error in ggplot(params$df, aes(x, y)): could not find function "ggplot"#>