全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
23749 10
2011-08-01
如题,R for beginners 里面讲的看不大明白,请高人指点一下吧,谢谢。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2011-8-1 22:52:35
你的问题也很不清楚啊,没法回答
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-8-1 23:02:13
就是Vector这个东西的概念都看不明白呢还
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-8-2 08:50:01
jacosis 发表于 2011-8-1 23:02
就是Vector这个东西的概念都看不明白呢还
由一些元素组成的向量,可以理解为一个集合。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-8-2 10:13:40
Description
vector produces a vector of the given length and mode.

as.vector, a generic, attempts to coerce its argument into a vector of mode mode (the default is to coerce to whichever vector mode is most convenient): if the result is atomic all attributes are removed.

is.vector returns TRUE if x is a vector of the specified mode having no attributes other than names. It returns FALSE otherwise.

Usage
vector(mode = "logical", length = 0)
as.vector(x, mode = "any")
is.vector(x, mode = "any")

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-3-28 15:09:18
is.vector(A):判断A是否为向量;
as.vector(A):如A是矩阵(数组),as.vector就是将矩阵转化为向量;
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群