R Tricks Library for Windows -- A Package Containing Some Functions
and Examples
You can download and install this package instead of
copying and pasting the R Tricks programs.
Installation Instructions (Do this one time only):
- Download R Tricks Package
Here (It doesn't matter where you copy the file to,
but
remember where
and remember the name of the file.)
- Start an R Session.
- Choose the Packages Menu.
- Choose "Install from Local Zip File" and Browse to find the
folder containing RTricks_***.zip. Highlight this file and press
the "Open" button. The package should now be installed.
Loading Instructions (Do this every time you start a new R session).
Mac users should go here for
instructions.
List of Functions Contained in the RTricks Package
checkerboard: Random Patterns on a Checkerboard?
coinflip: Simulate One (or more) Flips of a Coin
dice: Simulate One Roll of a Pair of Dice
fire.growth: A Simple Fire Growth Simulator
guessgame: Guessing Game
pictogram: Pictogram Plot
plot.list: Plotting Function for a List of
Ordered Pairs
star: Plot of a Star
stickperson: Plot of a Stickperson
triangle: Plot of a Triangle
rectangles: Rectangle Patterns
spinner: Simulate Spin(s) on a Spinner
Do you need help with RTricks functions?
- You can find help on any of the above functions with the
help command. For example, type
help(spinner)
for help with the spinner function.
- You can see run some prepared examples, using the
example command. For example, type
example(pictogram)
- If you only want to see what the possible arguments for
a function are, then use the args function. For example,
args(rectangle)