search for: federico

Displaying 20 results from an estimated 463 matches for "federico".

2006 Sep 26
5
putting stuff into bins...
...t that R should have somewhere a function that took as arguments something like (data, breaks, what to do with the data in the bins). I surey could not find it trawling the R-help archives though. If such a function exists I'd be grateful to anyone pointing it out to me. Cheers, Fede -- Federico C. F. Calboli Department of Epidemiology and Public Health Imperial College, St Mary's Campus Norfolk Place, London W2 1PG Tel +44 (0)20 7594 1602 Fax (+44) 020 7594 3193 f.calboli [.a.t] imperial.ac.uk f.calboli [.a.t] gmail.com
2005 Apr 18
1
Rd.sty problems.
...n the tex file itself. The manual won't compile lamenting it cannot find the Rd.sty file. locate Rd.sty gives: /usr/lib/R/share/texmf/Rd.sty I am completely lost... any advice? do I have to change some path? I am using R for Debian from the latest .deb files for Sarge on x86 arch. Regards, Federico Calboli -- Federico C. F. Calboli Department of Epidemiology and Public Health Imperial College, St Mary's Campus Norfolk Place, London W2 1PG Tel +44 (0)20 7594 1602 Fax (+44) 020 7594 3193 f.calboli [.a.t] imperial.ac.uk f.calboli [.a.t] gmail.com
2006 Feb 28
4
subsetting a list of matrices
...27 30 33 [2,] 19 22 25 28 31 34 [3,] 20 23 26 29 32 35 > z =list(x,y) I want to create a second list that is has a subset each matrix in the list subsetting so I get the 2nd and 3rd row of each (and all columns). How could I do that (apart from looping)? Regards, Federico Calboli -- Federico C. F. Calboli Department of Epidemiology and Public Health Imperial College, St Mary's Campus Norfolk Place, London W2 1PG Tel +44 (0)20 7594 1602 Fax (+44) 020 7594 3193 f.calboli [.a.t] imperial.ac.uk f.calboli [.a.t] gmail.com
2011 Jul 08
3
Making a new package: licence
...he code is written in R the licence R used for R would affect the code (hence my "GPL" stands for "whatever version of the GPL R is under") I am happy with the licencing I used, but I'd like to ask if there is any transitive propery of IP licencing or if I am mistaken. bw Federico -- Federico C. F. Calboli Department of Epidemiology and Biostatistics Imperial College, St. Mary's Campus Norfolk Place, London W2 1PG Tel +44 (0)20 75941602 Fax +44 (0)20 75943193 f.calboli [.a.t] imperial.ac.uk f.calboli [.a.t] gmail.com
2005 Mar 08
5
removing message: [Previously saved workspace restored]
...he message does not appear if I start R from any other place in the directory tree. I am reading ?Startup and related docs, but I am utterly failing to understand how to remove [Previously saved workspace restored] when I call R from the offending dir... I am using R on Debian Sarge x86 Cheers, Federico Calboli -- Federico C. F. Calboli Department of Epidemiology and Public Health Imperial College, St Mary's Campus Norfolk Place, London W2 1PG Tel +44 (0)20 7594 1602 Fax (+44) 020 7594 3193 f.calboli [.a.t] imperial.ac.uk f.calboli [.a.t] gmail.com
2005 Jun 20
3
vectorisation suggestion
...unt vector2 = made up of a number of repetitions of all the elements of vector1 vector3 = a vector of NAs that is meant to get the result of the counting My problem is that vector1 is about 60000 terms, and vector2 is 620000... can anyone suggest a faster code than the one I wrote? Cheers, Federico Calboli -- Federico C. F. Calboli Department of Epidemiology and Public Health Imperial College, St. Mary's Campus Norfolk Place, London W2 1PG Tel +44 (0)20 75941602 Fax +44 (0)20 75943193 f.calboli [.a.t] imperial.ac.uk f.calboli [.a.t] gmail.com
2004 Jan 20
4
matrix exponential: M^0
> -----Original Message----- > From: Federico Calboli > Sent: Tuesday, January 20, 2004 5:40 PM > To: r-help > Subject: [R] matrix exponential: M^0 > > I would like to ask why the zeroeth power of a matrix gives me a matrix > of ones rather than the identity matrix: > > > D<-rbind(c(0,0,0),c(0,0,0),c(0,0,0)) &g...
2023 May 17
4
suprising behaviour of tryCatch()
...the p value of the fisher test to the vector. I stopped using ?<-? eons ago so it took a bit to figure out. Tested on R 4.1.2 on ContOS 8 , and on R 4.3.0 on a M1 mac with the same result. I?d be obliged if someone can explain why tryCatch assigns items with ?<-? and not ?=?. Cheers F Federico Calboli Tutkija Genomiikka ja jalostus Luonnonvarakeskus [[alternative HTML version deleted]]
2012 Jan 01
3
R on Android
Hello,I am new to this list. I have ben wondering if there is an app to run R on mobile devices? Specially android...Thanks in advance Federico -- Federico [[alternative HTML version deleted]]
2007 Nov 26
4
writing summary() to a text file
...results of a function into a text file, legible as a such. The function produces a summary quite like: summary(lm(x ~ y + w * z)) [for instance] and I am not clear how to save this summary into a text file 'automagically', because I need to be able to do it in a for() loop. Cheers, Federico -- Federico C. F. Calboli Department of Epidemiology and Public Health Imperial College, St. Mary's Campus Norfolk Place, London W2 1PG Tel +44 (0)20 75941602 Fax +44 (0)20 75943193 f.calboli [.a.t] imperial.ac.uk f.calboli [.a.t] gmail.com
2007 May 04
4
logical or for two vectors or matrices
...d a || b, any(a,b)... but none works). My problem is: I have two vectors, a <- c(TRUE,FALSE,FALSE) b <- c(TRUE,FALSE,TRUE) and I would like to obtain a vector that indicates if it is TRUE in any of the two vectors. Hence, the desired output would be: TRUE, FALSE, TRUE Thank you in advance, Federico __________________________________________________ [[alternative HTML version deleted]]
2011 Aug 03
2
strsplit and forward slash '/'
...33/36 3 T/T C/C 16/34 4 T/T C/C 16/31 5 C/C C/C 28/29 6 T/T C/C 16/34 strsplit(my.data[1,1], "/") # and any variation thereof Error in strsplit(apoe[1, 1], "/") : non-character argument Any advice will be gratefully received. Best wishes, Federico -- Federico C. F. Calboli Department of Epidemiology and Biostatistics Imperial College, St. Mary's Campus Norfolk Place, London W2 1PG Tel +44 (0)20 75941602 Fax +44 (0)20 75943193 f.calboli [.a.t] imperial.ac.uk f.calboli [.a.t] gmail.com
2003 Oct 03
4
foo.RData or foo.r?
...ing as they used. No problems in loading and stuff. But I use R from the terminal. Assuming I decide to switch to emacs, do I need to save my work as foo.r? what about my old files? shall I simply "mv" them to foo.r? all in all, foo.Rdata and foo.r, does it make any difference? Regards, Federico -- ================================= Federico C. F. Calboli Department of Biology University College London Darwin Building Gower Street London WC1E 6BT tel: 020 7679 4395 fax: 020 7679 7096 f.calboli at ucl.ac.uk
2006 Jun 19
3
MLE maximum number of parameters
Hi All, I would like to know, is there a *ballpark* figure for how many parameters the minimisation routines can cope with? I'm asking because I was asked if I knew. Cheers, Federico -- Federico C. F. Calboli Department of Epidemiology and Public Health Imperial College, St. Mary's Campus Norfolk Place, London W2 1PG Tel +44 (0)20 75941602 Fax +44 (0)20 75943193 f.calboli [.a.t] imperial.ac.uk f.calboli [.a.t] gmail.com
2009 Oct 29
3
x-y plot as an histogram
...iate for my purposes. I need to group the data in matrix[,1] into groups (as an histogram would do). Then I have to calculate the average of matrix[,2] for each group. Before starting with loops and loops I would like to know if is there some way to do this easily with R. Thanks in advance! Federico
2009 Nov 13
4
R, NIH and FDA
Dear All, I will soon be working with NIH and possibly FDA. Will I be able to use R or will I be forced to use SAS? Cheers, Federico -- Federico C. F. Calboli Department of Epidemiology and Public Health Imperial College, St. Mary's Campus Norfolk Place, London W2 1PG Tel +44 (0)20 75941602 Fax +44 (0)20 75943193 f.calboli [.a.t] imperial.ac.uk f.calboli [.a.t] gmail.com
2004 Jul 13
3
plotting a table together with graphs
Check out textplot in the gregmisc package ... Federico Calboli <f.calboli@ucl.ac.uk> Sent by: r-help-bounces@stat.math.ethz.ch 07/13/2004 12:06 PM Please respond to f.calboli To: r-help <r-help@stat.math.ethz.ch> cc: Subject: [R] plotting a table together with graphs Dear All, I would like to ask ho...
2007 Jun 26
2
fisher information matrix
...ate the Fisher information matrix for a model he wrote (not in R). He can easily get the neg-log-likelihood and the best fit parameters at the minimum. He can also get negLLs for other parameter values too. Given these data, is there a way in R to calculate the Fisher information matrix? Best, Federico -- Federico C. F. Calboli Department of Epidemiology and Public Health Imperial College, St Mary's Campus Norfolk Place, London W2 1PG Tel +44 (0)20 7594 1602 Fax (+44) 020 7594 3193 f.calboli [.a.t] imperial.ac.uk f.calboli [.a.t] gmail.com
2011 Dec 05
2
barplot ignoring col parameter
...0 0 0 7 18 3 4 8 20 26 20 19 7 1 1 mycol = c(rep('yellow', 2), rep('white', 3), rep('orange',2), rep('white', 5), rep('orange',3), rep('red',9)) barplot(mydata, col = mycol) gives me an uniformly yellow barplot. How do I solve this? bw Federico -- Federico C. F. Calboli Neuroepidemiology and Ageing Research Imperial College, St. Mary's Campus Norfolk Place, London W2 1PG Tel +44 (0)20 75941602 Fax +44 (0)20 75943193 f.calboli [.a.t] imperial.ac.uk f.calboli [.a.t] gmail.com
2004 Jul 15
1
how to upload [forwarded]
[ This was posted to the R-packages list (which I moderate), but definitely doesn't belong there. Martin Maechler ] ------- start of forwarded message ------- From: Federico Calboli <f.calboli at ucl.ac.uk> To: r-packages at stat.math.ethz.ch Subject: how to upload Date: 15 Jul 2004 18:30:26 +0100 Dear All, I just finished a add on lib called Malmig, to calculate Malecot migration model and associated functions. I am meant, according to R-exts, to upload the ta...