摘要: A data frame is used for storing data tables. It is a list of vectors of equal length. For example, the following variable df is a data frame containi 阅读全文
posted @ 2017-05-15 22:13 emanlee 阅读(2287) 评论(0) 推荐(1) 编辑
摘要: 引用 在很多场合下使用引用传值,能在很大程度上提高代码的运行效率。 定义一个引用在变量名前加”\”就可以了,如: $ra=\$a; $rb=\@b; $rc=\%c; 变量名前面依然是$。 而得到的引用是不能直接当做变量使用,需要解引用。解引用的方法是在变量名前加上变量原本类型所对应的符号。比如$r 阅读全文
posted @ 2017-05-15 09:08 emanlee 阅读(367) 评论(0) 推荐(0) 编辑