[R] GPL and adds-on

2008-10-09 Thread robert-mcfadden
I'm wondering is it in accordance with the law, taking into account GNU GPL on 
which R is based, that SPSS have adds-on module that allow you to do a analysis 
in R. I mean commercial software use R.
I guess that nobody can create R-GUI (e.g. in JAVA) on commercial rules 
(licensing, pricing, selling with close source code). 

Rob 

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Cochran-Armitage

2008-12-12 Thread robert-mcfadden
Hello,
Which package allows to use Cochrana-Armitage trend test? I tried to search for 
but I found only package coin in which there is no explicit function.
Best,
RobMac 

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Extraction from an output

2009-01-12 Thread robert-mcfadden
Hello,
Would you tell my how to extract a result from a test - it's justified because 
I need to run this test many times. Here is an  example from authors' test:

> library("coin")
> lungtumor <- data.frame(dose = rep(c(0, 1, 2), c(40, 50, 48)), tumor = 
> c(rep(c(0, 1), c(38, 2)), rep(c(0, 1), c(43, 7)), rep(c(0, 1), c(33, 15
> ca.test<-independence_test(tumor ~ dose, data = lungtumor, teststat = "quad")
> ca.test

Asymptotic General Independence Test

data:  tumor by dose 
chi-squared = 10.6381, df = 1, p-value = 0.001108


How to use ca.test and extract p-value and chi-squared.

Robert 

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] ARIMA and sig. tests

2008-03-28 Thread robert-mcfadden
Why in arima output there is no significance tests of estimated parameters as 
in regression models? I know that I have s.e. and I could build these test by 
myself but are there any reasonable reasons? 
Best,
Rob 

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Nonlinear equation

2008-04-02 Thread robert-mcfadden
Dear R Users,
I'm trying to find function that allow me to solve one nonlinear equation. 
Functions that I found are good for optimization problems.
Any suggestions are welcome,
rob  

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Fwd: Re: Nonlinear equation

2008-04-02 Thread robert-mcfadden
> > >From: [EMAIL PROTECTED]
> > >Date: 2008/04/02 Wed AM 09:58:28 CDT
> > >To: r-help@r-project.org
> > >Subject: [R] Nonlinear equation
> > 
> > hi: you need to give an example and details or
> > you won't get much response, if any.

Equation e.g. (A, B are known constants):
3log(gamma(x))-log(gamma(x)*gamma(2x))+(x-1)*A+B=0

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Fwd: Re: Nonlinear equation

2008-04-02 Thread robert-mcfadden
> On 4/2/2008 11:24 AM, [EMAIL PROTECTED] wrote:
> >> > >From: [EMAIL PROTECTED]
> >> > >Date: 2008/04/02 Wed AM 09:58:28 CDT
> >> > >To: r-help@r-project.org
> >> > >Subject: [R] Nonlinear equation
> >> > 
> >> > hi: you need to give an example and details or
> >> > you won't get much response, if any.
> > 
> > Equation e.g. (A, B are known constants):
> > 3log(gamma(x))-log(gamma(x)*gamma(2x))+(x-1)*A+B=0
> 
> uniroot() can solve that if you can bracket the solution.
> 
> Duncan Murdoch

Thank you very much - that's exactly what I need. 

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.