问答详情
源自:2-2 R语言基础 向量

c函数的用处

x2<-c( ),c这个函数有什么用,它的作用是什么

提问者:慕瓜5956779 2016-04-20 21:51

个回答

  • qq_PhilicJone3825186
    2016-10-12 22:55:22

    结合成一个向量或列表值。

    help(c)
    得到的文档是:

    Combine Values into a Vector or ListDescription

    This is a generic function which combines its arguments.

    The default method combines its arguments to form a vector. All arguments are coerced to a common type which is the type of the returned value, and all attributes except names are removed.

     

  • ssyy
    2016-04-21 09:47:01

    创建一个向量