-
Notifications
You must be signed in to change notification settings - Fork 21
Ideas for future koans
David A. Springate edited this page Jun 8, 2013
·
2 revisions
-
Coercion rules character > numeric > logical
-
Subsetting
- single brackets
- vectors
- matrices
- arrays
- dollars
- double brackets
- lists
- dataframes
- single brackets
-
Boolean operators
-
lists
- unlist
-
dataframes
- aggregate, tapply, by
-
paste and sprintf
-
sequences - seq, rep
-
flow control
- if, else
-
Functions
- writing functions
- ... operator
-
Functional programming
- everything is a function - DONE
- closures
- higher-order functions
- apply functions
- pure functions
- anonymous functions
-
Vectorisation
- builtin vectorised functions
- ifelse
- vectorised operations (a * 10)
- builtin vectorised functions
-
loops
- for
- while
- next, break
-
OOP
- s3
- s4
- ref classes
-
Expressions
-
Formulas
-
matrices
- matrix algebra
- arrays
- dim
- t
- cbind / rbind
-
sample
- linear models
- aov
- lm
- glm
- t-tests
- non-parametric hypothesis tests
- correlations
- random distributions
- rnorm
- pnorm
- dnorm
I encourcage you to contribute new Rkoans! Send me a pull request with a new or revised koan file. Look in the Ideas-for-future-koans here for lots of ideas for new koans to start, or things to add to existing koans.
Add your koan to R/koans.R and your answers to answers/koans.R, check that the tests pass using the koan_tester.R functions and I'll include them!
Feel free to contact me if you have any questions or want more information before you start contributing.