search for: gp1

Displaying 14 results from an estimated 14 matches for "gp1".

Did you mean: gp
2005 Sep 30
4
by() processing on a dataframe
...dataframe. (What SAS PROC 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 &...
2010 Aug 21
1
lattice::xyplot() with one factor for points and another for lines
...factors? In the xyplot below, the objective 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) {...
2009 Aug 12
3
Combinatorial problem
...restrictions. 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....
2010 Aug 22
0
lattice::xyplot() with one factor for points and another for lines - solution
...an Sarkar, the problem has been resolved nicely, 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....
2011 Sep 29
1
plot.igraph
...irs of vertices, I 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],g...
2008 Aug 20
1
Understanding output of summary(glm(...))
Simple example of 5 groups of 4 replicates. >set.seed(5) >tmp <- rnorm(20) >gp <- as.factor(rep(1:5,each=4)) >summary(glm(tmp ~ -1 + gp, data=data.frame(tmp, gp)))$coefficients Estimate Std. Error t value Pr(>|t|)gp1 -0.1604613084 0.4899868 -0.3274809061 0.7478301gp2 0.0002487984 0.4899868 0.0005077655 0.9996016gp3 0.0695463698 0.4899868 0.1419352018 0.8890200gp4 -0.6121682841 0.4899868 -1.2493567852 0.2306791gp5 -0.6999545014 0.4899868 -1.4285171713 0.1736348 >m <- data.frame(tmp, gp) >sapp...
2003 Dec 17
1
repeated measures aov problem
...h produces correct 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...
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
2020 Jun 16
0
iwlwifi problem after Centos 8.2 update
...000 | data2 [ 650.250694] iwlwifi 0000:00:14.3: 0xF0000008 | 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...
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
2011 Apr 10
2
Multinomial Logit Model with lots of Dummy Variables
Hi All, I am attempting to build a Multinomial Logit model with dummy variables of the following form: Dependent Variable : 0-8 Discrete Choices Dummy Variable 1: 965 dummy varsghpow at student.monash.edu.augh@gp1.com Dummy Variable 2: 805 dummy vars The data set I am using has the dummy columns pre-created, so it's a table of 72,381 rows and 1770 columns. The first 965 columns represent the dummy columns for Variable 1 The next 805 columns represent the dummy columns for Variable 2 My code to build t...
2004 Mar 01
0
failure notice (PR#6630)
...6fbDCh3r0pVRVUlUp/+fd24SD0RB VEFFUENHIEdCOjwlyV7oz2Y+Wk5WWRBFQloRl+zOb9JVUllCIAtSVVR+AFcH8EYbnlpHQ6CZaI1M sUILWyi83Y5napNyXFqR8mYNam8lt1xW14DxIE5w0AoTjdZTB5nnkz0I1vIPKgBV//9v/IvsgewI BEVWM8kz9jlNDMZF/8d+aFeLPUwQpd9Bl1CB+bFyFY1F+GrX7377/42F+Pv//1FQ/3UQ/9cvi0UI u4VDigQGMvvb3W81QYiEDfcei8aZBorCsgP26vE+gP1//0Y7dQx8uYXJW3QTQ19eycPflhzHgTQB sn7obEgED7dN9v//wGoFM9uZWTP/9/mL8oPGBDvzfhoaGrb9/60YFoDCYYhUPeRHO/585oBkCACv K1XfzHBi5GhMLxFat9bdfot1CIldAp4IWTkIdsz+u7u5L3UOaBgPHhVsLesMUA4bvM0WDWiAvSGc cf7v62YqI2RRjQxJgDwIXHQODutmzxloSGFsUCvXgv2LpdaABQJTagMl9jedA1BEYIvYhdt0BYP3 27aZ7HUjXFyD+BFt6f+gvP0LR4N9CAIPjFR...
2003 Dec 01
0
No subject
...ADMIN$ Disk IPC Service (Samba 2.2.1a) Server Comment --------- ------- 16547 16883 AKING1 AVONG CWRIGHT TOSHIBA OEM ENTEX17 FIERYCWS FLABURTHE GNEIL2 GP1 GSUS1 IMSSUN Samba 2.2.1a Workgroup Master --------- ------- WORKGROUP IMSSUN and the following sun-hostname#smbclient //sun-hostname/home I get the filesystem I shared. Further the following is my smb.conf file [...
2002 Jun 05
3
Error RunTime Microsoft Access.
Hi all, My name is Giuliano and I write from Italy. I contact the list because I have a problem with wine and I don't know the cause. I use wine version 20011108-5, freetype 1.3.1 and XFree4.0.2. I must use a Access application (Office2000) under Linux and I I have thought to wine. My problem is that when I try to install the runtime for access with: wine --winver win2000 setup.exe I