tpadf2raster: Function to convert TIMESAT .tpa data.frame to an R raster.

Description Usage Arguments Value Examples

View source: R/tpadf2raster.R

Description

Function to convert TIMESAT .tpa data.frame to an R raster.

Usage

1
tpadf2raster(x, base_image, variable)

Arguments

x

A TPA data.frame as output by tpa2df

base_image

A string giving the location of a raster file to use for georeferencing the output raster. Use one of the original raster files that was input to TIMESAT.

variable

A string giving the variable name to write to a raster. Can be one of: start, end, length, base_value, peak_time, peak_value, amp, left_deriv, right_deriv, large_integ, and small_integ.

Value

A raster object

Examples

1
2
# TODO: Need to add examples here, and need to include a sample TIMESAT tpa 
# file in the package data.

azvoleff/teamlucc documentation built on June 4, 2017, 12:08 a.m.