search for: prager

Displaying 20 results from an estimated 156 matches for "prager".

Did you mean: pager
2003 Oct 18
2
Oceanographic lattice plots?
...oothing routines such as panel.lowess(), because the smoothed values are on the horizontal axis, not the vertical axis. Before I start looking at and modifying the R code that makes up the relevant routines, I wonder if any reader has already developed R routines for this purpose? -- Michael Prager, Ph.D. NOAA Beaufort Laboratory Beaufort, North Carolina 28516 http://shrimp.ccfhrb.noaa.gov/~mprager/ ***
2008 May 30
4
Request: Documentation of formulae
...Looking to print, neither the section on "model formula" on p.56 of MASS nor the section surrounding the above example explains the notation, nor could I find it in Dalgaard's book, nor in Maindonald and Braun. This seems too nice a feature to keep hidden in plain sight. -- Mike Prager, NOAA, Beaufort, NC * Opinions expressed are personal and not represented otherwise. * Any use of tradenames does not constitute a NOAA endorsement.
2004 Jul 15
3
More on global environment
...rrect sequence? 1. save.image() to save the current workspace as .Rdata in the current working directory. 2. rm(list=ls()) to remove everything from the workspace. 3. setcwd("xxx") to set the new working directory. 4. load(".Rdata") to load the new workspace. -- Michael Prager, Ph.D. NOAA Center for Coastal Fisheries and Habitat Research Beaufort, North Carolina 28516 http://shrimp.ccfhrb.noaa.gov/~mprager/
2007 Jan 24
4
Text position in Traditional Graphics
...issue is that a line of text takes up a smaller fraction of the total Y span of the plotting region as the window gets larger. It seems this can be done with grid graphics, but although I plan to learn grid, I am hoping that for now, I can do this work with traditional graphics. Thanks! -- Mike Prager, NOAA, Beaufort, NC * Opinions expressed are personal and not represented otherwise. * Any use of tradenames does not constitute a NOAA endorsement.
2005 Dec 20
4
Installing packages into updated R
A minor inconvenience in updating an R installation is remembering which packages were installed previously. Has anyone written a script to inspect a previous installation, then get & install the same packages into the new installation? -- Michael Prager NOAA Center for Coastal Fisheries and Habitat Research Beaufort, North Carolina 28516 Opinions expressed are personal, not official. No government endorsement of any product is made or implied.
2002 Dec 23
1
Plot scales
...omewhere that locations on plots (in my case, arguments x and y for legend()) can be specified in several scales besides the usual data scale. I would like to set x and y as proportions of total plot size or something similar. Can anyone steer me to documentation on how to do it? -- Michael Prager, Ph.D. <Mike.Prager at noaa.gov> NOAA Center for Coastal Fisheries and Habitat Research Beaufort, North Carolina 28516 http://shrimp.ccfhrb.noaa.gov/~mprager/
2008 Jul 18
3
Change font-face in title
Dear List, Is there a possibility to change the font-face for a part of the title of a plot? For example I have the following... plot(nirs, type="l", xlab="Wellenl?nge [nm]", col="darkslategray", main = "Spektrum Deschampsia caespitosa") ...and I would like to change the part of the title-string "Deschampsia caespitosa" to italics? Is
2002 Aug 08
1
PR #1833 Clarification (PR#1890)
...patch known as "Windows 2000 Service Pack 2," not by reinstalling Windows itself. Perhaps my original message was not clear. I point this out because installing the patch takes only 5 minutes, and this might help future users who experience similar problems. Thank you. -- Michael Prager, Ph.D. <Mike.Prager@noaa.gov> NOAA Center for Coastal Fisheries and Habitat Research Beaufort, North Carolina 28516 http://shrimp.ccfhrb.noaa.gov/~mprager/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www...
2008 Dec 31
3
Plotmath with values?
...view -- one who has never written a parser nor taken a course in compilers -- what is needed is the nonexistent function "value" usable in plotmath expressions to produce the value of its argument, as plot(1:3, 1:3, main = ~ a == value(aa)) How can this be done? THANKS! -- Mike Prager, NOAA, Beaufort, NC * Opinions expressed are personal and not represented otherwise. * Any use of tradenames does not constitute a NOAA endorsement.
2004 Jul 15
4
Where is global environment?
...ironment (workspace) was loaded (and to which it will, by default, be saved)? This seems identical with the current directory, so in any given session it is not too difficult to find out by other means. But for several reasons I would like to find this out from within R. Thanks. -- Michael Prager, Ph.D. Population Dynamics Team, NMFS SE Fisheries Science Center NOAA Center for Coastal Fisheries and Habitat Research Beaufort, North Carolina 28516 http://shrimp.ccfhrb.noaa.gov/~mprager/
2009 Jan 09
3
Programming Question (setting ylim generally)
library(StreamMetabolism) day <- (structure(c(10.08, 10.08, 10.05, 10.03, 10, 9.98, 9.96, 9.95, 9.95, 9.96, 9.96, 9.98, 10.01, 10.05, 10.06, 10.09, 10.11, 10.11, 10.13, 10.13, 10.15, 10.15, 10.13, 10.14, 10.11, 10.13, 10.14, 10.13, 10.12, 10.13, 10.14, 10.16, 10.18, 10.19, 10.23, 10.27, 10.33, 10.37, 10.45, 10.57, 10.6, 10.66, 10.73, 10.77, 10.84, 10.86, 10.87, 10.94, 10.98, 11.01, 11.05,
2003 May 30
3
Time for Usenet R Group?
...m finding that the flood of R email messages is becoming difficult to deal with, even using filters, etc., in my email client. Would we be better served by establishing a Usenet newsgroup? Would that be practical or impractical? Would it create problems for the maintainers of R? -- Michael Prager <Mike.Prager at noaa.gov> NOAA Center for Coastal Fisheries and Habitat Research Beaufort, North Carolina 28516 USA http://shrimp.ccfhrb.noaa.gov/~mprager/ Standard Disclaimers: * Opinions expressed here are personal and are not otherwise represented. * Any use of tradenames does not...
2010 May 10
3
update.packages fails with directory not found
...elling' successfully unpacked and MD5 sums checked Error in normalizePath(path) : path[1]="c:\Program Files\R\Library/PBSmodelling": The system cannot find the file specified Indeed, the path is missing, though it was there when I issued the update.packages command. ??? -- Mike Prager, NC, USA
2005 Sep 30
3
Dots in function names
Recent R function names seem to be using CaseOfTheLetters to mark words rather than dots as was done previously. Is the use of dots in function names deprecated, or is that simply a style choice? Will function names with dots cause problems in future revisions? Mike Prager
2007 Mar 16
1
Rownames are always character?
...as of now (R 2.4.1 on Windows) the function returns character vectors, not numbers (which is my desired result). I am using elements of the returned vector to index the matrix. e.g., nams <- rownames(mymat) for (thisnam in nams) { myvec <- mymat[thisnam, ] # ... more code ... } -- Mike Prager, NOAA, Beaufort, NC * Opinions expressed are personal and not represented otherwise. * Any use of tradenames does not constitute a NOAA endorsement.
2006 Oct 28
2
Package development on Windows - latest guidance?
...d (I use VTeX in everyday work). However, fpTeX has been discontinued by the author. What is the best way to get an R-compatible TeX installation for this work? (or might I get VTeX working -- its command line is idiosyncratic but it can create PDF, DVI, or HTML directly from LaTeX source)? Mike Prager Southeast Fisheries Science Center, NOAA Beaufort, North Carolina USA
2006 Oct 25
2
Coding style query (braces)
...blem with placing braces as shown below ? xxx <- function() { blah() if (x > 3) { ... if statements here ... } else { ... else statements here ... } } # end function This is code that I would like to work not just now, but in years to come. Comments appreciated. -- Mike Prager, NOAA, Beaufort, NC * Opinions expressed are personal and not represented otherwise. * Any use of tradenames does not constitute a NOAA endorsement.
2008 Nov 24
4
Replace NaN with zero
I need help with replacing NaN with zero (the value '0') in my dataset. The reason is that I can't get it to graph because of the NaN in the dataset. I have tried: data[is.nan(data)] <- 0 that others have suggested in the help archives but this does nothing so I am not sure what I am doing wrong. Thanks in advance for your help. [[alternative HTML version deleted]]
2007 Mar 20
2
Ticks on barplots
...a function, so I'm hoping for a method that doesn't require looking at the plot first. I have attached a PDF. # sample code (simplified) # mp <- barplot(t(N.age), xlab = "Year", axisnames = FALSE) axis(side = 1, at = mp, labels = rownames(N.age), tcl = -0.75) Thanks! Mike Prager NOAA, Beaufort, NC
2005 Oct 08
1
add leading 0s to %d from png() {was Automatic creation of file names}
...quot;integer"), ".png",sep=""),bg="white",width=1000,height=750) par(mfrow=c(2,2),mai=c(4,5,3,2)/10,omi=c(0.2,0,0,0), cex.axis=1,cex.main=1.2) } plot(1:10,main=w) if (i %in% c(4*1:100)) dev.off() i <- i+1 } dev.off() >From: Mike Prager <Mike.Prager <at> noaa.gov> >Subject: Re: [R] Automatic creation of file names >Newsgroups: gmane.comp.lang.r.general >Date: 2005-09-22 14:51:54 GMT (2 weeks, 1 day, 23 hours and 55 minutes ago) > >Walter -- > >P.S. The advantage of using formatC over pasting the d...