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

Description Usage Arguments Value Examples

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 May 11, 2019, 5:19 p.m.