get_XN5output_xno: setup XPN options line

Description Usage Arguments Value Author(s) Examples

View source: R/get_XN5output_xno.R

Description

A simple function that sets up the [options] block in an .xnp file. A DEFAULT setting is given, additional moduls can be added by providing a list with named elements. The name of the list element has to correspond to new line added.

Usage

1
get_XN5output_xno(mylocations, timestamps, query.return = FALSE)

Arguments

mylocations

list

  • "my.xno.path"Character vector specifying the location of the result files. If a higher order folder is used, this will be included in the output. Possibility to make results unique.

  • "my.output.pathCharacter vector specifying the location of the output files. The files are ascii files and will be supplemented by .OUT.

timestamps

character vector specifying the date(s) which are to be returned. Format "YYYY-MM-DD". No checks, careful. Most probably cause of errors, here.

query.return

logical. FALSE is the default. If TRUE, a list is returned.

Value

If query.return == TRUE, returns list with number of elements as .xno files. Each element contains a data.table with the read timestamps.

Author(s)

Tobias KD Weber , tobias.weber@uni-hohenheim.de

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
# initialise list
mylocations <- list()

# assign paths:
# 1. location of xno.paths
mylocations$my.xno.path <- "C:/Projects/ExpertN/expertn513d/built/cfg/replicateECv10/"
# 2. location of output
mylocations$my.output.path <- "C:/Projects/ExpertN/myresults"

timestamps<- c("2009-08-02", "2026-09-03")
get_XN5output_xno(mylocations, timestamps)

## End(Not run)

tkdweber/XN5setup documentation built on July 4, 2021, 7:34 a.m.