Lab quiz 1 Flashcards
Define a vector
A one dimensional array of the same mode, e.g. a set of numbers (1,2,3,)
Define a matrix
A two-dimensional array of the same mode, e.g. a grid of numbers
Define a list
A collection of vectors of differing modes and lengths
Define a data frame
A matrix with list capabilites, e.g. an excel sheet
What does the mode of an object indicate?
What kinds of elements it contains
Define an integer
Any positive or negative whole number
Define numerical data
Continuous, quantitative values, e.g. pi, -56.7, 3.33
Define a character
Data that consists of a string of letters e.g. Lauren
Define a factor
Discrete values with clear groups/levels, e.g. sheltered/exposed
Define logial elements
Binary data, usually true/false - presence or absence data
Define an operator
A symbol with a pre-defined purpose in base R
What is this operator: <-
Assignment operator
Define a function
A command built into R that carries out one or several pre-determined mathematical or statistical operations
What does CSV stand for?
Comma separated values