search for: y11

Displaying 16 results from an estimated 16 matches for "y11".

Did you mean: 11
2004 Sep 14
3
reshaping some data
Hi all, I have a data.frame with the following colnames pattern: x1 y11 x2 y21 y22 y23 x3 y31 y32 ... I.e. I have an x followed by a few y's. What I would like to do is turn this wide format into a tall format with two columns: "x", "y". The structure is that xi needs to be associated with yij (e.g. x1 should next to y11 and y12, x2 should b...
2006 Aug 25
2
horizontal direct product
...e gauss code into R, and gauss has a matrix product function called the horizontal direct product (*~), which is some sort of variant on the Kronecker product. For example if x is 2x2 and y is 2x2 the horizontal direct product, z, of x and y is defined (in the Gauss manual) as: row 1 = x11*y11 x11*y12 x12*y11 x12*y12 row 2 = x21*y21 x21*y22 x22*y21 x22*y22 Or in R code if: x <- matrix(seq(1,4,by=1),2,2, byrow=TRUE) y <- matrix(seq(5,8,by=1),2,2, byrow=TRUE) The resulting matrix, if I had an operator, would be the following matrix z, here formed in a contrived manner: z.1 <...
2006 Mar 24
1
Multiple error bar plots
...uot;multiple" error bar plots into one. In my data, x represents a group index and y represents some measurements. I have three sets of measurements all of which have the same group indices (thus the same x values in the errbar plot). In other words, my data looks like this: X1 (group index), Y11 (measurement), error of Y11 (error in measurement) X2, Y21, error of Y21 ... Xn, Yn1, error of Yn1 // End of the first set of measurements X1, Y12, error of Y12, X2, Y22, error of Y22, ... Xn, Yn2, error of Yn2 // End of the second set of measurements X1, Y13, error of Y13, X2, Y23, error of Y23,...
2004 Jun 06
3
Average R-squared of model1 to model n
Hi, We got a question about interpretating R-suqared. The actual outputs for a test dataset is X=(x1,x2, ..., xn). model 1 predicted the outputs as Y1=(y11,y12,..., y1n) model n predicted the outputs as Y2=(y21,y22,..., y2n) ... model m predicted the outputs as Ym=(ym1,ym2,..., ymn) Now we have two ways to calculate R squared to evaluate the average performance of committee model. (a) Calculate R squared between (X, Y1), (X, Y2), ..., (X,Ym), a...
2018 May 24
0
Manipulation of data.frame into an array
...1 2 1 2 X115 X116 X21 X22 X23 X24 X25 X26 X27 X28 X29 X210 X211 X212 1 2 0 1 0 1 1 1 0 1 0 1 0 1 X213 X214 X215 X216 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10 1 1 0 1 1 2 3 4 5 6 7 8 1 2 Y11 Y12 Y13 Y14 Y15 Y16 3 4 5 6 7 8 So, e.g. for a 3 column matrix: > matrix(do.call(c,imp), ncol=3) [,1] [,2] [,3] [1,] 1 0 1 [2,] 2 1 2 [3,] 1 0 3 [4,] 2 1 4 [5,] 1 1 5 [6,] 2 1 6 [7,] 1 0 7 [8,]...
2018 May 24
4
Manipulation of data.frame into an array
Hello everyone, I want to transform a data.frame into an array (lets call it mydata), where: mydata[[1]] is the first imputed dataset...and for each mydata[[d]], the first p columns are covariates X, and the last one is the outcome Y. Lets assume a simple data.frame: Imputed = data.frame( X1 = c(1,2,1,2,1,2,1,2, 1,2,1,2,1,2,1,2), X2 =
2019 Apr 24
1
Bug in "stats4" package - "confint" method
...he method ?confint? will return a wrong evaluation of the confidence interval without throwing any warning. I suggest to use the fixed values that are already contained within the mle object: > fit0 at fullcoef[grep('y', names(fit0 at fullcoef))] y1 y2 y3 y4 y5 y6 y7 y8 y9 y10 y11 26 17 13 12 20 5 9 8 5 4 8 Additionally, the method ?coef? returns both the coefficient and the fixed parameters - while should return only the parameters - , while the ?fullcoef? method is not implemented - while present in the documentation of 'mle-class?. Best, Stefano...
2018 May 24
2
Manipulation of data.frame into an array
...1 2 1 2 X115 X116 X21 X22 X23 X24 X25 X26 X27 X28 X29 X210 X211 X212 1 2 0 1 0 1 1 1 0 1 0 1 0 1 X213 X214 X215 X216 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10 1 1 0 1 1 2 3 4 5 6 7 8 1 2 Y11 Y12 Y13 Y14 Y15 Y16 3 4 5 6 7 8 So, e.g. for a 3 column matrix: > matrix(do.call(c,imp), ncol=3) [,1] [,2] [,3] [1,] 1 0 1 [2,] 2 1 2 [3,] 1 0 3 [4,] 2 1 4 [5,] 1 1 5 [6,] 2 1 6 [7,] 1 0 7 [8,]...
2007 Aug 07
1
Error in as.double.default(x) : (list) object cannot be coerced to 'double'
...ands for gene expression divergence and 14 matrices which stands for gene sequence divergence. I have tried joining them by using the concatanation function giving SequenceDivergence <- c(X1,X2,X3,X4,X5,X6,X7,X8,X9,X10,X11,X12,X13,X14) ExpressionDivergence <- c(Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8,Y9,Y10,Y11,Y12,Y13,Y14) where X1,X2..X14 are the expression matrices containing r-values and Y1,Y2..Y14 are the ones with patristic distances Now, I want to plot SequenceDivergence vs. Expression Divergence Tried doing that using plot (Sequence Divergence vs. Expression Divergence) But then getting the...
2007 Aug 07
0
plotting series of matrices on a single plot.
...ands for gene expression divergence and 14 matrices which stands for gene sequence divergence. I have tried joining them by using the concatanation function giving SequenceDivergence <- c(X1,X2,X3,X4,X5,X6,X7,X8,X9,X10,X11,X12,X13,X14) ExpressionDivergence <- c(Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8,Y9,Y10,Y11,Y12,Y13,Y14) where X1,X2..X14 are the expression matrices containing r-values and Y1,Y2..Y14 are the ones with patristic distances Now, I want to plot SequenceDivergence vs. Expression Divergence Tried doing that using plot (Sequence Divergence vs. Expression Divergence) But then getting the...
2001 Apr 11
1
$HOME/.shosts and setegid()
...ion: is there a particular reason that setegid() and initgroups() are not used? Regards, -Luzian -- University of Zurich, Centre for Computing Services Luzian Scherrer <luzian.scherrer at zi.unizh.ch> Winterthurerstrasse 190, CH-8057 Zurich Tel: +41 1 63 56778 Fax: +41 1 63 54505 Office: Y11-F-76
2008 Oct 15
0
Iterative estimation of linear regression model
...?8.0?26.8?0.04 Y5?7.2?20.4?40.6?18.2?0.8?28.2?5?9.2?44.3?0.02 Y6?5.9?18.6?37.4?14.5?0.3?36.9?8?9.5?32.9?0.10 Y7?8.0?16.1?88.6?24.1?0.1?34.6?2?8.7?11.1?0.02 Y8?13.6?21.1?56.3?19.0?0.7?33.3?6?9..5?10.8?0.06? Y9?11.2?20.4?40.7?12.9?1.1?40.3?3?12.2?6.5?0.04 Y10?7.6?18.3?27.5?8.1?2.3?41.9?2?5.9?2.9?1.00 Y11?8.8?22.2?33.3?8.8?0.6?44.4?4?6.6?55.5?0.09 Y12?9.4?16.5?35.6?16.2?0.7?50.2?5?8..8?31.4?0.07 ? (These files have been given as attachments as well) The data file has 10 variables in all, divided into?two groups: ?G1 consisting of the first 4 variables and G2?of the remaining 6 variables. We wish to...
2000 Aug 14
5
Writing a workable function
After searching in R- Introduction, FAQ, help... I don't understand this: I write a function in a file (.R): tt <- function(mc) { date() mc<-read.csv2("machines.txt",na.strings="") date() } I source it in R and I type tt(). The answer is > tt() [1] "Mon Aug 14 11:18:25 2000" > The instructions following the first "date()" are ignored. Why?
2009 Nov 27
6
Learning R - View datasets
Hi All, I am making a serious effort to try to learn R, but one hurdle I am facing is that I need to "see" the data as I walk through the examples in the packages. For instance, many examples on the web start by a command like data("wines"). How can I actually view what the dataset looks like prior to transformations and analysis? I have tried to use edit() , print, and
2002 Dec 09
0
Re: R-help digest, Vol 1 #10 - 6 msgs
...> "y5",100,10,15,25,5,1,8,30,25,15,6 > "y6",150,3,3,0,11,9,6,0,0,20,10 > "y7",340,12,8,6,26,19,0,0,0,20,25 > "y8",300,5,3,0,16,20,11,0,0,10,8 > "y9",380,8,11,5,10,25,9,2,40,30,10 > "y10",40,5,0,0,2,1,2,0,0,0,0 > "y11",230,12,9,0,11,13,4,0,0,0,10 > "y12",180,0,0,0,0,14,0,6,210,4,2 > > --------------060007010402070602040701-- > > > --__--__-- > > Message: 4 > Date: Sat, 7 Dec 2002 16:01:04 -0500 (EST) > From: Naoki Takebayashi <ntakebay at bio.indiana.edu> > T...
2011 May 09
1
Dovecot Maildir ownership/permission problem
Hi, I have successfully configured Dovecot+Postfix+SSL/TSL and it seems that everything is working except that I have a permission problem with the items under Maildir. When a mail is first delivered into a user, Postfix automatically creates the Maildir using the user's account and group. It is readable only by the user. This seems to be the correct setting for me, as only the user could