2017-03-04 23 views

回答

1

不知道明白你为什么会做,但你可以这样做:

name_of_your_vector <- c() 

让它空。

或者

name_of_your_vector <- numeric(NA, length(name_of_your_vector)) 

删除它,使所有的值NA

+0

谢谢!你太快了!我是R新手,所以我只是在做东西。 – DICER45