check_object_or_file: check_object_or_file

Description Usage Arguments Value

Description

Checks wether the given parameter is a file path or an R object. Thus determines wether to read it or not.

Usage

1
check_object_or_file(path_argument, data_argument, name_argument)

Arguments

path_argument

the argument that should contain the path.

data_argument

the argument that contains the object.

name_argument

variable name to specify genotype phenotype covariaties or w/e in the messages.

Value

If the path_argument is indeed given return the file content, else return the object.


ErikSchutte/leqtar documentation built on May 6, 2019, 4:03 p.m.