Busabase
Busabase is an open-source (MIT) database and workspace for AI agents — data, docs, skills, and apps in one place. Run it locally, self-host it inside your network, or use Busabase Cloud, and turn age
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证imaginarycss: Tools for Studying Imaginary Cognitive Social Structure
翻译准备中
正在加载完整 README。 以下为已保存的摘录。
imaginarycss: Tools for Studying Imaginary Cognitive Social Structure
How to cite imaginarycss. If you use imaginarycss in published work, please cite it:
Tanaka K, Vega Yon GG (2024). Imaginary network motifs: Structural patterns of false positives and negatives in social networks. Social Networks 78, 65-80. doi:10.1016/j.socnet.2023.11.005
Run citation("imaginarycss") in R for the BibTeX entry.查看完整 README ↗[!NOTE] How to cite imaginarycss. If you use imaginarycss in published work, please cite it:
Tanaka K, Vega Yon GG (2024). Imaginary network motifs: Structural patterns of false positives and negatives in social networks. Social Networks 78, 65-80. doi:10.1016/j.socnet.2023.11.005
Run
citation("imaginarycss")in R for the BibTeX entry.
The imaginarycss package provides functions to measure and test
imaginary cognitive social structure (CSS) motifs, which are patterns of
perceived relationships among individuals in a social network. The
package includes tools for calculating motif frequencies, comparing
observed motifs to expected distributions, and visualizing motif
structures. It implements the methods described in Tanaka and Vega Yon
(2023) DOI:10.1016/j.socnet.2023.11.005.
When using this package, please cite the above article:
citation(package = "imaginarycss")
To cite the original research article where the methods were
introduced, use:
Tanaka K, Vega Yon G (2024). "Imaginary Network Motifs: Structural
Patterns of False Positives and Negatives in Social Networks."
_Social Networks_, *78*, 65-80. doi:10.1016/j.socnet.2023.11.005
<https://doi.org/10.1016/j.socnet.2023.11.005>,
<https://www.sciencedirect.com/science/article/pii/S0378873323000813>.
And the actual R package:
Najafzadehkhoei S, Vega Yon G, Tanaka K (2025). _imaginarycss: Tools
for Studying Imaginary Cognitive Social Structure_. R package version
0.1.0, <https://github.com/gvegayon/imaginarycss>.
To see these entries in BibTeX format, use 'print(<citation>,
bibtex=TRUE)', 'toBibtex(.)', or set
'options(citation.bibtex.max=999)'.
You can install the development version of imaginarycss from
GitHub with:
devtools::install_github("gvegayon/imaginarycss")
Or from R-universe (recommended for the latest development version):
install.packages(
'imaginarycss',
repos = c(
'https://gvegayon.r-universe.dev',
'https://cloud.r-project.org'
)
)
Or from CRAN
install.packages("imaginarycss")
This is a basic example which shows you how to solve a common problem:
library(imaginarycss)
source_ <- c(1, 2, 3, 1)
target_ <- c(2, 1, 4, 4)
source_ <- c(source_, source_[-1] + 4)
target_ <- c(target_, target_[-1] + 4)
adjmat <- matrix(0L, nrow = 8, ncol = 8)
adjmat[cbind(source_, target_)] <- 1L
graph <- new_barry_graph(adjmat, n = 4)
graph
#> A barry_graph with 2 networks of size 4
#> . . 1.00 . 1.00 . . . .
#> 1.00 . . . . . . .
#> . . . 1.00 . . . .
#> . . . . . . . .
#> . . . . . . . 1.00
#> . . . . 1.00 . . .
#> . . . . . . . 1.00
#> . . . . . . . .
# These are two attributes that are part of the barry_graph object
attr(graph, "endpoints")
#> [1] 8
attr(graph, "netsize")
#> [1] 4
count_recip_errors(graph)
#> id name value
#> 1 0 Partially false recip (omission) (0) 1
#> 2 0 Partially false recip (comission) (0) 0
#> 3 0 Completely false recip (omission) (0) 0
#> 4 0 Completely false recip (comission) (0) 0
#> 5 0 Mixed reciprocity errors (0) 0
#> 6 0 (01) Accurate null (0) 3
#> 7 0 (02) Partial false positive (null) (0) 0
#> 8 0 (03) Complete false positive (null) (0) 0
#> 9 0 (04) Partial false negative (assym) (0) 0
#> 10 0 (05) Accurate assym (0) 2
#> 11 0 (06) Mixed assym (0) 0
#> 12 0 (07) Partial false positive (assym) (0) 0
#> 13 0 (08) Complete false negative (full) (0) 0
#> 14 0 (09) Partial false negative (full) (0) 1
#> 15 0 (10) Accurate full (0) 0
Please note that the imaginarycss project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.