lm_eq: Expression linear model equation and r-square.

Description Usage Arguments Details Value Examples

Description

Computes and returns (as.character) linear model equation and R-square value.

Usage

1
lm_eq(df, method)

Arguments

df

input dataframe including columns "Sample.VWC" y and "Sensor.VWC" x

method

define method, lm for OLS estimator, rlm for MM-type estimator (robust).

Details

DETAILS

Value

character of linear model equation and R-square value

Examples

1
2
data("data")
lm_eq(df = data, method = "rlm")

JBrenn/SMCcalibration documentation built on June 22, 2019, 10:20 a.m.