R/lin.R

Defines functions lin

Documented in lin

lin <- function(x, l){
  m <- unname(l$coefficients[2])
  b <- unname(l$coefficients[1])
  return((m*x)+b)
}

Try the PCBS package in your browser

Any scripts or data that you put into this service are public.

PCBS documentation built on May 29, 2024, 9:48 a.m.