{"id":28423917,"url":"https://github.com/bbuchsbaum/graphweights","last_synced_at":"2025-06-26T02:32:04.934Z","repository":{"id":66678523,"uuid":"80860987","full_name":"bbuchsbaum/graphweights","owner":"bbuchsbaum","description":"R package for creating weighting matrices based on similarity relationships","archived":false,"fork":false,"pushed_at":"2024-12-11T00:15:48.000Z","size":4767,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T09:09:45.772Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bbuchsbaum.github.io/graphweights/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbuchsbaum.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-03T19:15:04.000Z","updated_at":"2025-05-10T11:36:55.000Z","dependencies_parsed_at":"2024-03-30T13:44:36.911Z","dependency_job_id":"33f6d6c2-acf2-481f-9540-8bc228cab791","html_url":"https://github.com/bbuchsbaum/graphweights","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bbuchsbaum/graphweights","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuchsbaum%2Fgraphweights","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuchsbaum%2Fgraphweights/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuchsbaum%2Fgraphweights/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuchsbaum%2Fgraphweights/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbuchsbaum","download_url":"https://codeload.github.com/bbuchsbaum/graphweights/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuchsbaum%2Fgraphweights/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261986659,"owners_count":23240681,"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","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":[],"created_at":"2025-06-05T09:09:45.619Z","updated_at":"2025-06-26T02:32:04.926Z","avatar_url":"https://github.com/bbuchsbaum.png","language":"R","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)\n```\n\n# neighborweights\n\n## Overview\n\nThe `neighborweights` package provides a collection of functions for constructing adjacency matrices based on spatial and feature-based similarity between data points. It enables users to analyze and visualize complex data relationships by creating spatial and feature-weighted adjacency matrices using various methods.\n\n## Installation\n\nYou can install the `neighborweights` package from GitHub with:\n\n```r\n# install.packages(\"devtools\")\ndevtools::install_github(\"bbuchsbaum/neighborweights\")\n```\n\n##Usage\n\nHere's a basic example demonstrating how to create a spatial adjacency matrix using the spatial_adjacency function:\n\n```{r}\nlibrary(neighborweights)\n\n# Generate random coordinates\ncoord_mat \u003c- matrix(runif(100), nrow=10, ncol=2)\n\n# Calculate the spatial adjacency matrix\nspatial_mat \u003c- spatial_adjacency(coord_mat, nnk=5, sigma=1)\n\n# Inspect the resulting matrix\nprint(spatial_mat)\n```\n\n\nFor more advanced usage and additional examples, please refer to the package documentation and vignettes (coming soon).\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbuchsbaum%2Fgraphweights","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbuchsbaum%2Fgraphweights","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbuchsbaum%2Fgraphweights/lists"}