assignment: Assignment methods

Description Usage Examples

Description

Methods for "[<-", i.e., extraction or subsetting of elements in the data frame of the MVST object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S4 replacement method for signature 'GMRF_basis,ANY,ANY,ANY'
x[i, j] <- value

## S4 replacement method for signature 'GMRF,ANY,ANY,ANY'
x[i, j] <- value

## S4 replacement method for signature 'Obs,ANY,ANY,ANY'
x[i, j] <- value

## S4 replacement method for signature 'Basis,ANY,ANY,ANY'
x[i, j] <- value

Examples

1
2
3
data(surf_fe)
Mesh <- initFEbasis(p=surf_fe$p, t = surf_fe$t, M = surf_fe$M, K = surf_fe$K)
Mesh["z"] <- sin(Mesh["x"]/1000)*cos(Mesh["y"]/1000)

shazhe/mvst0 documentation built on May 29, 2019, 9:20 p.m.