Level 2
Level 1

Intro - Miscellaneous


28 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
1 + 2.5
sum one and two and a half
V <- 1
assign 1 to object V
V <- 1 - 2.5
assign one minus two and a half to object V
V <- c(1, 2, 3)
assign to V a vector with values 1, 2 and 3
q()
quit R
M[, 2]
column 2 of matrix M
M[, 2:5]
columns 2–5 of matrix M
M["rowname", "colname"]
access matrix or data frame M by rowname and colname
L$A
access object A in list L
Df$var1
access variable var1 in data frame Df
afun(par1=a, par2=b)
call to a function "afun" with parameters "par1" set to a and parameter "par2" set to b
str(Object)
compactly display the internal structure of an R Object
history()
view past commands you’ve issued
library(MASS)
load a package (e.g. MASS); a package add functions and data to the environment
require(MASS)
load a package (e.g. MASS), if not already loaded
NA
a missing data
is.na(M)
true if M (a vector, matrix or data frame) has missing data
NaN
not a number
is.nan(M)
true if M (a vector, matrix or data frame) has not a number data
Inf
infinity
is.infinite(M)
true if M (a vector, matrix or data frame) has infinite data
#
comment a line or part of it
.1X
an invalid object name
data()
available data sets
data(solder, package="rpart")
load data set solder in package rpart
demo()
available demos
demo(graphics)
run graphics demo
options()
view/set global options, e.g. number of digits to print and much more