Description Usage Arguments Value Author(s) References Examples
Calculating conditional non-forest probability (PNF). Probabilities are calculated based on pdfs for F and NF (derived from F and NF distributions). (Guassian and Weibull pdf types are supported)
1 |
ts |
single value, vector or time series object of class "ts" |
pdf |
"pdf" object describing F and NF distributions. "pdf" object: pdf[1] = pdf type F, pdf[2] = pdf type NF, pdf[3] and pdf[4] = pdf parameter describing F, pdf[5] and pdf[6] = pdf parameter describing NF. pdf types supported: Gaussian or Weibull. See Example for details on how to create a "pdf" object. |
bwf |
block weighting function to truncate the NF probability (default = c(0,1) = no truncation) |
single value, vector or time series object of class "ts"
Johannes Reiche (Wageningen University)
1 2 3 4 5 6 7 8 9 10 11 | # NDVI time series
ndvi <- c(0.5,0.7)
# create pdf (Probability density functions) object for forest and non-forest
pdfType <- c("gaussian","gaussian")
pdfF <- c(0.85, 0.1) #mean and sd
pdfNF <- c(0.3, 0.2) #mean and sd
pdf <- c(pdfType,pdfF,pdfNF)
# calculate conditional non-forest probabilities
calcPNF(ndvi,pdf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.