Created
October 3, 2013 05:40
-
-
Save bradurani/6805499 to your computer and use it in GitHub Desktop.
RSummaryStatistics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#given timeframe | |
mean(timeframe$colname) | |
sd(timeframe$colname) | |
describe(timeframe) #table of common summary stats | |
#filtering | |
describeBy(impact, impact$condition) #split into separate table based on condition | |
control <- subset(impact, impact[, 2]=="control") #new timeframe filtered by col 2 == "control" | |
concussed <- subset(impact, impact[, 2]=="concussed") #new timeframe filtered by col 2 == "concussed" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment