.linear_fit {CellTrails} | R Documentation

## Linear fit

### Description

Perform simple linear fit

### Usage

    .linear_fit(x.in, y.in, x.out = NULL)

### Arguments

`x.in` | Predictor variable, numeric vector
`y.in` | Response variable, numeric vector
`x.out` | Predictor variable for linear function, numeric vector

### Value

A list containing the following components:

``p.value`` | Anova P-value
``r2`` | Adjusted R-squared
``x.out`` | Predictor variable for linear function, numeric vector
``y.out`` | Response from linear function

### Author(s)

Daniel C. Ellwanger

[Package CellTrails version 1.12.0 Index]