search for: rtips

Displaying 20 results from an estimated 44 matches for "rtips".

Did you mean: tips
2003 Jun 03
0
Rtips (was Re: ? building a database with a the great /cookbook
...and can judge what should go in. In this respect, Detlef Steuer (suggestion , might be a solution http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?RwikiHome. Frank > >Message: 67 >Date: Tue, 3 Jun 2003 00:05:02 -0700 >From: Claude Rubinson <cmsclaud at uga.edu> >Subject: Re: Rtips (was Re: [R] ? building a database with a the great > >I'm wondering if there's demand/interest in a cookbook-style site >along the lines of ActiveState/O'Reilly's Perl and Python cookbook >sites. (If you're not familiar with the cookbooks, they're databases &gt...
2003 May 28
2
? building a database with a the great examples
...g if my questions didn't come up before. On the other site, it wasn't easy to search the help archive, purely I didn't know how to formulate my problem. I'm wondering if we could not collect all the answers / examples in a database - sorted in topics, like the help document "Rtips". I have no clue if this is possible to do nor how time consuming the maintaining would be. This is just my view how the help list could be improved Yours Frank -- Frank Mattes, MD e-mail: f.mattes at ucl.ac.uk Department of Virology fax 0044(0)207 8302854 Royal Free Hospital and te...
2004 Aug 21
1
Cookbook, was Re: [R] R on gentoo amd64, etc.
...rites: > PS: I am still looking for an R wizard who would be interested in > coauthoring an "R cookbook" ala the "perl cookbook" with me... I think I've said it before, but I think such a book ought to coauthor Paul Johnson, whether or not he does any work beyond the Rtips web pages. A few of the tips may need a bit of critical review (as I remember it -- haven't checked recently) and it's likely not quite complete, but it is still an excellent starting point. -p -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of B...
2007 Jul 25
3
Constructing bar charts with standard error bars
...t(testdata$xbar, names.arg=as.character(testdata$group), main="a=4.0", xlab="Group", ylab="xbar") xvalues <- c(0.7, 1.9, 3.1, 4.3, 5.5) arrows(xvalues, testdata$xbar, xvalues, testdata$xbar+testdata$se, length= 0.4, angle=90, code=3) The best clue I have so far is Rtips #5.9: http://pj.freefaculty.org/R/Rtips.html#5.9 which is what I based my present solution off of. However, I do not understand how this works. It seems like there is no concrete way to determine the arrow drawing parameters x0 and x1 for a barplot. Moreover, the bars seem to be "cut off&qu...
2006 Jan 10
2
Wikis (was about prod(numeric(0)))
...wiki/doku.php (Phillippe Grosjean) which is nominally geared toward beginners/GUI interfaces. I'm not saying I could do any better, but both of these look as though they'd be pretty hard to get into if you were really a beginner or intermediate R user looking for info ... Paul John's Rtips (http://www.ku.edu/~pauljohn/R/Rtips.html) is actually about the best example about there -- the flat hierarchy might not work too well for a really big wiki, but having at least a good first-level hierarchy set up (and making sure that what new users see is not a lot of detail about how to extend...
2006 Jan 10
2
Wikis (was about prod(numeric(0)))
...wiki/doku.php (Phillippe Grosjean) which is nominally geared toward beginners/GUI interfaces. I'm not saying I could do any better, but both of these look as though they'd be pretty hard to get into if you were really a beginner or intermediate R user looking for info ... Paul John's Rtips (http://www.ku.edu/~pauljohn/R/Rtips.html) is actually about the best example about there -- the flat hierarchy might not work too well for a really big wiki, but having at least a good first-level hierarchy set up (and making sure that what new users see is not a lot of detail about how to extend...
2006 Nov 29
1
Web site link problems (PR#9401)
...ission from: (NULL) (198.144.201.14) 1. http://www.r-project.org/posting-guide.html includes "Paul Johnson's R tips page is a organized collection of how to do things in R, with many questions and tips culled from R-help" "R tips" is a link to http://www.ku.edu/~pauljohn/R/Rtips.html. I get a message the page is no longer there when I try it. Desired state: delete or point to an active version of the document, unless this is some transitory problem. 2. http://www.r-project.org/posting-guide.html includes in the section Surprising behavior and bugs, "make sure you r...
2004 Dec 13
3
Percentages in contingency tables *warning trivial question*
...ound(sweep(addmargins(B, 2, list(list(All=sum, N=sqsm))), 1, apply(B, 1, sum )/100, "/"), 1) .. Which introduced me to "sweep" and maybe could be extended to do what I want. But I don't like using mysterious "weird" functions. I recently found Paul Johnson's Rtips where: http://www.ku.edu/~pauljohn/R/Rtips.html#6.1 mentioned the function prop.table, which is also close to what I want. But how to show Ns and percentages im the same table? I wondered if there were a function which does this already. Or perhaps I should just write one for myself? Or should I...
2006 May 17
1
Example Syntax for if - then- and - else Statements
Hello R users, I am a fairly new R user, however, one of the problems I am having is the use of applying if-, and-, then-, else- statements in R against datasets & dataframe. Rtips mentions it, but without simple examples I am not quite sure what my syntax should look like. I am particularly interested in syntax that can be used with the transform function. for example if foo[,1] == 'n', foo[,2] == 4, else foo[,2] == 6 Could someone please share simple exampl...
2006 Mar 02
1
predict.glm - how to?
Hi I have a little R problem. I have created a GLM model in R and now I want to predict some values outside the values I have in the model (extrapolate). I have this code: fitted.model4 <- glm(Yval ~ time, family=gaussian, data=Fuel) The question is - How do I predict a value of Yval ie with a value of time = 340 and also get confidence/prediction intervals for Yvar? I have tried the
2010 Sep 01
3
Save data as .pdf or .JPG
Hi all , I have following script to plot some data. plot( c(1,1100), c(0,15), type='n', xlab='', ylab='', ylim=c(0.1,25) , las=2) axis (1, at = seq(0,1100,50), las =2) axis (2, at = seq(0,25,1), las =2) lines( c(1,304),c(0,0),col='grey', lwd=3 ) lines( c(1,238),c(1,1),col='grey', lwd=3 ) segments(86, 0 ,270,col = "green", pch=23,
2006 Jan 18
0
R Wiki and R-sig-wikii
...d Bioconductor, sic!), I proposed to several authors of Web sites dedicated to R documentation to move to the Wiki. This will certainly ease to keep the information up-to-date, since everybody could collaborate in maintaining this material. I already got a positive answer from Paul Johnson for Rtips (http://www.ku.edu/~pauljohn/R/Rtips.html#1.1) and from James Wettenhall for R Tcltk Examples (http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/). So, what next? Well, I think we should not rush. We should take time to refine the Wiki engine, the Wiki server and the structure of the Wiki i...
2006 Jun 18
0
R Wiki - official launch!
...====================================== The main sections are: - Getting Started: dedicated to very R beginners, - Guides: a section for books, tutorials and demos in Wiki format, - Tips: this is a large section with many small tips&tricks, initially based on the excellent Paul Johnson's Rtips (http://pj.freefaculty.org/R/Rtips.html), - Links: users can contribute links about R here, - R Graph Gallery: an addition to discuss graphs in the Romain Fran?ois' R Graph Gallery site (http://addictedtor.free.fr/graphiques/index.php), - R packages: packages authors/maintainers are free t...
2004 Jul 28
0
Packages of snippets?
...tors. In > fact, I would be willing to maintain such a package if it came > into existence. One note (I'm not sure if this is a flaw, > strictly speaking), the package would only be able to cover > functions. So general "tips", for example those covered on the > Rtips webpage (http://www.ku.edu/~pauljohn/R/Rtips.html), would > not be able to make their way into the package. > > Another issue is that as of now, there are many useful tools for > checking for errors/problems in *packages*. But there's no real > way to check a single code fil...
2005 Aug 25
4
covariance matrix under null
Hello I am fitting a Cox PH model using the function coxph(). Does anyone know how to obtain the estimate of the covariance matrix under the null hypothesis. The function coxph.detail() does not seem to be useful for this purpose. Thanks, KD. [[alternative HTML version deleted]]
2006 Mar 03
4
Plotting FAQ?
Hi, Since I started to make some 'final' plots of my data I found that I have tons of questions related to 'the little things'. Rather than bother the list with all the questions (ahem), or search the archives for similar questions and translate the context, I would like to find a FAQ for plotting in particular (and R programming in general). I know for sure (searching the
2002 Jun 26
0
AW: sapply() and Monte Carlo
What about "Rtips" at http://lark.cc.ukans.edu/~pauljohn/R/statsRus.html ? Regards, Heinrich. > -----Urspr?ngliche Nachricht----- > Von: rossini at blindglobe.net [mailto:rossini at blindglobe.net] > Gesendet: Mittwoch, 26. Juni 2002 14:48 > An: r.hankin at auckland.ac.nz > Cc: r-help at stat....
2004 Jul 08
0
R cookbook (Re: omit complete cases)
Hi Ivo: You might check out Paul Jobnson's following page: http://www.ukans.edu/~pauljohn/R/Rtips.html   HTH, Arin On Thu, 08 Jul 2004 ivo_welch-rstat8783@mailblocks.com wrote : > >...I used to use perl for much work, and although there is much to like about it, R seems to be even better for most tasks---except that there is one perl resource that R cannot beat: the Perl Cookbook. i...
2005 Mar 02
0
overlapping/interleaved histogram help
NOTE: I have read the FAQ, Verzani's book, Rtips, and googled. For various reasons I don't want to use a density plot when comparing two distributions, I would prefer to have interleaved histograms over the same ranges. In addition to this, I would also like to normalize the two histograms so that both of their max Y values are the same...
2004 Nov 22
2
variable object naming
Is it possible to give a temporary object a name that varies with each run of a foreloop? For example, I want to fill a matrix every time I run a loop, and I want a new matrix with each run, with an appropriate new name. i.e.: for(i in 1:5){... matrix.i<-some values ...} so that in the end I would have: matrix.1 matrix.2 matrix.3 matrix.4 matrix.5 Thanks, Ben Osborne -- Botany Department