similar to: Principal componet plot from lower triangular matrix file

Displaying 20 results from an estimated 100 matches similar to: "Principal componet plot from lower triangular matrix file"

2007 Aug 08
6
What ruby/rails componet do I need?
I stole a script from the archives which shows how to launch an https version of webrick. However I am getting an error that indicates that my ruby/rails isntallation is missing a component to support ssl as called from webrick. The script line in question is: 6 require ''webrick/https'' and the error stack generated is:
2013 Oct 01
5
Análisis de componentes principales con ade4 y FactoMineR
Hola compañeros de la lista, qué tal. Estoy haciendo un análisis de componentes principales utilizando las funciones "dudi.pca" (paquete "ade4") y "PCA" (paquete "FactoMineR"). Sucede que al comparar las coordenadas de cada individuo que obtiene cada función, las que corresponden al segundo componente principal tienen idéntica magnitud pero con
2013 Oct 01
3
Análisis de componentes principales con ade4 y FactoMineR
Instalo ade4 correctamente y no me abren los datos como por ejemplo data(bsetal97) ¿Qué piensan de eso? De: r-help-es-bounces en r-project.org [mailto:r-help-es-bounces en r-project.org] En nombre de Francesc Carmona Enviado el: Tuesday, October 01, 2013 7:30 AM Para: r-help-es en r-project.org Asunto: Re: [R-es] Análisis de componentes principales con ade4 y FactoMineR Por definición
2013 Oct 01
0
Análisis de componentes principales con ade4 y FactoMineR
Por definición la primera componente principal es una combinación lineal que maximiza la varianza de modo que si la componente 1 es el vector de coeficientes a, entonces, el vector -a también puede ser dicha componente. Las otras componentes, por ejemplo la segunda, es incorrelacionada con la primera y también maximiza la varianza, luego el signo no importa. Así pues, el signo de cada
2013 Oct 02
0
Análisis de componentes principales con ade4 y FactoMineR
Efectivamente. Puedes cambiar el signo de todos los valores de la segunda componente, por ejemplo al hacer un gráfico de dispersión. No creo que se pueda hacer directamente en la función. Saludos Francesc El 01/10/13 17:53, Argel Gastélum Arellánez ha escrit: > Hola Francesc, muchas gracias por tu respuesta. > > Entonces, si quisiera que las gráficas de los resultados de
2011 May 15
5
Question on approximations of full logistic regression model
Hi, I am trying to construct a logistic regression model from my data (104 patients and 25 events). I build a full model consisting of five predictors with the use of penalization by rms package (lrm, pentrace etc) because of events per variable issue. Then, I tried to approximate the full model by step-down technique predicting L from all of the componet variables using ordinary least squares
2010 Sep 27
3
name ONLY one column
Hi R-users I can not change the name of one column only of my matrix. my_matrix <- matrix (1:12,ncol=3) colnames(my_matrix)[1] <- 'myname' Error in dimnames(x) <- dn : length of 'dimnames' [2] not equal to array extent thank you for your help Lorenzo [[alternative HTML version deleted]]
2010 Jun 08
3
Matrix to "database" -- best practices/efficiency?
I have a matrix of, say, M and N dimensions: my_matrix=matrix(c(1:60),nrow=6,ncol=10) I have two "id" vectors corresponding to the rows and columns, e.g.: id_m=seq(10,60,by=10) id_n=seq(100,1000,by=100) I would like to create a "proper" database (let's say a data.frame for this example -- i'm going to be loading these into an SQLite database, but we'll leave
2012 Jul 06
2
Error in plot.new() : figure margins too large
Hello All, I am running the following code in RStudio, and I keep on getting an error message that says: "Error in plot.new() : figure margins too large" Is there something that I am doing wrong? # Import Data nba <- read.csv("http://datasets.flowingdata.com/ppg2008.csv", sep=",") nba #Sort Data (sorting by Points, but could be sorting by any other variable)
2006 Jun 09
0
can i safely delete "componets/" ?
Hi, I never use the components directory. Can I just delete it or will Rails really miss it? Thanks, Peter
2007 Jan 02
1
How to extract the variance componets from lme
Here is a piece of code fitting a model to a (part) of a dataset, just for illustration. I can extract the random interaction and the residual variance in group meth==1 using VarCorr, but how do I get the other residual variance? Is there any way to get the other variances in numerical form directly - it seems a litte contraintuitive to use "as.numeric" when extracting estimates,
2009 May 15
2
Printing to screen a matrix or data.frame in one chunk (not splitting columns)
Hello, I saw this nice trick I want to replicate but I lost the source and I hope one of you can point me to the solution. My problem is that I don't know the correct words to query this. When I print to screen a matrix or data.frame the columns are split and printed below the previous ones; even though I have plenty of screen left. E.g., > my_matrix = matrix(runif(30),nrow=3,ncol=10)
2012 Sep 11
1
lapply with different size lists?
Hello, I have 2 functions (a and b) a = function(n) { matrix (runif(n*2,0.0,1), n) } > > > b = function (m, matrix) { > n=nrow (matrix) > p=ceiling (n/m) > lapply (1:p, function (l,n,m) { > inf = ((l-1)*m)+1 > if (l<p) sup=((l-1)*m)+m > else sup=n >
2009 Aug 10
6
Wine /Darwine on Macbook- ActiveX Error
Hello, I use wine at the first time on my macbook. I want to run an windows programm and I wine still opens. But when I want to work with the program there comes: ActiveX componet can not create object! Waht is wrong?? Maybe this helps: err:ole:CoGetClassObject class {00000100-0000-0010-8000-00aa006d2ea4} not registered err:ole:create_server class {00000100-0000-0010-8000-00aa006d2ea4} not
2011 Mar 28
2
How to save heatmap as image or pdf
Hello Everyone, I am using R for creating heatmap from a square matrix. Below is my script to do so my_map <- read.csv("Desktop/input.csv", sep=",") my_matrix <- data.matrix(my_map) my_heatmap <- heatmap(my_matrix, Rowv=NA, Colv=NA, col = cm.colors(256), scale="column", margins=c(5,10)) I get a beautiful plot as output, but I could not save this plot
2013 Jun 16
1
trying to fit a thin plate spline to a triangular plot
Hi Has anyone tried to fit a thin plate spine to a triangular plot before? I'm having trouble working out a piece of code to make it possible with three axes. I have done it before with two axes. I've found a package I prefer that makes triangular plots (plotrix) using the triax.plot() function. An example of some data and the plot follows: graph.data<-data.frame(a=c(9,6.2,
2011 May 13
2
How to store a triangular matrix
Hello, I want to create a triangular matrix and only keep the lower triangle entries without having to allocate memory for the whole matrix, is there any way I can do something like  A<-matrix(data, nrow=50)  but for a triangular matrix? Thanks ERV [[alternative HTML version deleted]]
2002 Dec 09
0
triangular PDF
Howdy, I couldn't find any way to generate deviates from a triangular PDF in R, so here's a function to do so. -Andy rtri <- function(n=1,min=0,max=1,ml=0.5) { # Return independent random deviates from a # triangular distribution. # n is number of deviates requested # min, max are lower and upper limits of r.v. range # ml is the most-likely value
2005 Oct 02
2
convering upper triangular matrix into vector
Hi I have two symmetrical distance matrices and want to compute the correlation coefficient between them (after turning them into vectors). Is there a way of selecting only the upper triangular part of each matrix, then convert this into a vector so I can compute the correlation? Many Thanks Eleni Rapsomaniki
2007 Jul 05
1
generating lower triangular matrix
Hi, I would like to generate below triangular matrix for some a. 0 0 0 0 0 0 1 0 0 0 0 0 a 1 0 0 0 0 a^2 a 1 0 0 0 a^3 a^2 a 1 0 0 a^4 a^3 a^2 a 1 0 What's an efficient way to do this? (this matrix being KxK, K very large) Thanks Zava -------------------------------------------------------- This is not an offer (or solicitation of an offer) to buy/se...{{dropped}}