Learn R Programming

ggPMX (version 1.2.11)

pmx_read_args: 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,
  ...
)

Value

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

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