GithubHelp home page GithubHelp logo

shotaochi / scorepeak Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 50 KB

an R package for peak detection in univariate time series data

License: GNU General Public License v3.0

R 18.47% C++ 81.53%
r peak-detection univariate

scorepeak's Introduction

scorepeak

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.

scorepeak's People

Contributors

shotaochi avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

garylarson

scorepeak's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.