Re: [R] Error when building a custom package

2013-07-06 Thread cvo
If you mean the output file from the R CMD check, 00install. This provides the same info as the console window when I build using the command R CMD INSTALL -build slo. I can see that many people get this error message with an additional line going more into detail, as f.x.: In addition: Warning

[R] surface plots using wireframe, color at high res, grid at low res?

2013-07-06 Thread Patrick Joyce
Hello, I'm working on some simple copula plots for a poster presentation, and by simple I mean simple, gaussian, etc., etc., etc. I know I might be taking this a bit too far but I'm trying to see if I can overlay one surface plot over another. I want to use color but I like the addition of a

Re: [R] geeglm

2013-07-06 Thread arun
Hi, Using the example from ?geeglm()  summary(gee1)$corr  #     Estimate Std.err #alpha    0.957 0.00979 A.K. - Original Message - From: nt1006 nt1...@mun.ca To: r-help@r-project.org Cc: Sent: Friday, July 5, 2013 9:40 AM Subject: [R] geeglm How to extract the Std.err and the alpha

[R] coxph won't converge when including categorical (factor) variables

2013-07-06 Thread E Joffe
Hello, [rephrasing and reposting of a previous question (that was not answered) with new information] I have a dataset of 371 observations. When I run coxph with numeric variables it works fine. However, when I try to add factor (categorical) variables it returns Ran out of iterations

[R] fitting the null loglinear model with MASS::loglm??

2013-07-06 Thread Michael Friendly
The null loglinear model is an intercept-only model for log frequency, log(f) = \mu For a one-way table the test of the null model is the same as the chisq.test. This can be fit using loglin(), but I don't think there is any way to specify this using MASS::loglm t1- margin.table(Titanic,1)

Re: [R] matching similar character strings

2013-07-06 Thread A M Lavezzi
Dear Arun, thank you so much! The code you suggest captures what we have in mind. However, what we are looking for is something a bit more general (sorry: I realised that maybe this was not so clear from the beginning). In particular: - in F1_ex the address in the Indirizzo field could be

Re: [R] Meta-analysis on a repeated measures design with multiple trials per subject using metafor

2013-07-06 Thread Michael Dewey
At 11:15 05/07/2013, Marc Heerdink wrote: Dear Wolfgang and other readers of the r-help list, Thank you very much for your suggestion. Unfortunately, the data that I have can not be described with a table such as the one you have made, because there's no identical trial under both treatment 1

Re: [R] coxph won't converge when including categorical (factor) variables

2013-07-06 Thread Bert Gunter
Hint: Why do you think no one replied? 1. That it converged with one model/fitting algorithm and not with another is useless. 2. This cannot possibly be answered without your data. 3. A guess: you are overfitting -- glmnet regularizes and will therefore fit (highly) correlated regressors coxph

Re: [R] coxph won't converge when including categorical (factor) variables

2013-07-06 Thread Marc Schwartz
On Jul 6, 2013, at 7:04 AM, E Joffe ejo...@hotmail.com wrote: Hello, [rephrasing and reposting of a previous question (that was not answered) with new information] I have a dataset of 371 observations. When I run coxph with numeric variables it works fine. However, when I

[R] Missing value or an infinity produced when evaluating the model

2013-07-06 Thread tong
Dear all, I want to estimate a nlrq using normal copula.The model is http://r.789695.n4.nabble.com/file/n4671010/%E6%97%A0%E6%A0%87%E9%A2%98.png I want to estimate the delta in the above formula. The full codes I use are as following: NormModel-function(x, delta, mu, sigma, tau){ +

[R] Kriging Package Cryptic Error Message

2013-07-06 Thread Diego Ubuntu
I'm trying to get a kriging surface using these data, but I only get this error message. Any ideas on why or how to solve it. d x y e 1 551595.2 18040622.0 2 599591.7 18208232.0 3 615604.7 18209032.0 4 612337.6 17709892.1 5 614203.6 17618163.0 6

Re: [R] matching similar character strings

2013-07-06 Thread Jeff Newmiller
The intent of this list is to help you help yourself. If you spend the time to take Arun's ideas and run with therm, then you will do us and yourself a favor. We will benefit because you can then help others with similar problems, and you will benefit because you don't need to worry about

[R] R book or other materials for teaching a one week class on data analysis

2013-07-06 Thread Werner W.
Dear Rusers, I am starting to develop a one week course in which I want to cover an R programming introduction and go over data analysis / statistics / econometrics incl. visualization and maybe reproducible research as an extra. The goal is to give research students a kick start with R so

Re: [R] save rds as text

2013-07-06 Thread John Kane
You might want to have a look at the xtable package John Kane Kingston ON Canada -Original Message- From: ac...@le.ac.uk Sent: Fri, 5 Jul 2013 03:44:02 -0700 (PDT) To: r-help@r-project.org Subject: [R] save rds as text I created a table like this: Analysis of Variance Table

Re: [R] R book or other materials for teaching a one week class on data analysis

2013-07-06 Thread Michael Friendly
How about Fox Weisberg Companion to Applied Regression ( the car package). John also has some short course materials on his web site On 7/6/2013 11:37 AM, Werner W. wrote: Dear Rusers, I am starting to develop a one week course in which I want to cover an R programming introduction and go

Re: [R] coxph won't converge when including categorical (factor) variables

2013-07-06 Thread Jeff Newmiller
I don't know much about your problem, but if you want help you are going to need to learn to communicate effectively. This may help: http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example ---

Re: [R] Data Package Query

2013-07-06 Thread John Kane
John Kane Kingston ON Canada -Original Message- From: y_re...@hotmail.com Sent: Fri, 5 Jul 2013 13:35:32 + To: jrkrid...@inbox.com, rolf.tur...@xtra.co.nz, jdnew...@dcn.davis.ca.us Subject: RE: [R] Data Package Query Hello, When I run the below syntax:

Re: [R] R book or other materials for teaching a one week class on data analysis

2013-07-06 Thread Bert Gunter
Have you looked at: http://www.r-project.org/ under the Books page? -- Bert On Sat, Jul 6, 2013 at 9:16 AM, Michael Friendly frien...@yorku.ca wrote: How about Fox Weisberg Companion to Applied Regression ( the car package). John also has some short course materials on his web site On

[R] getNativeSymbolInfo for stats on R=3.0.0

2013-07-06 Thread Francois Rousset
Dear R users, Problems with a .Call(logit_link,...) led me to the following test on virgin sessions of R2.15.2, R2.15.3, R3.0.0, R3.0.1 (Precompiled windows binaries in all cases) begin code == getNativeSymbolInfo(logit_link) end code == This works as expected on

Re: [R] save rds as text

2013-07-06 Thread Duncan Mackay
In addition or perhaps better suited to text are the e... functions in the TeachingDemos package txtStart txtComment commands .. etxtStop or something of that ilk HTH Duncan Duncan Mackay Department of Agronomy and Soil Science University of New England Armidale NSW 2351 Email: home:

Re: [R] The logistf() function from the logistf package. (Was: Data Package Query)

2013-07-06 Thread Rolf Turner
On 06/07/13 01:35, Yasmine Refai wrote: Hello, When I run the below syntax: *Trial-read.table(Trial.txt,header=TRUE)* *Trial* *save.image(file=Trial.RData)* *load(Trial.RData) fit-logistf(data=Trial, y~x1+x2) summary(fit) AIC(fit)* I am getting the below error: * AIC(fit) Error in

Re: [R] surface plots using wireframe, color at high res, grid at low res?

2013-07-06 Thread Duncan Mackay
Hi Patrick You should do better by using a specific graphic device and then send the file to the printer ... n.cuts=300 u1.corrd=(1:n.cuts-.5)/n.cuts u2.corrd=(1:n.cuts-.5)/n.cuts shareframe=data.frame(expand.grid(u1.corrd,u2.corrd))

Re: [R] Transferring commas in character vector to expression

2013-07-06 Thread Duncan Mackay
Hi Eric I have not been following the thread but following on what David has said on previous occasions try for example plot(1,1, ylab = expression(aa aaa,aa bb*Delta*b *Delta*cc, c) ) Below is from a partly saved previous post of David's several months ago which may give you some

Re: [R] save rds as text

2013-07-06 Thread Ista Zahn
Perhaps sink(file=mytable.txt) print(k) sink() gives the desired result. Best, Ista On Fri, Jul 5, 2013 at 6:44 AM, alR ac...@le.ac.uk wrote: I created a table like this: Analysis of Variance Table Response: dati Df Sum Sq Mean Sq F value Pr(F) groups 2114 57.00 76

Re: [R] Transferring commas in character vector to expression

2013-07-06 Thread Eric Archer - NOAA Federal
Duncan, Thanks for the suggestion, but that won't work for my situation. I'm trying to use a character vector to label some axis ticks. There are some elements in the vector that have either a comma, or both Greek symbols and a comma, like the the third and fourth elements in x.lab below: x -

[R] Installing R on Fedora 18 Linux?

2013-07-06 Thread Spencer Graves
Hello: I'm trying to install R under Fedora 18 Linux, and I'm confused. The R Installation and Administration manual, sec. 1.1, says, The simplest way is to download the most recent R-x.y.z.tar.gz file. However, I don't know how to get that. My favorite CRAN mirror offers a

Re: [R] Installing R on Fedora 18 Linux?

2013-07-06 Thread Peter Langfelder
You have several options. You can use theF18 package manager to install R directly from a Fedora software repository but the R may be slightly out of date (IIRC Fedora 19 provides R-3.0.0; not sure about F18). Or, on your CRAN mirror page, ignore the Download and install R section and go

Re: [R] Transferring commas in character vector to expression

2013-07-06 Thread Bert Gunter
I have not followed this thread, so I am only responding to your last remark, and therefore the following may be useless to you (how's that for for a caveat!!) but maybe plot(1:10,main=expression(delta*,*alpha)) might be helpful. Alternatively: x - delta y - alpha plot(1:10, main =

Re: [R] Installing R on Fedora 18 Linux?

2013-07-06 Thread Ranjan Maitra
Fedora does have the latest (both Fedora 18/19) R in the repos. (They are pretty good about this). To install R, try: sudo yum install R-core That will do it. To update, rather than install: try sudo yum update R-core HTH, Ranjan On Sat, 6 Jul 2013 20:22:13 -0700 Peter Langfelder

Re: [R] Transferring commas in character vector to expression

2013-07-06 Thread Duncan Mackay
Bert It must be a case of Sod's law - I tried to do it earlier but got an error message. it works with : plot(1:4,axes=F) axis(1, at = 1:4,label=rep(expression(dd*Delta*,*dd),4)) box() Something akin to what Eric wanted Duncan At 14:17 7/07/2013, you wrote: I have not followed this

Re: [R] Transferring commas in character vector to expression

2013-07-06 Thread Eric Archer - NOAA Federal
Duncan, Thanks! That was the tip I needed. With that, I was able to get this to work perfectly: x.lab - c(a*a, bbb, c,cc*c, d,dd) x.lab - gsub(\\*, *Delta*, x.lab) x.lab - gsub(,, *symbol(\54\)*, x.lab) dotchart(1:length(x.lab), labels = parse(text = x.lab)) On Sat, Jul 6, 2013 at 9:38