Every time a peak occurs, I need to do a conditional count++. Give me ideas on how you would do it.
The first photo is an example of a graph.
enter image description here
Second photo is introductory information.
enter image description here
I tried to analyze the maximum points, but I ran into the problem that they happen all the time. Making the condition y>400 in advance is incorrect, because people are different =)
New contributor
Thomas Sooluxe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.