distinct 删除重复行
union 合并
excpt 差信
r中的merge函数,融合 full1<-merge(table,table,by='id',all=true)
full_join(table,table,by='id')
sqldf("select * from table")
cast(frm,cust_id~type)
抽样误差
分层抽样,每个层里还是简单随机抽样,第比分配或等数分配法
*是指从表中选取所有变量
where语句中涉及中文需要加单引号
CDA人工智能社区
工作时间:9:00-19:00
陈老师:13077998983
邮箱: edu_cda_cn@foxmail.com