smp_MRD: Mean relative difference

Description Usage Arguments Value Author(s) Examples

View source: R/smp_MDR.R

Description

Computation of mean relative diffenence and standard deviation for station / sensor network.

Usage

1

Arguments

data

zoo object, containing measures of a variable, e.g. volumetric soil moisture content

Value

MRD

mean relative difference for each realisation (station / sensor)

SDRD

standard deviation of reltive difference for each realisation (station / sensor)

Author(s)

Johannes Brenner, [email protected]

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#load SMC data B2 station

  data(B2_VolSoilMoisture)

#MRD analysis with sensors best sensors in 5 cm, timeframe: from "2010-05-01"

  mrd_data <- window(B2_VolSoilMoisture[,c(4,5,6,7,9)],
                      start = as.chron(as.Date("2010-05-01")), 
                      end =  tail(time(B2_VolSoilMoisture),1))
  mrd_data_naApprox <- na.approx(object = mrd_data)

  ( mrd <- MRD(data = mrd_data_naApprox) )

JBrenn/SoilMoisturePattern documentation built on May 7, 2019, 7:39 a.m.