R programming Flashcards
Variables can be created using what assignment operator?
<- or =
True or False (Modified)
Variables are case-sensitive
True
True or False (Modified)
The data-type of the variables is determined by the type of character stored in the variable.
False. Type of data stored
What are the three major data types
character, numeric, and logical
It an object-oriented. A number or a result of an operation inside an object denoted by a variable.
Scalar
Set elements that usually of the same type or class
Vector
A unique identifier of the function
function-name
required input
arguments
It is a special type of vector that can contain objects of different classes.
List
It occurs when different objects are mixed in vector, so that every element in the vector is of the same class
coercion
vectors with a dimension attribute
matrices
True or False.
a matrix is constructed column-wise. entries can be thought of starting in the upper left corner running down the columns
true
Represent categorical ddata. It can be unordered or ordered.
factor
the nth element in a vector
x[n]
specific elements in a vector x in kth, nth, mth order
x[c(k,n,m)]