Displaying 2 results from an estimated 2 matches for "midincome".
2024 Jun 01
2
R code for overlapping variables -- count
Hi!
I am trying to find the code for how to get counts for intersectional
variables. For example, I have three unique categorical variables --
"Female," "USA," and "MidIncome" -- and I'm trying to see how many people I
have at the intersection of the three.
Thank you so much,
Shadee
[[alternative HTML version deleted]]
2024 Jun 03
1
R code for overlapping variables -- count
If they are binary (0/1 dummies), can't you just "&" them as in
table(Female & USA & MidIncome)
(or sum() if you don't care about the number of 0s)
-pd
> On 2 Jun 2024, at 00:31 , Shadee Ashtari <shadee.ashtari at gmail.com> wrote:
>
> Hi!
>
> I am trying to find the code for how to get counts for intersectional
> variables. For example, I have three unique c...