Editing Statistics and Statistical Programming (Winter 2017)/R lecture outline: Week 4
From CommunityData
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
sort.list() | |||
complete.cases() | |||
== Skipped for now == | |||
* | * ordered() — really just a type of factor for ordinal data | ||
** distribution functions: lets focus on *unif(): the key is on page 222 of Verzani | ** distribution functions: lets focus on *unif(): the key is on page 222 of Verzani | ||
*** The “d” functions return the p.d.f. of the distribution | *** The “d” functions return the p.d.f. of the distribution | ||
Line 21: | Line 15: | ||
*** The “r” functions return random samples from a distribution. | *** The “r” functions return random samples from a distribution. | ||
**** runif(n=1, min=0, max=3) # a random value in [0,3] | **** runif(n=1, min=0, max=3) # a random value in [0,3] | ||
* running quick simulations | * running quick simulations | ||
** | ** lets look at the relationship between mean and standard deviation on a 1 through 10 likert scale | ||