Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
notes:r_cheat_sheet [2014/10/05 03:26] smthng |
notes:r_cheat_sheet [2015/01/10 15:25] (current) smthng [File Handling] |
||
---|---|---|---|
Line 6: | Line 6: | ||
* '' | * '' | ||
+ | * '' | ||
+ | |||
* Expressions are evaluated and displayed e.g. 1, 1+1, "Hello World" | * Expressions are evaluated and displayed e.g. 1, 1+1, "Hello World" | ||
* Booleans are e.g. '' | * Booleans are e.g. '' | ||
* For variable assignment '' | * For variable assignment '' | ||
- | * For help on a function use '' | + | * For help on a function use '' |
* Operations are '' | * Operations are '' | ||
* '' | * '' | ||
- | |||
===== Vectors ===== | ===== Vectors ===== | ||
* To create a vector, use the combine command '' | * To create a vector, use the combine command '' | ||
Line 25: | Line 26: | ||
* '' | * '' | ||
* Scalar operations or functions on vectors typically produce other vectors e.g. + - == sin(myseq) | * Scalar operations or functions on vectors typically produce other vectors e.g. + - == sin(myseq) | ||
+ | * '' | ||
===== Plotting ===== | ===== Plotting ===== | ||
Line 36: | Line 38: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | * '' | ||
===== Matrices ===== | ===== Matrices ===== | ||
Line 52: | Line 54: | ||
* A data frame collects sets of related values (i.e. sets of columns with values in the same order) e.g. '' | * A data frame collects sets of related values (i.e. sets of columns with values in the same order) e.g. '' | ||
* To extract a column, use double-square brackets with the column index or name e.g. '' | * To extract a column, use double-square brackets with the column index or name e.g. '' | ||
+ | * '' | ||
===== Statistics ===== | ===== Statistics ===== | ||
* '' | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * | ||
===== File Handling ===== | ===== File Handling ===== | ||
Line 62: | Line 67: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' |