getting started on R things

This commit is contained in:
mjgaughan 2023-11-08 20:46:12 -06:00
parent 81020d5062
commit a108587eaa

View File

@ -15,7 +15,8 @@ rm(list=ls())
set.seed(424242) set.seed(424242)
# (1) - Get the pilot data and clean it # (1) - Get the pilot data and clean it
source('~/Research/tor_wikipedia_edits/handcoded_edits/inter_coder_reliability_ns0.R') #source('~/Research/tor_wikipedia_edits/handcoded_edits/inter_coder_reliability_ns0.R')
source ('/data/users/mgaughan/kkex_data_110823_3')
d$nd <- to_logical(d$not.damaging, custom_true=c("Y")) d$nd <- to_logical(d$not.damaging, custom_true=c("Y"))
levels(d$source) <- c("IP-based Editors", "New Editors", "Registered Editors", "Tor-based Editors") levels(d$source) <- c("IP-based Editors", "New Editors", "Registered Editors", "Tor-based Editors")