search for: ruihong

Displaying 7 results from an estimated 7 matches for "ruihong".

Did you mean: kihong
2010 May 08
2
meaning of "<<-"
Hi, In my memory, "<<-" means assigning via a pointer or alias. But this is not officially defined in "R Language Definition". Could anybody help for the clarification? Thank you very much! Bests, Ruihong
2010 May 05
3
Latex and Stangle()
Hi, I'm using the Sweave and I would like include codes of the R in my LaTeX file. I extracts the R code with Stangle (), whose name is Relatorio.R but I can't include it in the Latex file as an appendix. Suggests? Thanks, -------------------------------------- Silvano Cesar da Costa Departamento de Estat?stica Universidade Estadual de Londrina Fone: 3371-4346
2010 May 04
3
Two Questions on R (call by reference and pre-compilation)
...m" is much slower than the MATLAB "fmincon" function. I don't know MATLAB has done any pre-compilation on the script for object function or not. But perhaps, we can increase R performance by some sort of pre-compilation during running time. Thanks in advance. Best Regards, Ruihong
2010 May 05
0
R-help Digest, Vol 87, Issue 5
...erent distributions (Greg Snow) 83. Re: Agreement (Tobias Verbeke) 84. Error when invoking x11() (Alex Chelminsky) 85. Re: Avoiding for-loop for splitting vector into subvectors based on positions (Joris Meys) 86. Two Questions on R (call by reference and pre-compilation) (Ruihong Huang) 87. timing a function (pdb) 88. Re: timing a function (mohamed.lajnef at inserm.fr) 89. Re: R formula language---a min and max function? (ivo welch) 90. Re: timing a function (Joris Meys) 91. Re: R formula language---a min and max function? (David Winsemius) 92. Re: Lazy evaluati...
2010 May 07
2
smooth line overlap with histogram
Hi r-users,   I would like to overlap a smooth line on the histogram.  I tried using spline but it does not work. sq     <- seq(0,900,by=50) sq.50  <- as.character(sq) datobs <- sum_pos ## first, plot histogram histo <- hist(datobs,breaks=sq,freq=F) ## extract counts from histogram and calculate the probability in ## each specified interval. Also check the length of the interval is
2010 May 05
4
Converting dollar value (factors) to numeric
Hi, I'm trying to read in a bunch of CSV files into R where many columns are coded like $111.11. When reading them in they are treated as factors. I'm wondering if there is an easy way to convert them into numeric in R (as I don't want to modify the source data)? I've done some searches and can't seem to find an easy way to do this. I apologise if this is a trivial
2010 May 09
4
Fwd: R apply() help -urgent
---------- Forwarded message ---------- From: Dr. Venkatesh <drvenki at liv.ac.uk> Date: Sun, May 9, 2010 at 4:55 AM Subject: R apply() help -urgent To: r-help at r-project.org I have a file with 4873 rows of 1s or 0s and has 26 alphabets (A-Z) as columns. the 27th column also has 1s and 0s but stands for a different variable (pLoss). columns 1 and 2 are not significant and hence lets