nll.2taper: Second Tapering Implementation

Description Usage Arguments Value Examples

View source: R/0functions.R

Description

The function implements the second tapering method described in the Covariance Tapering paper.

Usage

1
nll.2taper(x, setup, z)

Arguments

x

A double indicating the rho, or scaling parameter

setup

Results returned from make.tapersetup

z

A vec that contains the finite number of observations

rescol

An int that contains how many non-zero elements should be in a column.

Value

A double

Examples

1
2
3
4
data(anom1962)
d = rdist_earth1(loc)
setup.eigen = make_tapersetup_eigen(d,taprange = 50)
val = nll_2taper(20, setup.eigen$n,

coatless/pims_bigdata documentation built on May 13, 2019, 8:46 p.m.