{"id":32206479,"url":"https://github.com/landscitech/pfocal","last_synced_at":"2025-10-22T05:28:47.443Z","repository":{"id":39665796,"uuid":"320600346","full_name":"LandSciTech/pfocal","owner":"LandSciTech","description":"Fast parallel convolution in R.","archived":false,"fork":false,"pushed_at":"2022-08-24T17:35:43.000Z","size":24171,"stargazers_count":2,"open_issues_count":5,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-20T18:21:51.263Z","etag":null,"topics":["convolution","image-processing","landscape-ecology","r","raster-data"],"latest_commit_sha":null,"homepage":"https://landscitech.github.io/pfocal/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LandSciTech.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-11T14:43:43.000Z","updated_at":"2022-06-24T20:14:40.000Z","dependencies_parsed_at":"2022-07-13T10:30:48.124Z","dependency_job_id":null,"html_url":"https://github.com/LandSciTech/pfocal","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/LandSciTech/pfocal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LandSciTech%2Fpfocal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LandSciTech%2Fpfocal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LandSciTech%2Fpfocal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LandSciTech%2Fpfocal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LandSciTech","download_url":"https://codeload.github.com/LandSciTech/pfocal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LandSciTech%2Fpfocal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280383840,"owners_count":26321628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["convolution","image-processing","landscape-ecology","r","raster-data"],"created_at":"2025-10-22T05:28:46.285Z","updated_at":"2025-10-22T05:28:47.434Z","avatar_url":"https://github.com/LandSciTech.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\nset.seed(77)\n```\n\n# pfocal \u003cimg src='man/figures/logo.png' align=\"right\" height=\"150\" width=\"135\" /\u003e\n\n\u003c!-- badges: start --\u003e\n[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)\n[![Project Status: Active](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)\n[![R-CMD-check](https://github.com/LandSciTech/pfocal/workflows/R-CMD-check/badge.svg)](https://github.com/LandSciTech/pfocal/actions)\n[![Codecov test coverage](https://codecov.io/gh/LandSciTech/pfocal/branch/master/graph/badge.svg)](https://app.codecov.io/gh/LandSciTech/pfocal?branch=master)\n\u003c!-- badges: end --\u003e\n\nThe goal of `pfocal` is to implement fast parallel convolution. R version \u003e= 4.0.0 is required.\n\n## Installation\n\nYou can install the package as such:\n\n```{r, eval=FALSE}\n# From CRAN\ninstall.packages(\"devtools\")\n\n# Dev version from GitHub\ndevtools::install_github(\"LandSciTech/pfocal\")\n```\n\n## Example\n\n```{r}\nlibrary(pfocal)\n\ndata \u003c- matrix(nrow = 100, ncol = 100, \n               data = runif(n = 100*100, min = 0, max = 10))\nimage(data, asp = 1)\n```\n```{r}\nkernel \u003c- exponential_kernel()\nconvoluted \u003c- pfocal(data = data, kernel = kernel, edge_value = 0)\nimage(convoluted, asp = 1)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flandscitech%2Fpfocal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flandscitech%2Fpfocal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flandscitech%2Fpfocal/lists"}