exportRes: Export Data

View source: R/export.res.R

exportResR Documentation

Export Data

Description

This function is designed for exporting results, stored in objects of MorphoTools2 package.

Usage

exportRes(object, file = "", dec = ".", sep = "\t",
          row.names = FALSE, col.names = TRUE)

Arguments

object

an object to be exported.

file

either a character string naming a file or a connection opened for writing (e.g., "clipboard"). "" indicates output to the console.

dec

the character used for decimal points.

sep

the column separator character.

row.names

logical, if TRUE, row names of the object are to be written.

col.names

logical, if TRUE, column names of the object are to be written.

Value

None. Used for its side effect.

Examples

data(centaurea)

descr = descrTaxon(centaurea, format = "($MEAN ± $SD)")
## Not run: exportRes(descr, file = "centaurea_descrTax.txt")

MorphoTools2 documentation built on March 7, 2023, 6:18 p.m.