readMAD: Read the SQLite databases from MAD# into the MADproject...

Description Usage Arguments Value Methods (by class) Examples

Description

readMAD returns an updated MADproject object with data from the MAD# databases.

Usage

1
2
3
4
readMAD(proj, location)

## S4 method for signature 'MADproject,numeric'
readMAD(proj, location)

Arguments

proj

The MADproject object with the slots madname, resultname, and xpath specified.

location

The measurement ID(s) to be read from the MAD# databases

Value

proj An updated MADproject object with slots numTimesteps, numLocations, numSamples, numAnchors, numTheta, observations, priors, truevalues (if present), and realizations filled in from the MAD# databases.

Methods (by class)

Examples

1
2
3
4
5
6
## Not run: 
example <- new("MADproject", madname="Example", resultname="results",
xpath=getwd())
example <- readMAD(example, 1:3) #Observations 1-3

## End(Not run)

hsavoy/anchoredDistr documentation built on Jan. 26, 2020, 8:03 p.m.