资源描述:
《[R.Graphics.Cookbook(2012.12)].Winston.Chang.文字版》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、RGraphicsCookbookWinstonChangRGraphicsCookbookbyWinstonChangCopyright©2013WinstonChang.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurchasedforeducational,business,orsalespromotionaluse.
2、Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporate/institutionalsalesdepartment:800-998-9938orcorporate@oreilly.com.Editors:MikeLoukidesandCourtneyNashProofreader:JillyGagnonProductionEditor:HollyBauerIndexer:LucieHaskinsCop
3、yeditor:RachelHeadCoverDesigner:RandallComerInteriorDesigner:DavidFutatoIllustrator:RebeccaDemarestandRobertRomanoDecember2012:FirstEditionRevisionHistoryfortheFirstEdition:2012-12-04FirstreleaseSeehttp://oreilly.com/catalog/errata.csp?isbn=9781449316952forreleasedetails.NutshellHandbook,
4、theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.RGraphicsCookbook,theimageofareindeer,andrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesi
5、gnationsappearinthisbook,andO’ReillyMedia,Inc.,wasawareofatrade‐markclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorsassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinfor
6、mationcontainedherein.ISBN:978-1-449-31695-2[CK]TableofContentsPreface.......................................................................ix1.RBasics....................................................................11.1.InstallingaPackage11.2.LoadingaPackage21.3.LoadingaDelimitedText
7、DataFile31.4.LoadingDatafromanExcelFile41.5.LoadingDatafromanSPSSFile52.QuicklyExploringData.......................................................72.1.CreatingaScatterPlot72.2.CreatingaLineGraph92.3.CreatingaBarGraph112.4.CreatingaHistogram132.5.CreatingaBoxPlot152