Hi All:
I'm developing an application program using C++. From my C++
code, I would call some R program I have written. I' wondering if R provide
some compiler that can compile R program into executable program. I searched
R-help, there are a lot of posts talking about writing C++
-Original Message-
From: Dirk Eddelbuettel [mailto:[EMAIL PROTECTED] On Behalf Of Dirk
Eddelbuettel
Sent: 2007年7月29日 18:17
To: Feng Qiu
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] Call R program from C++ code
On Sun, Jul 29, 2007 at 04:35:51PM -0400, Feng Qiu wrote:
I'm
Hi all:
I'm developing an application in which I use standard data to
train the model in LDA and use the trained model to predict on test data. I
can't train the model every time when I do prediction. So I need to save the
trained model onto disk after the first training. Does
Hi everyone:
Polyclass is a polytomous logistic regression model using
linear splines and their tensor products. It provides estimates for
conditional class probabilities which can then be used to predict class
labels. I know there is Polyclass package in S-plus. So I'm wondering if
Thank you guys! I got it.
Best,
Feng
- Original Message -
From: Benilton Carvalho [EMAIL PROTECTED]
To: Feng Qiu [EMAIL PROTECTED]
Cc: r-help@stat.math.ethz.ch
Sent: Thursday, January 18, 2007 12:20 AM
Subject: Re: [R] how to get the index of entry with max value in an array
Hi all:
A short question:
For example, a=[3,4,6,2,3], obviously the 3rd entry of the array has
the maxium value, what I want is index of the maxium value: 3. is there a neat
expression to get this index?
Thank you!
Best,
Feng
[[alternative HTML version deleted]]
Hi all:
I'm trying to use RBF neural network for predicting. The package
I'm using now is neural. The type of network that I have to use is RBF.
But I didn't find predict function in this package. Does anyone have such an
experience? Any advice is appreciated!
Thank you!
Hi All:
I'm testing a set of data classification algorithms in this paper
(www.stat.wisc.edu/~loh/treeprogs/quest1.7/mach1317.pdf )
I couldn't find such algorithms in R packages:
1. LOG: polytomous logistic regression (there was one in MASS
library: multinom. But after I
. multinom is is the nnet package
2. There is a polyclass function in package polspline
On 10/01/07, Feng Qiu [EMAIL PROTECTED] wrote:
Hi All:
I'm testing a set of data classification algorithms in this
paper
(www.stat.wisc.edu/~loh/treeprogs/quest1.7/mach1317.pdf )
I couldn't find
Hi everybody, I'm trying to do a statistic on the error rate of a prediction
algorithm.
suppose this is the real category
[good, good, bad, bad, good, good, bad, bad]
this is the predicted category
[good, bad, bad, bad, good, good, good, bad]
I'm trying to do a statistic on the error rate for
Message -
From: Thomas Lumley [EMAIL PROTECTED]
To: Feng Qiu [EMAIL PROTECTED]
Cc: Duncan Murdoch [EMAIL PROTECTED]; r-help@stat.math.ethz.ch
Sent: Monday, January 01, 2007 3:21 PM
Subject: Re: [R] Any container in R?
On Mon, 1 Jan 2007, Feng Qiu wrote:
Hi Duncan:
Thank you very much
R has list and array to contain elements. But does R have more powerful
container, such as map as in C++ STL? or is there such a package?
Thanks and Happy 2007!
Best,
Feng
__
R-help@stat.math.ethz.ch mailing list
a new entry in the column.
Best,
Feng
- Original Message -
From: Duncan Murdoch [EMAIL PROTECTED]
To: Feng Qiu [EMAIL PROTECTED]
Cc: r-help@stat.math.ethz.ch
Sent: Monday, January 01, 2007 10:37 AM
Subject: Re: [R] Any container in R?
On 1/1/2007 10:17 AM, Feng Qiu wrote:
R has list
Hi Duncan:
Thank you very much! I checked out unique(), it does exactly what I
want. But I'm still curious about if R provides STL(standard template
library).
Best,
Feng
- Original Message -
From: Duncan Murdoch [EMAIL PROTECTED]
To: Feng Qiu [EMAIL PROTECTED]
Cc: r-help
You got to supply the absolute path of your files and the seperating symbol
in your csv file.
Please read the help file by typing help(read.csv), you will have no
problem.
- Original Message -
From: Obinna Duru [EMAIL PROTECTED]
To: r-help@stat.math.ethz.ch
Sent: Monday, January 01,
]
To: Feng Qiu [EMAIL PROTECTED]
Cc: r-help@stat.math.ethz.ch
Sent: Wednesday, December 27, 2006 1:56 PM
Subject: Re: [R] How to write string dynamicly?
Try:
lda(iris[-5], iris[,5])
On 12/26/06, Feng Qiu [EMAIL PROTECTED] wrote:
Hi everyone:
I'm trying to compose a string dynamicly
Hi everyone:
I'm trying to compose a string dynamicly for the parameter input of
some function. For example:
In package MASS, function lda() require to input the name of predictor
variable. Let's say the 16th column is the predictor variable. Then we call
the function like this:
Hi everyone:
I wrote a R program which has loops. When I run the program, it
crashed. I would like to identify in which loop the pragram crashed, how
can I debug ? I'm new to R, could somebody please give me a general idea
about debugging in R.(I'm a C/C++ programmer and have
Hi guys:
I'm testing some statistic discriminant analysis methods in R.
But I couldn't find the package for these methods:
1. Discriminant analysis implemented with nearest neighbor
method,
2. logistic discriminant analysis
3. POLYCLASS algorithm(
Hi,
First, when I try the example Prostate with bound 0.44
(as in the manual), I got a different result:
l1c.P - l1ce(lpsa ~ ., Prostate, bound=0.44)
l1c.P
Coefficients:
(Intercept) lcavol lweight age
lbph svi
1.0435803 0.4740831 0.1953156 0.000
20 matches
Mail list logo