Learn R Programming

indirect (version 0.2.1)

saveRecord: Function to save elicitation record.

Description

Function to save elicitation record.

Usage

saveRecord(
  designLink.obj,
  conclusion.comments = "This concludes the elicitation record.",
  file = ""
)

Arguments

designLink.obj

list object initally created by function designLink and subsequently updated by function elicitPt

conclusion.comments

character, comments to conclude session. Beware of non-ASCII text and special characters, which may affect ability to save or generate a Sweave document by using makeSweave

file

character providing filename.

Value

an RDS file is created with filename file. A timestamp is added to designLink.obj using Sys.time().

Examples

Run this code
# NOT RUN {
X <- matrix(c(1, 1, 0, 1), nrow = 2) # design
Z <- designLink(design = X)
tmp <- tempfile(pattern = "report", fileext =".rds")
saveRecord(Z, file = tmp)
# }

Run the code above in your browser using DataLab