similar to: Matrices with a single column

Displaying 20 results from an estimated 30000 matches similar to: "Matrices with a single column"

2003 Oct 07
1
.First.lib doesn't appear to be running after calling lib rary()
Thanks - it is indeed the first '.' that's the problem... Crispin > -----Original Message----- > From: Liaw, Andy [mailto:andy_liaw at merck.com] > Sent: 07 October 2003 15:21 > To: Crispin Miller > Subject: RE: [R] .First.lib doesn't appear to be running after calling > lib rary() > > > I put .First.lib in the file "zzz.R", and it works for
2004 Jan 22
1
File permissions and packages, openVignette
Hi, I've got a quick question about file permissions and packages... I'm creating my own package, and am having problems with its vignette not being seen when I install it into R... As I understand it, the permissions of the source tree should be as follows: o Directories - drwxrwxr-- o Files - -rw-r--r-- Everything builds and runs through 'R CMD check' fine with
2003 Oct 06
4
Apply and its friends
Hi, Forgive a very basic question... I need to take two lists-of-lists, and apply a function to each pair of elements in the lists to return a single list... For example l1 <- list(1:5,6:10,2:15) l2 <- list(1:8,4:12,1:19,4:20) I could easily do an lapply across each of them, but is there a function that does a sort-of pairwise-apply across both together? Does anybody know of a good
2009 Jul 24
1
single row/column-indexing on matrices
hi all - quick question: i have a matrix m, say nrow=5, ncol=4. in a function i'd like to retrieve certain rows or columns from m, but which rows/cols are not known ahead of time. the function should return a sub-matrix (i.e. still of class 'matrix'). when selecting a single column (or row), the indexing operation converts the object of class 'matrix' into a vector of
2005 Jul 20
2
Combining two matrices
Can someone please refer me to a function or method that resolves this structuring issue: I have two matrices with identical colnames (89), but varying number of observations: matrix A matrix B 217 x 89 16063 x 89 I want to creat one matrix C that has both matrices adjacent to one another, where matrix A is duplicated many times to
2005 May 02
14
eigenvalues of a circulant matrix
Hi, It is my understanding that the eigenvectors of a circulant matrix are given as follows: 1,omega,omega^2,....,omega^{p-1} where the matrix has dimension given by p x p and omega is one of p complex roots of unity. (See Bellman for an excellent discussion on this). The matrix created by the attached row and obtained using the following commands indicates no imaginary parts for the
2014 Oct 01
2
JOB - PhD position: applying HPC in cancer research
Dear all, we have an exciting PhD position applying HPC to the analysis of large scale cancer datasets. The post will suit an applicant from a strong computational background who wishes to apply their knowledge to help develop a better understanding of the processes that control how tumours develop. Details below:- High Performance Computing applied to cancer research: Computational analysis of
2003 Oct 31
2
Creating packages in 1.8
Hi, I decided to upgrade to 1.8 today... :-) Anyway, we are writing our own package that is dependent on a bioconductor library - 'affy'. I've checked and when I fire up R, library(affy) behaves as expected... so it all seems to be installed and OK... In the DESCRIPTION file in my package source I have the line: Depends: affy When I run R CMD check simpleaffy I get to: ... *
2005 May 10
4
summary statistics for lists of matrices or dataframes
Is there a simple way to calculate summary statistics for all the matrices or dataframes in a list? For example: > z <- list(matrix(c(2,2,2,2), ncol = 2), matrix(c(4,4,4,4), ncol = 2)) > z [[1]] [,1] [,2] [1,] 2 2 [2,] 2 2 [[2]] [,1] [,2] [1,] 4 4 [2,] 4 4 > I would like to calculate, for example, the mean value for each cell. I can do that the hard
2003 Oct 07
3
FW: Optimising code
>> I have a function that applies a wilcoxon test to 12 sets of about a quarter of a million pairs > ... and let me guess: everything is significiant to an almost arbitrary > value of \alpha? :-) For each of quarter of a million sets, I do a wilcoxon between two pairs each containing twenty numbers... I do this 12 times... > > (and takes about 3 hours). I've replaced the
2005 Apr 13
5
Binary Matrices
I'm wanting to perform analysis (e.g. using eigen()) of binary matrices - i.e. matrices comprising 0s and 1s. For example: n<-1000 test.mat<-matrix(round(runif(n^2)),n,n) eigen(test.mat,only.values=T) Is there a more efficient way of setting up test.mat, as each cell only requires a binary digit? I imagine R is setting up a structure which could contain n^2 floats. Thanks in advance
2003 Oct 17
2
environments
Hi, I have a string representing an environment: "bob" And an environment > bob <environment: 0x3901234ac> How do write a function that takes the string and returns the environment? Crispin -------------------------------------------------------- This email is confidential and intended solely for the use o...{{dropped}}
2012 Nov 20
1
FYI: News about Mark Crispin
Begin forwarded message: > From: Barry Leiba <barryleiba at computer.org> > Date: 20. marraskuuta 2012 2.44.51 UTC+2.00 > To: imap5 at ietf.org, imapext at ietf.org, imap-protocol at u.washington.edu, imap-use at u.washington.edu > Subject: [imapext] News about Mark Crispin > Reply-To: imap5 at ietf.org > > Everyone here knows Mark Crispin -- or at least knows who he
2020 Jun 04
2
Unable to map AD Users to existing local Unix users since 4.8.x
Rowland said: >> Can you point me to a Release Changes note that says explicitly that Winbind is now required or that mapping of AD users to local unix accounts has been removed? >> >> Crispin >Yes, see here: > https://wiki.samba.org/index.php/Samba_4.8_Features_added/changed#Domain_member_setups_require_winbindd > >Samba did a lot of things back in the NT4-style
2015 May 09
2
R Language Definition: Subsetting matrices with negative indices is *not* an error
Hi, I spotted what looks like another(*) mistake in 'R Language Definition' on how subsetting should work. In Section 'Indexing matrices and arrays' [http://cran.r-project.org/doc/manuals/r-release/R-lang.html#Indexing-matrices-and-arrays] one can read "Negative indices are not allowed in indexing matrices." but this is not true, e.g. > x <- matrix(1:12,
2009 Mar 27
2
adding matrices with common column names
folks, if i have three matrices, a, b, cc with some colnames in common, and i want to create a matrix which consists of the common columns added up, and the other columns tacked on, what's a good way to do it? i've got the following roundabout code for two matrices, but if the number of matrices increases, then i'm a bit stymied. > a <- matrix(1:20,ncol=4); colnames(a) <-
2015 May 09
2
R Language Definition: Subsetting matrices with negative indices is *not* an error
On Sat, May 9, 2015 at 12:55 AM, peter dalgaard <pdalgd at gmail.com> wrote: > >> On 09 May 2015, at 02:53 , Henrik Bengtsson <henrik.bengtsson at ucsf.edu> wrote: >> >> Hi, >> >> I spotted what looks like another(*) mistake in 'R Language >> Definition' on how subsetting should work. In Section 'Indexing >> matrices and
2012 Oct 26
4
Merge matrices with different column names
A general question that I have been pursuing for some time but have set aside. When finishing some analysis, I can have multiple matrices that have specific column names. Ideally, I would like to combine these separate matrices for a final output as a csv file. A generic example: Matrix 1 var1A var1B var1C x x x x x
2004 Nov 15
2
eudora issue
There seems to be a protocol mismatch between eudora and dovecot when using pop. The login interchange with, for example, mozilla, is as follows: MO: [connects] DC: +OK dovecot ready. MO: CAPA DC: +OK DC: CAPA DC: TOP DC: USER DC: UIDL DC: RESP-CODES DC: STLS DC: SASL PLAIN DC: . MO: USER yyy DC: +OK MO: PASS xxxxxxxx DC: +OK Logged in. But with eudora, with apparently equivalent
2003 Oct 07
1
Optimising code
Hi, Does anyone have any advice on speeding up R functions (short of re-implementing them in C :-) )? I have a function that applies a wilcoxon test to 12 sets of about a quarter of a million pairs (and takes about 3 hours). I've replaced the inner loop I had originally with a function call via mapply, and also considered different approximations of the wilcoxon, rather than that which is