diperlukan dalam r

# Is this library installed on this pc? if not install it and load it.
if (!require('smooth')){
  # https://cran.r-project.org/web/packages/smooth/vignettes/sma.html
  install.packages("smooth")
  library(smooth)
} else{
  library(smooth)
}
Rocku0