1.2AshortintroductiontoR5
1.2.2Robjects
Risanobject-orientedlanguage.Allvariables,data,functions,etc.arestoredinthememoryofthecomputerintheformofnamedobjects.BysimplytypingthenameofanobjectattheRpromptonecanseeitscontents.Forexample,ifyouhaveadataobjectnamedxwiththevalue945,typingitsnameatthepromptwouldshowyouitsvalue,
>x
[1]945
Therathercryptic“[1]”infrontofthenumber945canbereadas“thislineisshowingvaluesstartingfromthe rstelementoftheobject”.Thisisparticularlyusefulforobjectscontainingseveralvalueslikevectors,aswewillseelater.
Valuesmaybeassignedtoobjectsusingtheassignmentoperator.Thisconsistsofeitherananglebracketfollowedbyaminussign(<-),oraminussignfollowedbyananglebracket(->).Belowyoumay ndtwoalternativeandequivalentformsofassigningavaluetotheobjecty10,
>y<-39
>y
[1]39
>43->y
>y
[1]43
Youmayalsoassignnumericalexpressionstoanobject.Inthiscasetheobjectwillstoretheresultoftheexpression,
>z
>w
>w
[1]
>i
>i
[1]<-5<-z^225<-(z*2+45)/227.5
Whenever,youwanttoassignanexpressiontoanobjectandthenprintouttheresult(asintheprevioussmallexamples),youmayalternativelysurroundtheassignmentstatementinparentheses:
>(w<-z^2)
[1]25
Youdonotneedtoassigntheresultofanexpressiontoanobject.Ine ect,youmayuseRpromptasakindofcalculator,
>(34+90)/12.5
[1]9.92
Data Mining with R 常用方法命令的参考手册_理学...(pdfCluster) Packages arules mine frequent itemsets... 数据挖掘(偶然看到比较好... 174页 1下载券 R...
一本面向中高级读者的数据挖掘好书_IT/计算机_专业资料。数据挖掘教/ 材/ 建/ 设 一本面向中高级读者的数据挖掘好书— —评《数据挖掘:概念与技术》 左荣国 ...
1、Bilingual 双语 Chinese English bilingual text 中英对照 2、Data warehouse and Data Mining 数据仓库与数据挖掘 3、classification 分类 systematize classification...
抢先赢得商机的Data Mining——基于数据仓库的数据挖掘技术_专业资料。首先介绍了数据仓库以及在此技术上产生的数据挖掘技术.其次阐述了实现数据挖掘应用的几种工具以及...
格式:pdf 关键词:大规模数据挖掘流数据挖掘流数据...Filtering a data stream ? Select elements with ...Jure Leskovec, Stanford CS246: Mining Massive ...
Oracle的数据挖掘工具--Data mining suite_计算机软件及应用_IT/计算机_专业资料。Oracle Data Mining 能够让公司构建高级商务智能应用,这些应用可以挖掘公司数据库中...
R语言书籍的学习路线图_IT/计算机_专业资料。格物堂发布了长文《R语言书籍的...7.数据挖掘这方面的书不多,只有《Data Mining with R:learing with case ...
格式:pdf 关键词:数据挖掘 同系列文档 数据挖掘:面向CRM的数据挖... 数据... 数据挖掘综述Data Mining 暂无评价 6页 5财富值 数据挖掘 课件DATA MINING.....
2.多元统计与数据挖掘 这是数据分析的一个重要舞台,相关的书籍也很多。 多元...还有《Data Mining with Rattle and R》,使用 Rattle 软件,结合了数据可视化。...
数据挖掘总结之书籍篇 1.数据挖掘:概念与技术 作者:Jiawei Han 著 范明 孟...痛苦 ing Data Mining: Practical Learning Tools and Techniques with Java ...
热门文档