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.

yinscapital/sat-locat-reference-team-lucc documentation built on May 14, 2019, 11:09 a.m.