阅读背景:

如何从R data.frame中的分类变量中抽样?

来源:互联网 

I am trying to sample from an R data frame but I have some problems with the categorical variables. I am not taking a random subsamples of rows but I am generating rows such that the new variables have individually the same distribution of the original one. I am having problem with the categorical variables.I am trying to sample from an R data frame but




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: