Skip to content

Instantly share code, notes, and snippets.

@Ironholds
Created March 1, 2013 13:46
Show Gist options
  • Save Ironholds/5064758 to your computer and use it in GitHub Desktop.
Save Ironholds/5064758 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?
@Ironholds
Copy link
Author

Clever. Is 'I have a moral aversion to creating objectnames' a useful explanation to the implicit 'why is the gist written like lisp, you jerkhole' question?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment