04 2017 档案
摘要:【转自:廖雪峰的官方网站】 http://www.liaoxuefeng.com 列表生成式即List Comprehensions,是Python内置的非常简单却强大的可以用来创建list的生成式。 举个例子,要生成list [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]可以用li
阅读全文
摘要:在R语言的帮助文档里,apply函数的功能是: Retruns a vector or array or list of values obtained by applying a function to margins of an array or matrix. 就是说apply把一个funct
阅读全文
摘要:1、seq() 用来生成一组数字的函数。 Usage: ## Default S3 method:seq(from = 1, to = 1, by = ((to - from)/(length.out - 1)),length.out = NULL, along.with = NULL, ...)s
阅读全文

浙公网安备 33010602011771号