search for: halldor

Displaying 13 results from an estimated 13 matches for "halldor".

2006 Aug 08
1
locating intervals
...data in X,Xi, but I suspect there may be a faster and more elegant way to do this in R. In Python (Numeric) the same can be achieved with ix=Numeric.searchsorted(X[1:-1],Xi), which is quite compact. So, does anyone know of a corresponding R call that can achive the same? Sincerely, Halldór -- Halldor Bjornsson Weatherservice R & D Icelandic Met. Office [[alternative HTML version deleted]]
2005 Jan 05
4
make R package for windows on Linux
...that are not!), but to no avail. The only instructions I find about building packages for windows (e.g. mypkg.zip) seem to imply that the build be done on a windows machine. Is there a simple way to make mypkg.zip under linux and then install it as a zip file on a windows machine? Sincerely, Halldor -- ------------------------------------------ Halldor Bjornsson (halldor at vedur.is) Vedurstofa Islands (Icelandic Met. Office) Bustadavegur 9, IS-150, Reykjavik, Iceland
2004 Oct 25
2
printing ISO/8859-1 characters
...nly thorn thats problematic... This problem also shows up on the commandline a <-"??" works ok, but print(a) or just: a returns the octal number. However, when using THORN in plotlabels it works fine. If anyone knows how to fix this I would be very happy to hear from them... Thanks Halldor -- ------------------------------------------ Halldor Bjornsson (halldor at vedur.is) Vedurstofa Islands (Icelandic Met. Office) Bustadavegur 9, IS-150, Reykjavik, Iceland
2004 Dec 14
2
plot with dates
...hat different plotting methods are invoked. methods(plot) yields a list of plot methods, but I cannot access most of them. Is there a way to guide plot(b) to using the method used by plot(b$novdate,b$y), - or is that a bad idea?... Sincerely, Halld??r ------------------------------------------ Halldor Bjornsson (halldor at vedur.is) Vedurstofa Islands (Icelandic Met. Office) Bustadavegur 9, IS-150, Reykjavik, Iceland
2004 Nov 29
1
problems with R-2.01 build with Mandrake 10.1
...rake than on redhat. Are there any specific rpms that need to be included before I can compile R so it includes X I understand that Mandrake 10.1 uses Xorg instead of XFree86, but am under the impression that these are compatible. Sincerely, Halld?r -- ------------------------------------------ Halldor Bjornsson (halldor@vedur.is) Vedurstofa Islands (Icelandic Met. Office) Bustadavegur 9, IS-150, Reykjavik, Iceland
2005 Jan 21
2
Windows plots & fontsize
...ne simple solution is to use par(ps=10), but I cannot find out how to set this globally. a) Does anyone know how I can set par(ps=10) by default on all figure? b) Is there a windows specific way to set default fontsizes in figures? Thanks, Halld?r -- ------------------------------------------ Halldor Bjornsson (halldor at vedur.is) Vedurstofa Islands (Icelandic Met. Office) Bustadavegur 9, IS-150, Reykjavik, Iceland
2005 Jun 22
2
A polar.plot BUG in plotrix 1.3.3 ?
...ot;),label.pos=c(0,90,180,270)*pi/180) I have attatched the polar.plot function from the two different versions of the package. It seems that if not missing then label.pos is not changed at all in version 1.3.3 So, a feature or a bug? Sincerely, -- ------------------------------------------ Halldor Bjornsson (halldor at vedur.is) Vedurstofa Islands (Icelandic Met. Office) Bustadavegur 9, IS-150, Reykjavik, Iceland ------------------------------------------ In version 1.3.3 polar.plot<-function(lengths,polar.pos,labels,label.pos,rp.type="r",...) { npos<-length(lengths)...
2005 Jun 15
1
Getting the character set
...and if I could find it in R I could make good use of it. In R both Sys.getlocale() and localeToCharset() can tell me which charset I am using, but I haven't found a way to print out the actual characters. Is there a way to do this? Sincerely, H. -- ------------------------------------------ Halldor Bjornsson (halldor at vedur.is) Vedurstofa Islands (Icelandic Met. Office) Bustadavegur 9, IS-150, Reykjavik, Iceland
2006 Aug 08
1
locating intervals (corrected version)
I have corrected a typo in my previous posting. In what follows the line with the inequality is correct Hi , I have two sorted vectors X and Xi, where the range of Xi lies within the range of X. For an element in Xi, I want to find the neigbouring data in X, e.g. find an index ix so that for element number k, then X[ix[k]] < Xi[k] < X[ix[k] +1] # also OK with "<=" on either
2009 Apr 30
1
How to know what device I am using
Some years ago I wrote a plotting routine that was run on both Linux & Windows computers. There were some differences in the way the plot looked from the windows device and the X11 device. To ensure consistency I used getOption("device")) and made some changes to the plotting if the windows device was being used. Using this routine again, years later, I now notice that
2011 May 04
1
bivariate linear interpolation
Hi, I have three matrices (X,Y,P) with the same dimension. The X,Y grid is regular and I want to perform linear interpolation to pick out certain points. In matlab appropriate call is something like Pout=interp2(X,Y,P,Xout,Yout, method="linear") where Xout and Yout are the locations where I want the Pout data (typically a different grid). (Scipy has this routine in
2012 Jun 14
1
read.table and variable length of tables
Hi, I am trying to read in weather balloon data, where each file has a header of fixed length and a trailing section of a fixed length. The data section (the table) is of variable length. An example of the data is on: http://weather.uwyo.edu/cgi-bin/sounding?region=naconf&TYPE=TEXT%3ALIST&YEAR=2011&MONTH=06&FROM=1400&TO=1400&STNM=04018 This data has 97 rows and can be
2010 Apr 29
1
image function with date-time on X axis
I am trying to plot a image where the x axis has the units of time. When I issue the image(x,y,z) command with x as a POSIXct object, it fails to put a time stamp on the x axis. Instead I get a warning "Incompatible methods" warning and no dates on my x axis. This example shows my problem: Rmat=t(matrix(data=rnorm(1:500),ncol=10,nrow=50)) tax=seq(ISOdate(2010,4,14,12,0,0),