search for: mrgomel

Displaying 3 results from an estimated 3 matches for "mrgomel".

Did you mean: mgomez
2010 Jun 11
4
setting the current working directory to the location of the source file
...he datafiles are in the same directory.) Here is a hack I invented to work around it: print(getwd()) source_pathname = get("ofile",envir = parent.frame()) source_dirname = dirname(source_pathname ) setwd(source_dirname) print(getwd()) Question: Is there a better, cleaner way? Thanks, mrgomel [[alternative HTML version deleted]]
2010 Nov 20
2
plotting a timeline
...e plot using additional elements to create my own x-axis (code below). I have placed the x-axis ticks on a fixed y-height (-0.1 and -0.05), but this might look badly with a different dataset or at other image proportions. I'd rather do this with a dedicated package function ( like axis() ). -- mrgomel ----------------------- Below is my example code in R: the_data <- structure(list(eventtime = c(1914L, 1917L, 1918L, 1939L, 1945L, 1963L, 1989L, 2001L, 2003L), impact = c(1, -.5, 0.8, 1, 0.8, 0.5, -.5, 0.5, 1), label = structure(c(8L, 7L, 4L, 9L, 5L, 2L, 3L, 1L, 6L), .Label = c("9/11&quot...
2010 Nov 24
0
4. Rexcel (Luis Felipe Parra)-how to run a code from excel
...zation-tp3053782p 3053782.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] ------------------------------ Message: 30 Date: Mon, 22 Nov 2010 16:19:14 +0100 From: ?ukasz R?c?awowicz <lukasz.reclawowicz at gmail.com> To: Marcin Gomulka <mrgomel at gmail.com> Cc: r-help at r-project.org Subject: Re: [R] plotting a timeline Message-ID: <AANLkTimfz8Eo1GZouw5hf_ROvSVDzk8mgJGjLMwCb5d4 at mail.gmail.com> Content-Type: text/plain 2010/11/20 Marcin Gomulka <mrgomel at gmail.com> > I'd rather do this with a dedicated >...