Publications by Jay Liao
DataM: In-class Exercise 0413 - Trellis 1
DataM: In-class Exercise 0413 - Trellis 1 Render the R script for replicating figures in Chapter 4 of Lattice: Multivariate Data Visualization with R (Sarkar, D. 2008) to html document with comments at each code chunk indicated by '##'. Load in the package lattice Chunk 1 Chunk 2 Chunk 3 Chunk 4 Chunk 5 Chunk 6 Chunk 7 Chunk 8 Chunk 9 Chunk 10 C...
4179 sym R (2690 sym/24 pcs) 9 img
DataM: HW Exercise 0413
DataM: Homework Exercise 0413 2-5 HW exercise 2. HW exercise 3. HW exercise 4. HW exercise 5. Jay Liao 2020-04-19 HW exercise 2. Deaths per 100,000 from male suicides for 5 age groups and 15 countries are given in the table below. The data set is available as suicides2{HSAUR3}. Construct side-by-side box plots for the data from different age...
2982 sym R (8637 sym/23 pcs) 8 img
DataM: HW Exercise 0413 - 1
DataM: Homework Exercise 0413 - 1 The following R script illustrates how to split the plot region to include histograms on the margins of a scatter diagram using the Galton{HistData} data set. Compile it as a html document with comments on each code chunk. Load the package # Galton's data on the heights of parents and their children library(His...
365 sym R (1411 sym/3 pcs) 1 img
DataM: In-class Exercise 0413
DataM: Inclass Exercise 0413 In-class exercise 1. In-class exercise 2. In-class exercise 3. In-class exercise 4. In-class exercise 5. Jay Liao 2020-04-13 In-class exercise 1. Run the following R script to see what happens. Change the ‘df’ parameter to a slightly larger integer and do it again. What statistical concept does this script il...
1840 sym R (1915 sym/11 pcs) 71 img
DataM: HW Exercise 0330 6
DataM: HW Exercise 0330 6 Chunk 1 Chunk 2 Chunk 3 Chunk 4 Chunk 5 Chunk 6 Chunk 7 Chunk 8 Chunk 9 Chunk 10 Chunk 11 Chunk 12 Chunk 13 Chunk 14 Chunk 15 Chunk 16 Chunk 17 Chunk 18 Chunk 19 Chunk 20 Chunk 21 Chunk 22 Chunk 23 Chunk 24 Chunk 25 Chunk 26 Chunk 27 Jay Liao 2020-04-12 The HELP (Health Evaluation and Linkage to Primary Care) study ...
5049 sym R (6108 sym/51 pcs)
DataM: HW Exercise 0330 1-5
DataM: HW Exercise 0330 1-5 HW exercise 1. HW exercise 2. HW exercise 3. HW exercise 4. HW exercise 5. Jay Liao 2020-04-11 HW exercise 1. Select at random one school per county in the data set Caschool{Ecdat} and draw a scatter diagram of average math score mathscr against average reading score readscr for the sampled data set. Make sure you...
6415 sym R (6475 sym/56 pcs) 8 img
DataM: Inclass Exercise 0330 - 1, 2, 4, 5, 6
DataM: Inclass Exercise 0330 In-class exercise 1. In-class exercise 2. In-class exercise 4. In-class exercise 5. In-class exercise 6. Jay Liao 2020-04-04 library(dplyr) library(data.table) In-class exercise 1. Target output [Solution and Answer] Load in the dataset and check the structure. library(HSAUR3) Loading required package: tool...
5545 sym R (8134 sym/59 pcs) 7 img
DataM: Inclass Exercise 0330 - 3
DataM: Inclass Exercise 0330 - 3 Chunk 1 Chunk 2 Chunk 3 Chunk 4 Chunk 5 Chunk 6 Chunk 7 Chunk 8 Chunk 9 Chunk 10 Chunk 11 Chunk 12 Chunk 13 Chunk 14 Chunk 15 Chunk 16 Chunk 17 Chunk 18 Chunk 19 Chunk 20 Chunk 21 Chunk 22 Chunk 23 Chunk 24 Chunk 25 Chunk 26 Jay Liao 2020-04-04 The data set concerns species and weight of animals caught in plo...
5140 sym R (4475 sym/32 pcs)
DataM: HW Exercise 0323
DataM: HW Exercise 0323 HW exercise 1. HW exercise 2. HW exercise 3. HW exercise 4. HW exercise 5. Jay Liao 2020-04-04 HW exercise 1. Here is a copy of the student roster in csv format from NCKU for a course I taught. Dispaly the number of students from each major. student_roster <- read.table('../data/student_roster.txt', header = TRUE, sep...
3444 sym R (6248 sym/42 pcs) 10 img
DataM: Inclass Exercise 0323 (updated)
DataM: Inclass Exercise 0323 In-class exercise 1. In-class exercise 2. In-class exercise 3. In-class exercise 4. In-class exercise 5. Jay Liao 2020-04-04 In-class exercise 1. The following student ID file is missing an ID U76067010 at the third to the last position. Find a way to fix it? Dowload and display the data contents in R. [Solution ...
2288 sym R (1991 sym/17 pcs) 3 img