Skip to content
Back to formatted view

Raw Message

Message-ID: <CAFcbP-BrNDhnDmhwP3-tGj6KeNCBd0Nds99EnMSgriRPBb9=ig@mail.gmail.com>
Date: 2016-06-17T12:25:20Z
From: Gafar Matanmi Oyeyemi
Subject: Obtaining and extracting cells sample in cross-tabulation
In-Reply-To: <CAFcbP-C9BD-i5eYB7qOH0UQV7t4b+KoUdfo8gZg_uaHm4w_jdg@mail.gmail.com>

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]]