Hallo,
can anybody tell me how the ctree-algorithm derives the p-value.
I read the papers from hothorn, hornik and zeileis, but it is not clear for
me how to get the p-value.
I derived the teststatistic and want to get the appropriate p-value. As I
understand it, the p-value is some kind of norm
Hello,
I want to start Klimt from S.Urbanek directly from R.
In the description of klimt is the following R-Code:
source("klimt.r");
d<-read.table("mydataset.txt");
t<-tree(OUT2~.,d);
Klimt(t,d);
One should make sure, that the klimt.jar is in the working directory of R
(in my case "C:\Program F
Hi all,
I want to read a .txt dataset, but when I test the type, some of the data is
a factor.
How can I avoid them to get a factor or how can I unfactor them without
loosing their values?
Thanks, Max
--
View this message in context:
http://www.nabble.com/Change-teh-datatype-from-factor-to-doub
; try this instead:
>>
>> con.voidEval("sink(test.txt)");
>> con.voidEval("cat(1+1)");
>> con.voidEval("sink()");
>>
>> Romain
>>
>> Maxl18 wrote:
>>> Thanks, sink was exactly the function I searched.
>>>
e
con.voidEval("sink()");
Where is my mistake?
Cheers, Max
Thomas Roth (geb. Kaliwe) wrote:
>
> #I used sink
> ?sink
>
>
> #Thomas
>
>
>
> Maxl18 schrieb:
>> Hello,
>> I want to import R-output via Rserve to Java, especially for the
Hello,
I want to import R-output via Rserve to Java, especially for the function
ctree from the package party.
Rserve is working properly.
Yet, I only get the predictions with the Java code
try{
RConnection c = new RConnection();
...
c.voidEval("modell <- ctree(...)");
Hi,
I want to run the R-function ctree (package party) from Java over Rserve
with the following Java-Code:
try{
RConnection v = new RConnection();
v.voidEval("library(party)");
v.voidEval("try(load(\"C:\\Documents and Settings\\daten2.rda\"))");
v.voidEval("try(pdf(\"C:\\Documents and Settings\\t
Hi,
I have the following R-code:
pdf(file="test.pdf")
hist(rcauchy(100))
dev.off()
How can I set the size of the histogram in my pdf?
I tried to do with par(...) but I didn't find the right parameter yet.
Thanks, Max
--
View this message in context:
http://www.nabble.com/set-size-of-a-plot-tp
I solved the problem. With a big C in RConnection and asDoubles() it works...
try{
RConnection r = new RConnection();
double[] d = r.eval("rnorm(10)").asDoubles();
} catch(Exception e){}
--
View this message in context:
http://www.nabble.com/RServe-tp22452051p22454401.html
Sent from the R help
Dear all,
I'm trying to use R-functions from Java. I want to use the Package Rserve.
Everthing is installed and I can run my Java-testprogramm.
...
Rconnection r = new Rconnection();
double[] d = r.eval("rnorm(10)").asDoubleArray();
...
But now I get always arrays with ten "0.0", which is not c
Hi all,
Who can help me to install JRI
I downloaed the file "JRI_0.3-6.tar" and although I read the documentation I
don't know what to do now.
I use Windows XP, Java 1.5.0_17 and R 2.8.1.
Thanks for your response,
Max
--
View this message in context:
http://www.nabble.com/Install-JRI--tp224309
Hi,
I have a problem with the function ctree in the package party.
When I launch ctree with weights=NULL it works.
ctree(function~var1+var2, data=datalist, weights=NULL,
controls=ctree_control(mincriterion=0.95, maxdepth=4,
teststat="quad",testtype="Bonferroni"))
But when I try
ctree(function~va
12 matches
Mail list logo