tpa2df: Function to convert TIMESAT .tpa binary format file to an R...

Description Usage Arguments Value Examples

View source: R/tpa2df.R

Description

Function to convert TIMESAT .tpa binary format file to an R dataframe.

Usage

1
tpa2df(x, max_num_seasons)

Arguments

x

A string giving the location of a .tpa file output by TIMESAT

max_num_seasons

the maximum number of seasons for any of the pixels in the file

Value

A data.frame containing 14 columns: row, col, season, start, end, length, base_value, peak_time, peak_value, amp, left_deriv, right_deriv, large_integ, and small_integ

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.