Presentation is loading. Please wait.

Presentation is loading. Please wait.

More points Multiple figures par(mfcol=c(3,2) par (mfrow)=c(3,2)

Similar presentations


Presentation on theme: "More points Multiple figures par(mfcol=c(3,2) par (mfrow)=c(3,2)"— Presentation transcript:

1 More points Multiple figures par(mfcol=c(3,2) par (mfrow)=c(3,2)

2 Practice –R graph Data ChickWeight plot the data into 2*2 matrix Each graph x-label, y-label, title, legend Each has different color, type (point, line) ** try to display different styles as more as possible. ***shown your own style, save as jpg file Orange plot age ~circumference by tree into one image. (title), save as pdf file

3 Practice –R graph Generate a normal distribution, sample size=100 y<-rnorm(100) qqnorm(y, main=“Normal random variable”) qqline(y, col=“”, lwd=) Generate a non normal distribution, sample size=100 y<-rnorm(100)^2 qqnorm(y, main=“Non normal random variable”) qqline(y, col=“”, lwd=) Put them into one png image

4 Contents ( group work ) 1.R basics 2.R graph (Group8) 3.Descriptive statistics and data displaying (Group3) 4.T-test, ANOVA (Group 7) 5.Practice outside of class 6.Linear regression& correlation (Group4) 7.Chi-squared test (Group 6) 8.Logistic regression (Group1) 9.Survival analysis (Group 9) 10.Non-parameter tests (Group2)


Download ppt "More points Multiple figures par(mfcol=c(3,2) par (mfrow)=c(3,2)"

Similar presentations


Ads by Google