search for: 10x10

Displaying 20 results from an estimated 40 matches for "10x10".

Did you mean: 0x10
2007 Aug 07
2
Spatial sampling problem
Hi All, I am new in R and trying to simulate random normal 2D field with mean trend say north-south. My domain is 10x10 grid and I am trying to use mvnorm but do not know how to specify the domain and the mean field. I would appreciate any help. Cheers, SK --------------------------------- [[alternative HTML version deleted]]
2006 Jul 27
3
how to resample (or resize) matrix?
Dear r-help, I have a matrix, suppose, 10x10, and I need the matrix 5x5, having in each cell a mean value of the cells from the initial matrix. Please, point me to a function in R, which can help me doing that. Digging the documentation and mail archives didn't give me a result. Thank you. --- Best regards, Vladimir...
2000 Jan 14
2
Matrix output from drawing functions
Dear all, I'm a bit confused about the output from functions that generates random values, e.g. rpois. I'm using 0.65.1 on Digital UNIX alphaev6. If I say > rpois(10,5) output is not unexpectedly: [1] 4 6 5 7 6 5 2 2 5 3 but I figured that if I go: > rpois(10,1:10) I would get a 10x10 matrix as output, with random values for each of the vector elements in the row vectors, but I'm getting [1] 3 4 3 4 6 9 10 6 11 9 so, that is obviously not the case... :-) BTW, what am I getting...? So, I went on to thinking that > outer(10, 1:10, rpois) would do the trick, but...
2011 Nov 29
3
fill binary matrices with random 1s
Dear all, I am finding difficulty in the following, I would like to create an empty matrix e.g. 10x10 of 0s and sequentially fill this matrix with randomly placed a 1s until it is saturated. Producing 100 matrices of sequentially increasing density., This process needs to be randomized 1000 times., I assume i should run this along the following lines, 1) Create 1000 matrices all zeros, 2) add a...
2011 Nov 21
4
Discarding a matrix based on the rowSums value
Hello I would appreciate your help on the followig. I want to generate random binary matrices but I need to discard those with all-1 rows. That is, for a 10x10 matrix with five 1's [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [1,] 0 0 0 0 0 0 0 0 0 1 [2,] 0 0 0 0 0 0 1 0 0 0 [3,] 0 0 0 0 0 0 1 0 0 0 [4,] 0 0 0 0 0 0 0 0...
2003 Nov 25
2
R recursion depth and stack size
Hi all, I am playing around with latin squares, and wrote a recursive function that searches for valid combinations. Apart from the fact that there are very many, I run into troubles beginning with size 10x10 because the recursion depth becomes too large (max of 10x9-1=89 in this case). Why is this a problem? Isn't there enough space allocated to the stack? Can this be increased? The memory demand shouldn't be terrible, with only minimal local variables (only set and the function params r,c,...
2008 Nov 23
4
help needed
hi I have a matrix (10x10) and I have to perform t tests on each row by considering first 5 elements as data set A and next 5 as data set B. This part is easy, However after one t test on each row, I have to randomly permute each column to get new values for each row and then perform another t.test. I can permute the column...
2015 Apr 17
0
[ANNOUNCE] x11perf 1.6.0
...ral new test options: -crgb10text Char in 80-char rgb core line (Charter 10) -crgb24text Char in 30-char rgb core line (Charter 24) -crgbftext Char in 80-char rgb core line (Courier 12) -magpixwin10 Scale 5x5 from pixmap to 10x10 window -magpixwin100 Scale 50x50 from pixmap to 100x100 window -magpixwin500 Scale 250x250 from pixmap to 500x500 window -minpixwin10 Scale 10x10 from pixmap to 5x5 window -minpixwin100 Scale 100x100 from pixmap to 5x5 window...
1999 Jul 15
1
matrix indices
Hi Could somebody please explain the following to me: If x is a 10x10 matrix, typing x[3] prints all 10 values of column 3, although the length of the vector =1. Why? x[,3] and x[[3]] both give all 10 values of column 3, length=10. What is the difference between these two, actually? Thanks Karen Kotschy Centre for Water in the Environment Department of Botany Univ...
2006 Apr 10
1
Issues with aacraid
...s a "Can't find a valid FAT filesystem on dev fd0". I have dd'ed the image ... it is a ext2 Filesystem and used RAWRITE. Is there more that I can try ? Any Suggestions ? Thanks Karl -- ----------------------------------------- Karl Fischer Drone, Human and Gnome User I support 10x10. Email : kmf at fischer.org.za Jabber : kmf at jabber.org Personal Site : http://fischer.org.za -----------------------------------------
2006 Apr 18
1
Java ia64 rpm
Hi there Can you guys point me to a ia64 Java rpm ? Thanks Karl -- ----------------------------------------- Karl Fischer Drone, Human and Gnome User I support 10x10. Email : kmf at fischer.org.za Jabber : kmf at jabber.org Personal Site : http://fischer.org.za -----------------------------------------
2007 Oct 16
1
Adding axis lines to splom plots
...uce a 30x30 lattice grid. The 30 variables naturally fall into three groups of ten and I would like to add thicker axis lines around these to highlight this. However, I can only do this separately, so far, and I don't know how to superimpose the grid with the thicker lines (separating the 10x10 groups) onto the overall grid of all 30x30 plots. I enclose a reproducible example: ##### require(lattice) temp.df <- sapply(1:30, function(i) rnorm(20, 0,1)) splom(~temp.df, aspect="fill", varnames=paste("coord", 1:30, sep=""), xlab="", pscales=0, va...
2008 Aug 19
1
matrix question
...033 1608 3618 1461 1836 2104 879 1095 2630 1591 2986 703 2548 913 1426 753 256 869 106 I want to multiply them together and put the results in a matrix. This is my syntax: for(i in 1:length(s)) for(j in 1:length(d)) m<-d[[j]][j]/s[[i]] #m is the matrix of dimensions set to X(e.g. 10X10) However, it seems I only get one result when i get m, which is the last value of d/j, which is m[1]=0.04 in this case. I am sure Im doing something wrong here, but can't quite find the solution. Thanks. Mark
2009 Apr 09
1
Random Cluster Generation Question
...a 1,000x1,000 box is too much to handle. I have been running the following function for over 24 hours straight on a decent computer and it has not stopped yet: clust <- rMatClust(1, 50, 5, win=owin(c(0,1000),c(0,1000))) Clearly, I need to rethink my strategy. Could I generate the points in a 10x10 box with a radius of .5 and then multiply out the resulting point coordinates by 100? Is there another package that might meet my needs better than spatstat for easy cluster generation? Any suggestions are appreciated. All the best, Jason Simms -- Jason L. Simms, M.A. USF Graduate Multidiscipl...
2017 Aug 13
2
Paralelizar el cálculo de distancias
Buenas, Quiero ver si he paralelizado correctamente el proceso. Tengo dos dataframes, A y B y quiero calcular la distancia euclídea de todas las filas de A sobre todas las filas de B. Para ello he hecho lo siguiente #cargo las librerias library(foreach) library(doParallel) #establezco el numero de clusters, en mi caso 4, ya que el procesador tiene 4 nucleos cl<-makeCluster(4)
2017 Jan 18
3
Taking determinant of a matrix of NAs results in intermittent memory corruption
...or: *** Error in `/usr/lib/R/bin/exec/R': malloc(): memory corruption: 0x0000000002399400 *** The specific address in memory that is referenced varies. The number of times I need to execute the above line before getting a crash also varies. This occurs with a wide range of matrix dimensions; 10x10 is not the only size that causes this issue. output of R.version: platform x86_64-pc-linux-gnu arch x86_64 os linux-gnu system x86_64, linux-gnu status major 3 minor 3.2 year 2016 month 10 day 31 svn rev 71607 la...
2012 Dec 05
1
Understanding svd usage and its necessity in generalized inverse calculation
Dear R-devel: I could use some advice about matrix calculations and steps that might make for faster computation of generalized inverses. It appears in some projects there is a bottleneck at the use of svd in calculation of generalized inverses. Here's some Rprof output I need to understand. > summaryRprof("Amelia.out") $by.self self.time self.pct
2005 Dec 28
2
has_images
...eed help, I really have little idea what I''m doing right now. How I''m seeing it, it would act just like any other association. All that would go into the model itself would be something like: has_images :type => ''jpg'', :labels => {:small => ''10x10'', :medium => ''30x30'', :not_quite_large => ''40x40''}, :directory => '''' :type would default to png :labels would be totally arbitrary, you could set as many or as few as you wished. none would leave the file alone and just drop...
2008 Apr 24
0
extracting averages from smooth.ppp output on spatstat
I have used smooth.ppp in spatstat to create a smoothed surface plot based on randomly selected depths across a lake (as marks). I wonder if based on the smoothed surface plot if I can calculate the average depth for each 10x10 grid square across the lake. I can't see any obvious way of doing this and would appreciate some pointers. Many thanks, Graham [[alternative HTML version deleted]]
2010 Feb 01
0
Biclust package: drawHeatmap()
...e code given in the biclust package I can only get the heatmap for one cluster at a time (drawHeatmap function). Is there any way that I can get the heatmap for all the clusters at the same time? The code that I am using (biclust documentation) is: #Random 100x50 matrix with a single, up-regulated 10x10 bicluster s2=matrix(rnorm(5000),100,50) s2[11:20,11:20]=rnorm(100,3,0.3) # cluster 1 s2[31:40,31:40]=rnorm(100,5,0.7) # cluster 2 set.seed(1) bics <- biclust(s2,BCPlaid(), back.fit = 2, shuffle = 3, fit.model = ~m + a + b, iter.startup = 5, iter.layer...