Learn R Programming

BCE (version 2.2.0)

export.bce: export BCE

Description

export function: writes a BCE-object and its summary statistics to a series of files.

Usage

export.bce(x, file="BCE", input.list=NULL, ...)

Arguments

x

a bce object, output of the function BCE().

file

file to which the bce object is written.

input.list

a list of the arguments in bce() can be provided and saved as well.

...

additional arguments.

Details

The bce object is saved (save) to the specified file. For people not familiar to R, it can be more 'user-friendly' to export summary results to comma delimited textfiles, that can be easily imported into a spreadsheet program. The function summary.bce is called to calculate summary statistics of a BCE object; These are then written to a series of .csv files with a name that combines the specified filename and a string indicating the content of the .csv files. Traces and marginal probabilities of all estimated values are plotted and saved in .png files. These traces should be inspected carefully before accepting any results (see also plot.bce).

See Also

BCE, summary.bce, plot.bce, pairs.bce

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
export.bce(bceOutput, file="bceOutput")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab