My deep appreciation to everyone who responded to my question. I am
digesting your proposals (a little distracted by my governor's dramatic
resignation in New Jersey). It seems that I am able to implement the
algorithm in R (with the framework kindly provided by Thomas). I will
post the code when i
Dear Jason,
Of course you can do almost eveything in R, but I have rarely seen someone
prototyping something in Java to then implement it in R. KD-trees are for
performance, and interpreted R is not really fast. So interfacing some
foreign code might really be the better choice here.
Opportunity
On Thu, 12 Aug 2004, Seth Falcon wrote:
> The thing that's very different from, say, Java is that everything is an
> object in R --- there isn't a notion of a *reference* to an object,
> which is why in the above I had to say "head <- insertNode(...)" where
> as in Java you could pass in a referen
On Thu, 12 Aug 2004, Jason Liao wrote:
> Dear Thomas,
> Thank you very much again for taking time to answer my questions. I am
> sorry that my knoweldge of R is limited as I have only learned what is
> necessary to do my work. In the KD tree, we have this recursive data
> structure in that each kn
Jason Liao yahoo.com> writes:
> In the KD tree, we have this
>[...]
> recursive data structure? If yes, can you give a sample program?
>
For an example, see the R loess.smooth function which uses k-d trees.
Try ?loess.smooth for info and just type
loess.smooth
like that exactly to see s
Hi Jason,
On Thu, Aug 12, 2004 at 10:20:14AM -0700, Jason Liao wrote:
> Does R's list support this recursive data structure? If yes, can you
> give a sample program?
Not sure if this is what you are looking for, but here's a quick linked
list example using R's lists.
# -8<---
Dear Thomas,
Thank you very much again for taking time to answer my questions. I am
sorry that my knoweldge of R is limited as I have only learned what is
necessary to do my work. In the KD tree, we have this recursive data
structure in that each knod has two children knods and this process
continu
On Thu, 12 Aug 2004, Jason Liao wrote:
> Good morning! I recently implemented a KD tree in JAVA for faster
> kernel density estimation (part of the code follows). It went well. To
> hook it with R, however, has proved more difficult. My question is: is
> it possible to implement the algorithm in R
For an overview of the OOP R package, see
http://cran.r-project.org/doc/Rnews/Rnews_2001-3.pdf
+ seth
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide
Jason Liao yahoo.com> writes:
:
: Good morning! I recently implemented a KD tree in JAVA for faster
: kernel density estimation (part of the code follows). It went well. To
: hook it with R, however, has proved more difficult. My question is: is
: it possible to implement the algorithm in R? My
Good morning! I recently implemented a KD tree in JAVA for faster
kernel density estimation (part of the code follows). It went well. To
hook it with R, however, has proved more difficult. My question is: is
it possible to implement the algorithm in R? My impression seems to
indicate no as the code
11 matches
Mail list logo