Publications by adityakhanna

Document

13.12.2023

rm(list=ls()) # Load libraries ------------ library(data.table) library(here) ## here() starts at /users/akhann16/code/cadre/data-analysis-plotting/Simulated-Data-Analysis/r library(DiagrammeR) library(yaml) library(igraph) ## ## Attaching package: 'igraph' ## The following object is masked from 'package:DiagrammeR': ## ## count_automorphis...

17 sym R (1570 sym/14 pcs)

Publish Document

13.12.2023

rm(list=ls()) library(data.table) library(here) library(DiagrammeR) library(yaml) library(igraph) library(ggraph) library(ggplot2) network_log_env <- readRDS(here("network-log-analysis", "rds-outs", "network_log_env.RDS")) network_dt <- network_log_env[["network_dt"]] input_params <- network_log_env[["input_params"]] agent_dt <- network_log_env[["...

18806 sym R (13961 sym/40 pcs) 4 img

Publish Document

13.12.2023

rm(list=ls()) library(data.table) library(here) library(DiagrammeR) library(yaml) library(igraph) library(ggraph) library(ggplot2) network_log_env <- readRDS(here("network-log-analysis", "rds-outs", "network_log_env.RDS")) network_dt <- network_log_env[["network_dt"]] input_params <- network_log_env[["input_params"]] agent_dt <- network_log_env[["...

18806 sym R (13870 sym/40 pcs) 4 img

Publish Document

11.12.2023

# Analyze incarceration data (This is from the agent log, there is a separate incarceartion log) rm(list=ls()) # Load R environment --------- renv::activate() # Load packages --------- library(here) ## here() starts at /users/akhann16/code/cadre/data-analysis-plotting/Simulated-Data-Analysis/r/agent-log-analysis library(data.table) library(yaml...

39 sym R (14216 sym/30 pcs) 6 img

Publish Document

11.12.2023

# Analyze incarceration data (This is from the agent log, there is a separate incarceartion log) rm(list=ls()) # Load R environment --------- renv::activate() # Load packages --------- library(here) ## here() starts at /users/akhann16/code/cadre/data-analysis-plotting/Simulated-Data-Analysis/r library(data.table) library(yaml) library(ggplot2)...

91 sym R (30531 sym/88 pcs)

Document

11.12.2023

# Analyze incarceration data rm(list=ls()) # Load R environment --------- renv::activate() # Load packages --------- library(here) ## here() starts at /users/akhann16/code/cadre/data-analysis-plotting/Simulated-Data-Analysis/r library(data.table) library(yaml) library(ggplot2) library(DiagrammeR) # Read RDS file ------------ network_log_env ...

21 sym R (7992 sym/17 pcs)

Document

11.12.2023

rm(list=ls()) library(data.table) Registered S3 method overwritten by 'data.table': method from print.data.table data.table 1.14.6 using 1 threads (see ?getDTthreads). Latest news: r-datatable.com Attaching package: ‘data.table’ The following object is masked _by_ ‘.GlobalEnv’: .N library(here) here() starts at /u...

17617 sym R (13893 sym/40 pcs) 4 img

Publish Document

11.12.2023

# Analyze incarceration data rm(list=ls()) renv::activate() # Load packages --------- library(here) ## here() starts at /users/akhann16/code/cadre/data-analysis-plotting/Simulated-Data-Analysis/r/agent-log-analysis library(data.table) library(yaml) library(ggplot2) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are ma...

34 sym R (11316 sym/29 pcs) 2 img

Publish Document

11.12.2023

# Analyze incarceration data # Load R environment --------- renv::activate() # Load packages --------- library(here) ## here() starts at /users/akhann16/code/cadre/data-analysis-plotting/Simulated-Data-Analysis/r/agent-log-analysis library(data.table) library(yaml) library(ggplot2) # Utility functions ------------ #source(here("agent-analysis"...

13 sym R (5640 sym/9 pcs) 1 img

Document

11.12.2023

# Analyze simulated demographic data rm(list=ls()) # Load R environment --------- renv::activate() # Load packages --------- library(here) ## here() starts at /users/akhann16/code/cadre/data-analysis-plotting/Simulated-Data-Analysis/r/agent-log-analysis library(data.table) library(yaml) library(ggplot2) # Read RDS file ------------ agent_lo...

41 sym R (14397 sym/34 pcs) 4 img