원클릭으로
tsna
R tsna package for temporal network analysis. Use for analyzing temporal paths and metrics in dynamic networks.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
R tsna package for temporal network analysis. Use for analyzing temporal paths and metrics in dynamic networks.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
R language data analysis and visualization skill. Use when user asks to (1) run R scripts or code, (2) install/update R packages, (3) perform data analysis with R, (4) create visualizations with ggplot2/plotly, (5) statistical analysis, (6) data manipulation with tidyverse/dplyr/data.table. Triggers on keywords like "R语言", "R脚本", "ggplot", "tidyverse", "数据分析", "可视化".
R DALEX package for model explanations. Use for explaining complex machine learning models.
R iml package for interpretable ML. Use for model-agnostic interpretability methods.
R lime package for local explanations. Use for explaining individual predictions with local interpretable models.
R packages for ML interpretability. Use for explaining and interpreting machine learning models.
R vip package for variable importance. Use for computing and visualizing variable importance scores.
| name | tsna |
| description | R tsna package for temporal network analysis. Use for analyzing temporal paths and metrics in dynamic networks. |
Tools for temporal social network analysis.
library(tsna)
# Forward reachable set
tPath(dnet, v = 1, direction = "fwd",
start = 0, end = 10)
# Backward reachable set
tPath(dnet, v = 1, direction = "bkwd",
start = 0, end = 10)
# Geodesic distance
tPath(dnet, v = 1, type = "geodesic")
# Forward reachability
reach_fwd <- tReach(dnet, direction = "fwd")
# Backward reachability
reach_bkwd <- tReach(dnet, direction = "bkwd")
# Reachability matrix
tReach(dnet, graph = TRUE)
# Temporal degree
tDegree(dnet)
# At specific time
tDegree(dnet, at = 5)
# Over interval
tDegree(dnet, start = 0, end = 10)
# Apply SNA function over time
tSnaStats(dnet, snafun = "betweenness")
tSnaStats(dnet, snafun = "closeness")
tSnaStats(dnet, snafun = "degree")
# Custom function
tSnaStats(dnet, snafun = function(x) {
mean(degree(x))
})
# Edge durations
edgeDuration(dnet)
# Mean duration
mean(edgeDuration(dnet))
# Vertex activity duration
vertexDuration(dnet)
# Infection/transmission tree
tree <- tPath(dnet, v = 1, direction = "fwd",
type = "earliest.arrive")
# Plot tree
plot(tree)
# Correlation between time slices
tCorrelate(dnet, lag = 1)
# Aggregate over time windows
tErgmStats(dnet,
formula = ~ edges + mutual,
start = 0, end = 10,
time.interval = 1)