Learn R Programming

MorphoTools2 (version 1.0.2.1)

exportRes: 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)

Value

None. Used for its side effect.

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.

Examples

Run this code
data(centaurea)

descr = descrTaxon(centaurea, format = "($MEAN ± $SD)")
if (FALSE) exportRes(descr, file = "centaurea_descrTax.txt")

Run the code above in your browser using DataLab