similar to: invert 160000x160000 matrix

Displaying 20 results from an estimated 4000 matches similar to: "invert 160000x160000 matrix"

2007 Aug 13
1
simulate data from multivariate normal with pre-specified correlation matrix
For example, the correlation matrix is 3x3 and looks like 1 0.75 0 0 0 0.75 1 0 0 0 0 0 0 0 0 Can I write the code like this? p<- 3 # number of variables per observation N<- 10 # number of samples # define population correlation matrix sigma sigma<-matrix(0,p,p) #creates a px p matrix of 0 rank<-2 for (i in 1:rank){ for (j in 1:rank){ rho<-0.75
2012 Sep 29
5
Generating by inverting function
Hello, I am trying to generate random survival times by inverting the function,  S(t)= exp(b*F(t)), where b is constant and F(t) is some cumulative distribution function, let say that F(t) is cdf of normal distribution or any others distributions.   as we know that S(t) has uniform distribution on  (0,1) so we can write that U= exp(b*F(t)), where U is uniform (0,1). Now to generat the time t, we
2011 Jan 03
4
how to invert the axes in the wireframe() plot
Dear List, I am using the wireframe function in the lattice package, and I am wondering if it is possible to invert the default axes orientation for x and y axes... what parameter should I look for? Best regards, Simone Gabbriellini
2009 Oct 29
4
Invert the sign of a number
Hello, just a simple question How can I do to invert the sign of a number? (for example: -4 to 4, 2 to -2 and so on..) I was looking for a specific function in R but I didn't found it... thank you Francesco -- View this message in context: http://www.nabble.com/Invert-the-sign-of-a-number-tp26110267p26110267.html Sent from the R help mailing list archive at Nabble.com.
2009 Jun 17
1
Inverting a square matrix using solve() with LAPACK=TRUE (PR#13762)
Full_Name: Ravi Varadhan Version: 2.8.1 OS: Windows Submission from: (NULL) (162.129.251.19) Inverting a matrix with solve(), but using LAPACK=TRUE, gives erroneous results: Here is an example: hilbert <- function(n) { i <- 1:n; 1 / outer(i - 1, i, "+") } h5 <- hilbert(5) hinv1 <- solve(qr(h5)) hinv2 <- solve(qr(h5, LAPACK=TRUE)) all.equal(hinv1, hinv2) #
2009 Jun 18
1
Inverting a square... (PR#13762)
Refiling this. The actual fix was slightly more complicated. Will soon be committed to R-Patched (aka 2.9.1 beta). -p rvaradhan at jhmi.edu wrote: > Full_Name: Ravi Varadhan > Version: 2.8.1 > OS: Windows > Submission from: (NULL) (162.129.251.19) >=20 >=20 > Inverting a matrix with solve(), but using LAPACK=3DTRUE, gives erroneo= us > results: Thanks, but there seems
2010 Aug 10
6
How to invert a list ?
Dear list, I have a list, as follows : a <- 5 names(a) <- "a" b <- 9 names(b) <- "b" c <- 15 names(c) <- "c" x <- list("i" = a, "j" = b, "j" = c) I want to invert the list, like this : $a i 5 $b j k 9 15 I do not find a clean solution. Could anyone give me elegant ideas ? Thanks in advance, Carlos
2010 Nov 21
3
Can't invert matrix
Hi, I'm trying to use the solve() function in R to invert a matrix. I get the following error, "Lapack routine dgesv: system is exactly singular" However, My matrix doesn't appear to be singular. [,1] [,2] [,3] [,4] [1,] 0.99252358 0.93715047 0.7540535 0.4579895 [2,] 0.01607797 0.09616267 0.2452471 0.3088614 [3,] 0.09772828 0.58451468 1.4907090
2005 Nov 16
2
invert y-axis in barplot
Hi! This is probably a very trivial question. Is there an easy way to invert the y-axis (low values on top) when using the function barplot()? Thanks, Jörg [[alternative HTML version deleted]]
2010 Sep 01
2
invert order
Dear R-help list users, I have a huge vector of numbers, how I can invert orden? For example x <- 1:10000000 I would like to obtain x_r <- 10000000:1 Thanks, Sebastian.
2007 Aug 04
2
Invert Likert-Scale Values
Hi! I am using R to process some community survey data. Several item responses are recorded via a 7-point Likert-Scale. As I have coded the responses, 1 represents high agreement, and 7 high disagreement. This of course impacts the coefficients in a linear regression (of example agreement to self-perception measures on housing satisfaction). For some purposes, in order to make the coefficients
2005 May 30
3
how to invert the matrix with quite small eigenvalues
Dear all, I encounter some covariance matrix with quite small eigenvalues (around 1e-18), which are smaller than the machine precision. The dimension of my matrix is 17. Here I just fake some small matrix for illustration. a<-diag(c(rep(3,4),1e-18)) # a matrix with small eigenvalues b<-matrix(1:25,ncol=5) # define b to get an orthogonal matrix b<-b+t(b) bb<-eigen(b,symmetric=T)
2005 Dec 09
2
Matrix Problem
Hello R-Users, I have to invert a matrix 3000X3000 and the solve method doesn't work or it is too slow. Are there any methods to invert a big matrix? Regards Stefan --------------------------------- [[alternative HTML version deleted]]
2006 Nov 09
1
invert argument in grep
Hello, What about an `invert` argument in grep, to return elements that are *not* matching a regular expression : R> grep("pink", colors(), invert = TRUE, value = TRUE) would essentially return the same as : R> colors() [ - grep("pink", colors()) ] I'm attaching the files that I modified (against today's tarball) for that purpose. Cheers, Romain --
2006 Jun 25
1
Inverting a large Matrix (14000 x 14000)
Hi.. I have to invert a 15000 x 15000 matrix (generalized inverse). I do run the process on a fairly powerful computer. but still complains indufficient memory. Is there a way one can invert a large matrix in some other efficient manner. Thanks Harsh --------------------------------- [[alternative HTML version deleted]]
2004 Nov 03
1
Inverting filters
How to invert match parameter? Like this: tc filter add dev eth0 protocol ip parent 1: prio 1 u32 \ match ip src 10.20.30.40 \ match ip dst !10.30.0/24 \ match ip dst !10.40.0/24 \ flowid 1:20 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2005 Aug 05
5
How to set the floating point precision beyond e-22?
We have a problem inverting a matrix which has the following eigenvalues: > eigen(tcross, only.values=TRUE) $values [1] 7.917775e+20 2.130980e+16 7.961620e+13 8.241041e+12 2.258325e+12 [6] 3.869428e+11 6.791041e+10 2.485352e+09 9.863098e+08 9.819373e+05 [11] 3.263408e+05 2.929853e+05 2.920419e+05 2.714355e+05 8.733435e+04 [16] 8.127136e+04 6.543883e+04 5.335074e+04
2003 Jul 07
2
(PR#3427)
Hi; I am having problems inverting matrices using the function solve() For example R can not invert the following matrix [,1] [,2] [,3] [,4] [,5] [1,] 25 500 11250 275000 7.106250e+06 [2,] 500 11250 275000 7106250 1.906250e+08
2009 Apr 05
1
inverting a table
Is there an easy way to invert a table? (not to solve for the inverted matrix, just swap rows for columns & vice versa). I've gone through my data manipulation bible (Phil Spector's book), but to no avail. [[alternative HTML version deleted]]
2004 Oct 10
3
How to invert tc matches?
Hi, I want to use inverted matches with tc-filter. I tried to invert the matches with a "!", but this doesn''t seem to be the correct syntax. The following rules don''t work: ---------------------------snip----------------------------------------- $TC filter $ACTION dev $DEV protocol ip parent 1:0 u32 match ip src ${NETWORK[$i]} !match ip dst 192.168.0.0/24 flowid