1. Learning Journal Reflective Comments:
R installation and testing:
I do it at Friday night, occurring problem in reading .csv. I need to use setwd to set the pathway of .csv. I also found that multiple window interface is more useful.
Reading book and doing exercise:
Sat. I read slowly from section 1.1 – 1.5 in order to grasp the difference between population, statistic, parameter and sample. Remaining are practical part, teaching us how to install and use R, I am ok with that.
Learning journal:
I write my first draft at Sat. and my second draft at Monday night.
Discussion:
Sat. This only reflect if we can successfully install and use basic function of R. I see no significant problem among classmate including me.
Self-quiz:
Sun. It is the first time I can use program during quiz. I wondered if we need to use R in exam.
…show more content…
Vocabulary and R functions
Vocab part:
http://127.0.0.1:12029/library/base/html/table.html
Note: It is no good that I need to type ?table in order to start up httpd help server, in order to show help, but I cannot load the help directly using the link above.
Note 2: I really do not know what the help (function: table) is writing about. There is not any example to show. I only know table(c(1,2,3,4,5,…)) and it will show the frequency of number occurrence.
R function testing part:
Code:
x <- c(5, 8, 4, 1, 5, 6, 5, 9, 4, 2, 5, 7, 5, 3, 6, 4, 5, 3, 7, 6)
table(x)
Output from R: x 1 2 3 4 5 6 7 8 9
1 1 2 3 6 3 2 1 1
1st row: any value(s)that appeared inside c(n,p,q,r,s,t,…)
2nd row: frequency of occurrence of