| 所在主题: | |
| 文件名: Gasoline.txt | |
| 资料下载链接地址: https://bbs.pinggu.org/a-1971747.html | |
| 附件大小: | |
|
The U.S. Gasoline Market, 52 Yearly Observations, 1953-2004
Source: These data were compiled by Professor Chris Bell, Department of Economics, University of North Carolina, Asheville. Sources: www.bea.gov and www.bls.gov * Year = Year, 1953-2004, * GasExp = Total U.S. gasoline expenditure, * Pop = U.S. total population in thousands * GasP = Price index for gasoline, * Income = Per capita disposable income, * Pnc = Price index for new cars, * Puc = Price index for used cars, * Ppt = Price index for public transportation, * Pd = Aggregate price index for consumer durables, * Pn = Aggregate price index for consumer nondurables, * Ps = Aggregate price index for consumer services. Year,GasExp,Pop,Gasp,Income,PNC,PUC,PPT,PD,PN,PS 1953.00 7.40000 159565. 16.6680 8883.00 47.2000 26.7000 16.8000 37.7000 29.7000 19.4000 以上为数据截取, > read.table("C:/Users/forYear/Documents/R/工作/2014Homework1_datasets/Gasoline.txt", header = FALSE, sep = "", skip = 18) >Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,: line 3 did not have 5 elements 因为11个变量,在txt里分为了三行排列,所以不能使用上述命令,应该怎么解决这一个问题 |
|
熟悉论坛请点击新手指南
|
|
| 下载说明 | |
|
1、论坛支持迅雷和网际快车等p2p多线程软件下载,请在上面选择下载通道单击右健下载即可。 2、论坛会定期自动批量更新下载地址,所以请不要浪费时间盗链论坛资源,盗链地址会很快失效。 3、本站为非盈利性质的学术交流网站,鼓励和保护原创作品,拒绝未经版权人许可的上传行为。本站如接到版权人发出的合格侵权通知,将积极的采取必要措施;同时,本站也将在技术手段和能力范围内,履行版权保护的注意义务。 (如有侵权,欢迎举报) |
|
京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明