| Welcome to swirl! Please sign in. If you've been here before, use the same | name as you did then. If you are new, call yourself something unique.
What shall I call you?
我很皮的输入papa /滑稽
| Thanks, papa. Let's cover a couple of quick housekeeping items before we | begin our first lesson. First of all, you should know that when you see | '...', that means you should press Enter when you are done reading and ready | tocontinue.
... <-- That's your cue to press Enter to continue
更具指引, 你將開始下一個課程, 然後選擇他:
開始學習!
#### 一大波文字說明即將到來, 2333
| | 0%
| The simplest and most common data structure in R is the vector.
...
|== | 3% | Vectors come in two different flavors: atomic vectors and lists. An atomic | vector contains exactly one data type, whereas a list may contain multiple | data types. We'll explore atomic vectors further before we get to lists.
...
|==== | 5% | In previous lessons, we dealt entirely with numeric vectors, which are one | type of atomic vector. Other types of atomic vectors include logical, | character, integer, and complex. In this lesson, we'll take a closer look at | logical and character vectors.
終於開始了,2333
| First, create a numeric vector num_vect that contains the values 0.5, 55, | -10, and 6.
輸入 0.5
[1] 0.5
| You almost had it, but not quite. Try again. Or, type info() for more | options.
| Recall that the c() functionis used for creating a vector. If you forget how | touse it, use ?c toaccess the help file. Don't forget to assign the result | to a newvariable called num_vect.