struct_template: StRUCT templates

View source: R/struct_templates.R

struct_templateR Documentation

StRUCT templates

Description

Create a struct template

Usage

struct_template(
  template = "model",
  output,
  in_editor = TRUE,
  overwrite = FALSE
)

Arguments

template

the type of object you want a template for e.g. 'model'

output

the name/path of the output file

in_editor

TRUE/FALSE to open the created file in the default editor

overwrite

= TRUE/FALSE to overwrite file if exists already

Value

A template is created at the output location specified

Examples

## Not run: 
struct_template('model','example.R',FALSE)

## End(Not run)


computational-metabolomics/struct documentation built on March 27, 2024, 4:26 p.m.