Re: [R] How does locpoly (KernSmooth package) estimate densities?

2014-03-26 Thread Xu Wang
On Sat, Jul 16, 2011 at 10:26 AM, Roberto Molinari wrote: > > Dear R users, > > I am currently using the locpoly function from the KernSmooth package to > estimate densities. However, I have some trouble understanding how this > estimation technique is implemented in R. My main concern comes fro

[R] locpoly is returning NaN if bandwidth is small

2014-03-17 Thread Xu Wang
The following call to locpoly gives a 'NaN' on one computer and a number on a different computer: library(KernSmooth) x <- c(5.84155992364115, 1.55292112974119, 0.0349665318792623, 3.93053647398094, 3.42790577684633, 2.9715553006801, 0.837108410045353, 2.872476865277, 3.89232548092257, 0.20639965

Re: [R] Zellig Error Message

2011-12-17 Thread Xu Wang
Hi Abraham, Zelig has its own mailing list. You should sign up for it there. The developers are usually great about responding. Xu On Fri, Dec 16, 2011 at 10:47 AM, Abraham Mathew wrote: > I'm trying to calculate predicted probabilities in R with Zelig and keep > getting the following error. >

Re: [R] Monetary support to the R-project (Was: Re: Executable for Production Use)

2011-12-14 Thread Xu Wang
I am still interested in this. Is there no way to pay directly online? via paypal or other? Thanks, Xu -- View this message in context: http://r.789695.n4.nabble.com/Re-Monetary-support-to-the-R-project-Was-Re-Executable-for-Production-Use-tp1585186p4198369.html Sent from the R help mailing lis

Re: [R] Transforming a string into a command

2011-11-29 Thread Xu Wang
, David Winsemius wrote: > > On Nov 29, 2011, at 2:30 AM, Xu Wang wrote: > > David, >> >> Did my reply get orphaned >> > > All replies are "orphaned". You are asked to include context if your > question relies on code that has previously been po

Re: [R] Transforming a string into a command

2011-11-29 Thread Xu Wang
ine: eval(parse(text="ln(a+b)")) Xu David Winsemius wrote > > On Nov 29, 2011, at 2:00 AM, Xu Wang wrote: > >> Why don't the following two commands work? >> >> eval(parse(text=s)) >> eval(as.expression(s)) >> > > Can you think of

Re: [R] Transforming a string into a command

2011-11-28 Thread Xu Wang
Why don't the following two commands work? eval(parse(text=s)) eval(as.expression(s)) -- View this message in context: http://r.789695.n4.nabble.com/Transforming-a-string-into-a-command-tp4112183p4118243.html Sent from the R help mailing list archive at Nabble.com. _

Re: [R] changelog for MASS?

2011-11-16 Thread Xu Wang
Michael, Thanks a lot for the suggestions! Those are good ideas, Xu -- View this message in context: http://r.789695.n4.nabble.com/changelog-for-MASS-tp4034473p4079157.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.

Re: [R] linear against nonlinear alternatives - quantile regression

2011-11-16 Thread Xu Wang
I'm just curious if Professor Koenker responded to this (e.g. in an individual email or otherwise), as I would be interested in the answer. -- View this message in context: http://r.789695.n4.nabble.com/linear-against-nonlinear-alternatives-quantile-regression-tp3993327p4077713.html Sent from the

Re: [R] changelog for MASS?

2011-11-14 Thread Xu Wang
Thanks Michael, But I can't see the dates on the NEWS so I have no idea what changed from last version or from whichever version we actually have installed. Do you see what I mean? Thanks, Xu -- View this message in context: http://r.789695.n4.nabble.com/changelog-for-MASS-tp4034473p4040941.ht

[R] changelog for MASS?

2011-11-12 Thread Xu Wang
Does anyone know where I can find a changelog for MASS? It's difficult to know whether I should ask my company to update the package or not. We are usually required to show the changelog, but I can't find one. Thank you, Xu -- View this message in context: http://r.789695.n4.nabble.com/changel

Re: [R] odfWeave Issue.

2010-08-11 Thread Xu Wang
an error in the document format? Good job figuring it out. Did you submit a bug report? -- View this message in context: http://r.789695.n4.nabble.com/odfWeave-Issue-tp2321369p2321833.html Sent from the R help mailing list archive at Nabble.com. __ R-

Re: [R] How to start R

2010-08-07 Thread Xu Wang
Hi satimis, I also use Ubuntu 10.04 and R. I just wanted to say that it is very hard to get started in R. I'm guessing you know this, but I just wanted to add some encouragement and mention that if you find yourself getting frustrated at times or taking a very long time to do things that are extre

Re: [R] ggplot2 histograms... a subtle error found

2010-08-02 Thread Xu Wang
There is a google group dedicated to ggplot2. It might be worth making a post there: http://groups.google.com/group/ggplot2?pli=1 -- View this message in context: http://r.789695.n4.nabble.com/ggplot2-histograms-a-subtle-error-found-tp2305814p2311082.html Sent from the R help mailing list archi

Re: [R] simple table/matrix problem

2010-07-31 Thread Xu Wang
Hadley Wickham's reshape package makes tasks like these pretty easy. http://cran.r-project.org/web/packages/reshape/index.html -- View this message in context: http://r.789695.n4.nabble.com/simple-table-matrix-problem-tp2307969p2308713.html Sent from the R help mailing list archive at Nabble.co

Re: [R] lm.influence on glm objects

2010-07-30 Thread Xu Wang
Was this issue resolved? -- View this message in context: http://r.789695.n4.nabble.com/lm-influence-on-glm-objects-tp1574781p2307622.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.

[R] where do I send typos?

2010-03-25 Thread Xu Wang
Hi, I notice several typos when reading documentation and I verify that they are still typos in the current build. Where do I send corrections? Note that most of them are minor typos. Thanks -- View this message in context: http://n4.nabble.com/where-do-I-send-typos-tp1691713p1691713.html Sent

Re: [R] expand the inside of command with rep ?

2010-02-12 Thread Xu Wang
That you very much for the replies! I learned a lot. -- View this message in context: http://n4.nabble.com/expand-the-inside-of-command-with-rep-tp1476420p1517893.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org m

[R] expand the inside of command with rep ?

2010-02-10 Thread Xu Wang
would like to know how to do it. I do understand that I can use a for loop to easily accomplish the desired output but am looking for a solution similar to the above syntax. Thank you for any ideas, Xu Wang -- View this message in context: http://n4.nabble.com/expand-the-inside-of-command-