getCalibrationCoeffs: Get Sentinel TOA to Sentinel SR Calibration

Description Usage Arguments Examples

View source: R/SentinelCalibration.R

Description

Calculates a linear equation between Sentinel SR and TOA. Returns the intercept and slope as a data frame, along with the r^2

Usage

1
getCalibrationCoeffs(sentineldf, toaColName, srColName)

Arguments

sentineldf

Data.frame containing paired Sentinel TOA and SR values for a band or index

toaColName

column name for Sentinel TOA values

srColName

column name for Senintel SR values

Examples

1
2
# get linear coefficients
coefficients <- getCalibrationCoeffs(sentinelData_df, 'Sentinel_TOA', 'Sentinel_SR')

LobellLab/SCYMr documentation built on Oct. 20, 2020, 1:22 a.m.