pmx_read_args: Define data import arguments

pmx_read_argsR Documentation

Define data import arguments

Description

Define data import arguments

Usage

pmx_read_args(
  x,
  quiet,
  col_types = readr::cols(.default = "d"),
  na = "NA",
  comment = "TABLE",
  skip = 1,
  ...
)

Arguments

x

A list containing a the 3 first records of a dataset under '[[1]]'.

quiet

Should messages be displayed to the console.

col_types

Defines the type of each column to be passed to the 'readr' import function.

na

Character string defining the values to be treated as 'NA'.

comment

Character string defining the value to mark comments.

skip

Number of rows to be skipped before reading the data.

...

Additional arguments to be passed to the 'readr' function

Value

A list of 2 levels fun (the import function) and params (a list of arguments to be used when calling fun).


ggPMX documentation built on May 29, 2024, 1:40 a.m.