How to list and estimate all possible pairwise comparisons in RHow to get all possible combinations of a list’s elements?R- all pairwise combinations of elements from two listsGenerate list of all possible combinations of elements of vectorWelch Pairwise Comparisons in SASIntersect all possible combinations of list elementsCreating a loop for a pairwise “all vs all” comparison of multiple objectsCreating a matrix from a list of pairwise comparisonsGenerate a list of all combinations by replacing a character with many possibilitiesGraph based on pairwise comparisonWrong product produced in pairwise error estimation in R

What is the difference between "behavior" and "behaviour"?

Balance Issues for a Custom Sorcerer Variant

Is expanding the research of a group into machine learning as a PhD student risky?

How easy is it to start Magic from scratch?

Pole-zeros of a real-valued causal FIR system

For a non-Jew, is there a punishment for not observing the 7 Noahide Laws?

How to safely derail a train during transit?

Is HostGator storing my password in plaintext?

Integer addition + constant, is it a group?

CREATE opcode: what does it really do?

Gears on left are inverse to gears on right?

Proof of work - lottery approach

Did Dumbledore lie to Harry about how long he had James Potter's invisibility cloak when he was examining it? If so, why?

Is this apparent Class Action settlement a spam message?

How does buying out courses with grant money work?

Unreliable Magic - Is it worth it?

Applicability of Single Responsibility Principle

India just shot down a satellite from the ground. At what altitude range is the resulting debris field?

Is the destination of a commercial flight important for the pilot?

Closest Prime Number

How can a function with a hole (removable discontinuity) equal a function with no hole?

Why are there no referendums in the US?

What does "I’d sit this one out, Cap," imply or mean in the context?

What is the opposite of 'gravitas'?



How to list and estimate all possible pairwise comparisons in R


How to get all possible combinations of a list’s elements?R- all pairwise combinations of elements from two listsGenerate list of all possible combinations of elements of vectorWelch Pairwise Comparisons in SASIntersect all possible combinations of list elementsCreating a loop for a pairwise “all vs all” comparison of multiple objectsCreating a matrix from a list of pairwise comparisonsGenerate a list of all combinations by replacing a character with many possibilitiesGraph based on pairwise comparisonWrong product produced in pairwise error estimation in R













0















I need to estimate all possible pairwise combinations of a data list.



This is an example of my data
This is an example of my data
For example, for A (Column1), I need to estimate z-x, z-y and x-y differences and their reverse cases. I mean, I should get back: -10, -20, -30, and 10, 20 and 30 for reverse cases. And then I need to estimate all possible pairwise combinations for B and C following the explanation for A. I need to create a list of all pairwise combinations for 4000 data.
Also, I share a link with an Excel file with my example.
Example in Excel
Example in Excel
I thank you in advance for your time and help.










share|improve this question



















  • 1





    See ?combn function

    – Sonny
    Mar 8 at 11:16











  • Please share your data in a form we can copy and paste easily. Besides, you might read about the ?combn function and its FUN argument.

    – markus
    Mar 8 at 11:16











  • Thanks Sonny and @markus. I share a link with my data in Excel.

    – Calfiao
    Mar 8 at 11:27







  • 2





    @Calfiao it should be copy&paste-able. most people won't risk to follow the link you provide. see for an easy way reprex.tidyverse.org/articles/articles/…

    – Bernd Konfuzius
    Mar 8 at 11:31











  • You are looking for permutations since you also need the reverse.

    – Joseph Wood
    Mar 8 at 11:54















0















I need to estimate all possible pairwise combinations of a data list.



This is an example of my data
This is an example of my data
For example, for A (Column1), I need to estimate z-x, z-y and x-y differences and their reverse cases. I mean, I should get back: -10, -20, -30, and 10, 20 and 30 for reverse cases. And then I need to estimate all possible pairwise combinations for B and C following the explanation for A. I need to create a list of all pairwise combinations for 4000 data.
Also, I share a link with an Excel file with my example.
Example in Excel
Example in Excel
I thank you in advance for your time and help.










share|improve this question



















  • 1





    See ?combn function

    – Sonny
    Mar 8 at 11:16











  • Please share your data in a form we can copy and paste easily. Besides, you might read about the ?combn function and its FUN argument.

    – markus
    Mar 8 at 11:16











  • Thanks Sonny and @markus. I share a link with my data in Excel.

    – Calfiao
    Mar 8 at 11:27







  • 2





    @Calfiao it should be copy&paste-able. most people won't risk to follow the link you provide. see for an easy way reprex.tidyverse.org/articles/articles/…

    – Bernd Konfuzius
    Mar 8 at 11:31











  • You are looking for permutations since you also need the reverse.

    – Joseph Wood
    Mar 8 at 11:54













0












0








0








I need to estimate all possible pairwise combinations of a data list.



This is an example of my data
This is an example of my data
For example, for A (Column1), I need to estimate z-x, z-y and x-y differences and their reverse cases. I mean, I should get back: -10, -20, -30, and 10, 20 and 30 for reverse cases. And then I need to estimate all possible pairwise combinations for B and C following the explanation for A. I need to create a list of all pairwise combinations for 4000 data.
Also, I share a link with an Excel file with my example.
Example in Excel
Example in Excel
I thank you in advance for your time and help.










share|improve this question
















I need to estimate all possible pairwise combinations of a data list.



This is an example of my data
This is an example of my data
For example, for A (Column1), I need to estimate z-x, z-y and x-y differences and their reverse cases. I mean, I should get back: -10, -20, -30, and 10, 20 and 30 for reverse cases. And then I need to estimate all possible pairwise combinations for B and C following the explanation for A. I need to create a list of all pairwise combinations for 4000 data.
Also, I share a link with an Excel file with my example.
Example in Excel
Example in Excel
I thank you in advance for your time and help.







r combinations pairwise






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 8 at 11:33









NelsonGon

3,3973833




3,3973833










asked Mar 8 at 11:13









CalfiaoCalfiao

34




34







  • 1





    See ?combn function

    – Sonny
    Mar 8 at 11:16











  • Please share your data in a form we can copy and paste easily. Besides, you might read about the ?combn function and its FUN argument.

    – markus
    Mar 8 at 11:16











  • Thanks Sonny and @markus. I share a link with my data in Excel.

    – Calfiao
    Mar 8 at 11:27







  • 2





    @Calfiao it should be copy&paste-able. most people won't risk to follow the link you provide. see for an easy way reprex.tidyverse.org/articles/articles/…

    – Bernd Konfuzius
    Mar 8 at 11:31











  • You are looking for permutations since you also need the reverse.

    – Joseph Wood
    Mar 8 at 11:54












  • 1





    See ?combn function

    – Sonny
    Mar 8 at 11:16











  • Please share your data in a form we can copy and paste easily. Besides, you might read about the ?combn function and its FUN argument.

    – markus
    Mar 8 at 11:16











  • Thanks Sonny and @markus. I share a link with my data in Excel.

    – Calfiao
    Mar 8 at 11:27







  • 2





    @Calfiao it should be copy&paste-able. most people won't risk to follow the link you provide. see for an easy way reprex.tidyverse.org/articles/articles/…

    – Bernd Konfuzius
    Mar 8 at 11:31











  • You are looking for permutations since you also need the reverse.

    – Joseph Wood
    Mar 8 at 11:54







1




1





See ?combn function

– Sonny
Mar 8 at 11:16





See ?combn function

– Sonny
Mar 8 at 11:16













Please share your data in a form we can copy and paste easily. Besides, you might read about the ?combn function and its FUN argument.

– markus
Mar 8 at 11:16





Please share your data in a form we can copy and paste easily. Besides, you might read about the ?combn function and its FUN argument.

– markus
Mar 8 at 11:16













Thanks Sonny and @markus. I share a link with my data in Excel.

– Calfiao
Mar 8 at 11:27






Thanks Sonny and @markus. I share a link with my data in Excel.

– Calfiao
Mar 8 at 11:27





2




2





@Calfiao it should be copy&paste-able. most people won't risk to follow the link you provide. see for an easy way reprex.tidyverse.org/articles/articles/…

– Bernd Konfuzius
Mar 8 at 11:31





@Calfiao it should be copy&paste-able. most people won't risk to follow the link you provide. see for an easy way reprex.tidyverse.org/articles/articles/…

– Bernd Konfuzius
Mar 8 at 11:31













You are looking for permutations since you also need the reverse.

– Joseph Wood
Mar 8 at 11:54





You are looking for permutations since you also need the reverse.

– Joseph Wood
Mar 8 at 11:54












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55062030%2fhow-to-list-and-estimate-all-possible-pairwise-comparisons-in-r%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55062030%2fhow-to-list-and-estimate-all-possible-pairwise-comparisons-in-r%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to get text form Clipboard with JavaScript in Firefox 56?How to validate an email address in JavaScript?How do JavaScript closures work?How do I remove a property from a JavaScript object?How do you get a timestamp in JavaScript?How do I copy to the clipboard in JavaScript?How do I include a JavaScript file in another JavaScript file?Get the current URL with JavaScript?How to replace all occurrences of a string in JavaScriptHow to check whether a string contains a substring in JavaScript?How do I remove a particular element from an array in JavaScript?

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

List of MPs elected to the English parliament in 1640 (April) Contents List of constituencies and members See also Notes References Navigation menueNational Archives – The Glynde Place ArchivesCobbett's Parliamentary history of England, from the Norman Conquest in 1066 to the year 1803'Aldermen in Parliament', The Aldermen of the City of London: Temp. Henry III – 1912onepage&q&f&#61, false 229