similar to: Learning - Example programs

Displaying 20 results from an estimated 6000 matches similar to: "Learning - Example programs"

2003 May 28
2
? building a database with a the great examples
Dear R help reader, I'm not an expert in R and are lerning a lot by reading the help digest, which is sometimes difficult because the huge amount of data posted. I have posted some questions before, and are impressed how quick I got a solution for my problem. Sometimes with quite different suggestions. I was always wondering if my questions didn't come up before. On the other site,
2003 Apr 28
1
Sorry
On my previous message I gave incorrect URL's for the configuration output. They should be www.phineas.pwp.blueyonder.co.uk/config.log and www.phineas.pwp.blueyonder.co.uk/config.out Also this technique appears to work with Netscape on Solaris, but not IE on Windows. If this is not a sensible way to post diagnostic output let me know and I will post them in a different way. Phineas Campbell
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] ==
2003 Apr 29
1
Installing On Solaris
I've downloaded gcc 2.95, and installed R-1.7.0 It appears to config properly, the config.out is at the following URL: http://www.phineas.pwp.blueyonder.co.uk/config.log Running make does not appear to work the errors are summarized: bash: ar: command not found *** Error code 127 make: Fatal error Command failed for target 'libappl.a' *** Error code 1 make: Fatal error: Command failed
2004 Aug 21
1
Cookbook, was Re: [R] R on gentoo amd64, etc.
<ivo_welch-rstat8783@mailblocks.com> writes: > 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
2003 Mar 24
1
Install on Solaris 5.9
I'm trying to install R-1.6.2 on a Sparc machine running Solaris 5.9. I download and unpack R, run ./Configure from the R directory. Configure fails.The last line on the Configure script prints is 'Checking for Fortran 77 name-mangling scheme', This output and the config.log files are available at: http://www.phineas.pwp.blueyonder.co.uk/config.log and
2007 Jul 25
3
Constructing bar charts with standard error bars
I am new to R. I want to graph group data using a "Traditional Bar Chart with Standard Error Bar", like the kind shown here: http://samiam.colorado.edu/~mcclella/ftep/twoGroups/twoGroupGraphs.html Is there a simple way to do this? So far, I have only figured out how to plot the bars using barplot. testdata <- scan(, list(group=0,xbar=0,se=0)) 400 0.36038 0.02154 200 0.35927
2005 Jun 28
2
STAR models estimation with R
Hi, Can you tell me if there are an R package or code for STAR model estimation and test misspecification. If no, how i could do this. Thanks in advance Best regards AJMI Noomen Phd student TUNISIA --------------------------------- [[alternative HTML version deleted]]
2005 Dec 08
1
Loading namespaces
I'm creating a package for my own use that uses some S4 classes but no methods. I have a file called NAMESPACE it contains the line: exportClasses("foo") and at the top of the R file I have setClass("foo", representation(x="numeric") and the line: .onLoad<-function(libname,pkgname) When I run R CMD check I get Syntax error in the only R file. If I
2004 Jun 08
4
off topic publication question
Dear R People: Please excuse the off topic question, but I know that I'll get a good answer here. If a single author is writing a journal article, should she use "We performed a test" or "I performed a test", please? I had learned to use "we" without regard to the number of authors. Is that true, please? Thanks for the off topic help. Sincerely, Erin
2004 Oct 26
2
Empirical P Value
I am trying to return the p value for a stat from the ECDF. That is the index of the first occurrence, on an ordered vector, of a value either greater than or equal to a given value. Ideally I would not have to order the vector beforehand. Currently I use: PValue<-function(stat, ECDF){ ###Get the length of the ECFD L<-length(ECDF) ###Loop through the ECDF until the p value is
2004 May 28
2
any simple examples for SJAVA please
Hi! Are there any simple examples for SJAVA please? Thanks, Laura R Version 1.9.0 Windows _________________________________________________________________
2003 Nov 17
2
Newbie question
I'm trying to find a good open source software to do sales forecasting using Holt Winters and Box Jenkins time series algorithm. Somebody pointed me that R is the best open source available for statistical computing. Are there functions to do Holt Winters and Box Jenkins time series prediction in R? If there is none, can some one point me a good GNU/freeware to do the sales forecasting using
2006 Nov 29
1
Web site link problems (PR#9401)
Full_Name: Ross Boylan Version: N/A OS: Linux Submission 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
2004 Jun 22
2
question about window and inserting value
Hi again R People: I have the following time series: >x.ts Jan Feb Mar Apr May Jun Jul Aug Sep 2000 0.95 0.66 0.83 0.66 -1.45 -1.25 0.33 1.03 -0.48 2001 2.55 1.21 -1.10 -0.63 0.01 -2.20 -0.51 1.12 1.11 2002 -1.37 0.55 -0.63 -0.56 0.92 -1.73 0.59 0.77 0.30 2003 0.55 -0.01 -0.54 2.27 -1.29 -0.23 0.09 -0.50 -0.61 Oct Nov Dec 2000 0.84 -1.35
2004 Aug 20
3
legends on the outside of the "box"
Hi R People: Here is a simple set of commands: >x1 <- 1:10 >x2 <- sqrt(x1) >plot(x1) >points(x2,col="red",pch=3) >legend(2,8,legend=c("First","Second"),col=c("black","red"),pch=c(1,3)) > Fine. Now, I would like to put the legend box on the outside of the plot itself, perhaps in the lower left hand corner. I've been
2006 Jan 10
2
Wikis (was about prod(numeric(0)))
Tony Plate <tplate <at> acm.org> writes: > > Since the virtue and reliability of Wikis was brought up, I created a R > Wiki page for this at > http://www.sciviews.org/_rgui/wiki/doku.php?id=beginners:surprises:emptysetfuncs > > > Anyone: please correct errors and improve it! > > Tony Plate > OK, now I have another question: I see a wiki at
2006 Jan 10
2
Wikis (was about prod(numeric(0)))
Tony Plate <tplate <at> acm.org> writes: > > Since the virtue and reliability of Wikis was brought up, I created a R > Wiki page for this at > http://www.sciviews.org/_rgui/wiki/doku.php?id=beginners:surprises:emptysetfuncs > > > Anyone: please correct errors and improve it! > > Tony Plate > OK, now I have another question: I see a wiki at
2005 Feb 23
3
and [ESS] Starting ESS
Dear R People: I have finally seen the error of my ways and have decided to use ESS for R and S + stuff. However, I have a question right from the beginning. I'm somewhat confused by the installation instructions. Do I install XEMACS or ESS first, please? Windows XP R Version 2.0.1 (S + 6.2) Thanks so much! Sincerely, Laura Holt mailto: lauraholt_983 at hotmail.com
2009 Oct 23
3
reset par() within plot layout
Dear list, I would like to produce a matrix of plots, where par() is reset after each plot (see below [simplified] example). When I use layout() to do so, I seem to also reset the layout. I have not been able to figure out how to prevent this from happening. Any help is greatly appreciated! Janke Example code: #Desired result is a layout of 2 plots: one red and one black layout(matrix(1:2,