inflect_points: Find inflection points

Description Usage Arguments Value Examples

View source: R/inflect_points.R

Description

'inflect_points' finds inflection points of waveform data

Usage

1

Arguments

x

a numeric vector

Value

vector of inflection points (-2 or 2) with 0's filling the points in-between

Examples

1
2
3
4
5
### Format data frame
df <- format_data(GCaMP)

### Find inflection points for 1st trial
inflect_points(df$Trial1)

atamalu/fluoR documentation built on Dec. 7, 2020, 4:48 a.m.