Skip to content

R frontend to a C++ implementation of univariate total variation denoising via dynamic programming (Johnson 2013).

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

glmgen/tvdenoising

Repository files navigation

tvdenoising

R-CMD-check

This package provides an R frontend to a C implementation of linear-time univariate total variation denoising via dynamic programming (Johnson 2013).

Installation

You can install the development version of tvdenoising from GitHub with:

# install.packages("pak")
pak::pak("glmgen/tvdenoising")

Example

library(tvdenoising)
y <- c(rnorm(30), rnorm(40, 2), rnorm(30))
yhat <- tvdenoising(y, 10)
plot(y, pch = 16)
lines(yhat, col = 2)

About

R frontend to a C++ implementation of univariate total variation denoising via dynamic programming (Johnson 2013).

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •