Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 205466

Get combinations of two elements in R

$
0
0

I need to find all combinations between two factors with two levels

Sex: Male-Female Race: White-Nonwhite

I want my output to be: Male-White Female-White Male-Nonwhite Female-Nonwhite


Viewing all articles
Browse latest Browse all 205466

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>