rsquare: Squared Pearson correlation coefficient

Description Usage Arguments Value Author(s) See Also Examples

Description

Calculates the squared Pearson correlation coefficient of corrected and modelled timeserie.

Usage

1

Arguments

x

An object of class ‘NDVI’ containing corrected and modelled values. If corrected timeserie is not available, the raw one out of ‘values’ will be used

Value

The squared Pearson correlation coefficient as numeric value.

Author(s)

Daniel Doktor, Maximilian Lange

See Also

NDVI

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
	# load data
	data(avhrr)

	# create NDVI object, correct and model values
	ndvi.list <- modelNDVI(ndvi.values=avhrr.ndvi/10000, 
			year.int=1995, correction="bise", method="Growth", MARGIN=2, 
			doParallel=FALSE, slidingperiod=40)

	#plot
	plot(ndvi.list[[1]])

	# squared Pearson correlation coefficient
	rsquare(ndvi.list[[1]])


Search within the phenex package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.