search for: 10x2

Displaying 8 results from an estimated 8 matches for "10x2".

Did you mean: 102
2023 Dec 08
1
Convert two-dimensional array into a three-dimensional array.
Colleagues I want to convert a 10x2 array: # create a 10x2 matrix. datavals <- matrix(nrow=10,ncol=2) datavals[,] <- rep(c(1,2),10)+c(rnorm(10),rnorm(10)) datavals into a 10x3 array, ThreeDArray, dim(10,2,10). The values storede in ThreeDArray's first dimensions will be the data stored in datavalues. ThreeDArray[i,,] &lt...
2006 Nov 17
3
Trellis Plot Labels
Hello everyone, I am ploting a groupeddata object with formula: formula(mydatausegroup) BF ~ HO | ID/Infar/Day Using this command: plot(na.omit(mydatausegroup), displayLevel=2,layout=c(10,2),aspect=2) This trellis plot does almost what I want and produces a 10x2 trellis plot, each panel is labeled as ID/Infar where infarct is either 1 or 0. And in each panel, it plots BF vs HO for each Day. However, the "days" are labeled simply as "1,2,3,4" instead of their actual values (ranging from 1 to 8). This just mapped for each ID the "1 s...
2006 May 11
1
Maximum value of two columns
Hello -- Given the 10x2 matrix below, my goal is to create a vector which contains the maximum of column 1 and column 2, or the only value if there is an NA in one column. I experimented with max.col without success. Thanks. --Dale > tmax.m tmaxhme tmaxer [1,] 101.0 99.8 [2,] 102.5 99.0 [3,]...
2017 Dec 28
1
Adding larger bricks to an existing volume
I have a 10x2 distributed replica volume running gluster3.8. Each of my bricks is about 60TB in size. ( 6TB drives Raid 6 10+2 ) I am running of storage so I intend on adding servers with larger 8Tb drives. My new bricks will be 80TB in size. I will make sure the replica to the larger brick will match in size....
2007 Dec 05
1
confint for coefficients from lm model (PR#10496)
Full_Name: Christian Lajaunie Version: 2.5.1 OS: Fedora fc6 Submission from: (NULL) (193.251.63.39) confint() does not use the appropriate variance term when the design matrix contains a zero column (which of course should not happen). Example: A 10x2 matrix with trivial column 1: > junk <- data.frame(x=rep(0,10), u=factor(sample(c("Y", "N"), 10, replace=T))) The response: > ans <- as.integer(junk$u) + rnorm(10) and the model: > junk.model <- lm(ans ~ junk$x + junk$u) 3 coefficients: > coefficients(ju...
2007 Mar 13
3
dropping lighty+fastcgi and moving to apache+mongrel in production
...p servers (separate boxes), I plan on running 10 mongrels on each.. I am assuming I just simply use: BalancerMember http://10.0.1.1:800* ... BalancerMember http://10.0.1.2:800* ... Should this be identical on both http servers? So I would have a total of 20 entries per conf on each http server ( 10x2 mongrels for 2 app servers ). Otherwise I am assuming the setup is the same as if they were local mongrels. If you guys can let me know if I am on the right track here I would appreciate it. Regards, -- -mike -------------- next part -------------- An HTML attachment was scrubbed... URL: http://...
2009 Oct 02
1
How to select a subset <number of dimensions matter>
Hi guys, I need your help. I would like to select a subset from a dataset. This is the dimension of the dataset. > dim(data1) [1] 72 36 1916 so, it's like.. there are 1916 of 72 * 36 matrix. ==> looks like 72 * ( 36*1916 ) ** *1)* And I would like to select the first 72*36 matrix. This is how I did: > two=data1[,1:36] Error in data1[, 1:36] : incorrect number of dimensions
2004 Feb 03
5
creating a factor
Hi list, I'd like to make a factor with seven 1s and three 2s using the factor() function. That is, 1 1 1 1 1 1 1 2 2 2 I will then bind this factor to the matrix below using cbind.data.frame(). 0.56 0.48 0.22 0.59 0.32 0.64 0.26 0.60 0.25 0.38 0.24 0.45 0.56 0.67 0.78 0.97 0.87 0.79 0.82 0.85 I am new to R and have been using various manuals and have made many attempts without