Hi,
I have some results generated in my C++ program. I 'd like to call some R
functions that can test if two sample sets are from different distribution,
like Kolmogorov-Smirnov and other more sophisticated Tests. I also like to
draw the histograms of the two sample sets in the same plot using R.
Hi,
I am using rpart for my decision stump. I am trying to extract the learned
stump from the output of rpart.
For example:
cntrl <- rpart.control(maxdepth = 1, minsplit = learn-1,
maxsurrogate = 0, usesurrogate=0, maxcompete = 1,
cp = 0,
Hi,
I am using latex.table to write my results into a latex table. If my results
is like a matrix except that some column has strings and others have
numbers. Is it possible to feed my results into latex.table?
Thanks and regards!
--
View this message in context:
http://www.nabble.com/latex.tabl
[,1] [,2] [,3] [,4]
> [1,] 0.718 0.935 0.2670 0.870
> [2,] 0.992 0.212 0.3860 0.340
> [3,] 0.380 0.652 0.0134 0.482
> [4,] 0.777 0.126 0.3820 0.600
>>
>
> Can you specify what you want and how are you going to use it. Is it for
> generating a report?
> On Thu,
f':
>
>> x <- 1.23456789
>> x
> [1] 1.234568
>> as.character(x)
> [1] "1.23456789"
>> sprintf("%.1f %.3f %.5f", x,x,x)
> [1] "1.2 1.235 1.23457"
>>
>
>
> On Thu, May 14, 2009 at 7:40 AM, lehe wrote:
>
&g
Hi,
I was wondering how to specify the number of decimal numbers in my
computation using R? I have too many decimal numbers for my result, when I
convert them to string with as.character, the string will be too long.
Thanks and regards!
--
View this message in context:
http://www.nabble.com/spec
Thank you!
Yes, I am using the plotCI from gplots and I want the line connecting the
centers to be dashed, just as for the bars. However changing the type to be
"p" as you said does not give dashed line but no line at all (only points).
lehe wrote:
>
> Anyone has some clue
Anyone has some clue to this question?
Thanks in advance!
lehe wrote:
>
> Hi,
> I was wondering how to specify the line type for line instead of for bar.
> Here is my code:
> "plotCI(x=mcra1avg, uiw=stdev1, type="l",col=2,lty=2)"
> This way, I will have
Hi,
I was wondering how to specify the line type for line instead of for bar.
Here is my code:
"plotCI(x=mcra1avg, uiw=stdev1, type="l",col=2,lty=2)"
This way, I will have the bar line as dashed "lty=2" and red "col=2", and
the line connecting the centers of the bars is also red "col=2" but solid
Thanks!
I am now also trying to plot several ROCs in the same figure using ROCR
package. The following code:
"pred1 <- prediction(yest1,ytest)
perf1 <- performance( pred1, "tpr", "fpr" )
plot( perf1 )
pred2 <- prediction(yest2,ytest)
perf2 <- performance( pred2, "tpr", "fpr" )
lines( perf2 )"
wi
Hi,
I am new to R. I have two questions about plotting in R:
1. How to plot several lines in a figure? Suppose I have several sets of
points (xi,yi), where xi and yi are equal-length vector. plot(x1,y1) will
give a line connecting these points. Another plot(x2,y2) will erase what
plot before and
11 matches
Mail list logo