• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/8

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

8 Cards in this Set

  • Front
  • Back

?

Shows help on any known variable in R. If you haven't loaded a package that contains a variable, R will give you an error message.

??

Searches the R package database and online for a variable (in case you don't have it)

summary

summary is a generic function used to produce result summaries of the results of various model fitting functions. The function invokes particular methods which depend on the class of the first argument.


It gives Min, Max, 1st Q, Median...

str()

Compactly display the internal structure of an R object, a diagnostic function and an alternative to summary (and to some extent, dput). Ideally, only one line for each ‘basic’ structure is displayed. It is especially well suited to compactly display the (abbreviated) contents of (possibly nested) lists. The idea is to give reasonable output for any R object. It calls args for (non-primitive) function objects.

boxplot.<data>

Produce box-and-whisker plot(s) of the given (grouped) values.

install.packages

Download and install packages from CRAN-like repositories or from local files.

prop.test(x, y)

prop.test can be used for testing the null that the proportions (probabilities of success) in several groups are the same, or that they equal certain given values.


 


Great for determining significance of an event. Was the baseball season significantly better than the average? (prop.test(wins, games) will find out!)

x-squared test (pearson's)

Pearson's chi-squared test (χ2) is a statistical test applied to sets of categorical data to evaluate how likely it is that any observed difference between the sets arose by chance.