plot_autocorrelation: Plot the Autocorrelation by windows

View source: R/plot_autocorrelation.R

plot_autocorrelationR Documentation

Plot the Autocorrelation by windows

Description

Plot the Autocorrelation by windows

Usage

plot_autocorrelation(df, path = NULL, filename = "actogram.pdf", dir_choose_gui = TRUE,
export = TRUE, window_of_interest = NULL)

Arguments

df

a data.frame containing the output from acf_window.

path

a string containing a path in which to save the file. It is not necesssary if dir_choose_gui = TRUE.

filename

a string containing a name for the file. It must end in ".pdf". Default = "actogram.pdf".

dir_choose_gui

A gui for choosing the directory/folder in which to save the file. If, false, a path is needed. Default = TRUE.

export

If FALSE, will plot the figures in the console. If TRUE, will export the figures as a .pdf file.

window_of_interest

optional. a number or list of numbers which indicate the windows to be plotted.


edpclau/circadian-dynamics documentation built on Aug. 25, 2023, 12:18 p.m.