read_arguments: read_arguments ini-file command prompt

Description Usage Arguments Value Author(s) Examples

View source: R/getArguments.R

Description

reads parameters from an ini-file or command prompt into a dataframe that it returns. part of specific project.

Usage

1
read_arguments(v_filepath, v_filename, v_read_from_inifile, v_task)

Arguments

v_filepath

path to file

v_filename

name of the file

v_read_from_inifile

using inifile(TRUE) command line(FALSE)

v_task

is the task parameters are supporting

Value

dataframe with processed arguments

Author(s)

Folke Larsson in Boden Sweden

Examples

1
2
3
/dontrun{
df_args <- read_arguments("file path", "params.ini", TRUE, "calculate_means")
}

FolkeLarsson/getArgsFlaGrassStat documentation built on May 26, 2019, 7:26 a.m.