[R] some functions

时间:2020-01-08 13:19:13   收藏:0   阅读:85

R shows all the variables:

  ls()

R remove some variable:

  rm("variable_name") or rm(variable_name)

R remove all the variables:

  rm(list=ls())

R get the value of some variable by name :

  get(names)

 

R paste: collapse and sep parameter

collapse is use for different elements, sep is used for different parts

原文:https://www.cnblogs.com/vinking/p/12052473.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!