You can use this to test whether something on the left is less than or equal to something on the right.
<=
This pane shows the output of your R code.
Console
R treats this data type like numbers.
Numeric
This type of vector is neither radioactive nor very small, but it is coercive.
atomic vector
What would be printed in the output if you ran this code:
object <- c("goodbye", "see ya", "wouldn't wanna be ya")
object[2]
"see ya"
It's made out of sand and amber.
&
This pane will save your R code for later, but you can use it to run your code too.
Source
If you have more than one piece of text, you have a string. What data type is this?
Character
Using the c() function creates what kind of vector?
an atomic vector
You can index a ____ in three ways:
1. object[number]
2. object["name"]
3. object$name
list
Convert this logical sentence to R code that uses numeric data and logical operators: not 57
!57
This pane is where you can
Files
People say this data type is a real character at parties, but unlike a literal character, it has levels.
Factor
What data structure is like a list but with two dimensions?
a matrix
What does it mean to "subset" a dataframe?
Limit the dataframe to certain rows and/or columns
Convert this logical sentence to R code that uses character data and logical operators:
Cats or Squirrels are equivalent to Doggy Chew Toys.
"Cats" | "Squirrels" == "Doggie Chew Toys
If R objects were files, this pane would be your filing cabinet.
Environment
You can ask R if data is character data using this code: "_____.character()".
is
dataframe
What does the x and y stand for in this code?
object[x, y]
x is the row number, y is the column number or name
Sometimes people confuse this for "equivalent to" when it actually means something more like "assignment".
=
You can see the history of R functions you have run by looking in this pane.
Environment
5 is a factor when it should be numeric. How can you convert it to numeric in a way that prevents R from changing the number?
Convert 5 to a character first, then convert it to numeric.
Which type of vector shows you the chronological number of each entry by default (the output shows a number above each entry)?
list
How do you use subsetting to select more than one column column (but not all columns)?
object[, c("column.name.1", "column.name.2")