Learn R Programming

EmpiricalDynamics (version 0.1.2)

get_analysis_template: Get Analysis Template

Description

Returns a template script for running a complete analysis.

Usage

get_analysis_template(output_file = NULL)

Value

Template code as character string (invisibly).

Arguments

output_file

Path to save template.

Examples

Run this code
# \donttest{
# Save template to a temporary file
tmp_file <- tempfile("analysis_template", fileext = ".R")
get_analysis_template(tmp_file)

# Clean up
if (file.exists(tmp_file)) unlink(tmp_file)
# }

Run the code above in your browser using DataLab