Above is a bar chart of the number of player ones who pick each option.
Above is the console from my code to find the mean, median, variance, and standard deviation for choices in the Donation game. The bar graph for Donation looks very similar to the bar graph for Trust. The format of the dollar sign makes R look at just the specified column. na.rm = TRUE means that only non null values will be considered. If there are any null values, these commands would all give "NA" as an output.
Comments
Post a Comment