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;
15 Cards in this Set
- Front
- Back
str()
|
structure - This function shows the internal structure of any R object.
|
|
hist()
|
generates a simple histogram
|
|
<-
|
the standard assignment operator in R. "=" can also be used, but this is discouraged, as it does not work in some special situations.
|
|
when assigning values to a vector, what does the "c" mean?
|
concatenate.
|
|
mean()
|
finds the mean of a variable(s)
|
|
sd()
|
finds the standard deviation of a variable(s)
|
|
#
|
This is used to write comments.
|
|
data()
|
calls up a list of R's internal data sets.
|
|
q()
|
Quit R. You will be asked if you want to save the session.
|
|
length()
|
returs the length of a vector/character string
|
|
mode()
|
returns mode of a vector/character string ("numeric" or "character")
|
|
paste()
|
concatenates a character string
|
|
strsplit()
|
splits a character string according to blanks
|
|
rbind(c())
|
row bind function. builds a matrix from two vectors that will serve as its rows.
|
|
cbind(c())
|
column bind function. builds a matrix from two vectors that will serve as its columns.
|