Publications by Hanh
Publish Document
Part 1: Introducing tidyverse package tidyverse is the super package that provide us tool to work with data of various format. This super package contains supplemental packages such as tidyr, ggplot2, forcat, and so on. Whenever we need to explore more functions built in the tidyverse, we can refer to th documentation on their website or using the ...
5493 sym R (186459 sym/167 pcs) 21 img 4 tbl
Final Project: The Penguin
Part 1: Introducing tidyverse package tidyverse is the super package that provide us tool to work with data of various format. This super package contains supplemental packages such as tidyr, ggplot2, forcat, and so on. Whenever we need to explore more functions built in the tidyverse, we can refer to th documentation on their website or using the ...
2879 sym R (92527 sym/64 pcs) 2 tbl
Penguin Data Set
Part 1: Introducing tidyverse package tidyverse is the super package that provide us tool to work with data of various format. This super package contains suplemental packages such as tidyr, ggplot2, forcat, and so on. Whenever we need to explore more functions built in the tidyverse, we can refer to th documentation on their website or using the h...
2834 sym R (91990 sym/62 pcs) 2 tbl
Publish Document
Part 1: The tidyverse package. library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.0 ✔ readr 2.1.4 ## ✔ forcats 1.0.0 ✔ stringr 1.5.0 ## ✔ ggplot2 3.4.1 ✔ tibble 3.1.8 ## ✔ lubridate 1....
2377 sym R (9011 sym/36 pcs) 9 img
Document
Part 1: The tidyverse package. library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.0 ✔ readr 2.1.4 ## ✔ forcats 1.0.0 ✔ stringr 1.5.0 ## ✔ ggplot2 3.4.1 ✔ tibble 3.1.8 ## ✔ lubridate 1....
1066 sym R (38111 sym/52 pcs)
Document
Bar Plot - usually used for quaLitative variable - to make comparison. barplot( frequency-table , main = "title" , ylab = "y-axis-label", xlab = "x-axis-label", col = "" , border = " " , space = #space-btween-bars , ylim = c( start# , stop# )) gender - f , f, m, f, m, f, m, ...
824 sym 6 img
Document
Data Frame Data Frame = table stored data of multiple vectors/variables. data.frame() - combine multiple vectors/variables. data.frame ( vector1, vector2, vector3, ... ) General Rules All cells should have values. All vectors should not have blank space. When having missing value, use symbols/numbers/NA to represent missing values. All column/...
1532 sym
R Lab 2: Vector and Factor
Reviewing # a random vector containing 1, 3, 4, 6, 9 random <- c(1, 3, 4, 6, 9) random ## [1] 1 3 4 6 9 Insert new value to the random vector: 2 and 10 # R can overwrite random <- c(random, 2, 10) random ## [1] 1 3 4 6 9 2 10 R OVERWRITES!!!!!! SOME FUNCTIONS length() - check for the number of components within a variable. # check for the n...
1544 sym Python (3127 sym/56 pcs)
R Markdown: Vector and Factor
This line is using 1 hashtag. This line is using 2 hashtags. This line is using 3 hashtags. This line is using 4 hashtags. This line is BOLDED using double stars around it (without spaces). This line is ITALIC using single star around it (without spaces). # basic maths 2 + 3 ## [1] 5 2 * 3 - 5 ## [1] 1 # generate vector weekdays weekdays <- c...
1238 sym Python (2946 sym/38 pcs)
Document
This line uses 1 hashtag. This line uses 2 hashtags. This lines uses 3 hashtags. This lines uses 4 hashtags. This line is BOLDED using double stars without space. This line is ITALIC using single star without space. # basic math 2 + 3 ## [1] 5 8 * 5 ## [1] 40 ...
231 sym