<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><div class="MsoNormal" style="font-size: 12pt; font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; "><span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-position: initial initial; background-repeat: initial initial; background-color: rgb(255, 255, 0);">A CMR abaixo me dá
as seguintes combinações de colunas do data.frame x<o:p></o:p></span></div>

<div class="MsoNormal" style="font-size: 12pt; font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; "><span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-position: initial initial; background-repeat: initial initial; background-color: rgb(255, 255, 0);">1 e 2; 1 e 3; 2 e
3<o:p></o:p></span></div>

<div class="MsoNormal" style="font-size: 12pt; font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; "><span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-position: initial initial; background-repeat: initial initial; background-color: rgb(255, 255, 0);"><o:p> </o:p></span></div>

<div class="MsoNormal" style="font-size: 12pt; font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; "><span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-position: initial initial; background-repeat: initial initial; background-color: rgb(255, 255, 0);">Gostaria de fazer
na seqüência:<o:p></o:p></span></div>

<div class="MsoNormal" style="font-size: 12pt; font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; "><span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-position: initial initial; background-repeat: initial initial; background-color: rgb(255, 255, 0);">1 e 1; 1 e 2; 1 e
3; 2 e 1; 2 e 2; 2 e 3; 3 e 1; 3 e 2; 3 e 3<o:p></o:p></span></div>

<div class="MsoNormal" style="font-size: 12pt; font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; "><span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-position: initial initial; background-repeat: initial initial; background-color: rgb(255, 255, 0);"><o:p> </o:p></span></div>

<div class="MsoNormal" style="font-size: 12pt; font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; "><span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-position: initial initial; background-repeat: initial initial; background-color: rgb(255, 255, 0);">É possível? <o:p></o:p></span></div>

<div class="MsoNormal" style="font-size: 12pt; font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; "><span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-position: initial initial; background-repeat: initial initial; background-color: rgb(255, 255, 0);"><o:p> </o:p></span></div>

<div class="MsoNormal" style="font-size: 12pt; font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; "><span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-position: initial initial; background-repeat: initial initial; background-color: rgb(255, 255, 0);">Segue a CMR<o:p></o:p></span></div>

<div class="MsoNormal" style="font-size: 12pt; font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; "><span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-position: initial initial; background-repeat: initial initial; background-color: rgb(255, 255, 0);"><o:p> </o:p></span></div>

<div class="MsoNormal" style="font-size: 12pt; font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; "><span lang="EN-US" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-position: initial initial; background-repeat: initial initial; background-color: rgb(255, 255, 0);">x1=c(0,0,0,1,0)<o:p></o:p></span></div>

<div class="MsoNormal" style="font-size: 12pt; font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; "><span lang="EN-US" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-position: initial initial; background-repeat: initial initial; background-color: rgb(255, 255, 0);">x2=c(1,0,0,1,1)<o:p></o:p></span></div>

<div class="MsoNormal" style="font-size: 12pt; font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; "><span lang="EN-US" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-position: initial initial; background-repeat: initial initial; background-color: rgb(255, 255, 0);">x3=c(1,1,1,0,0)<o:p></o:p></span></div>

<div class="MsoNormal" style="font-size: 12pt; font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; "><span lang="EN-US" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-position: initial initial; background-repeat: initial initial; background-color: rgb(255, 255, 0);">x=data.frame(x1,x2,x3)<o:p></o:p></span></div>

<div class="MsoNormal" style="font-size: 12pt; font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; "><span class="apple-style-span"><span lang="EN-US" style="font-size: 12pt; font-family: 'Times New Roman', serif; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-position: initial initial; background-repeat: initial initial; background-color: rgb(255, 255, 0);"><o:p> </o:p></span></span></div>

<div class="MsoNormal" style="margin-bottom: 0.0001pt; "><span style="background-color: rgb(255, 255, 0); font-family: arial, helvetica, sans-serif; "><span class="apple-style-span"><span lang="EN-US" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; ">comb</span></span><span lang="EN-US"><-</span><span class="apple-style-span"><span lang="EN-US" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-position: initial initial; background-repeat: initial initial; ">combn(ncol(x),
2, function(y) list(x[,y]))<o:p></o:p></span></span></span></div>

<div class="MsoNormal" style="margin-bottom: 0.0001pt; "><span class="apple-style-span"><span lang="EN-US" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; "><span style="background-color: rgb(255, 255, 0); font-family: arial, helvetica, sans-serif; ">comb</span><span style="font-size: 12pt; font-family: 'Times New Roman', serif; background-color: white; "><o:p></o:p></span></span></span></div></div></div></body></html>