similar to: SVD on a matix

Displaying 20 results from an estimated 800 matches similar to: "SVD on a matix"

2012 Jul 05
2
vector entry in matix
hi, i'm trying to figure out if there's any possibility to write a whole vector into a matrix or data.frame or something like that. i don't mean transormation. Here an example: [,1] [,2] [1,] "a" "d" [2,] "b" "e" [3,] "c" "f" where e.g. a is a<-c(0,1) vector of length 2, b a vector of length 4,... (i know that
2009 Jan 09
3
create sequences from two "from" and "to" vectors
hi all, how can I create sequences that start from a known vector, say x1 and end with another say x2- also suppose all the sequences will be the same length. I don't want to use a for loop x1<-c(1,2,3,4); x2<-(3,4,5,6); what I want is 1 2 3 4 2 3 4 5 3 4 5 6 Thanks ----- Yasir H. Kaheil Columbia University -- View this message in context:
2008 Aug 11
2
generating a random signal with a known correlation
Hi, How can I generate a random signal that's correlated with a given signal at a given correlation (say 0.7)? I've been looking at rmvnorm etc but don't seem to figure it out. Thanks ----- Yasir H. Kaheil Columbia University -- View this message in context: http://www.nabble.com/generating-a-random-signal-with-a-known-correlation-tp18932541p18932541.html Sent from the R help
2005 Jan 21
2
Need help to transform data into co-occurence matix
Dear R experts, I have the data in the following fomat(from some kind of card sorting process) ID Category Card numbers 1 1 1,2,5 1 2 3,4 2 1 1,2 2 2 3 2 3 4,5 I want to transform this data into two co-occurence matrix (one for each ID) -- For ID 1 1 2 3 4 5 1 1 1 0 0 1 2 1 1 0 0 1 3 0 0 1 1 0 4 0 0 1 1 0 5 1
2002 Sep 25
3
WinXP-SP1 breaks profiles...
Just thought you'd like to know that SP1 for Windows XP breaks romaing profiles up to and including 2.2.5. This has been confirmed by MIT at the following link: http://web.mit.edu/swrt/winxp/ See the section "Software Compatiblity Test Matix/Testing SP1" We have found this to be the case as well.... I'm cross-posting this to samba-technical as well....we will work on some
2013 Jan 03
4
Index out SNP position
Dear R experts, I have 2 matix: A& B. I am trying to index B against A - (1) find out B rows that fall between the col 1 and 2 of A& put them into a new vector SNP.I made code as below, but I cannot think of a right way to do it. Could anyone help me with the code? Thanks,Jiang---- A <-
2000 Sep 07
6
Writing a tabel in LaTeX-format
I have a vague recollection of seeing a R-function that will output a table or matix in a format suitable for the tabular enviroment in LaTeX. But I cannot find it. Any hints? Bendix ---------------------- Bendix Carstensen Senior Statistician Steno Diabetes Centre Niels Steensens Vej 2 DK-2820 Gentofte Denmark tel: +45 44 43 87 38 mob: +45 28 25 87 38 fax: +45 44 43 73 13 bxc at novo.dk
2012 Jul 12
6
read.table with numeric row names
I have a text file like this 2.5 3.6 7.1 7.9 100 3 4 2 3 200 3.1 4 3 3 300 2.2 3.3 2 4 I used "r <- read.table("a.txt", header=T)" The row names becomes X2.5, X3.6... What I need is the row names are numeric, so I can use the row names as numbers on x-axis for plotting. e.g. "plot(colMeans(r)~names(r))",
2003 Sep 13
2
what does this error mean?
Dear R-users: I am runing R 1.6.2 with Windows XP. I try to calculate Pearson correlation and Spearman correlation of any pairwise columns of 8000 x 80 data matrix with missing values and randomize the matix 1000 times and calculate this two correlations again. The code bellow for Pearson is working fine but for Spearman got the error bellow for randomized data matrix and R console is stop
2017 Jun 01
4
Upper bands and lower bands
Hi all I want to add a band of fluctuaci?n (exponential decreading) to a linear deacrecing values Imagine: I have a matrix like c(10,9,8,7,6,5,4,3,2,1) The thing is I want two new lines so that the m?ximum value of the new colum on the m?ximum is from 10% to 5% higher and the same lower for the m?nimum the final two matix will be something like c(10+0.10*10,9+0.089*9,8+0.075*8.....,1+0.05*1)
2005 Jul 09
1
Quantile normalization and NA
Hi, I am new to R, I am doing quantile normalization with a dat matix of 384X124 and I find that while computing the quantile normailzation it introduces 'NA' into some of the cells, can someone help me to overcome this problem ? This is the command that goes like upto g62 for 124 colomns >g1 <- normalize.quantiles(exprs(MSExpr[,1:2])) For a small set of data there is no problem,
2012 Mar 15
1
Help with operation on list of matrices
I'll appreciate your help on this. I have values stored in a list as in "mylist" below. I need to sum the values over all elements of the list aggregated by the names of the matrices. mylist <- list(matrix(c(0.2, 0.4), 1, 2, dimnames = list(NULL, c("1", "2"))), matrix(c(0.1, 0.5), 1, 2, dimnames = list(NULL, c("1",
2006 Mar 29
1
lmer multilevel
My question relates to problems that I'm having matching lme and lmer examples in P&B. using Matix 0.995 In the Oxide example in p167-170 I can't get the level 2 coefficient estimates to match the fm1Oxide model in lme is data(Oxide,package="nlme") lme(Thickness~1,Oxide) which I translate in Lmer syntax to fm3Oxide<-lmer(Thickness~
2007 Aug 16
1
Question on output of vectors from a for loop into a matrix
Hello R-help, I am a recent convert to R from SAS and I am having some difficulty with output of a for loop into a matrix. I have searched the help manuals and the archives, but I can't get my code to work. It is probably a syntax error that I am not spotting. I am trying to make a distance matrix by extracting the distances from each point to all others in a vector (the for loop). I can
2017 Jun 02
0
Upper bands and lower bands
Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, Jun 1, 2017 at 11:20 AM, Pedro p?ramo <percentil101 at gmail.com> wrote: > Hi all > > I want to add a band of fluctuaci?n (exponential decreading) to a linear > deacrecing
2017 Jun 01
0
Upper bands and lower bands
I explain better: I have this percentage z<-1/(n*365) where n=20 so z is 0,000136986 Imagine: a matrix with length(n*365) so that matrix result is resultc( 1, 1-z result previous row-z result previous row-z .... 0) If I plot this is a linear decreasing line I want to plot an upper line wich is 10% higher tan resultc on the first values and then decreasing so that last value will be 0.05.
2011 Oct 14
1
Selecting multiple vectors from a list of lists of matrices
Hi all, I was unable to find a solution to my problem in the archives, but this might be due to a lack knowledge on the correct terminology on my part. Please forgive me if this has been explained before and please forgive me my probably clumsy way of explaining things. This is what I want to do: I have a list made up of 6 lists containing 7 4x4 matrices each. My goal is to select a large
2008 May 05
2
bwplot
Hi, I have 2 questions about bwplot in R : 1) How to change the order of my different boxes in the graph ? 2) How to rename the names of the differents boxes ? because I know how to do that with boxplot (using names) but I do not find the equivalent parameter in bwplot. thanks, C?dric
2008 May 08
1
miniscule font size on R console output
Hi, I am having a situation where I cannot change the output size of the R console. I have played around with the font format menu but the changes are only reflected to the script that I type in but not to the output. Everytime I run a script, I have to go back to font format to increase the output script, which is currently showing up as small as the dust on my computer screen. I have mac by
2008 May 16
2
How to extract estimates, Std. Error, t Value and Pr(>|t|) from summary
[This email is either empty or too large to be displayed at this time]