search for: giampiero

Displaying 13 results from an estimated 13 matches for "giampiero".

2007 Jan 19
2
combn implementation
...? Second question (perhaps answerd by the answer to the first): why not using "1" directly? E.g.: [...] h <- 1 e <- a[m] e <- 1 [...] Sorry if this is covered by the manuals, but it's not easy to search for the string "._1" with the usual search engines. Thank you! Giampiero
2004 May 03
2
adding a method to the dist function
...st function. What is the best way to do this? I'm using R 1.9.0 and I was looking for the code that defines the already existing distances, but I didn't manage. As far as I understand, dist is defined in mva that is part of the stats package now, but where is the code? Thank you very much, Giampiero
2004 Mar 19
3
how to fix a factor
...of the thirs factor is simply convenience (I'd like to be able to decide which factor I want to rule out) for example I'd like to write something like boxplot(y ~ x1 + x2, x3 == 1) which of course doesn't work, otherwise I wouldn't write :-) Is this possible and how? Thank you Giampiero
2004 Jan 16
2
reference to objects
...bj2 to have a memeber dist that points to the matrix, but I don't want, for memory reasons, to copy the matrix twice. As far as I understand the following code will generate three copies of my data: dist <- some_code_that_generates_data obj1$dist <- dist obj2$dist <- dist Thank you! Giampiero
2006 Dec 13
2
Phonetic symbols (IPA) in R graphics
...to work with pdf pictures and pdflatex as well as latex -> dvips -> ps2pdf. If inserting special fonts is not possible at the moment, I would appreciate some hints on how I could go about modifying text() to include this feature. (This is why I post to r-devel instead of r-help) Thank you! Giampiero [1] http://www.essex.ac.uk/linguistics/clmt/latex4ling/tipa/
2007 Feb 28
1
adding graphics after dev.copy
...ype = type, ...) : plot.new has not been called yet When I try to do the same with the x11 device, it works: x11() plot(1:10) dev.copy(x11) points(2,3) dev.off() dev.off() Can someone tell me what goes wrong in the first case and why the x11 and pdf devices behave differently? Thank you! Giampiero
2007 Feb 28
1
incremental plots with pdf and dev.copy
...t;) : invalid graphics state I also tried to remove the second dev.control statement, but in that case the same error is delayed to the "points(3,2)" line (plotting in the third plot). Is this behaviour expected? Is there a better way to do what I'm trying to do? Thank you! Giampiero -- ________________________________________________________ Giampiero Salvi, Ph.D. www.speech.kth.se/~giampi skype: giampierosalvi Royal Institute of Technology, Speech, Music and Hearing Lindstedtsv. 24, SE-100 44, Stockholm, Sweden Tel: +46-8-790 62 93 Fax: +4...
2004 Feb 02
2
ordering in dotplot
Dear R-friends, the dataset I am using (data.it) is organized as follows partner stp btp reg hk 0.64 1 s ger 0.27 1 d tur 0.27 1 s rom 0.24 1 s-f por 0.24 1 s spa 0.23 1 s gre 0.22 1 d-f aus 0.17 1 d uk 0.16 1 s be 0.16 1 d arg 0.15 1 s usa 0.13 1 d-f fra 0.13 1 s neth
2004 Jan 14
0
clustering indexes/indices
...in the data. The answer there was that this was not possible at the moment, but that an unification of the clustering classes from different packages was probably a good idea for the future. I was wondering if this had happened in the meantime, or if it is planned for the near future. Thank you! Giampiero
2004 Jan 19
2
Relative risk using GAM
I am a new user of R. I am trying to fit gam model with our air pollution data. I used Foreign package to call data from SPSS and used MGCV package to fit gam. The following are the steps I used: > dust<- read.spss("a:dust9600jan.sav") > c<-gam(MRESPALL~s(DUSTM)+s(TEMP)+s(RH),family=poisson,data=dust) > summary(c) Family: poisson Link function: log Formula: MRESPALL ~
2004 Feb 05
2
Savitzky-Golay smoothing for reflectance data
I got a question from a fellow PhD student that work with spectrum analysis in Excel and now he has lots of spectrums that needs to be smoothed, which would be nice to be able to do in batch. Is there an R package that can do: Savitzky-Golay smoothing for reflectance spectral data or a function that does something similar. _______________________________________ Henrik Andersson
2012 Apr 15
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * disclapmix (0.1) Maintainer: Mikkel Meyer Andersen Author(s): Mikkel Meyer Andersen and Poul Svante Eriksen License: GPL-2 http://crantastic.org/packages/disclapmix disclapmix makes inference in a mixture of Discrete Laplace distributions using the EM algorithm. * EstSimPDMP (1.1) Maintainer: Unknown Author(s):
2014 Mar 18
0
Working Set Size Estimation
Is there a way through virsh or libvirt to get the working set size for a VM. I am trying to find a metric similar to what VMware calls "Active Memory". Thanks in advance, -Gp