Answers for "required in r"

R
0

required in 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)
}
Posted by: Guest on April-21-2021

Browse Popular Code Answers by Language