similar to: return unique values from date/time class object

Displaying 20 results from an estimated 1000 matches similar to: "return unique values from date/time class object"

2005 Sep 13
1
R CMD INSTALL -l /path/to/library packagename
Background: OS: Linux Mandrake 10.1 release: R 2.1.1 editor: GNU Emacs 21.3.2 front-end: ESS 5.2.3 Colleagues Since I upgraded to R 2.1.1, I am getting a an error message from R CMD INSTALL packagename that says R_HOME ('/usr/local/lib/R') not found. That's not too surprising, since R is now in /usr/lib/R, but what is confusing me is that R CMD INSTALL -l /path/to/library
2005 Jul 28
2
lattice/ grid.layout/ multiple graphs per page
Background: OS: Linux Mandrake 10.1 release: R 2.0.0 editor: GNU Emacs 21.3.2 front-end: ESS 5.2.3 --------------------------------- Colleagues I have a set of lattice plots, and want to plot 4 of them on the page. I am having trouble with the layout. grid.newpage() pushViewport(viewport(layout = grid.layout(2,2))) pushviewport(viewport(layout.pos.col = 1, layout.pos.row = 1)) working trellis
2006 May 19
4
Cross correlation/ bivariate/ mantel
> Background: > OS: Linux Ubuntu Dapper > release: R 2.3.0 > editor: GNU Emacs 21.4.1 > front-end: ESS 5.2.3 > ----------------------------- > Colleagues > I have two spatial datasets (latitude, longitude, fish eggs) and (latitude, longitude, fish larvae) at the same 280 stations (i.e. 280 cases). I want to determine if the 2 datasets are spatially correlated. In other
2005 Jun 21
3
R-help
Background: OS: Linux Mandrake 10.1 release: R 2.0.0 editor: GNU Emacs 21.3.2 front-end: ESS 5.2.3 --------------------------------- Colleagues Is there a function in R that is an equivalent of zoom in matlab? This is very useful for being able to magnify details in a plot. I have searched the help for "zoom", "interactive zooming", and "magnify". The R search
2005 Mar 14
1
initialising trellis device {lattice}/ postscript
Background: OS: Linux Mandrake 10.1 release: R 2.0.0 editor: GNU Emacs 21.3.2 front-end: ESS 5.2.3 --------------------------------- Colleagues I am using: trellis.device(postscript, file="../figures/name.ps") .....code to generate the trellis display here .... graphics.off() to create a postscript from a working xyplot display. The problem is that the postscript file appears to be
2005 Jan 19
1
looking for a basic spatial diff function
Background: OS: Linux Mandrake 10.1 release: R 2.0.0 editor: GNU Emacs 21.3.2 front-end: ESS 5.2.3 --------------------------------- Colleagues Is there a function to calculate distances between adjacent latitude/ longitude pairs in a matrix? It is basically a spatial diff() function that I have in mind. Data: long1, lat1 long2, lat2 long3, lat3 looking for: diff(data$long, data$lat)
2006 Jun 30
1
Trellis.par.set/ family/ global change font?
Background: OS: Linux Ubuntu Dapper 6.06 release: R 2.3.1 editor: GNU Emacs 21.4.1 front-end: ESS 5.2.3 --------------------------------- Colleagues I have a rather complicated trellis plot that a journal editor has requested I edit and change all the fonts to times. I'd like to change all fonts globally for the plot, as in par(family="serif") for non-trellis plots. Various
2004 Nov 03
3
cut POSIX results in NA - bug?
Dear all I try to make hourly average by cut() function, which almost works as *I* expected. What puzled me is that if there is only one item at the end of your data it results in NA. Example will explain what I mean datum<-seq(ISOdate(2004,8,31), ISOdate(2004,9,1), "min") cut(datum[1370:1381],"hour", labels=F) [1] 1 1 1 1 1 1 1 1 1 1 1 NA
2005 Sep 14
0
R CMD INSTALL -l /path/to/library packagename/ fixed
Background: OS: Linux Mandrake 10.1 release: R 2.1.1 editor: GNU Emacs 21.3.2 front-end: ESS 5.2.3 --------------------------------- Colleagues The environment variables checked with Sys.getenv() all appeared to be in the right place. The easy fix was to copy /usr/lib/R into /usr/local/lib/R then run the R CMD INSTALL packagename then just copy the package subdirectory back to
2005 Mar 14
0
fixed/ initialising trellis device {lattice}/ postscript
Thanks Andy out<- xyplot(....) print(out) did the trick nicely. Sam ---- Sam McClatchie, Biological oceanography South Australian Aquatic Sciences Centre PO Box 120, Henley Beach 5022 Adelaide, South Australia email <mcclatchie.sam at saugov.sa.gov.au> Telephone: (61-8) 8207 5448 FAX: (61-8) 8200 2481 Research home page <http://www.members.iinet.net.au/~s.mcclatchie/>
2005 May 30
3
sapply following using by with a list of factors
Background: OS: Linux Mandrake 10.1 release: R 2.0.0 editor: GNU Emacs 21.3.2 front-end: ESS 5.2.3 --------------------------------- Colleagues I am having some trouble extracting results from the function by, used to average variables in a data.frame first by one factor (depth) and then by a second factor (station). The real data.frame is quite large > dim(data.2001) [1] 32049 11 Here is a
2005 Mar 16
0
Fixed/ trellis/ panel.superpose/ passing in superscripts/ groups
Background: OS: Linux Mandrake 10.1 release: R 2.0.0 editor: GNU Emacs 21.3.2 front-end: ESS 5.2.3 --------------------------------- Colleagues I have solved the miscoding with subscript and groups in panel.superpose. I was neglecting to pass in the variables correctly. "sardine.egg.T.S.space.2001.and.2002.exp" <- function() { library(lattice) library(grid) ##
2004 Jan 13
1
reinstalling R/ mandrake 9.1/ rpm
OS: linux Mandrake 9.1 R Version 1.8.1 (2003-11-21), GNU Emacs 21.2.93.1 ------------------- Colleagues I'm reinstalling R after reformatting a partition containing the applications software. The urpmi returned this error: [root at localhost R]# urpmi R-1.8.1-1mdk.i586.rpm installing R-1.8.1-1mdk.i586.rpm Preparing... ################################################## 1:R
2005 Mar 15
0
trellis/ panel.superpose/ passing in superscripts/ groups
Background: OS: Linux Mandrake 10.1 release: R 2.0.0 editor: GNU Emacs 21.3.2 front-end: ESS 5.2.3 --------------------------------- Colleagues I'm plotting fish egg densities in temperature-salinity space (i.e. mean temperature ~ mean salinity | fish egg densities) for two survey years. The bivariate plot is overlaid on a temperature ~ salinity plot (not means) showing the distribution of
2004 May 20
2
irregular time series
Background: OS: Linux Mandrake 9.1 release: R 1.9.0 editor: Xemacs 21.4 frontend: ESS 5.1.23 --------------------------------- Colleagues I have two time series (upwelling index and water temperature) of evenly spaced, daily data over 18 months, but the upwelling index series has a gap of about 2 months right in the middle of it. I want to do the acf, pacf, ccf, and a cross-spectral analysis
2004 Aug 09
1
returns the value of a polynomial of degree n evaluated at x.
> Background: > OS: Linux Mandrake 9.1 > release: R 1.9.0 > editor: Xemacs 21.4 > frontend: ESS 5.1.23 > --------------------------------- > > Colleagues > Is there a function in R that is similar to polyval in matlab? (y = polyval(p,x) returns the value of a polynomial of degree n evaluated at x. The input argument p is a vector of length n+1 whose elements are the
2004 Mar 10
1
Fisheries acoustics
Hi, member-list i'm searching for packages or routines to analise fisheries acoustics data. Something make import data of scientific ecosound (EK500) of paralel port, filter signal, analyse pattern of pixel fish shoals... Is there someone work with this ? If no, why dont make colective effort to do this?? (package fish_acoustic). Thanks Marcelo
2004 Aug 09
0
returns the value of a polynomial of degree n evaluated a t x.
Try something like: install.packages("polynom") library(polynom) predict(polynomial(rev(p)), x) HTH, Andy > From: McClatchie, Sam (PIRSA-SARDI) > > > Background: > > OS: Linux Mandrake 9.1 > > release: R 1.9.0 > > editor: Xemacs 21.4 > > frontend: ESS 5.1.23 > > --------------------------------- > > > > Colleagues > >
2001 Apr 01
1
ylab/ expression/ superscript to a bracket
Colleagues ---------------------------------- System info: R version rw1022 on NT ESS v. 5.1.18 using emacs ver. 20.4 ---------------------------------- I have some rather unusual units for acoustic volume backscattering integrated over several metres depth and 10 transmits (which happens to = 160 m along transect). I need to express these units in a graph label. My problem
2001 Jun 29
2
Re: ESS and R ver 1.3.0/ graph menu/ save PDF
"SM" == S McClatchie <S.McClatchie> writes: > > SM> I notice that the new option under R ver. 1.3.0 to save a > SM> graph as a pdf file from the graph window menu (file/ save as/ SM> > PDF) works differently (extremely slowly) under ESS, whereas SM> it is > almost instant from the R- gui. > > SM> Does the feature not work