Browse Source

new code example from SA

master
William Davis 1 year ago
parent
commit
d30ac7d173
  1. 6
      cases.csv
  2. 6
      new

6
cases.csv

@ -45,3 +45,9 @@ day,cases,deaths
59,17303,937
60,18027,975
61,18743,1002
62,19335,1021
63,19914,1038
64,20474,1056
65,20969,1135
66,21576,1225
67,22131,1271

1 day cases deaths
45 59 17303 937
46 60 18027 975
47 61 18743 1002
48 62 19335 1021
49 63 19914 1038
50 64 20474 1056
51 65 20969 1135
52 66 21576 1225
53 67 22131 1271

6
new

@ -0,0 +1,6 @@
ggplot(nba, aes(x= MIN, y= PTS, colour="green", label=Name))+
geom_point() +geom_text(aes(label=Name),hjust=0, vjust=0)
ggplot(nba, aes(x= MIN, y= PTS, colour="green", label=Name))+
geom_point() +
geom_text(aes(label=ifelse(PTS>24,as.character(Name),'')),hjust=0,vjust=0)
Loading…
Cancel
Save