R作业

2017-09-19  本文已影响0人  tyc675

1、创建数据框,按列按行两种合并

2、类型转换函数

判 断                                转 换

is.numeric()                as.numeric()

is.character()            as.character()

is.vector()                  as.vector()

is.matrix()                    as.matrix()

is.data.frame()            as.data.frame()

is.factor()                    as.factor()

is.logical()  as.logical()

名为 is.datatype() 这样的函数返回 TRUE 或 FALSE ,而 as.datatype() 这样的函数则将其

参数转换为对应的类型。

3、

上一篇 下一篇

猜你喜欢

热点阅读