您的位置:首页 > 移动开发

lapply &sapply note

2016-06-29 16:52 316 查看
| In general, if the result is a list where every element is of length

| one, then sapply() returns a vector. If the result is a list where every

| element is a vector of the same length (> 1), sapply() returns a matrix.

| If sapply() can’t figure things out, then it just returns a list, no

| different from what lapply() would give you.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: