exportRes {MorphoTools2}R 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")

[Package MorphoTools2 version 1.0.1.1 Index]