search for: 5x3

Displaying 12 results from an estimated 12 matches for "5x3".

Did you mean: 53
2015 Mar 09
2
Calculos matrices diferentes tamaños
...ivanvelez en gmail.com> escribió: > Hola David, > > Si entiendo correctamente, lo siguiente deberia hacer lo que describes: > > set.seed(123) > A <- matrix(rpois(20, 4), ncol = 4) > B <- matrix(rpois(274*3, 4), ncol = 3) > > # el resultado es una matriz de orden 5x3 > sapply(1:ncol(B), function(.col) sapply(A[, .col + 1], function(x) sum(x > > B[, .col]))) > > # [,1] [,2] [,3] > #[1,] 5 253 243 > #[2,] 112 119 69 > #[3,] 243 164 3 > #[4,] 112 119 69 > #[5,] 112 18 260 > > Este resultado indica que e...
2008 Dec 10
2
read.table with different row lengths
...with a time series on each row. The series are of different lengths and I'd like to just use the first row as the length and have R ignore extra values in rows that go over this length. For example: 1 0 3 4 5 1 3 5 6 8 7 7 2 1 1 1 4 7 7 7 So the 7s would be ignored and I would have a 5x3 matrix. I tried creating a series of colClasses with NULLs for the extra values by using max(count.fields(file)) - min(count.fields(file)) but this didn't work and would be too time consuming for lots of files. fill=T doesn't seem to be working either. When I use fill=T I get ext...
2018 Jun 22
3
loop con matriz que cambia de nombre
Buenos días. Quiero hacer un for (j), anidado en otro for (i). En el 2º for, en cada iteración ha de crear una matriz vacía: mat <- matrix(nrow=nrow(data),ncol=19) pero llamándola de forma distinta cada vez. El nombre ha de ser: paste("D",i,colnames(Data[j]),sep=""). Llevo un rato haciendo pruebas pero no me sale. A ver si alguien pudiera ayudarme, gracias, Manuel
2008 Dec 15
1
OT supermicro server chassis?
Does anyone have a supermicro 942i server chassis? I'm trying to figure out if it has a true nine 5.25" drive bays, or if the one occupied by the 3.5" caddy is special / crippled. What I want to do is install three of the supermicro 5x3 hot swap backplanes and I'm gunshy about buying one site unseen. Thanks! Gordon
2018 Jun 22
4
loop con matriz que cambia de nombre
...as una vez más. Quoting Jesús Para Fernández <j.para.fernandez en hotmail.com>: > Con assing y un paste0 > > Mete dentro del bucle esto > > for(i in 1:7){ > assign(paste0('matriz',i),matrix(0,ncol=5,nrow=3)) > > } > > Con eso generarias 7 matrices de 5x3, llamadas matriz1, matriz2,... > > Obtener Outlook para Android<https://aka.ms/ghei36> > > ________________________________ > From: R-help-es <r-help-es-bounces en r-project.org> on behalf of > Manuel Mendoza <mmendoza en mncn.csic.es> > Sent: Friday, June 2...
2008 Feb 15
1
ggplot2 used in a function - variable scope/environment
...rame(x=seq(0.0,1.0,length=5),y1=rnorm(5),y2=rnorm(5)) p<-getPlot(da=d) p returns with Error in data.frame(..., check.names = FALSE) : arguments imply differing number of rows: 0, 5 and the plot object contains: Title: Labels: x=, y= ----------------------------------- Data: x, y1, y2 [5x3] Mapping: Scales: y,x -> y,x $margins [1] FALSE $facets [1] ". ~ ." ----------------------------------- geom_line: (colour=black, size=1, linetype=1, x=NA, y=NA) + (x=c(0, 0.25, 0.5, 0.75, 1), y=c(0.180036717548597, -0.369556903134046, -0.924474152821948, -2.40773640658189, 0.8014...
2015 Mar 09
2
Calculos matrices diferentes tamaños
Buen día amigos, Antes que nada, reitero mis agradecimientos por sus respuestas tan precisas y oportunas, sigo en mi trabajo de grado y tengo dificultad con un proceso: Tengo dos matrices A y B, A es de dimensión 5x4 y B es de dimensión 274x3. Requiero de un proceso en el que tome el primer elemento de la Matriz A columna 2 y lo compare con todos los elementos de la Matriz B columna 1 y me diga
2018 Jun 23
2
loop con matriz que cambia de nombre
...>> > Con assing y un paste0 >> > >> > Mete dentro del bucle esto >> > >> > for(i in 1:7){ >> > assign(paste0('matriz',i),matrix(0,ncol=5,nrow=3)) >> > >> > } >> > >> > Con eso generarias 7 matrices de 5x3, llamadas matriz1, matriz2,... >> > >> > Obtener Outlook para Android<https://aka.ms/ghei36> >> > >> > ________________________________ >> > From: R-help-es <r-help-es-bounces en r-project.org> on behalf of >> > Manuel Mendoza <mm...
2018 Jun 25
2
loop con matriz que cambia de nombre
...>: >> >> Con assing y un paste0 >>> >>> Mete dentro del bucle esto >>> >>> for(i in 1:7){ >>> assign(paste0('matriz',i),matrix(0,ncol=5,nrow=3)) >>> >>> } >>> >>> Con eso generarias 7 matrices de 5x3, llamadas matriz1, matriz2,... >>> >>> Obtener Outlook para Android<https://aka.ms/ghei36> >>> >>> ________________________________ >>> From: R-help-es <r-help-es-bounces en r-project.org> on behalf of Manuel >>> Mendoza <mmendoza...
2018 Jun 24
2
loop con matriz que cambia de nombre
...t; Mete dentro del bucle esto >> >> > >> >> > for(i in 1:7){ >> >> > assign(paste0('matriz',i),matrix(0,ncol=5,nrow=3)) >> >> > >> >> > } >> >> > >> >> > Con eso generarias 7 matrices de 5x3, llamadas matriz1, matriz2,... >> >> > >> >> > Obtener Outlook para Android<https://aka.ms/ghei36> >> >> > >> >> > ________________________________ >> >> > From: R-help-es <r-help-es-bounces en r-project.org> on...
2011 Jun 10
1
New Printer - Problems with paper size settings
...Wine are misbehaving. In every case the initial setting was "Index Card 3x5 in". I have reset that to A4 paper size, my desired default, in each app and the printing works OK printing to A4 paper as desired. However, when I next use the app the paper size has reset itself to either the 5X3 index card or to "A5 Borderless". I have checked the printer setup in Linux itself and the paper size is correctly set to A4 and printing from native Linux apps prints to A4 no problems. There is clearly something not right and I thought there might be somewhere where I can set default p...
2005 Dec 21
9
question about changejournal
Hi, I''ve got a newbie question--sorry if this is covered elsewhere, I parsed through the archives for awhile and didn''t see it. I''d like to listen for whenever a file is renamed (e.g. foo.txt -> foo.old) and then magically change it back. This sounds odd, but I''m working with a stubborn application and this will actually make things work nice. So, if I do: