Re: [R] package.skeleton()

2011-12-18 Thread Petr PIKAL
Hi If I remember correctly I do start clear R -vanilla session copy my functions to it. run package.skeleton("some.name") which creates the some.name directory. Regards Petr > Hi Duncan, > > Thanks for your response. That's the confusing thing, I didn't receive a > message and I can't seem

[R] Odp: Dealing with NAs

2011-12-18 Thread Petr PIKAL
Hi Without knowing details about mlogit and without any data from your side to check I guess that you shall put na.omit or na.exclude instead of na.pass to na.action Regards Petr > "Ville Iiskola" > Odeslal: r-help-boun...@r-project.org > > 18.12.2011 15:06 > > Komu > > > > Kopie > > P

[R] calculating correlation coefficients on repeated measures

2011-12-18 Thread Keith Larson
Dear list, I have 9 repeated measures (measurement variable == 'Delta13C') for individuals (ID variable == 'Individual_ID'. Each repeated measure is "indexed" (right term?) by the variable 'FeatherPosition' and given as c('P1', 'P2', 'P3', 'P4', 'P5', 'P6', 'P7', 'P8', 'P9'). I would like to calc

Re: [R] package.skeleton()

2011-12-18 Thread Ben Ganzfried
Hi Duncan, Thanks for your response. That's the confusing thing, I didn't receive a message and I can't seem to find the new source package directory anywhere. I would greatly appreciate any advice about what I might be doing wrong. Happy Holidays, Ben On Fri, Dec 16, 2011 at 7:12 PM, Duncan

Re: [R] gWidgets: how to remove that is box drawn when moving the mouse with pressed button

2011-12-18 Thread j verzani
Mark Heckmann gmx.de> writes: > > Hi, > > how can I omit the box drawn from the starting position to the > current position of the mouse when clicking and it over a GTK > graphics object? I have seen that in the 'playwith' package the box > changes to an arrow when using the 'pan' button. Bu

[R] Regression Modeling Strategies 3-Day Short Course March 2012

2011-12-18 Thread Frank Harrell
*RMS Short Course 2012* Frank E. Harrell, Jr., Ph.D., Professor and Chair Department of Biostatistics, Vanderbilt University School of Medicine *March 7, 8 & 9, 2012* 8:00am - 4:30pm Student Life Center Board of Trust Room Vanderbilt University http://biostat.mc.vanderbilt.edu/RMSShortCourse Pl

Re: [R] Identifying records with the correct number of repeated measures

2011-12-18 Thread Sarah Goslee
Thank you for asking a clear question and including a reproducible small example. Here's one possible (2-line) solution to your main question, and both the others: > WW_Names <- table(WW_Sample_SI$Individual_ID) > WW_Names <- names(WW_Names)[WW_Names == 9] > WW_Names [1] "WW_08I_01" "WW_08I_03" >

Re: [R] Label in oblique orientation

2011-12-18 Thread David Winsemius
On Dec 18, 2011, at 6:10 PM, Komine wrote: Dear, Thank bbolker for your answer, but with las I do not see oblique orientation for labels. There are horizontal, vertical but not oblique orientation. Thank for others answers. You cannot do it with las but you can apply an srt parameter to

[R] Identifying records with the correct number of repeated measures

2011-12-18 Thread Keith Larson
Dear list, I have a dataset where we sampled multiple individuals either 1 or 9 times. Our measurement variable is 'Delta13C' (see below sample dataset). I cannot figure out how to efficiently use a vector command (preferably) or a loop to create a new vector of the names of the individuals sample

Re: [R] Label in oblique orientation

2011-12-18 Thread Komine
Dear, Thank bbolker for your answer, but with las I do not see oblique orientation for labels. There are horizontal, vertical but not oblique orientation. Thank for others answers. -- View this message in context: http://r.789695.n4.nabble.com/Label-in-oblique-orientation-tp4211944p4212321.htm

[R] maptools/spatial analysis question

2011-12-18 Thread Albert-Jan Roskam
Hi, I am using maptools to plot air quality data on a map. Each measurement point is mapped to a postal code area. This yields pictures with discrete borders, like so: http://dl.dropbox.com/u/27415200/baincome.png The problem is that the size of a postal code area doesn't mean much in this cont

Re: [R] Label in oblique orientation

2011-12-18 Thread Ben Bolker
Komine yahoo.fr> writes: > I drew a barplot with this code: > > BarSize<-barplot(Size$SumArea,names.arg=Size$Class) > However the name of each bar is long. Thus, some names do not appear. I want > to write labels with Oblique orientation. > Can you help me to do that? > Thank you in advance.

[R] Label in oblique orientation

2011-12-18 Thread Komine
Hi, I drew a barplot with this code: > BarSize<-barplot(Size$SumArea,names.arg=Size$Class) However the name of each bar is long. Thus, some names do not appear. I want to write labels with Oblique orientation. Can you help me to do that? Thank you in advance. -- View this message in context:

Re: [R] write.xls dont find the object in function

2011-12-18 Thread Rolf Turner
On 19/12/11 04:29, Uwe Ligges wrote: On 18.12.2011 12:58, Ronaldo Reis Júnior wrote: Why the write.xls dont find the object a inside a function? Because at least that part of the function is poorly written. Surely this should be a fortune! cheers, Rolf ___

Re: [R] Extraction of rules from Support Vector Machines

2011-12-18 Thread Paul Smith
2011/12/17 Uwe Ligges : >> I am using the svm() function of package e1071 for creating Support >> Vector Machines prediction models. As far as I understand, there is no >> function in this package to extract rules of prediction. Is there some >> other package with such a functionality? > > Those "r

Re: [R] Product integral in R

2011-12-18 Thread David Winsemius
On Dec 18, 2011, at 1:11 PM, David Winsemius wrote: On Dec 18, 2011, at 12:59 PM, Robert A'gata wrote: Hi, I am wondering if anybody ever come across any implementation of product integral in R? As far as I googled, I haven't come across any package. Is there any? Thank you. http://en.wiki

Re: [R] Product integral in R

2011-12-18 Thread David Winsemius
On Dec 18, 2011, at 12:59 PM, Robert A'gata wrote: Hi, I am wondering if anybody ever come across any implementation of product integral in R? As far as I googled, I haven't come across any package. Is there any? Thank you. http://en.wikipedia.org/wiki/Product_integral Survival analysis is

[R] Product integral in R

2011-12-18 Thread Robert A'gata
Hi, I am wondering if anybody ever come across any implementation of product integral in R? As far as I googled, I haven't come across any package. Is there any? Thank you. http://en.wikipedia.org/wiki/Product_integral Regards, Robert __ R-help@r-pro

Re: [R] Should data for the linear mixed model analysis meet the three assumptions of ANOVA?

2011-12-18 Thread Colstat
I am working on similar stuff. I use aov(), I didn't use any package. And here's what I've been looking at http://www.gardenersown.co.uk/Education/Lectures/R/anova.htm http://www.personality-project.org/r/r.anova.html HTH On Sun, Dec 18, 2011 at 11:20 AM, David Winsemius wrote: > > On Dec 17, 201

Re: [R] Problem with reproducing log likelihood estimated with ghyp package

2011-12-18 Thread Steinar
Thank you very much for your answer. I did not think about the scale influencing the log likelihood score. The first simulation was zero mean student t distributed variables with variance=v/(v-2). And as far as I can understand, that is exactly what dt(x,v) assumes. This also gave me the same resu

Re: [R] Dealing with NAs

2011-12-18 Thread Jeff Newmiller
Read the posting guide. An example is not reproducible without sample data. You may need to remove data records containing NA. It may not even be a true NA, depending how you got your data into R. --- Jeff Newmiller

Re: [R] Should data for the linear mixed model analysis meet the three assumptions of ANOVA?

2011-12-18 Thread David Winsemius
On Dec 17, 2011, at 9:42 PM, Junli wrote: Hi All, I am doing linear mixed model analysis for my multi-location experiment using R package "lme4". I just wonder whether I should check my data first to see whether they meet the three assumptions of ANOVA, that is, independence, Independence is

Re: [R] write.xls dont find the object in function

2011-12-18 Thread Uwe Ligges
On 18.12.2011 12:58, Ronaldo Reis Júnior wrote: Hi, I try to use write.xls from dataframes2xls inside a function. The write.xls work normally in console, but inside a function it dont find the object. Look this example: > library(dataframes2xls) > test<- function(x){ + a<- data.frame

Re: [R] odfWeave

2011-12-18 Thread Uwe Ligges
Please never ever double/triple post the same questions. For the archive, the answer to the other instance of this question was: "Please report (if you want to speed things up including a patch) to the package maintainer. This package currently does not pass the check under Windows (at least n

Re: [R] odfWeave error

2011-12-18 Thread Uwe Ligges
Please report (if you want to speed things up including a patch) to the package maintainer. This package currently does not pass the check under Windows (at least not in non UTF-8 locales). Best, Uwe Ligges On 17.12.2011 23:49, Frank Lawrence wrote: I am new to using odfWeave but I have enco

Re: [R] odfWeave Windows binary

2011-12-18 Thread Uwe Ligges
On 17.12.2011 20:51, John C Nash wrote: As I'm working with some folk who use Windows to prepare an article / documentation, I'd like to be able to know if we can use odfWeave. It seems there is no "official" binary at the moment for Windows. Right, reason is the package does not pass the c

Re: [R] cp2tform equivalent

2011-12-18 Thread David Winsemius
On Dec 17, 2011, at 2:40 PM, George Macaulay Shaw wrote: I'm a new R user and am looking for an R equivalent to the Matlab 'cp2tform' function (see: http://www.mathworks.com/help/toolbox/images/ref/cp2tform.html) . cp2tform accepts pairs of 2D control points and produces a least- squares o

[R] Dealing with NAs

2011-12-18 Thread Ville Iiskola
Hi I am trying to estimate parameter values with mlogit. I attach a part of my data. My code is x=mlogit.data(y,choice="voittaja",shape="long",id.var="id",alt.var="numero") summary(mlogit(voittaja ~ Ie-1 , data=x, na.action=na.pass)) But i get Error in if (abs(x - oldx) < ftol) { :

[R] gWidgets: how to remove that is box drawn when moving the mouse with pressed button

2011-12-18 Thread Mark Heckmann
Hi, how can I omit the box drawn from the starting position to the current position of the mouse when clicking and it over a GTK graphics object? I have seen that in the 'playwith' package the box changes to an arrow when using the 'pan' button. But I do not find the corresponding line in the co

Re: [R] Bioconductor. MA plot for qPCR array

2011-12-18 Thread ali_protocol
Dear "Michael Weylandt" and "Juliet Hannah". Thank you indeed very much. -- View this message in context: http://r.789695.n4.nabble.com/Bioconductor-MA-plot-for-qPCR-array-tp4182805p4210685.html Sent from the R help mailing list archive at Nabble.com.

[R] Smoothing spline with smoothing parameters selected by "generalized maximum likelihood"

2011-12-18 Thread ali_protocol
Hi there, How may I smooth spline two vectors with the smoothing parameter selected by generalized maximum likelihood (GML) .? Thanks a lot. -- View this message in context: http://r.789695.n4.nabble.com/Smoothing-spline-with-smoothing-parameters-selected-by-generalized-maximum-likelihood-tp4

Re: [R] Problem with reproducing log likelihood estimated with ghyp package

2011-12-18 Thread peter dalgaard
On Dec 17, 2011, at 10:57 , Steinar wrote: > I was playing around with the ghyp package and simulated series of > t-distributed variables when suddenly i was not able to reproduce the log > likelihood values reported by the package. When trying to reproduce the > likelihood values, I summed the l

[R] write.xls dont find the object in function

2011-12-18 Thread Ronaldo Reis Júnior
Hi, I try to use write.xls from dataframes2xls inside a function. The write.xls work normally in console, but inside a function it dont find the object. Look this example: > library(dataframes2xls) > test <- function(x){ + a <- data.frame(A=c(1,2),B=c(10,11)) + write.xls(a,file="a.xls")

Re: [R] Looking for package 'rgp'

2011-12-18 Thread Barry Rowlingson
On Sun, Dec 18, 2011 at 4:29 AM, David Winsemius wrote: > > On Dec 17, 2011, at 9:30 PM, Worik R wrote: >> Installing package(s) into >> ‘/home/worik/R/x86_64-pc-linux-gnu-library/2.12’ > Pick a repository that is not unavailable on Sunday in hte very early > morning? And also read the 'Depend