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 output of any embedded R code chunks within the document. You can embed an R code chunk like this:

data_tb <- data.frame(
  Nama = c("Andi", "Budi", "Citra", "Dina", "Eka"),
  Tinggi = c(170, 165, 160, 155, 180),
  Berat = c(65, 55, 50, 45, 80)
)

data_tb
##    Nama Tinggi Berat
## 1  Andi    170    65
## 2  Budi    165    55
## 3 Citra    160    50
## 4  Dina    155    45
## 5   Eka    180    80
summary(data_tb)
##      Nama               Tinggi        Berat   
##  Length:5           Min.   :155   Min.   :45  
##  Class :character   1st Qu.:160   1st Qu.:50  
##  Mode  :character   Median :165   Median :55  
##                     Mean   :166   Mean   :59  
##                     3rd Qu.:170   3rd Qu.:65  
##                     Max.   :180   Max.   :80

Including Plots

You can also embed plots, for example:

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.