search for: gp2

Displaying 18 results from an estimated 18 matches for "gp2".

Did you mean: gp
2005 Sep 30
4
by() processing on a dataframe
...OC MEANS does, I think, though it's been years since I used it.) This is possible using by(), but it seems cumbersome and fragile. Is there a more straightforward way than this? Here's a simple example showing my current strategy: > dataset <- data.frame(gp1 = rep(1:2, c(4,4)), gp2 = rep(1:4, c(2,2,2,2)), value = rnorm(8)) > dataset gp1 gp2 value 1 1 1 0.9493232 2 1 1 -0.0474712 3 1 2 -0.6808021 4 1 2 1.9894999 5 2 3 2.0154786 6 2 3 0.4333056 7 2 4 -0.4746228 8 2 4 0.6017522 > > handleonegroup <- function(subset) da...
2010 Aug 21
1
lattice::xyplot() with one factor for points and another for lines
...is to use the levels of one factor to distinguish corresponding shapes and colors, and the levels of the other factor to perform level-wise loess smooths. # Illustrative data: d <- data.frame(time = rep(1:8, each = 6), val = rnorm(48), gp1 = factor(rep(1:6, 8)), gp2 = factor(rep(rep(c('A', 'B'), each = 3), 8))) Based on the code from the Lattice book, p. 160, I set up the following: mypch <- 1:6 mycol <- 1:6 with(d, xyplot(val ~ time, panel = function(x, y, ..., groups, subscripts) { pch <- mypch[gp1[subscrip...
2009 Aug 12
3
Combinatorial problem
...ns. I thought 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 near...
2010 Aug 22
0
lattice::xyplot() with one factor for points and another for lines - solution
...cely, including the addition of a stacked legend for the two factors in question. The latter requires package latticeExtra. library(lattice) library(latticeExtra) # Test data: d <- data.frame(time = rep(1:8, each = 6), val = rnorm(48), gp1 = factor(rep(1:6, 8)), gp2 = factor(rep(rep(c('A', 'B'), each = 3), 8))) mypch <- 1:6 mycol <- 1:6 # Define individual keys for each of the two factors # Details on xyplot() help page mykey1 <- list(title = 'Group 1', cex.title = 1.2, text = list(levels(d$gp1),...
2015 Apr 30
2
CentOS Images on AWS with partitions on /dev/xvda1 are awkwared to resize
...ICEMAPPING EBS /dev/sda1 snap-591037fd 8 > false standard Not Encrypted > > it is a standard volume, not encrypted, and 8 GB > my modification consists in adding this to my run command for my ami launch: > -b /dev/sda1=snap-591037fd:20:false:gp2 > > I set the drive the same, the snapshot the same, and I give it 20GB instead > of 8, I also use the gp2 type instead of the standard as well as telling it > not to delete the volume when the instance terminates. > > Hope this helps. > kp Perhaps so, and I appreciate the poi...
2015 Apr 29
4
CentOS Images on AWS with partitions on /dev/xvda1 are awkwared to resize
I'm staring at the free CentOS images on AWS, and seeing that whoever set those up elected to use a partition for /dev/xvda1 rather than taking advantage of Amazon's tendency to use "/dev/xvda", "/dev/xvdb", etc. for each disk and use those directly as a file system. The result is that if you elect to allocate a larger base disk image, for example allocating 50 Gig to
2015 Apr 30
0
CentOS Images on AWS with partitions on /dev/xvda1 are awkwared to resize
.../dev/sda1 snap-591037fd 8 >> false standard Not Encrypted >> >> it is a standard volume, not encrypted, and 8 GB >> my modification consists in adding this to my run command for my ami launch: >> -b /dev/sda1=snap-591037fd:20:false:gp2 >> >> I set the drive the same, the snapshot the same, and I give it 20GB instead >> of 8, I also use the gp2 type instead of the standard as well as telling it >> not to delete the volume when the instance terminates. >> >> Hope this helps. >> kp > >...
2011 Sep 29
1
plot.igraph
...want multiple edges 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],...
1999 Dec 02
1
Error in plot.aov() (PR#356)
...<Return> 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...
2015 Apr 30
0
CentOS Images on AWS with partitions on /dev/xvda1 are awkwared to resize
...fault set to BLOCKDEVICEMAPPING EBS /dev/sda1 snap-591037fd 8 false standard Not Encrypted it is a standard volume, not encrypted, and 8 GB my modification consists in adding this to my run command for my ami launch: -b /dev/sda1=snap-591037fd:20:false:gp2 I set the drive the same, the snapshot the same, and I give it 20GB instead of 8, I also use the gp2 type instead of the standard as well as telling it not to delete the volume when the instance terminates. Hope this helps. kp On Wed, 29 Apr 2015, Nico Kadel-Garcia wrote: > I'm star...
2003 Dec 17
1
repeated measures aov problem
...ct results. See below: > str(Ela.uni) `data.frame': 96 obs. of 5 variables: $ effect: num 19 11 20 21 18 17 20 14 16 26 ... $ subj : Factor w/ 16 levels "s1","s10","s11",..: 1 9 10 11 12 13 14 15 16 2 ... $ gp : Factor w/ 2 levels "gp1","gp2": 1 1 1 1 1 1 1 1 2 2 ... $ drug : Factor w/ 2 levels "dr1","dr2": 1 1 1 1 1 1 1 1 1 1 ... $ dose : Factor w/ 3 levels "do1","do2","do3": 1 1 1 1 1 1 1 1 1 1 ... > summary(aov(effect ~ gp * drug * dose + Error(subj/(dose+drug)), data=E...
2004 Nov 18
1
Method dispatch S3/S4 through optimize()
...within setMethod() rather than by name before the setMethod(). When called from within functions passed as the f= argument to optimize, the S3 generics for det() and chol() get picked up, not the S4 generics for the S4 SparseM classes. This looks for instance like (from example(boston)): > gp2 <- lagsarlm(log(CMEDV) ~ CRIM + ZN + INDUS + CHAS + I(NOX^2) + I(RM^2) + + AGE + log(DIS) + log(RAD) + TAX + PTRATIO + B + log(LSTAT), + data=boston.c, nb2listw(boston.soi), method="SparseM") matrix.csr Error in chol(tmp1) : non-numeric argument to chol (this is the error message...
2004 Oct 20
0
Permissions
hello, I created a share "test" I would that mydomain+gp1 write in this folder and mydomain+gp2 read only in this folder. I don't know to do that. Could you help me please ?? arnaud Debian 3.1 / Samba 3.0.7 / winbind 3.0.7
1999 Dec 03
0
Error in plot.aov() (PR#356) (fwd)
...0,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) : invali...
2020 Jun 16
0
iwlwifi problem after Centos 8.2 update
...| data3 [ 650.250695] iwlwifi 0000:00:14.3: 0x00000000 | beacon time [ 650.250695] iwlwifi 0000:00:14.3: 0x00038F74 | tsf low [ 650.250696] iwlwifi 0000:00:14.3: 0x00000000 | tsf hi [ 650.250697] iwlwifi 0000:00:14.3: 0x00000000 | time gp1 [ 650.250697] iwlwifi 0000:00:14.3: 0x00038F75 | time gp2 [ 650.250698] iwlwifi 0000:00:14.3: 0x00000001 | uCode revision type [ 650.250699] iwlwifi 0000:00:14.3: 0x0000002E | uCode version major [ 650.250700] iwlwifi 0000:00:14.3: 0x6BF1DF06 | uCode version minor [ 650.250700] iwlwifi 0000:00:14.3: 0x00000312 | hw version [ 650.250701] iwlwifi 0000:...
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
2006 Jan 05
1
Xenoppix(Xen 3.0 CD size) is released
Dear, We released New Xenoppix (based on Xen3.0, CD size). Detail HP http://unit.aist.go.jp/itri/knoppix/xen/index-en.html 670MB knoppix_v4.0.2CD_20050923_xen3.0-20060104+IPAFont_cdsize.iso --------------------------------- # New Features * Xen is updated to version 3.0. * Host-Xenoppix(Knoppix on Domain0) boots Guest-Xenoppix(Knoppix on DomainU) with same kernel and same Root
2006 Nov 17
1
gjournal on 6.x wont build
Hi all, I was intending on trying out gjournal on a new disk i've added in my desktop. I had a look to see what the most recent patch provided by Pawel and found http://people.freebsd.org/~pjd/patches/gjournal6_20061024.patch I created the directories as per Pawel's original post (http://lists.freebsd.org/pipermail/freebsd-fs/2006-June/001962.html) and the patch succeeded with no failed