📜  所需 - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:51:58.935000             🧑  作者: Mango

代码示例1
# 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)
}