Learn R Programming

RCarb (version 0.1.7)

write_InputTemplate: 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

Author

Sebastian Kreutzer, Institute of Geography, Heidelberg University (Germany)

How to cite

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

See Also

Example_Data, write.table

Examples

Run this code

##create template without file creation
write_InputTemplate()

if (FALSE) {
##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)

}

Run the code above in your browser using DataLab