quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

Rのチュートリアル swirl

swirl - Students

RStudioとか使ってインタラクティブにRを学べる

swirldev/swirl_courses · GitHub

> install.packages("swirl")
> library("swirl")
> swirl()
| When you are at the R prompt (>):
| -- Typing skip() allows you to skip the current question.
| -- Typing play() lets you experiment with R on your own; swirl will ignore what you do...
| -- UNTIL you type nxt() which will regain swirl's attention.
| -- Typing bye() causes swirl to exit. Your progress will be saved.
| -- Typing main() returns you to swirl's main menu.
| -- Typing info() displays these options again.
  • 1: R Programming
    • 1: Basic Building Blocks
    • 2: Sequences of Numbers
  • Vector同士の演算は長さが少ない方がrepeatされて、各要素対応して計算される
    • c(1,2,3,4) + c(0,10,100)

  • sqrt()
  • オペレーターのhelpを見る
    • ?`:`
      • seq() と同等
  • seq_along()
  • rep()
  • RStudio

The Johns Hopkins Data Science Specialization on Coursera | Simply Statistics