Skip to content

Instantly share code, notes, and snippets.

@alstat
Last active August 29, 2015 14:12
# Simple fair-share
which((pc$sdev ^ 2) > (sum(pc$sdev ^ 2)) / length(pc$sdev))
# OUTPUT
Comp.1 Comp.2
1 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment