doubleblock: Generating special class of (covariance) matrices

Description Usage Arguments Value Examples

Description

This is the function that used to generate the block bandable matrices S with p1 by p2 dimensions.

Usage

1
doubleblock(p1, p2, M, a, b)

Arguments

p1

The number of x axis (latitude)

p2

The number of y axis (longitude)

M

Multiplicative constant for off-diagonal elements

a

decay rate for the x axis

b

decay rate for the y axis

Value

The block bandable covariance matrix

Examples

1
doubleblock(5,5,1,1.5,1.5)

liyi-1989/spatialcov documentation built on May 21, 2019, 7:32 a.m.