saveRecord: Function to save elicitation record.

Description Usage Arguments Value Examples

View source: R/elicit_functions.R

Description

Function to save elicitation record.

Usage

1
2
3
4
5
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

1
2
3
4
5
6
7
## 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)

## End(Not run)

indirect documentation built on Feb. 9, 2022, 9:07 a.m.