rp.save2csv {responsePatterns}R Documentation

Export indices into a CSV file

Description

This functions exports the ResponsePatterns object indices and, optionally, coefficients and data.

Usage

rp.save2csv(
  rp.object,
  file = "rp_results.csv",
  csv = c("csv", "csv2"),
  include.coefs = TRUE,
  include.data = TRUE
)

Arguments

rp.object

A ResponsePatterns object.

file

A string. A filename or a path.

csv

A string. Specify the CSV file format.

include.coefs

A logical scalar. Should the exported file include the coefficients?

include.data

A logical scalar. Should the exported file include the data?

Value

Exports a CSV file.

See Also

rp.acors, rp.patterns, rp.indices

Examples

rp <- rp.acors(rp.simdata, id.var="optional_ID")
## Not run: rp.save2csv(rp)
## Not run: rp.save2csv(rp, include.coefs=FALSE, include.data=FALSE)

[Package responsePatterns version 0.1.1 Index]