R Pack 1 Flashcards Preview

ECON3371 Econometrics > R Pack 1 > Flashcards

Flashcards in R Pack 1 Deck (3)
Loading flashcards...
1
Q

What does c() do?

A

It combines multiple elements into a vector.

2
Q

What does the colon ( : ) do in R?

A

It generates a sequence from the first argument to the second, it can be increasing or decreasing.

3
Q

How do you read csv’s in R?

A

One option is read.csv.

The format is read.csv(file=”filepath”,head=TRUE,sep=”,”)