search for: group2

Displaying 20 results from an estimated 250 matches for "group2".

Did you mean: groups
2011 Mar 11
2
insertion of a row between individuals
...nt between individuals: what I have: VAR DATE TIME CONC COVAR 1 NOV2 0.25 10 group1 1 NOV2 0.5 20 group1 1 NOV2 1 5 group1 1 NOV2 2 1 group1 1 NOV2 3 0.1 group1 2 NOV2 0.25 10 group2 2 NOV2 0.5 20 group2 2 NOV2 1 5 group2 2 NOV2 2 0.5 group2 2 NOV2 3 0.01 group2 . . 1000 NOV2 3 10 group2 ...to what I would like to have: VAR DATE TIME CONC COVAR 1 NOV2 0 0...
2011 Nov 03
1
Reclassify string values
Hi All, Is there a simple way to convert a string such as c("A", "B" ,"C", "D") to a string of c("Group1", "Group1", "Group2", "Group2"). Naturally I could use the factor function as below but I don't like seeing that warning message (and I don't want to turn off warning messages). Perhaps a function called "reclassify" or "recategorize"? Zev x<-LETTERS[1:4] x2<-as.ch...
2005 Apr 20
1
negative p-values from fisher's test (PR#7801)
...s.outer) > > population1 <- c( rep("A",300),seq(1:100)) > > population2 <- c( rep("A",100),seq(101:200)) > > > for (j in 1:nreps.outer){ + n1 <- sample(30:100,1) + n2 <- sample(30:100,1) + + group1 <- sample(population1, n1, replace=T) + group2 <- sample(population2, n2, replace=T) + + pvalue.fisher[j] <- fisher.test(table(c(group1,group2),c(rep("group1",n1),rep("group2",n2))))$p.value + + print(c(j,pvalue.fisher[j])) + + } [1] 1.000000e+00 3.581362e-05 [1] 2.0000000 0.1424779 [1] 3.0000000 0.1196600 [1] 4.000...
2011 Feb 09
1
Questions about dovecot-shared in 1.2 and inherit group membership from parent mailbox
...red per namespace or per mailbox *under* a specific namespace? Or an arbitrary number (where the "last" is taken)? Where does dovecot-shared need to be placed? For example, if the location of the namespace points to /var/mail/shared and I have two mailboxes "group1" and "group2" inside. Does the dovecot-shared need to reside in /var/mail/shared or /var/mail/shared/group1 and /var/mail/shared/group2 (with LAYOUT=fs)? Is it possible? Third (and main) question: In /var/mail/shared I want to have a mailbox for each group. Each user is member of his respective groups...
2008 Mar 12
1
[smb.conf] "browseable = no EXCEPT valid users" possible ?
...p auth on Debian ETCH. I need to configure this samba for multi-group and multi-users. Example : user 1 (from group1) have to see his own directory (for writing), his group' directory (for writing and sharing) but also the "homes" of others users from this group... user2 (from group2) don't have to see group1 or "user1'home "... he only have to access to group2 ' directory and group2' users' directory user3 (from group1) have to see his own directory, the directory of group1 and the directory of user1 (but for this one, only for "droppi...
2011 Jul 14
2
cbind in aggregate formula - based on an existing object (vector)
...ot;2008-12-01"), length = 3, by = "month"),4) value1=c(1,10,100,2,20,200,3,30,300,4,40,400) value2=c(1.1,10.1,100.1,2.1,20.1,200.1,3.1,30.1,300.1,4.1,40.1,400.1) example<-data.frame(mydate=mydate,value1=value1,value2=value2) example$group<-c(rep("group1",3),rep("group2",3),rep("group1",3),rep("group2",3)) example$group<-as.factor(example$group) (example);str(example) example.agg1<-aggregate(cbind(value1,value2)~group+mydate,sum,data=example) # this works (example.agg1) ### Building my object (vector of 2 names - in reality, many m...
2011 Apr 04
2
merging 2 frames while keeping all the entries from the "reference" frame
...ave my data frame "mydata" (below) and data frame "reference" - that contains all the dates I would like to be present in the final data frame. I am trying to merge them so that the the result data frame contains all 8 dates in both subgroups (i.e., Group1 should have 8 rows and Group2 too). But when I merge it it's not coming out this way. Any hint would be greatly appreciated! Dimitri mydata<-data.frame(mydate=rep(seq(as.Date("2008-12-29"), length = 8, by = "week"),2), group=c(rep("Group1",8),rep("Group2",8)),values=rnorm(16,1,1))...
2011 Apr 30
1
More flexible aggregate / eval
Dear list, I would like to do some calculation using different grouping variables. My 'df' looks like this: # Some data set.seed(345) id <- seq(200,400, by=10) ids <- sample(substr(id,1,1)) group1 <- rep(1:3, each=7) group2 <- rep(1:2, c(10,11)) group3 <- rep(1:4, c(5,5,5,6)) df <- data.frame(id, ids, group1, group2, group3) df <- rbind(df, df, df) df$time <- seq(2009, 2011, each=3) df$x1 <- sample(0:100, 63) df$x2 <- sample(44:234, 63) head(df) ## For group1 d1 <- aggregate(cbind(x1, x2) ~...
2006 May 03
1
share permissions
...list, I need to create the following share: user1 can create a file in the share but can't erase or change; user1 can just read the file when he creates it; user2 can delete and change the file user1 has created; I did like this: user1 is member of group group1; user2 is member of group group2; [share] path = /home/share read only = No write list = @group2 create mask = 575 force create mode = 0575 force user = user2 force group = group2 When user1 creates a file in "share" the files gets the permissons right: user2 group2 r_x...
2009 Sep 20
2
missing level of a nested factor results in an NA in lm output
...cients: Estimate Std. Error t value Pr(>|t|) (Intercept) 12.6487 0.4037 31.331 2.58e-11 *** FEATURE4227 -0.3271 0.4944 -0.661 0.52325 FEATURE6374 -1.0743 0.4944 -2.173 0.05492 . GROUP1 -1.2641 0.5709 -2.214 0.05120 . GROUP2 -0.2359 0.5709 -0.413 0.68825 GROUP3 -1.3081 0.5709 -2.291 0.04492 * GROUP4 -0.5867 0.5709 -1.028 0.32836 FEATURE4227:GROUP1 1.5651 0.6993 2.238 0.04915 * FEATURE6374:GROUP1 1.1435 0.6993 1.635 0.13302 FEATURE4227:GROUP2 0...
2017 Oct 03
0
samba performance & ACL behavior
...[toplevel] vfs objects = glusterfs glusterfs:volume = vol glusterfs:logfile = /var/log/samba/glusterfs-vol.log glusterfs:loglevel = 7 path = /toplevel public = no writable = yes guest ok = no valid users = @"group1",@"group2",@"group3" kernel share modes = no *Question 1:* *Are there any performance concerns with the above settings in the smb.conf?* The ACL's on /toplevel are: # getfacl toplevel # file: toplevel # owner: root # group: root user::rwx group::r-x group:group1:rwx group:group...
2009 Mar 03
2
Reshape
...so ell values and individuals are repeated for each group. Let me show the example: matrix in wide format: Individuals Value A 3 B 4 C 5 D 2 And long format would be like: Individuals Value Group A 3 Group1 B 4 Group1 C 5 Group1 D 2 Group1 A 3 Group2 B 4 Group2 C 5 Group2 D 2 Group2 My case is of course very large so i thought this could be possible with reshape function by adding a vector with the names of the groups or something like that. Thanks in advance. [[alternative HTML version deleted]]
2005 Feb 23
1
How to conctruct an inner grouping for nlme random statement?
...ried several things, given below. Lets say I have a data frame with five variables, resp, cov1, ran1, ran2, group1, and group 2. The formula is resp~cov1 + ran1 + ran2, where the ran are random variables. The data is of length 80, and there are 4 unique factors in group1 and 20 unique factors in group2. These are factors related to ran1 and ran2, respectively. The difficult part is that I want to estimate only 4 random variables for ran1|group1 and the full 20 for ran2|group2. I have tried many ways, and I cannot find a way to do this. Is there a way? Can someone suggest a code snippet?...
2008 Jul 07
1
GLM, LMER, GEE interpretation
...iduals: Min 1Q Median 3Q Max -18.9843 -4.1129 0.3816 6.0047 18.1858 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) -3.4274 0.4641 -7.386 1.10e-12 *** capacity 0.9931 0.1281 7.754 9.55e-14 *** group2 0.7242 0.6337 1.143 0.25392 group3 2.0264 0.6168 3.286 0.00112 ** capacity:group2 -0.1523 0.1764 -0.863 0.38864 capacity:group3 -0.3885 0.1742 -2.231 0.02633 * --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 &...
2011 Aug 16
4
a question about lm on t-test.
...lm on t-test. data(sleep) I wanna perform t-test to test the difference between the 2 groups: I can use: t.test(extra~group) The t.test result shows that:t = -1.8608; mean1=0.75,mean2=2.33 But I still wanna use: summary(lm(extra~group)) Intercept=0.75,which is mean1,just the same as t.test. group2=1.58 means the difference of the 2 groups,so mean2=1.58+0.75=2.33,just the same as t.test. And some parameters of group2(t value,Pr) are the same as t.test,since group2 is the difference of the 2 groups. My question is: How the "t value" of Intercept(group1 acturally) is calculated? Th...
2011 Jul 29
1
question about groups
Hi all, I have a (simple?) question about groups. this is my scenario: Windows Active directory domain Samba file server ADS integrated 2 shares on this last server (share1, share2) 2 groups on the AD (group1 and group2) First share is only fully available to group1: this is easily done second share is fully available to group2 --- Then I have some users belonging to both group1 and group2; anyway group1 is the principal group. when a user of this kind create a folder or a file on the share2, the file is crea...
2010 Sep 20
3
Depletion of small p values upon iterative testing of identical normal distributions
...ndom number generation in R or the nature of the normal distribution simulated by the rnorm function that could explain this depletion? Here are two key parts of my code to show what functions I'm working with: #Calculating the p values while(i<numtests){ Group1<-rnorm(6,-0.0065,0.0837) Group2<-rnorm(6,-0.0065,0.0837) PV<-t.test(Group1,Group2)$p.value pscoresvector<-c(PV,pscoresvector) i<-i+1 } #Binning the results freqtbl1<-binning(pscoresvector,breaks=bins) Thanks in advance for any insights, Andrew [[alternative HTML version deleted]]
2010 Jul 15
1
Auto directory creation not working
Hello, I am experiencing problems with auto directory creation for user shares. I have samba instance that is authenticated against samba PDC, on PDC i have 2 groups, group1 and group2. What i want to do now is to have separate folders for user shares for each group. so /mnt/share/group1/user1 would be for user1 in group 1 and /mnt/share/group2/user2 would be folder for user2 in group 2 root directories are crated (/mnt/share/group1 and /mnt/share/group2) with chmod 777 and ow...
2011 Jun 01
2
Samba + ACL + Linux Client
...7. Below my configurations files: #/etc/fstab /dev/sda3 /shared reiserfs defaults,acl 0 1 #smb.conf [data] comment = files path = /shared inherit acls = yes inherit permissions = yes map acl inherit = Yes # users and groups user1 and user2 into group1 user3 and user4 into group2 #permission directory files and acl's drwxr-x---+ 4 root root 96 Mai 27 11:48 group1 getfacl group1/ # file: group1/ # owner: root # group: root user::rwx group::r-x group:group1:r-x mask::r-x other::--- default:user::rwx default:group::rwx default:other::--- drwxrwx---+ 4 root root 96 Mai 2...
2008 Oct 02
2
aggregate empty row for pretty appearance also subtotal if possible
Hi, To pretty print aggregates by various dimensions I needed to add a empty row in output of aggregate. For example. d<-(aggregate(data[,cbind("x")], by=list(data$group1,data$group2), sum)) Group.1 Group.2 x 1 A N 3 2 A Y 2 3 B N 420164905 Is there a way to add an empty row between group1 and group 2. So that it looks like Group.1 Group.2 x 1 A...