find_intercept: Function to find where an interpolated linear curve crosses a...

Description Usage Arguments Examples

View source: R/order_brain_areas.R

Description

The function interpolates a linear model within two points, and finds at which x the curve has a specified y.

Usage

1
find_intercept(x, y, inter = 0)

Arguments

x

number of x variable

y

number of y variable

inter

number of y at which you want to calculate x

Examples

1
find_intercept(x = c(-1.1, 1.1) , y = c(-1.1, 0.9))

valeriabonapersona/abc4d documentation built on Dec. 23, 2021, 2:09 p.m.