Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
man
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

scorepeak

Build Status AppVeyor Build Status CRAN Version License: GPL v3 codecov

Introduction

scorepeak is an R package for peak detection in univariate time series.

scorepeak provides peak functions, which enable us to detect peaks.

Installation

you can install scorepeak from GitHub.

Run the following R code to install scorepeak.

devtools::install_github("ShotaOchi/scorepeak")

Simple Demo

A simple demo of peak detection is shown below.

library(scorepeak)
data("ecgca102")
lp <- detect_localmaxima(ecgca102, 13)
score <- score_type1(ecgca102, 51)
detected <- score > 0.03 & lp
plot(ecgca102, type = "l")
points(which(detected), ecgca102[detected], pch = 19, col = "red")

Contribution

You're welcome to create issues for any bug report or suggestion on the issues page.

You can also fork this repository and send me a pull request for bug fixes or additional features.

About

an R package for peak detection in univariate time series data

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.