Functions: Plotting Flashcards

1
Q

plot()

A

Create scatterplot
plot(x = pirates$height, y = pirates$weight)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

grid()

A

add gridlines to a plot

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

linear regression model

A

model <- lm(formula = weight ~ height, data = pirates)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly