inflect_points: Find inflection pooints

Description Usage Arguments Value Examples

Description

'inflect_points' finds inflection points of waveform data

Usage

1

Arguments

x

A vector of numbers

Value

Inflection points of the input vector

Examples

1
2
df.new <- format_data(GCaMP)
inflect_points(df.new$Trial1)

Example output

  [1]  0  2  0  0  0  0 -2  0  0  0  0  0  0  2  0  0  0  0  0  0  0  0  0  0  0
 [26] -2  0  0  0  0  0  0  0  0  2  0  0  0  0  0  0  0 -2  0  0  0  0  0  2  0
 [51]  0 -2  0  0  0  0  0  0  0  2  0  0  0 -2  0  0  0  2  0  0  0  0  0  0  0
 [76]  0 -2  0  0  0  0  0  0  0  0  0  0  0  0  0  2  0  0  0  0  0  0  0 -2  0
[101]  0  0  0  0  0  0  0  0  0  0  0  0  2  0  0  0  0  0  0  0 -2  0  0  0  0
[126]  0  0  0  0  0  0  0  0  0  0  0  2  0  0  0  0  0  0 -2  0  0  0  2  0  0
[151]  0  0  0  0  0  0  0  0  0  0  0  0  0  0 -2  0  0  0  0  0  0  1  1  0  0
[176]  0 -2  0  0  0  0  0  0  2  0  0  0 -2  0  0  0  0  2  0  0  0  0  0  0 -2
[201]  0  0  0  0  2  0  0  0  0  0  0 -2  0  0  0  0  0  2  0  0  0  0 -2  0  0
[226]  0  0  0  0  0  0  0  0  0  0  0  0  0  2  0  0  0  0  0  0  0 -2  0  2  0
[251]  0  0  0  0  0  0 -2  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  2  0  0
[276]  0  0  0  0 -2  0  0  0  0  0  0  2  0 -2  0  0  0  0  0  0  0  0  0  0  0
[301]  0  0  0  0  0  0  0  0  0  0  2  0  0  0  0  0  0  0  0  0  0  0  0  0 -2
[326]  0  0  0  0  2  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0 -2  0  0  0
[351]  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  2  0  0  0  0  0 -2  0  0  0
[376]  2  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0 -2  0  0  0  2  0
[401]  0  0  0 -2  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  2  0  0  0  0
[426]  0 -2  0  0  0  0  0  0  2  0  0  0  0  0 -2  0  0  0  2  0  0  0 -2  0  0
[451]  0  0  0  0  0  2  0  0  0 -2  0  0  0  0  0  2  0  0  0  0  0  0  0  0  0
[476]  0  0  0  0  0  0  0  0  0 -2  0  0  0  0  2  0  0 -2  0  0  0  0  0  0  0
[501]  2  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0 -2  0  0  0  0  0  0  0  0
[526]  2  0  0  0  0  0  0  0  0  0  0  0  0  0  0 -2  0  0  0  0  0  2  0  0  0
[551]  0 -2  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  2  0  0  0  0  0  0 -1
[576] -1  0  0  0  0  2  0  0  0  0  0 -2  0  0  0  2  0  0  0  0  0 -2  0  0  0
[601]  0  0  0  0  0  2  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0 -2  0  2  0
[626]  0  0  0  0  0 -2  0  0  0  0  0  2  0  0  0  0  0  0 -2  0  0  0  0  0  0
[651]  0  0  0  0  0  0  0  0  0  2  0  0  0  0  0  0  0  0  0  0  0 -2  0  0  0
[676]  0  0  0  0  0  0  0  2  0  0  0  0  0  0  0  0  0  0  0  0 -2  0  0  0  0
[701]  0  0  0  0  0  2  0  0  0  0  0  0  0  0 -2  0  0  0  0  0  0  0  0  0  0
[726]  0  0  0  2  0  0  0  0  0  0  0 -2  0  0  0  0  0  0  0  0  0  0  0  0  2
[751]  0  0  0  0  0 -2  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  2  0  0  0
[776]  0  0  0  0 -2  0  0  0  0  0  0  2  0  0  0  0  0  0  0  0  0  0  0  0  0
[801]  0  0  0 -2  0  0  0  0  0  0  0  0  0

GCalcium documentation built on May 2, 2019, 9:31 a.m.