forked from socalrug/presentations
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlesson.yaml
More file actions
35 lines (28 loc) · 1.05 KB
/
Copy pathlesson.yaml
File metadata and controls
35 lines (28 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
- Class: meta
Course: Statistics
Lesson: Scatterplots
Author: your name goes here
Type: Standard
Organization: your organization's name goes here
Version: 2.4.2
- Class: text
Output: Welcome to scatterplots!
- Class: text
Output: The function for creating a scatterplot is "plot".
- Class: cmd_question
Output: Create a scatterplot of x vs y.
CorrectAnswer: plot(x,y)
AnswerTests: omnitest(correctExpr='plot(x,y)')
Hint: Try plot(x,y).
- Class: text
Output: A title can be added to a scatterplot by using the "title" function.
- Class: mult_question
Output: Which of the following commands would add a title to the scatterplot?
AnswerChoices: plot(x,y,title="scatterplot");plot(x,y,title=scatterplot);plot(x,y,scatterplot);plot(x,y,"scatterplot")
CorrectAnswer: plot(x,y,title="scatterplot")
AnswerTests: omnitest(correctVal='plot(x,y,title="scatterplot")')
Hint: The one with title = "scatterplot"
- Class: figure
Output: A trend line can be added to a scatterplot using the "abline" function.
Figure: line.R
FigureType: new