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;
7 Cards in this Set
- Front
- Back
What is a literal value? |
Any part of a statement or expression that is to be used exactly as it is meant to be interpreted. |
|
What are the 5 basic data types in R? |
Logical, Integer, Numeric, Character, and Complex. |
|
What are the two logical literals? |
TRUE and FALSE (T and F) |
|
What are the two types of numbers? |
Integers (Integer) and decimal/real (Numeric) numbers. |
|
How do you force R to consider numbers as integer literals (with out decimal part)? |
The number must be accompanied by a capital L. |
|
What is a character literal? |
Using words and characters as they are, without any interpretation from R. |
|
How are character literals represented? |
By wrapping them in double (") or single (') quotation marks. |