Publications by adityakhanna

Document

12.07.2024

x <- rnorm(1000, 0, 1) y <- rnorm(1000, 0, 1) plot(x, y)...

5 sym 1 img

Publish Document

15.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[["...

19388 sym R (14676 sym/46 pcs) 4 img

Document

15.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...

15 sym R (5564 sym/11 pcs) 1 img

Document

15.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...

15 sym R (4692 sym/11 pcs) 1 img

Publish Document

15.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 (14480 sym/34 pcs) 4 img

Publish Document

15.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 (14464 sym/30 pcs) 6 img

Publish Document

15.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 (11365 sym/29 pcs) 2 img

Publish Document

15.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 (5686 sym/9 pcs) 1 img

Publish Document

15.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 (30566 sym/88 pcs)

Publish Document

15.12.2023

rm(list=ls()) library(data.table) library(here) library(DiagrammeR) library(yaml) library(igraph) library(ggraph) library(ggplot2) here::here("~/code/cadre/data-analysis-plotting/Simulated-Data-Analysis/r") [1] "~/code/cadre/data-analysis-plotting/Simulated-Data-Analysis/r" input_params <- read_yaml("../../../python/myparams/model_params.yaml") #in...

17754 sym R (12897 sym/29 pcs) 4 img