[R] Obtaining and extracting cells sample in cross-tabulation

Gafar Matanmi Oyeyemi gmoyeyemi at gmail.com
Fri Jun 17 14:25:20 CEST 2016


Hello everyone,
I'm writing a function in R but was stalked.
I have a data set that contains mixture of categorical and continuous
variables. I want to use the categorical variables to cross-tabulate the
data and extract the observations in the resulting cells that contain only
continuous variables.

Data.
X1   X2   X3   X4   X5
2.4  5.3  4.8    0      1
4.2  3.2  4.8    1      1
3.3  4.4  5.1    0      0
5.2  1.1  2.5    1      0
.
.
.
3.7  2.8  3.8    0      1

Thanks.

	[[alternative HTML version deleted]]



More information about the R-help mailing list