extractor.toy {calibrator}R Documentation

Extracts lat/long matrix and theta matrix from D2.

Description

Extracts x.star.toy and t.vec.toy from D2; toy example needed because the extraction differs from case to case.

Usage

extractor.toy(D1)

Arguments

D1

Matrix of code run points

Details

The first two columns give the elements of x.star and columns 3 through 5 give the elements of t.vec.

Function extractor.toy is the inverse of function D1.fun, in the sense that extractor.toy splits up D1 into x.star and t.vec, while D1.fun joins them up again

Value

Returns a list with two elements:

x.star

A matrix containing the lat/longs of the code run points

t.vec

A matrix containing the parameters used for the code runs

Author(s)

Robin K. S. Hankin

References

See Also

toys, D1.fun

Examples

data(toys)
extractor.toy(D1.toy)
extractor.toy(D1.toy[1,,drop=FALSE])
(jj <- extractor.toy(D1.fun(x.star=x.toy , t.vec=theta.toy)))
D1.fun(jj$x.star,jj$t.vec)


[Package calibrator version 1.2-8 Index]