Learn R Programming

CARrampsOcl (version 0.1.4)

makeRW1Q: Function to construct structure matrix for 1-dimenstional random walk 1.

Description

Function to construct structure matrix for 1-dimenstional random walk 1.

Usage

makeRW1Q(n)

Arguments

n
dimension of structure matrix

Value

  • structure matrix of dimension n by n

Examples

Run this code
# Construct the structure matrix for a RW(1) on a line at 15 equally-spaced
# points
makeRW1Q(15)

Run the code above in your browser using DataLab