README.md

pfocal

License: GPL
v3 Project Status:
WIP R-CMD-check Codecov test
coverage

The goal of pfocal is to implement fast parallel convolution. R version >= 4.0.0 is required.

Installation

You can install the package as such:

# From CRAN
install.packages("devtools")

# Dev version from GitHub
devtools::install_github("LandSciTech/pfocal")

Example

library(pfocal)

data <- matrix(nrow = 100, ncol = 100, 
               data = runif(n = 100*100, min = 0, max = 10))
image(data, asp = 1)

kernel <- exponential_kernel()
convoluted <- pfocal(data = data, kernel = kernel, edge_value = 0)
image(convoluted, asp = 1)



Try the pfocal package in your browser

Any scripts or data that you put into this service are public.

pfocal documentation built on June 17, 2022, 5:07 p.m.