วันพฤหัสบดีที่ 4 ธันวาคม พ.ศ. 2557

CODE 1 : How to plot graph

Beginning about program R
How to plot graph in program R



First, you can select data of interested. 
in example, select "mtcars".


When you choose a topic, then The program will display information about a topic


When program show data , I will find standard deviation of data and average of data.


Program will processing and show the value


plot(mtcars$mpg,mtcars$hp) is graph that show about horsepower of car and miles per gallon of car.


A command will transform plot(mtcars$mpg,mtcars$hp) become graph.


A command summary(car_model) is explain about data in graph




ไม่มีความคิดเห็น:

แสดงความคิดเห็น