zScore: Z score calculator

Description Usage Arguments Details

View source: R/zScore.r

Description

This script is designed to calculate the Z score of pixels in a stack of rasters. This formula is derived from Rodriguez-Galiano et al. 2016, Biogeosciences. Z scores show the difference from a multi-image mean in a given raster at a given pixel.

Usage

1
zScore(file = NULL, ncores = 1)

Arguments

file

A path to file containing stacked phenology data.

ncores

numeric. Number of cores to be used for processing

Details

The z score values for a given year were defined as the difference from the multi-year mean, normalized by the standard deviation across years.

Rodriguez-Galiano calculated z scores excluding the targeted year in the multi-year mean to enhance inter-annual variation.


mastefan/messy documentation built on April 19, 2018, 12:22 a.m.