Learn R Programming

anchoredDistr (version 1.0.3)

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

Description

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

Usage

readMAD(proj, location)

# S4 method for 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)

  • proj = MADproject,location = numeric: Reads the MAD# databases for information related to location

Examples

Run this code

example <- new("MADproject", madname="Example", resultname="results",
xpath=getwd())
example <- readMAD(example, 1:3) #Observations 1-3


Run the code above in your browser using DataLab