write_InputTemplate: Write table input template

View source: R/write_InputTemplate.R

write_InputTemplateR Documentation

Write table input template

Description

This function creates a template table that can be used as input for the function model_DoseRate

Usage

write_InputTemplate(file = NULL, ...)

Arguments

file

character (optional): output path, if NULL nothing is written, but a template data.frame is returned.

...

additional arguments that can be passed to function write.table if file != NULL. Supported arguments are: sep, dec, fileEncoding

Function version

0.1.0

How to cite

Kreutzer, S., 2022. write_InputTemplate(): Write table input template. Function version 0.1.0. In: Kreutzer, S., Nathan, R.P., Mauz, B., 2022. RCarb: Dose Rate Modelling of Carbonate-Rich Samples . R package version 0.1.5. https://r-lum.github.io/RCarb/

Author(s)

Sebastian Kreutzer, Geography & Earth Sciences, Aberystwyth University (United Kingdom)

See Also

Example_Data, write.table

Examples


##create template without file creation
write_InputTemplate()

## Not run: 
##Example with file output

## set temporary filename
## (replace by own path if needed)
temp_file <- tempfile(pattern = "template", fileext = ".csv")
write_InputTemplate(file = temp_file)


## End(Not run)


RCarb documentation built on March 18, 2022, 7:50 p.m.