Publications by Hao-Lun Fu

Week 2 in-class exercise 3

09.03.2020

Introduction Download and input the Gapminder data set. dta <- read.csv("https://4va.github.io/biodatasci/data/gapminder.csv") library(knitr) kable(head(dta)) country continent year lifeExp pop gdpPercap Afghanistan Asia 1952 28.801 8425333 779.4453 Afghanistan Asia 1957 30.332 9240934 820.8530 Afghanistan Asia 1962 31.997 10267083 853.1007 ...

311 sym R (1575 sym/6 pcs) 1 img 1 tbl

Week 2 in-class exercise 5

09.03.2020

天氣預報 【陰天有短暫雨,氣溫偏低,沿海空曠地區可能有強陣風。】 【更新時間:03/05 05:18】 昨天(4日)臺北市最低溫發生在半夜,低溫17.3度,中午高溫26.9度。 今天(5日)大陸冷氣團影響及華南雲雨區東移,臺北地區為陰天且有短暫雨, 清晨低溫約 17度, 高溫�...

251 sym 1 img 1 tbl

CV

09.03.2020

EDUCATION 學歷 國立成功大學, 心理學系學士 2016-2020 JOURNAL ARTICLES 期刊發表 SELECTED CONFERENCE PRESENTATIONS 會議發表 AWARDS & HONORS 獲獎經歷 SELECTED EXTRACURRICULAR 課外活動 ...

165 sym

Week 2 homework exercise 1

09.03.2020

The chickwts example Hao-Lun Fu 3/4/2020 R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that includes both content as well as the out...

1000 sym R (742 sym/6 pcs) 1 img

Week 2 in-class exercise 4

09.03.2020

<!DOCTYPE html> GPA and GRE GPA and GRE Doughnut Dump 02 三月, 2018 An education researcher is interested in how variables, such as GRE (Graduate Record Exam scores), GPA (grade point average) and prestige of the undergraduate institution (Rank), influence admission into graduate school (Admit). Read data dta <- read.csv("https://stats.i...

449 sym R (352 sym/4 pcs) 1 img

Week 3 in-class exercise 6

16.03.2020

Menarche Hao-Lun Fu 2020-03-16 Load dataset dat <- MASS::menarche str(dat) ## 'data.frame': 25 obs. of 3 variables: ## $ Age : num 9.21 10.21 10.58 10.83 11.08 ... ## $ Total : num 376 200 93 120 90 88 105 111 100 93 ... ## $ Menarche: num 0 0 0 2 2 5 10 17 16 29 ... Age: Average age of the group. (The groups are reasonably age ...

225 sym R (238 sym/2 pcs)

Week4 Homework

24.03.2020

Week 4 Homework Hao-Lun Fu 2020-03-24 Exercise 1: NCKU Student Load data file dta <- read.csv("/Users/haolunfu/Documents/資料管理/week4/ncku_roster.csv", header = T, fileEncoding = "big-5") head(dta) ## 座號 系.年.班 ## 1 教師:U3023 許清芳 ...

1403 sym R (8973 sym/38 pcs) 3 img

Week 5 In-class exercise

13.04.2020

Week5 In-class exercise Hao-Lun Fu 2020-04-13 Exercise 1: Summarize the backpain data load data file library(HSAUR3) ## Loading required package: tools dta <- HSAUR3::backpain head(dta) ## ID status driver suburban ## 1 1 case yes yes ## 2 1 control yes no ## 3 2 case yes yes ## 4 2 control yes yes ...

943 sym R (7677 sym/39 pcs) 1 img

Week 6 Homework (R base)

19.04.2020

Week 6 Homework (R base) Hao-Lun Fu 2020-04-20 Homework 1: Split the plot region to include histograms on the margins of a scatter diagram using the Galton{HistData} data set. ## Load file library(HistData) dta <- HistData::Galton Create a 2*2 matrix and use layout function to set the widths and heights. zones <- matrix(c(2, 0, 1, 3), ncol=2, ...

1509 sym R (7491 sym/34 pcs) 7 img

Week 7 In-class exercise (Grammer)

27.04.2020

Week 7 In-class exercise (Grammer) Hao-Lun Fu 2020-04-27 In-Class Exercise 1: Mutiple Plot Method Plot a scatter plot of the women data using R base. plot(women, type='n') points(women[1,]) Plot a scatter plot of the women data using lattice. lattice::xyplot(weight ~ height, data=women, subset=row.names(women)=...

1897 sym R (9809 sym/48 pcs) 13 img