Displaying 20 results from an estimated 5142 matches for "combin".

Did you mean:
combine

2017 Aug 23

3

Getting all possible combinations

Hi again,
I am exploring if R can help me to get all possible combinations of
members in a group.
Let say I have a group with 5 members : A, B, C, D, E
Now I want to generate all possible unique combinations with all
possible lengths from that group e.g.
1st combination : A
2nd combination : B
.....
5th combination : E
6th combination : A, B
7th combination : B,...

2011 May 03

10

ANOVA 1 too few degrees of freedom

...r respiration in a forest. I am having a
problem with my degrees of freedom. For one of my variables I get one fewer
degrees of freedom than I should.
I have 12 plots and I therefore expected 11 degrees of freedom, but instead
I got 10.
Any ideas?
I have some code and output below:
> class(Combined.Plot)
[1] "character"
> levels(as.factor(Combined.Plot))
[1] "60m" "A1" "B1" "B3" "B4" "C5" "C9" "D2" "D9" "F60m"
"F8" "Q7"
> nlevels(as....

2017 Aug 23

2

Getting all possible combinations

..." comic strip )
On Wed, Aug 23, 2017 at 8:52 AM, Ista Zahn <istazahn at gmail.com> wrote:
> On Wed, Aug 23, 2017 at 11:33 AM, Christofer Bogaso
> <bogaso.christofer at gmail.com> wrote:
>> Hi again,
>>
>> I am exploring if R can help me to get all possible combinations of
>> members in a group.
>>
>> Let say I have a group with 5 members : A, B, C, D, E
>>
>> Now I want to generate all possible unique combinations with all
>> possible lengths from that group e.g.
>>
>> 1st combination : A
>> 2nd combinat...

2017 Aug 29

1

error msg in the glustershd.log

...g? Why is this showing up?. currently using glusterfs 3.10.1
when ever I start write process to volume (volume mounted thru fuse) I am
seeing this kind of error and glustershd process consumes some percentage
of cpu until write process completes.
[2017-08-28 10:01:13.030710] W [MSGID: 122006]
[ec-combine.c:191:ec_iatt_combine] 0-glustervol-disperse-109: Failed to
combine iatt (inode: 11548094941524765708-11548094941524765708, links: 1-1,
uid: 0-0, gid: 0-0, rdev: 0-0, size: 1769963520-1769947136, mode:
100755-100755)
[2017-08-28 10:01:13.030752] N [MSGID: 122029]
[ec-generic.c:684:ec_combine_looku...

2009 Sep 06

1

Two packages and one method

Hi!
I want to use one method "combinations" from "gtools" package but in my code
I must use also "dprep" method where is method "combinations" too. Mayby I
show you result my help function:
Help on topic ''combinations'' was found in the following packages:
Package...

2017 Aug 23

1

Getting all possible combinations

On Wed, Aug 23, 2017 at 11:33 AM, Christofer Bogaso
<bogaso.christofer at gmail.com> wrote:
> Hi again,
>
> I am exploring if R can help me to get all possible combinations of
> members in a group.
>
> Let say I have a group with 5 members : A, B, C, D, E
>
> Now I want to generate all possible unique combinations with all
> possible lengths from that group e.g.
>
> 1st combination : A
> 2nd combination : B
> .....
> 5th combinat...

2017 Aug 29

1

error msg in the glustershd.log

...Why is this showing up?. currently using glusterfs 3.10.1
when ever I start write process to volume (volume mounted thru fuse) I am seeing this kind of error and glustershd process consumes some percentage of cpu until write process completes.
[2017-08-28 10:01:13.030710] W [MSGID: 122006] [ec-combine.c:191:ec_iatt_combine] 0-glustervol-disperse-109: Failed to combine iatt (inode: 11548094941524765708-11548094941524765708, links: 1-1, uid: 0-0, gid: 0-0, rdev: 0-0, size: 1769963520-1769947136, mode: 100755-100755)
[2017-08-28 10:01:13.030752] N [MSGID: 122029] [ec-generic.c:684:ec_combine_look...

2017 Aug 29

1

error msg in the glustershd.log

...currently using glusterfs 3.10.1
>
> when ever I start write process to volume (volume mounted thru fuse) I am
> seeing this kind of error and glustershd process consumes some percentage
> of cpu until write process completes.
>
> [2017-08-28 10:01:13.030710] W [MSGID: 122006] [ec-combine.c:191:ec_iatt_combine]
> 0-glustervol-disperse-109: Failed to combine iatt (inode:
> 11548094941524765708-11548094941524765708, links: 1-1, uid: 0-0, gid:
> 0-0, rdev: 0-0, size: 1769963520-1769947136, mode: 100755-100755)
> [2017-08-28 10:01:13.030752] N [MSGID: 122029]
> [ec-gener...

2017 Aug 31

1

error msg in the glustershd.log

...>>
>> when ever I start write process to volume (volume mounted thru fuse) I am
>> seeing this kind of error and glustershd process consumes some percentage
>> of cpu until write process completes.
>>
>> [2017-08-28 10:01:13.030710] W [MSGID: 122006]
>> [ec-combine.c:191:ec_iatt_combine] 0-glustervol-disperse-109: Failed to
>> combine iatt (inode: 11548094941524765708-11548094941524765708, links:
>> 1-1, uid: 0-0, gid: 0-0, rdev: 0-0, size: 1769963520-1769947136, mode:
>> 100755-100755)
>> [2017-08-28 10:01:13.030752] N [MSGID: 122029...

2017 Aug 31

1

error msg in the glustershd.log

...Why is this showing up?. currently using glusterfs 3.10.1
when ever I start write process to volume (volume mounted thru fuse) I am seeing this kind of error and glustershd process consumes some percentage of cpu until write process completes.
[2017-08-28 10:01:13.030710] W [MSGID: 122006] [ec-combine.c:191:ec_iatt_combine] 0-glustervol-disperse-109: Failed to combine iatt (inode: 11548094941524765708-11548094941524765708, links: 1-1, uid: 0-0, gid: 0-0, rdev: 0-0, size: 1769963520-1769947136, mode: 100755-100755)
[2017-08-28 10:01:13.030752] N [MSGID: 122029] [ec-generic.c:684:ec_combine_look...

2017 Aug 23

1

Getting all possible combinations

...t; On Wed, Aug 23, 2017 at 8:52 AM, Ista Zahn <istazahn at gmail.com> wrote:
>> On Wed, Aug 23, 2017 at 11:33 AM, Christofer Bogaso
>> <bogaso.christofer at gmail.com> wrote:
>>> Hi again,
>>>
>>> I am exploring if R can help me to get all possible combinations of
>>> members in a group.
>>>
>>> Let say I have a group with 5 members : A, B, C, D, E
>>>
>>> Now I want to generate all possible unique combinations with all
>>> possible lengths from that group e.g.
>>>
>>> 1st combi...

2009 Jun 08

5

Combining elements of vectors

Dear list,
I have a vector of elements which I want to combined each with each, but
none with itself. For example,
> v <- c("a", "b", "c")
and I need a function ''combine'' such that
> combine(v)
[[1]]
[1] "a" "b"
[[2]]
[1] "a" "b"
[[3]]
[1] "b" "...

2017 Aug 23

1

Getting all possible combinations

...ummm yes ughhhh.
>
You didn't really say otherwise: sum(choose(n,0:n)) == 2^n by the binomial expansion of (1+1)^n (but you knew that)
This points to a different algorithm where you write 0:(2^n-1) as n-digit binary numbers and chose items corresponding to the 1s. That won't give the combinations sorted by size of selected subgroup though. Something like this:
M <- as.matrix(do.call(expand.grid, rep(list(0:1),5)))
mode(M) <- "logical"
apply(M,1,function(i)LETTERS[1:5][i])
-pd
> My point is, if the number of groups is large, check it before hand.
> If you can...

2009 May 14

1

Supplying NA or Zeros in dataframe for missing factor combinations

...y question. I
have searched the archives and didn''t find a solution, but maybe my
search didn''t use the right words. So here it is:
I have a dataframe with the following structure
factor1 factor2 value
In the (rather large) dataset I have to work on, there are some factor
combinations missing, e.g.
factor1 <- c("2005", "2007", "2009)
factor2 <- c("Area1", "Area2", "Area3")
So in a perfect world there should be values for each combination in
the dataset, eg values for "2005" in "Area1", &q...

2011 May 04

6

combine lattice plot and standard R plot

Dear R users,
I would like to combine lattice plot (xyplot) and standard R plot (plot and plotCI) in an unique figure.
I use the function "par()" to combine plot and plotCI and I use the function "print()" to combine xyplot. I tried to use these functions to combine xyplot and plotCI and plots but they do not work...

2017 Aug 23

1

Getting all possible combinations

...;>
>
> You didn't really say otherwise: sum(choose(n,0:n)) == 2^n by the binomial expansion of (1+1)^n (but you knew that)
>
> This points to a different algorithm where you write 0:(2^n-1) as n-digit binary numbers and chose items corresponding to the 1s. That won't give the combinations **sorted by size of selected subgroup** though. Something like this:
No it doesn't.
-- Bert
>
> M <- as.matrix(do.call(expand.grid, rep(list(0:1),5)))
> mode(M) <- "logical"
> apply(M,1,function(i)LETTERS[1:5][i])
>
> -pd
>
>
>> My point is,...

2006 Oct 24

0

incorrect number of subscriptions error in user-written function

I have written a function which returns an "incorrect number of
subscriptions error" and am unable to identify why this should happen.
Any help would be gratefully received.
The problem:
I would like to generate combinations/permutations across different
selections - for example all the combinations of "3 chosen from 6"
combined with "5 chosen from 8" combined with "2 chosen from 4".
Loading gtools I can generate the combinations for each selection
sec1 = combinations(4,2,1:4)...

2009 Apr 10

3

Problem with bargraph.CI in Sciplot package

Hi there,
I wonder if anyone can help me. I''m trying to use bargraph.CI in the Sciplot
package when there is a missing combination of the factor levels.
Unfortunately the standard errors on the plot do not appear to be correct.
Consider an analysis consisting of two factors A and B. When all factor
level combinations are present all appears fine:
library(sciplot)
#all data
response<-c(32,54,32,65,34,65,65,45,54,23,...

2016 Apr 15

0

aggregate combination data

...remember it. Can you please post a question to R-Help, with a
reproducible example that describes your problem?
Rui Barradas
?
Citando catalin roibu <catalinroibu at gmail.com>:
> Dear Rui,
> ?
> I helped me some time ago with a code..... regarding aggregated data
> from combination values. I solved partial the problem...I have one
> single question. From combination I have a number of data frames. I
> want for each combination to insert a column with combination ID (C1
> for first iteration to Cn for last one)? Is there a possibility to
> do that?
>...

2005 May 17

4

Combinations with two part column

Dear R-helpers,
I am a beginner using R.
This is the first question in this list.
My question, Is there possible to make combinations with two part column?
If I have a number 1,2,3,4,5,6,7,8. I need the result something like below:
1,2,3,4,5 6,7,8
1,2,3,4,7 5,6,8
2,3,4,5,6 1,7,8
1,2,3,6,7 4,5,8
1,2,3,4,8 5,6,7
3,4,6,7,8 1,2,5
....
I would be very happy if anyone could help me.
Best regards,
Sofy...