如何从R中的单个列拆分列?

时间:2018-01-24 11:26:29

标签: r data-cleaning

库(tidyr) 库(dplyr)

function mocktimeout(timeout) { // timeout in ms for example: 3000
    document.getElementById("input").innerHTML = "<div class=\"loader\"> </div>";   

    setTimeout(function() {
      document.getElementById("input").innerHTML = "";
    }, timeout)
}

mocktimeout(3000)

错误讯息:

df<-data.frame(Col=c("1::F::1::10::48067","2::M::56::16::70072","3::M::25::15::55117"))


df%>%separate(df,c("Sr No.","Gender","Occupation","Age",,"Zip-code"),"::")

0 个答案:

没有答案