Learn R Programming

anchoredDistr (version 1.0.3)

reduceData: Apply the requested dimension reduction technique to the inversion data for the given MADproject object

Description

reduceData returns a modifed MADproject object where the observations and realizations slots are replaced by a lower-dimensional representation

Usage

reduceData(proj, method, params, ...)

# S4 method for MADproject,`function`,ANY reduceData(proj, method)

# S4 method for MADproject,`function`,`function` reduceData(proj, method, params, ...)

Arguments

proj

MADproject object that has been filled by MAD# databases

method

function to apply to data

params

function for estimating the initial values of the parameters of method based on the data, if method has parameters

...

addtional arguments as needed for nls to fit method to the data

Value

proj MADproject object with reduced dimensions for inversion

Methods (by class)

  • proj = MADproject,method = function,params = ANY: Fit method without any parameters (e.g, min)

  • proj = MADproject,method = function,params = function: Fit method with parameters and inital guesses for the parameter values

Examples

Run this code
data(pumping)
pumping.min <- reduceData(pumping, min)
plotMAD(pumping.min, "realizations")

Run the code above in your browser using DataLab