read_prelude: Reads prelude files

read_preludeR Documentation

Reads prelude files

Description

Read data files in prelude format, which has 2 line headers, the first containing the column name the second containing dashse.

Based on script in the geo-package, there called s2pre.

Usage

read_prelude(file, rownames = FALSE, underscore2dot = FALSE)

Arguments

file

the name of the file which the data are to be read from.

rownames

a logical value (default is FALSE) indicating whether the first column should be treated as row names.

underscore2dot

a logical value (default is FALSE) indicating if underscores in column names should be replaced with dots. Note the default is the reverse from that in the function s2pre, the latter being a somewhat odd default.

Author(s)

hoski@hafro.is

See Also

write_prelude for writing prelude files


einarhjorleifsson/fishvice documentation built on Jan. 4, 2024, 8:43 p.m.