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
I need to estimate all possible pairwise combinations of a data list.
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
|
show 1 more comment
I need to estimate all possible pairwise combinations of a data list.
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
1
See?combnfunction
– 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?combnfunction and itsFUNargument.
– 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
|
show 1 more comment
I need to estimate all possible pairwise combinations of a data list.
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
I need to estimate all possible pairwise combinations of a data list.
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
r combinations pairwise
edited Mar 8 at 11:33
NelsonGon
3,3973833
3,3973833
asked Mar 8 at 11:13
CalfiaoCalfiao
34
34
1
See?combnfunction
– 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?combnfunction and itsFUNargument.
– 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
|
show 1 more comment
1
See?combnfunction
– 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?combnfunction and itsFUNargument.
– 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
|
show 1 more comment
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
1
See
?combnfunction– 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
?combnfunction and itsFUNargument.– 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