regressoR.trend.linear: Fit a Linear Trend to a given Dataset

Description Usage Arguments Value

Description

A linear trend is fitted to the given dataset.

Usage

1
2
3
regressoR.trend.linear(metric, transformation.x = NULL,
  transformation.y = NULL, metric.transformed = NULL, protected = TRUE,
  ...)

Arguments

metric

an instance of RegressionQualityMetric

transformation.x

the transformation along the x-axis, or NULL if none was applied to the data

transformation.y

the transformation along the y-axis, or NULL if none was applied to the data

metric.transformed

the transformed metric for the first fitting step

protected

should the function be limited to the range of values actually ocurring in the data?

...

parameters to be passed to lm directly

Value

On success, an instance of FittedSplineModel, NULL on failure.


thomasWeise/regressoR.splines documentation built on May 23, 2019, 1:13 p.m.