Displaying 6 results from an estimated 6 matches for "gp3".
Did you mean:
gp
2009 Aug 12
3
Combinatorial problem
...ht someone might have
some bright ideas.
I have 11 values which fall into 5 groups. I want all combinations of
2,3, and 4 values where each value must be from a different group. The
numbers in the groups are different. Here is a definition of the groups:
groups <- list(gp1 = 1:3, gp2 = 4:5, gp3 = 6:7,
gp4 = 8:10, gp5 = 11)
I don't need the problem to be generalized at all---I just want to solve
this problem.
My approach so far has been to use combinations() from gtools to select
the combinations of groups and then to try and expand from there. I am
nearly there I...
2011 Sep 29
1
plot.igraph
...to be visible in my graph. As an example of
this, in my script below, I want two edges to be visible from vertex 1 and
vertex 9 (among some others) yet when I plot it, only one edge is visible.
################################################################
gp1 = c(1,3,5,7,9)
gp2 = c(2,4,6,8,10)
gp3 = c(2,3,5,7)
gp4 = c(1,4,9)
adjm = numeric(100)
dim(adjm) = c(10,10)
for (i in 1:4){
gp = eval(as.symbol(paste("gp",i,sep="")))
N = length(gp)
for (j in 1:N){
for (k in j:N){
adjm[gp[k],gp[j]] = adjm[gp[k],gp[j]]+1
adjm[gp[j],gp[k]] = adjm[gp[k],gp[j]]
}
}
}
for(...
1999 Dec 02
1
Error in plot.aov() (PR#356)
...gt; below:
> y_rnorm(40)
> gp_factor(rep(1:4,c(10,10,10,10)))
> xx.aov_aov(y~gp)
> summary(xx.aov)
Df Sum Sq Mean Sq F value Pr(>F)
gp 3 0.67 0.22 0.29 0.84
Residuals 36 28.30 0.79
> coef(xx.aov)
(Intercept) gp2 gp3 gp4
0.286147 0.260974 -0.081828 0.126678
> plot(xx.aov)
Hit <Return> to see next plot:
Hit <Return> to see next plot:
Hit <Return> to see next plot:
Error in as.name(ylab23) : invalid type/length (1/0) in vector allocation
>
--please do not edit the...
1999 Dec 03
0
Error in plot.aov() (PR#356) (fwd)
...gt; > > xx.aov_aov(y~gp)
> > > summary(xx.aov)
> > Df Sum Sq Mean Sq F value Pr(>F)
> > gp 3 0.67 0.22 0.29 0.84
> > Residuals 36 28.30 0.79
> > > coef(xx.aov)
> > (Intercept) gp2 gp3 gp4
> > 0.286147 0.260974 -0.081828 0.126678
> > > plot(xx.aov)
> > Hit <Return> to see next plot:
> > Hit <Return> to see next plot:
> > Hit <Return> to see next plot:
> > Error in as.name(ylab23) : invalid type/lengt...
2004 Apr 01
2
row selection based on median in data frame
Hi. I am having trouble thinking of an easy way to grab rows out of a
data frame. I want to select the rows with a median value when the
rows are similar.
A simple example is this table, which I could read into a data frame.
I would like to find a new data frame with only the rows with a median
value for the "c" column given a certain "a" value.
For example, the c values
2002 Feb 13
5
Restarting
Greetings'
i have installed a redhat 6.2 on my machine. I have also installed Samba 2.0.6 on it and seems working fine for almost a year. But one of my problem is "Disappearing Mounts". I always use this command ( mount -t smbfs //server/shared/ /mnt/temp -o username%password) for re-Mounting. But several days later... my machine keeps on restarting everytime we access the mounted