Obs: Observation block

Description Usage Arguments Value Examples

View source: R/AllConstructor.R

Description

This function initialises an object of class Obs which defines a an observation data set. By default, this is for observations with negligible spatial footprint. For larger supports, use Obs_poly.

Usage

1
Obs(df, name = "Obs", remove_cross_ins = 0, ...)

Arguments

df

a data frame which should contain at least 5 entries, x,y,t,z and std which denote the horizontal, vertical and temporal indices of the observations, the value and error respectively. Alternatively this could be a path name.

name

the name of the observation process

remove_cross_ins

removes data outside a circle centred at zero with specified radius. Convenient when working with satellite data in polar stereographic projection when some cross-ins are detected.

...

other arguments passed on to preprocess_obs

Value

Object of class Obs (which inherits from class block and is thus also a block)

Examples

1
2
3
O <- Obs(df=data.frame(x=runif(5),y=runif(5),t=c(1,1,1,2,2),z=runif(5),std=runif(5)))
print(O)
plot(subset(O,t==1),"z",pt_size=4)

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