Publications by Wing Siang Chang (s3918329)
Assessment 2 by Wing Siang CHANG
Click the Original, Code and Reconstruction tabs to read about the issues and how they were fixed. Original Figure 1 shows the original graph from a Bloomberg news article published on 22 July 2021 by Rita Nazareth and Claire Ballentine. In the graph, the title says: “S&P 500 regains record relative to non-U.S. stock index after five-month slu...
5780 sym R (1476 sym/8 pcs) 5 img
Testing
Click the Original, Code and Reconstruction tabs to read about the issues and how they were fixed. Original Figure 1 shows the original graph from a Bloomberg news article published on 22 July 2021 by Rita Nazareth and Claire Ballentine. In the graph, the title says: “S&P 500 regains record relative to non-U.S. stock index after five-month slu...
5780 sym R (1505 sym/8 pcs) 5 img
AAA1dplyrv2
1.1 Print out the dimensions of the data frame. ## [1] 56000 4 1.2 Print out the names and type of each of the data frame’s columns. ## Rows: 56,000 ## Columns: 4 ## $ region <chr> "SSC20005", "SSC20005", "SSC20005", "SSC20005", "SSC20005",~ ## $ age <dbl> 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,~ ## $ gen...
7108 sym R (1060 sym/14 pcs) 10 img
AAA1dplyrv1
1.1 Print out the dimensions of the data frame. ## [1] 56000 4 1.2 Print out the names and type of each of the data frame’s columns. ## Rows: 56,000 ## Columns: 4 ## $ region <chr> "SSC20005", "SSC20005", "SSC20005", "SSC20005", "SSC20005",~ ## $ age <dbl> 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,~ ## $ gen...
6885 sym R (1060 sym/14 pcs) 10 img
AAA126122Code3
Codes library(data.table) library(dplyr) library(ggplot2) library(Hmisc) library(lattice) library(latticeExtra) library(magrittr) library(openxlsx) library(readxl) library(stringr) library(tidyr) library(tidyverse) #Question 1 A1a <- read_excel("pop_dataset.xlsx", sheet = 1) A1 <- A1a[order(A1a$region), ] #sort original regions in...
38 sym R (16217 sym/25 pcs)
AAA1 26122v3
1.1 Print out the dimensions of the data frame. ## [1] 56000 4 1.2 Print out the names and type of each of the data frame’s columns. ## tibble [56,000 x 4] (S3: tbl_df/tbl/data.frame) ## $ region : chr [1:56000] "SSC20005" "SSC20005" "SSC20005" "SSC20005" ... ## $ age : num [1:56000] 0 0 1 1 2 2 3 3 4 4 ... ## $ gender : ...
6479 sym R (1281 sym/22 pcs) 10 img
AAA1 25122
write(‘PATH=“\({RTOOLS40_HOME}\\usr\\bin;\){PATH}”’, file = “~/.Renviron”, append = TRUE) ## install.packages(“jsonlite”, type = “source”) title: “Assessment 1 17122” output: html_document — library(ggplot2) library(dplyr) library(magrittr) library(data.table) library(readxl) # Load the readxl package library(tidyr...
1310 sym R (61917 sym/80 pcs) 13 img
A3Draft12-10-21
Required packages library (readxl) ## Warning: package 'readxl' was built under R version 4.1.1 library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union Data # CPI a...
945 sym R (20083 sym/161 pcs) 6 img
A3Draft11-10-21
Required packages library (readxl) ## Warning: package 'readxl' was built under R version 4.1.1 library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union Data # CPI a...
945 sym R (19970 sym/161 pcs) 6 img