-
Notifications
You must be signed in to change notification settings - Fork 0
/
.Rhistory
39 lines (39 loc) · 1.61 KB
/
.Rhistory
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
36
37
38
39
subject <-c('computer programming', 'math', 'statistics', 'machine learning','domain expertise', 'communications', 'presentation skills', 'data visualization')
> rank <-c(2,4,4,2,4,4,4,4)
> johnny <-data.frame (subject,rank)
> johnny
subject rank
1 computer programming 2
2 math 4
3 statistics 4
4 machine learning 2
5 domain expertise 4
6 communications 4
7 presentation skills 4
8 data visualization 4
> library(ggplot2)
> ggplot (johnny, aes(x=subject, y=rank))+ geom_bar(stat="identity")
subject <-c('computer programming', 'math', 'statistics', 'machine learning','domain expertise', 'communications', 'presentation skills', 'data visualization')
> rank <-c(2,4,4,2,4,4,4,4)
> johnny <-data.frame (subject,rank)
> johnny
subject rank
1 computer programming 2
2 math 4
3 statistics 4
4 machine learning 2
5 domain expertise 4
6 communications 4
7 presentation skills 4
8 data visualization 4
> library(ggplot2)
> ggplot (johnny, aes(x=subject, y=rank))+ geom_bar(stat="identity")
subject <-c('computer programming', 'math', 'statistics', 'machine learning','domain expertise', 'communications', 'presentation skills', 'data visualization')
rank <-c(2,4,4,2,4,4,4,4)
johnny <-data.frame (subject,rank)
subject <-c('computer programming', 'math', 'statistics', 'machine learning','domain expertise', 'communications', 'presentation skills', 'data visualization')
rank <-c(2,4,4,2,4,4,4,4)
johnny <-data.frame (subject,rank)
johnny
library(ggplot2)
ggplot (johnny, aes(x=subject, y=rank))+ geom_bar(stat="identity")