Skip to content

Instantly share code, notes, and snippets.

@Protonk
Forked from Ironholds/agh
Created March 1, 2013 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Protonk/5064862 to your computer and use it in GitHub Desktop.
Save Protonk/5064862 to your computer and use it in GitHub Desktop.
entropy.df <- subset(
tickets.df[
1:nrow(
tickets.df
)
%in% which(
outer(
subset(
tickets.df,
period == "hadean"
)$user,
subset(
tickets.df,
period == "prehadean"
)$user,
"=="
),
arr.ind=TRUE
),
], period == "hadean"
)
#Ookay, this isn't working. It should be pulling out all tickets with period "hadean" with a userID matching a userID from the tickets with period "prehadean". It returns a null. I can /see/ userIDs present in both. The fuck?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment