similar to: add diagonal line to covariance matrix

Displaying 20 results from an estimated 300 matches similar to: "add diagonal line to covariance matrix"

2010 Oct 22
2
covariance matrix
Dear all, I generated a covariance matrix and I would like to generate a 1D plot of the data that auto-correlate. any suggestions? Thanks, Marcelo -- Marcelo Andrade de Lima UNIFESP - Universidade Federal de São Paulo Departamento de Bioquímica Disciplina de Biologia Molecular Rua Três de Maio 100, 4 andar - Vila Clementino, 04044-020 Lab +55 11 55764438 R.1188 Cell +55 11 92725274
2010 Nov 04
1
matlab code into R
Hello, I'm trying to write the following matlab code into R: N = zeros(n-1); for i=2:(n-1) N(1,i) = 1/(pi * (i-1)); end for i=2:(n-2) for j=i:(n-1) N(i,j) = N(i-1,j-1); end; end for i=2:(n-1) end for j=1:i N(i,j) = -N(j,i); end; any suggestions? Thanks can i just add the following line to my calculation N=1/(pi*(i-1) -- Marcelo Andrade de Lima UNIFESP - Universidade Federal
2010 Oct 27
2
add diagonal line
Hi, I would like to add a line on the diagonal of a covariance matrix, is there a quick way to do it besides abline? Thanks! -- Marcelo Andrade de Lima UNIFESP - Universidade Federal de São Paulo Departamento de Bioquímica Disciplina de Biologia Molecular Rua Três de Maio 100, 4 andar - Vila Clementino, 04044-020 Lab +55 11 55764438 R.1188 Cell +55 11 92725274 mlima@unifesp.br [[alternative
2010 Oct 24
1
140 packages in R Commander!!
Dear List I just downloaded and installed R 2.12.0 and then installed R Commander . First it got RCmdr and Car, and then suggested for other packages for utilizing the full functionality- I clicked yes! I got 140 packages installed!!! Cran Mirror was UCLA... Here is the list. Is this intentional- I can see some packages like snow and multicore which are desirable but quite optional.(see list
2013 Jan 16
1
Mean calculation by two variables
Hello All, I have a data frame (dput information below) with food item weight for fish species. I need to calculate the Mean proportion by weight of each food item for each specie, as show in solution data frame (dput information below). I use the ddply function (plyr package) in two steps. First calculate the proportion of weight for each individual: step1 = ddply (example, .(ID), transform,
2012 May 08
0
Resumen de R-help-es, Vol 39, Envío 13
Hola, aunque he votado en Estadística general también he buscado la opción de Psicologia. El 08/05/2012 18:22, r-help-es-request@r-project.org escribió: > Envíe los mensajes para la lista R-help-es a > r-help-es@r-project.org > > Para subscribirse o anular su subscripción a través de la WEB > https://stat.ethz.ch/mailman/listinfo/r-help-es > > O por correo electrónico,
2007 Feb 22
2
Configuring Asterisk.
Hello, I am using the last version on subversion, I already configured the file sip.conf: [6614] username=6614 type=friend secret=********* qualify=no port=5060 nat=yes host=dynamic dtmfmode=rfc2833 context=meuvoip callerid=6614 <6614@meuvoip> [6617] username=6617 type=friend secret=********* qualify=no port=5060 nat=yes host=dynamic dtmfmode=rfc2833 context=meuvoip callerid=6617
2006 Apr 10
1
[RFC] Ideas and Questions in security updates ( portaudit, freebsd-update)
Hi all, I use FreeBSD for severals years and this Project now have a possibility the full security update (src) with freebsd-update, is really great for Release users but is break for Stable user. Ok !!! Exist a possibility for apply manual patch and compile issue, but for me problem existe in fix kernel issue in stable branch because is require a update for last stable and this
2006 Nov 03
1
Enc: FreeBSD and the new virtual machine-based rootkits
----- Mensagem encaminhada ---- De: Ricardo A. Reis <ricardo_bsd@yahoo.com.br> Para: security@freebsd.org Enviadas: Sexta-feira, 3 de Novembro de 2006 10:54:14 Assunto: FreeBSD and the new virtual machine-based rootkits Hi All, Recently i participated in Brazil on October 2006 The FIRST/TRANSITS and II Latin American Incident Response Conference (COLARIS). In the II COLARIS - Joanna
2007 Aug 20
1
LDA decission boundaries
Hello, I would like to plot the results of a LDA analysis plotting the discriminant scores with the decission boundaries on it with rggobi. I have GGobi already installed on my computer. I have three classes, so the plot would be LD1xLD2 plus the decission boundaries. Here there is the code I use make the plot: library(MASS) data <- zgcppr273K.pca$x[,1:7] Tumor <-
2012 May 08
5
¿En qué campo de conocimiento usas R con mayor frecuencia?... (*Encuesta Online*)
Hola, Acabo de crear una nueva encuesta para conocer con algo más de detalle el campo en el que aplicamos R con mayor frecuencia. En la anterior encuesta Rubén Gómez hizo la sugerencia y me ha parecido interesante el pulsar la lista sobre esto. De las diversas preguntas que aparecen en la lista y de aquellos que comentan qué tipo de cosas están analizando he incluido una lista de 15 opciones de
2006 Apr 13
1
Prototyping for basejail distribuition
Hi, I attach 2 files in this email, the first is a Makefile and the second is jail.conf. For demonstre my idea i resolved create one "Pseudo Prototyping", for test is necessary: 1 - Create dir /usr/local/basejail 2 - Copy Makefile to /usr/local/basejail 3 - Copy jail.conf to /etc 4 - The initial basejail is precompiled is distributed in CD1, for simular basejail is necessary a
2010 May 10
1
Random walk
Hi everybody, I am trying to generate two random walks with an specific correlation, for example, two random walks of 200 time steps with a correlation 0.7. I built the random walks with: x<-cumsum(rnorm(200, mean=0,sd=1)) y<-cumsum(rnorm(200, mean=0,sd=1)) but I don't know how to fix the correlation between them. With white noise is easy to fix the correlation using the function
2009 Mar 10
1
North Arrow (.png file) on a Map
Hi list. I would like to know how do I insert a North arrow, stored as a png file in my computer, in a map? I found lots of post asking similar things, one of them mentioned the pixmap package. The map was done using map() and shapefiles (the code is below). I’m using the pixmap () and addlogo() functions. Well I can import the png with pixmap() function (I guess, once there’s no error message),
2013 Apr 23
0
Grupo de autoestudio de R y estadística con aplicaciones en lingüística
Hola, ¿qué tal? Victor Peinado (http://nlp.uned.es/~victor/) y yo estamos organizando un grupo de lectura. Junto con quienes se nos sumen, vamos a ir leyendo el libro "Analyzing Linguistic Data: A practical introduction to Statistics" (http://www.ualberta.ca/~baayen/publications/baayenCUPstats.pdf), que trata de: - R (instalación, gráficos, etc.) - Métodos estadísticos con R (modelos
2005 Oct 23
1
Script for metropolitan
The script is corect ? #!/bin/bash /sbin/iptables -F -t mangle /sbin/iptables -X /sbin/iptables -t mangle -N mark_horiz_src /sbin/iptables -t mangle -N mark_horiz_dst /sbin/iptables -t mangle -A PREROUTING -i eth0 -j mark_horiz_src /sbin/iptables -t mangle -A PREROUTING -i eth1 -j mark_horiz_dst /sbin/iptables -t mangle -A OUTPUT -o eth0 -j mark_horiz_dst /usr/local/bin/mipclasses -s
2006 Oct 19
0
incorrect result for Matrix() %*% Diagonal()
I'm exploring pedigree() in lme4 and found some strange results trying to multiply a dtCMatrix by a diag() matrix using %*%. Studying the Matrix documentation, I stumbled upon the following error in the example on the ddiMatrix-class {Matrix} help page. I wonder if my problem could be related to this. > matrix(cbind(1, 2:4),3,2) %*% diag(c(10,1)) # OK [,1] [,2] [1,] 10 2 [2,]
2011 Jan 11
1
Writing diagonal matrix in opposite direction
Hi, is there any direct R function to write an diagonal matrix in an opposite way? for example I want to get like:   > diag(rnorm(5))[,5:1]            [,1]       [,2]       [,3]      [,4]       [,5] [1,]  0.0000000  0.0000000  0.0000000  0.000000 -0.1504687 [2,]  0.0000000  0.0000000  0.0000000 -2.139669  0.0000000 [3,]  0.0000000  0.0000000 -0.2102133  0.000000  0.0000000 [4,]  0.0000000
2008 Dec 19
1
diagonal lines in legends of ggplot2
Hi, I have the following problem with ggplot2: When I specify black contours for bars in a barplot, ggplot automatically shows diagonal lines in the legend boxes. Is there a way, to remove these diagonal lines? Here's a simple example: library(ggplot2) df<-data.frame(x=gl(6,1),y=rnorm(6,100,50)) ggplot(df,aes(y=y,x=x,fill=x))+geom_bar(aes(group=x),colour='black',size=1)+
2011 Mar 22
0
Diagonal population density
Dear all. I have to plot a the marginal population density for a heat map that represents the population density of a city. I have been able to plot the heat map in the lower left corner, the marginal density in x in the upper left corner and the marginal density in y in the lower left corner. What I need is to change this plot to include the marginal density in the diagonal direction of 135