R语言Tips

jh = as.data.frame(matrix(nrow=0,ncol=0))
for (i in c(myfiles0)){mydata <- read.table(i, header = TRUE, stringsAsFactors = FALSE)
ruralpl08<-mydata[,c(4:40)]
g1 <- gd(pl_change ~ ., data = ruralpl08)
g1 <- g1[["Factor"]]
g2 <- sqldf("select* from g1 where sig<0.05")
jh <- rbind.fill(g2,jh)}

###循环一堆文件并将每个文件处理的结果合并在一个数据框内输出
木有接触过R要是写错了请大佬们指点

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
About This Book This jam-packed book takes you under the hood with step by step instructions using the popular and free R predictive analytics package. It provides numerous examples, illustrations and exclusive use of real data to help you leverage the power of predictive analytics. A b o ok for every data analyst, student and applied researcher. Here is what it can do for you: • BOOST PRODUCTIVITY: Bestselling author and data scientist Dr. N.D. Lewis will show you how to build predictive analytic models in less time than you ever imagined possible! Even if you’re a busy professional or a student with little time. By spending as little as 10 minutes a day working through the dozens of real world examples, illustrations, practitioner tips and notes, you’ll be able to make giant leaps forward in your knowledge, strengthen your business performance, broaden your skill-set and improve your understanding. • SIMPLIFY ANALYSIS: You will discover over 90 easy to follow applied predictive analytic techniques that can instantly expand your modeling capability. Plus you’ll discover simple routines that serve as a check list you repeat next time you need a specific model. Even better, you’ll discover practitioner tips, work with real data and receive suggestions that will speed up your progress. So even if you’re completely stressed out by data, you’ll still find in this book tips, suggestions and helpful advice that will ease your journey through the data science maze. • SAVE TIME: Imagine having at your fingertips easy access to the very best of predictive analytics. In this book, you’ll learn fast effective ways to build powerful models using R. It contains over 90 of the most successful models used for learning from data; with step by step instructions on how to build them easily and quickly. • LEARN FASTER: 92 Applied Predictive Modeling Techniques in R offers a practical results orientated approach that will boost your productivity, expand your knowledge and create new an

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值