[R] Fwd: string

2010-01-06 Thread robert-mcfadden
I would like to assign a variable y the string: How can I do it - is it possible? Best, 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.

Re: [R] Fwd: string

2010-01-06 Thread robert-mcfadden
Thank you very much all of you. (I forgot about directly ' ', instead I used " " and got errors.) Best, Robert Dnia 6 stycznia 2010 12:22 robert-mcfad...@o2.pl napisał(a): > I would like to assign a variable y the string: > How can I do it - is it possible? > > Best, > Robert > > > __

Re: [R] generate XML

2010-01-07 Thread robert-mcfadden
Dnia 7 stycznia 2010 10:41 S Devriese napisał(a): > Have you checked the XML package? > > If you print the matrix within R, this it look like you want (including > correct langauge encoding? Because in that case, you probably could use > sink (see ?sink). > > Stephan Yes. In R I get correct vie

Re: [R] generate XML

2010-01-07 Thread robert-mcfadden
Dnia 7 stycznia 2010 11:30 S Devriese napisał(a): > you might try > > # open file connection > sink("item1.xml") > # print object > my.matrix > # close file connection > sink() Unfortunately, It does not code letter appropriate. To #print object it's better to use write.table. But thank you

Re: [R] generate XML

2010-01-11 Thread robert-mcfadden
Dnia 8 stycznia 2010 9:20 S Devriese napisał(a): > Mhh, you could have a look at write.matrix in the MASS package, but I'm > afraid that you might have to specify the encoding explicitly (see > ?connections, the section on encoding) Thank you. The matrix that I write are coding in ANSI. I checked

[R] lattice and legend

2010-01-18 Thread robert-mcfadden
I use lattice package to produce a bar chart. I set my.kolor for bars and it displays properly but I have a problem with legend color. It behaves as if I didn't set my.colors - the colors differs. How to work it out? barchart(Counts ~ Purchase | Products , data = my.data, groups = Model, co

Re: [R] lattice and legend

2010-01-18 Thread robert-mcfadden
layout = c(1,6), col= my.col, auto.key=list(rectangles = TRUE, space = "bottom"), par.settings = simpleTheme(col = my.col) ) Dnia 18 stycznia 2010 15:05 Dieter Menne napisał(a): > > > > robert-mcfadden wrote: > > > > I use latt

[R] lattice and probem

2010-01-18 Thread robert-mcfadden
I have a simple chart: barchart(Counts ~ Purchase | Products , data = my.data, groups = Model) where Purchase in data has values {0,1,2,3...10}. In a chart xlab begins with 1 not 0. How to change it? Best, Robert __ R-help@r-project.org mailing li

Re: [R] lattice and probem

2010-01-18 Thread robert-mcfadden
Excellent. Thank you very much. Best, Robert Dnia 18 stycznia 2010 18:20 Peter Ehlers napisał(a): > robert-mcfad...@o2.pl wrote: > > I have a simple chart: > >barchart(Counts ~ Purchase | Products , data = my.data, groups = Model) > > where Purchase in data has values {0,1,2,3...10}. In a

[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 ht

[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/list

[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(ga

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

[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, sell

[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(

[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