export_plots_multivariate: Export plots

View source: R/export_plots_multivariate.R

export_plots_multivariateR Documentation

Export plots

Description

Creates a folder in which all plots resulting from the analysis will be saved.

Usage

export_plots_multivariate(processed_data = NULL, rythm_analysis_data = NULL,
autocorrelation = TRUE, lomb_scargle = TRUE, cosinor_fit = c("lomb_scargle", "autocorrelation"),
dir_choose_gui = TRUE, new_dir_name = "analysis")

Arguments

processed_data

data.frame returned from the process_timeseries or multivariate_process_timeseries functions.

rythm_analysis_data

data.frame returned from the rythm_analysis_by_window and multivariate_rythm_analysis functions.

autocorrelation

If TRUE (default) plots autocorrelation. FALSE does not plot autocorrelation.

lomb_scargle

If TRUE (default) plots lomb scargle periodogram. FALSE does not plot periodogram.

cosinor_fit

Method to fit the COSINOR to the data. Either "lomb_scargle" (default) or "autocorrelation".

dir_choose_gui

If TRUE (default) a GUI will help select the folder in which to save the data and plots. If FALSE, everything will be saved in the current directory.

new_dir_name

Optional character argument to name the folder in which the data will be saved.

Examples

export_plots_multivariate(processed_data = processed_data, rythm_analysis_data = analysis_data,
new_dir_name = "sensor_project")


edpclau/circadian-dynamics documentation built on July 1, 2024, 2:33 a.m.