Displaying 20 results from an estimated 66 matches for "freesurfer".
Did you mean:
freesurf
2006 Dec 12
6
ifelse question
Dear R-helpers,
How come that in the following code the rnorm() function is evaluated only once for each branch of the 'ifelse' ?
x <- rnorm(10)
y1 <- ifelse(x > 0, rnorm(1) , rnorm(1))
What is the right way to make it called/evaluated for each row, apart from a 'for' loop ?
Thanks,
Jacques.
2004 Mar 15
11
creating a ps. file
Dear all
I wrote a routine. At the end of each cycle of the loop I would like to
save the result (plot) in a postcriptfile.
Of course if I just use dev.print in the following way:
dev.print(device=postcript, 'c:/Rfigures/plot_1.ps")
I overwrite my results with the second cycle of the loop. I suppose
there is a way to define the file name so that several plots are
2003 Apr 14
1
No graphical view ?!
Hello,
I've just installed R (Linux) and I have some problems with graphical
viewing.Could you, please, explain me why I can't see graph when I just want to make
a plot ?
Many thanks !
St?phanie Langevin
Helios BioSciences
----------------------------------------------------------------
Ce service de mailing vous est offert par http://www.freesurf.fr.
FreeSurf, votre acces ADSL a
2004 Mar 24
7
binding vectors or matrix using their names
Hello list,
I have two vectors x and x2:
x=runif(10)
x2=runif(10)
and one vectors with their names :
my.names=c("x","x2")
I would like to cbind these two vectors using their names contained in the
vector my.names.
I can create a string with comma
ncomma=paste(my.names,collapse=",")
and now, I just need a function to transform this string into a adequate
2002 Apr 12
3
Chrooted sftp, did you getting it working?
Le Jeudi 11 Avril 2002 21:09, m.ibarra at cdcixis-na.com a ?crit :
> I was curious to know if you had any luck in getting openssh's sftp
> server properly configured to allow chrooted sftp logins? I have had
> no success and need something quickly.
Dear Mike,
Unfortunately, I did not succeed to have it work.
I got in contact with James Dennis <jdennis at law.harvard.edu>, who
2003 Nov 04
2
real eigenvectors
Hello list,
Sorry, these questions are not directly linked to R.
If I consider an indefinte real matrix, I would like to know if the
symmetry of the matrix is sufficient to say that their eigenvectors are real ?
And what is the conditions to ensure that eigenvectors are real in the case
of an asymmetric matrix (if some conditions exist)?
Thanks in Advance,
St?phane DRAY
2004 Sep 20
4
Multiple operations on list
Hello,
suppose I have a list with matrices:
a=list(x1=matrix(rnorm(10),5,2),x2=matrix(rnorm(10),5,2),x3=matrix(rnorm(10),5,2))
I want to compute for all combination of xi and xj (x1,x2 x1,x3 and x2,x3)
a value.
This value is given for the pair x1,x2 by trace(x1%*%t(x1)%*%x2%*%t(x2)) /
trace(x1%*%t(x1))*trace(x2%*%t(x2))
I know that product matrices t(xi)%*%xi can be obtained by:
2004 Jul 06
2
Generate a matrix Q satisfying t(Q)%*%Q=Z and XQ=W
Hello,
I have a question that is not directly related to R ... but I try to do it
in R ;-) :
I would like to generate a matrix Q satisfying (for a given Z, X and W) the
two following conditions:
t(Q)%*%Q=Z (1)
XQ=W (2)
where:
Q is m rows and r columns
X is p rows and m columns
D is p rows and r columns
C is r rows and r columns
with m>p,r
e.g:
m=6,
p=2
r=3
2004 Nov 16
5
Difference between two correlation matrices
Hi
Now a more theoretical question. I have two correlation matrices - one
of a set of variables under a particular condition, the other of the
same set of variables under a different condition. Is there a
statistical test I can use to see if these correlation matrices are
"different"?
Thanks
Mick
2004 Feb 25
2
writing polygons/segments to shapefiles (.shp) or other ArCGIS compatible file
I am not sure a previous e-mail reached the list (no mail aknowledgement from R-boundle etc.). The question was how to write polygon
or segment coordinates into a shapefile set or any other ArcGIS supported format. The library shapefiles seems to do something but
the documentation is a bit beyond of my mind.... and I cannot get the meaning of the functions write**** and its application to the
case
2002 May 17
3
OpenSSH 3.2.2 released : chroot
You must mean your most wanted feature. Mine is the integration of Simon's GSS patches.
Nico
--
> -----Original Message-----
> From: Jean-Michel POURE [mailto:jm.poure at freesurf.fr]
> Sent: Friday, May 17, 2002 7:35 AM
> To: Markus Friedl; openssh-unix-dev at mindrot.org
> Subject: OpenSSH 3.2.2 released : chroot
>
>
> Le Vendredi 17 Mai 2002 00:36, Markus
2004 Oct 14
2
Problem with R version 2.0.0 (and patched)
What I am doing : create a simple correlation matrix on 41 variables, then
plot an heatmap with this program :
library(gplots)
mat<-cor(temp.alln,use="pairwise.complete.obs")
hm<-heatmap.2(mat,symm=T)
HM<-format(round(mat[hm[[1]],hm[[2]]],2))
library(RColorBrewer)
brewer.pal(10,"Spectral")->mp
heatmap.2(mat, symm = TRUE, col = mp,
2004 Mar 31
3
scan seems to modify the data
Hello list,
I have used scan function to import data into R. I have done some analysis
and find strange results. I have found my problem : when importing data
with scan, this can slightly modify the data :
> write(c(0.251,3.399,-0.481,0.266),"essai.txt")
> scan("essai.txt")
Read 4 items
[1] 0.251 3.399 -0.481 0.266
> print(scan("essai.txt"),17)
Read
2004 Jun 29
2
binding rows from different matrices
Hello list,
I have 3 matrices with same dimension :
> veca=matrix(1:25,5,5)
> vecb=matrix(letters[1:25],5,5)
> vecc=matrix(LETTERS[1:25],5,5)
I would like to obtain a new matrix composed by alternating rows of these
different matrices (row 1 of mat 1, row 1 of mat 2, row 1 of mat 3, row 2
of mat 1.....)
I have found a solution to do it but it is not very pretty and I wonder if
I
2005 Jan 17
1
RE: Programming questions
>> you are better off using the vogg orbis codec. speex is meant
>> specifically for telephonic voice. it takes a single human voice and
>> compresses it well. it cannot handle muliple voices or music very well.
>That part is true, so of course it depends on the application. I guess I
>should have added that for most applications, 16 kHz is recommended
>instead of 44.1
2005 Jan 17
1
Programming questions
On Mon, 17 Jan 2005, Jean-Marc Valin wrote:
> > 0) Is it possible to manipulate voice data representing more than
> > the frame size of encoder (this seems possible in Speex Java code
> > used until now).
>
> Speex itself manipulates audio one frame at the time, but what you do
> after that if up to you.
>
What about the section 4.5 of the
2005 Jan 25
1
Is SPEEX_GET_QUALITY implemented ?
Hi All,
Almost all my question is in the subject. I have written the
following small program and I get an error message when I try to use
SPEEX_GET_QUALITY. This functionality seems not to be used in speexenc.c
or speexdec.c.
I would appreciate any hints.
best regards,
Alain Aubord
---------------------------test.c---------------------------------------
#include <stdio.h>
#include
2004 Sep 10
2
Plugin Status
Hello,
I have been using flac for some time and it works really great for me. I have
tried the plugins for winamp2 and xmms and noticed that it does display the
vorbis tags but you cannot edit them yet. It would also be cool to show some
infos like md5sum, numbers of frames etc. in the plugin status window. Are
these features under development or not very high priority?
2003 Jun 03
3
lda: how to get the eigenvalues
Dear R-users
How can I get the eigenvalues out of an lda analysis?
thanks a lot
christoph
--
Christoph Lehmann <christoph.lehmann at gmx.ch>
2003 Jun 06
2
Moran's index
Hi,
I am looking for some code for Moran's I. Has anyone previously done this?
I have been unable to find it in the search engines.
James