search for: 3x2

Displaying 20 results from an estimated 52 matches for "3x2".

Did you mean: 32
2012 Oct 30
3
create 3x2 panel boxplots
Hi, I would like to create a trellis plot (3x2) of 6 individual box plots. It would look like this: (Created semi-manually) <http://r.789695.n4.nabble.com/file/n4647878/Figure8.jpg> What would be the most elegant way to do this? Thank you! -- View this message in context: http://r.789695.n4.nabble.com/create-3x2-panel-boxplots-tp46478...
2006 Jul 17
28
Big JBOD: what would you do?
ZFS fans, I''m preparing some analyses on RAS for large JBOD systems such as the Sun Fire X4500 (aka Thumper). Since there are zillions of possible permutations, I need to limit the analyses to some common or desirable scenarios. Naturally, I''d like your opinions. I''ve already got a few scenarios in analysis, and I don''t want to spoil the brain storming, so
2007 Aug 29
1
Plot command drops part of the plot for large plots in multiple figure environment
I have run into some surprising behaviour when plotting data in a 3x2 grid: random parts of the data on my graphs aren't rendered. Not on screen, not on file, and not when I send the plot to a printer. I don't get any error messages either. When I do the individual plots (not in a grid) they are each rendered correctly. My questions are: - Has anyone en...
2013 Jan 04
2
a question about the computation of expression
Hi all: I have a question about the computation of expression: y = 1+(2x1+2)-3*(5x1-1)+(3x2+3)-2*(x2-1) The result of y is: y = 11-13x1+x2 How can I compute the result of y via R function? Many thanks! My best. [[alternative HTML version deleted]]
2008 Nov 13
2
CROSSTABULATION
I want to form a 3x3 crosstabulation for the signs of two vectors (i.e. Negative, Zero, Positive). The problem is that I am simulating the data so for some iterations one of the categories is absent. Thus the resulting table shrinks to 3x2. I want it to be 3x3 with zero column corresponding to the missing category. Moreover, I have tried but failed to give the dimension names. -- Sohail Chand PhD Scholar C3b Pope Building School of Mathematical Sciences University of Nottingham Nottingham NG7 2RD UK Lecturer (On Study Leave) Insti...
2004 May 27
2
no transparent background in bmp
...aphics file of my lattice plots and no matter what color I use for the bg= argument in the bmp/jpeg/png function, the background is grey. bmp(filename = "c:/my_paper/resids.bmp", width=1024, height=1024, pointsize=10, bg="transparent") # these are lattice plots. plot them in a 3x2 matrix print( hgqqplot, position=c(0.0, 0.66, 0.5, 1.0 ), more=TRUE ) print( hgplot, position=c(0.5, 0.66, 1.0, 1.0 ), more=TRUE ) print( dgqqplot, position=c(0.0, 0.33, 0.5, 0.66 ), more=TRUE ) print( dgplot, position=c(0.5, 0.33, 1.0, 0.66 ), more=TRUE ) print( cwgqqplot, position=c(0.0, 0.0, 0.5...
2012 Oct 23
2
multi-panel figure: overall title for each row
Dear all, I have a 3x2 plot and in addition to the title of the individual plots I would like to have an overall title for each row. I managed to get an overall title for the whole plot matrix with mtext: par(mfrow=(c(3,2)), mar=c(6.4,4.5,4.2, 1.8), oma=c(0,0,3,0)) for (i in 1:6) barplot(sample(1:10,5), main=paste(&q...
2013 Jan 02
2
In which column and in which row a number is in a matrix
...x(2:7,nrow=3,ncol=2) > matb [,1] [,2] [1,] 2 5 [2,] 3 6 [3,] 4 7 > which(mata==4) [1] 3 > which(matb==4) [1] 3 The function "which" returns the position "3" for both, mata and matb, but If I didn't know that mata is a 2x3 matrix and matb is a 3x2, I wouldn't know that the number 4 is at the column 2 and row 1 of the mata and at the column 1 and row 3 of the matb. Do you know any way to know the column and the row of a number in a matrix automatically? Thanks, best regards, Charles -- Um ax?! :) -- Charles Novaes de Santana http://...
2012 Oct 19
5
RColorBrewer
Hi there everyone! So I'm a student in college, taking a very basic Statistics course. We're using R for most of our assignments. I've hit a pretty big wall here. I'm attempting to create a heat map of the entire united states which corresponds to a set of percentages I have for each state. My teacher suggested that I simply create a color palette with RColorBrewer that is in the
2007 Jul 11
2
inquiry about anova and ancova
Dear R users, I have a rather knotty analysis problem and I was hoping that someone on this list would be able to help. I was advised to try this list by a colleague who uses R but it is a statistical inquiry not about how to use R. In brief I have a 3x2 anova, 2 tasks under 3 conditions, within subjects. I also took a variety of personality measures that might influence the results under the different conditions. I had thought that an ancova would be the best test, but it might be the case that this would not work with a within subjects design. I...
2009 Jun 11
1
Syntax question: assigning sparse matrix elements
Hopefully this is straightfoward. I have an matrix which is mostly zeroes. I want to assign it some non-zero elements whose rows, columns, and values I know. As a simple example, say I create a 3x2 matrix of zeros: > m <- matrix(rep(0,6),nrow=3) Now say I want to make the [1,1] and [3,2] elements of this matrix be non-zer, so I create two vectors, one for rows and one for cols: > rows <- c(1,3) > cols <- c(1,2) And I have two values to be put in these locations: > vals...
2009 May 12
1
Graphic aspect ratio
Hi I've been playing with a 3x2 graphics device using the default size as it appears on screen. This has given me tall thin plots which I can resize by dragging the window and increasing the window width. However I was wondering if I can force R to produce square plots or set the actual aspect ratio. asp seems to affect data unit...
2010 Apr 22
1
Why does 'apply(.., 1, .., ..)' transpose result
I am sorry if this is documented in apply's dcumentation or completely obvious, I could not find or work it out. Given an matricies Q: 2x3, R:1x3 and S:1x2 apply(Q, 1, '-', R) is 3x2 and apply(Q, 2, '-', S) is 2x3 Why? cheers Worik > Q [,1] [,2] [,3] [1,] 1 2 3 [2,] 10 11 12 > R [1] 1 4 7 > S [1] 1 4 > apply(Q, 1, '-', R) [,1] [,2] [1,] 0 9 [2,] -2 7 [3,] -4 5 > apply(Q, 2, '-', S) [,1] [,2]...
2009 Aug 05
0
non-1 vertical virtual size
...s), I like my vertical virtual size to be more than 1 (typically 2). But I bump into several problems with that: - the panel's "worspace switcher applet" doesn't seem to understand it right: - if I tell it to "show all workspaces in 1 row", then my 6 workspaces (3x2) get displayed correctly, but clicking on them only lets me move left/right (e.g. if I'm at the left-top, click on the right-bottom workspace gets me to the right-top workspace). - if I tell it to "show all workspaces in 2 rows", then it splits the box horizontally into...
2011 Jan 19
1
buglet in weighted.residuals(mlmObject)
...is doing resids[ weights != 0 ] instead of resids[ weights != 0, , drop=FALSE] in the multi-response case. E.g., > d4 <- data.frame(y1=1:4, y2=2^(0:3), wt=log(1:4), fac=LETTERS[c(1,1,2,2)]) > fit <- lm(data=d4, cbind(y1,y2)~fac, weights=wt) > weighted.residuals(fit) # expect 3x2 matrix [1] 1.407294e-16 -5.847465e-01 5.205496e-01 5.950102e-16 -2.338986e+00 [6] 2.082198e+00 > weighted.residuals(fit, drop0=FALSE) y1 y2 1 0.000000e+00 0.000000e+00 2 1.407294e-16 5.950102e-16 3 -5.847465e-01 -2.338986e+00 4 5.205496e-01 2.082198e+00 This is...
2012 Sep 20
0
Plot to tiff, font size problem in multiple plot figures
...olution or pointsize specifications, I have increased the figure size according to how many plots it will ultimately have, and I have made sure the margins are equivalent for single and multiple plot figures... example code below (font size is consistent between 1x1 and 2x1 figure but decreases for 3x2 figure): tiff("1x1.tif", width=3,height=2.5,units="in",res=600,pointsize=8,compression="lzw",restoreConsole=T) par(mfrow=c(1,1),mar=c(4,4,.5,.5)+0.1) plot(x=rnorm(10),y=rnorm(10)) dev.off() tiff("2x1.tif", height=2.5*2,width=3,units="in",res=600,p...
2003 Aug 06
0
R CMD check: checking for undocumented objects ... WARNING
...l latex example cinfoB.AB text html latex example cmat text html latex example cmatB.AB text html latex example core text html latex example data.3x2 text html latex example designMA text html latex example designs.basic text html latex example designs.composite text html latex example id.3x2 te...
2011 Apr 20
1
avoiding if-then statements for looped chi-square tests
...mber of different RxC tests based on how many genotypes (e.g. 2 genotypes vs 4 gives 8 cells, 2 by 2 gives you a 4 cell test etc.). Instead of writing a series of if then statements for the chi-square test on the obs-exp numbers for each possible gene pair (i've started to do this....2x2, 2x3, 3x2, 2x4, 3x4,etc) is there a generic way to pass the number of unique elements for each gene (which would define the number of genotypes for that gene) into a calculation of the obs-exp and then the chisquare test? Here is some example code to illustrate what I am trying to work with. ###example dat...
2010 Feb 12
2
Multiple figures margin problem
Hello All, I am trying to make a figure with 3x2 plots in it. Let us name the plots as such: 1 2 3 4 5 6 I begin my script with: par(mfcol=c(3,2)) par(oma=c(0,0,0,0)) --> This is for a postscript figure so I really don't need the outer margins. d=5 par(mar=c(d,d,d,d)) --> This applies to all the 6 plots. Now if d=0, plots 1...
2007 Jun 20
14
Z-Raid performance with Random reads/writes
Given a 1.6TB ZFS Z-Raid consisting 6 disks: And a system that does an extreme amount of small /(<20K) /random reads /(more than twice as many reads as writes) / 1) What performance gains, if any does Z-Raid offer over other RAID or Large filesystem configurations? 2) What is any hindrance is Z-Raid to this configuration, given the complete randomness and size of these accesses? Would