Displaying 20 results from an estimated 200 matches similar to: "zoo: variable gets modified at making zoo object"
2012 May 29
1
problems with xlim in plot.zoo() and window()
I'm trying to get a minimally intuitive way of plotting zoo objects
extracted for given periods of time
I do:
> plot(alyL32007z$NEE_st,col=cod,type="b",pch=18,xlim=time(alyL32007z)[c(3000,15000)])
and get a correct plot but the expression for xlim is hard to read by humans.
I try
> time(alyL32007z)[c(3000,15000)]
[1] "2007-03-04 11:30:00 UTC" "2007-11-09
2012 Jun 08
3
day of the year for chron objects
Hi!
Is not there an standard R function to retrieve the day of the year
(since 1st Jan of the same year)?
I know I can make my own using julian, but find it weird that having
days(), months() etc doy() does not exist as an standard function.
Also, is the following not a bit inconsistent?
> a <- chron("20100506",format="ymd")
> a
[1] 100506
> years(a)
[1] 2010
2013 Feb 28
1
query labels in iplot() (or other interactive scatterplot)
By Ctr-moving the cursor over a point in an iplot() scatterplot
(package iplots) it is possible to check the exact x,y coordinates
of a given point. Is it possible to check a text label for that point
as well? (i.e., the same info that would get printed on the graphic
using text(x,y, labels=v)
or with identify(x,y,labels), but I do not want to get the labels
permanently plotted on the graphic)
2011 Sep 16
1
cutree() and rect.hclust(): different labelling of classes
I've found that while cutree() and rect.hclust() make the same classes
for a given height in the dendrogram, the actual labeling of the classes
is different. For example, both produce the same 4 classes but
class 1 according to cutree() is class 4 according to rect.hclust().
Would it be possible that future versions provide the same labeling?
rect.hclust() is useful to display the classes
2011 Sep 27
2
Problem with zoo::window()
I have the following time series:
> class(CCasadesz2)
[1] "zoo"
> setmanes <- cut(time(CCasadesz2),breaks="weeks")
> CCasadeswz <- aggregate(CCasadesz2,sum,by=setmanes)
> class(CCasadeswz)
[1] "zoo"
> summary(CCasadeswz)
Index CCasadeswz
2009-01-12 00:00:00: 1 Min. : 4.0
2009-01-19 00:00:00: 1 1st Qu.:
2011 May 18
3
Date_Time detected as Duplicated (but they are not!)
I have a problem with duplicated date_time stamps that I do not see as
duplicated.
I read a file with observations taken every 30 minutes:
> aur2009=read.csv(paste(datadir,"AUR_ECPP_2009.csv",sep="/"),sep=";",stringsAsFactors=F)
> aur2009[1:3,1:5]
Date.Time E_filled E_filled_flag LE_filled LE_filled_flag
1 1/1/2009 0:00 0 NaN 5.86
2013 Feb 17
0
strptime() with format %OS does not print millisecs in MacOS
Hi!
I'm finding this on MacOS Lion 10.7.5
> getOption("digits.secs")
NULL
> a <- "2012_10_01_14_13_32.445"
> strptime(a,format="%Y_%M_%d_%H_%M_%OS")
[1] "2012-02-01 14:13:32"
> strptime(a,format="%Y_%M_%d_%H_%M_%OS3")
[1] NA
I can solve it with
> options(digits.secs=3)
> strptime(a,format="%Y_%M_%d_%H_%M_%OS")
2012 Mar 05
3
IXFR regression in nsd 3.2.9?
We upgraded to NSD 3.2.9 (from 3.2.8) because we encountered the
problem "Fix denial of existence response for empty non-terminal that
looks like a NSEC3-only domain (but has data below it)." (a nasty
problem with DNSSEC). But we now have IXFR issues.
On one name server, NSD 3.2.9 works fine, zones are IXFRed and work.
On another name server, with much more zones (and big ones), we
2009 May 12
2
[Fwd: Re: ubuntu problem with 'r-cran-robustbase' [FWD Agustin Lobo]]
Subject: Re: [R-sig-Debian] ubuntu problem with 'r-cran-robustbase' [FWD
Agustin Lobo]
Date: Tue, 12 May 2009 13:30:49 +0200
From: Agustin Lobo <aloboaleu at gmail.com>
Reply-To: aloboaleu at gmail.com
To: Dirk Eddelbuettel <edd at debian.org>
CC: Martin Maechler <maechler at stat.math.ethz.ch>,
R-SIG-Debian at stat.math.ethz.ch
References: <18953.17704.527898.355877
2009 Feb 23
1
why results from regression tree (rpart) are totally inconsistent with ordinary regression
Hi,
In my analysis of impacts of insecticide-treated bednets on malaria, I
look at the relationship between malaria incidence and mosquito
behaviors. The condensed data set is copied here. Ordinary regression
(lm) shows that Incidence was negatively related to Mortality. This
makes sense because the latter reflected the strength of killing
mosquitoes by insecticide-treated nets. Since the
2009 May 12
2
ubuntu problem with 'r-cran-robustbase' [FWD Agustin Lobo]
Agustin, posted on R-help.
I think the problem is one of the debian/ubuntu package
'r-cran-robustbase' and its setup or (missing?) dependencies.
I can confirm Agustin's problem, working on Ubuntu 8.04.2
(8.04 is a "LTS" = long time support version).
apt-get install r-cran-robustbase
works fine, but when trying to load the package,
there's a DLL - dependency on
2024 Jan 25
1
Share access permission errors after upgrade from 4.12.14
On Wednesday, 24 January 2024 at 20:45, Rowland Penny via samba <samba at lists.samba.org> wrote:
> That is what I was looking for, the default 'idmap config' is set to
> 'hash', which shouldn't be used. Especially as it says 'idmap_hash - DO
> NOT USE THIS BACKEND' at the top of 'man idmap_hash'. I can understand
> using it for existing
2015 Oct 14
0
No power cycle after shutdown on Atlantis Land OnePower A03-S1001
On 10/14/2015 10:17 AM, Roger Price wrote:
> What does "ps aux | grep ups" report?
ps aux | grep ups
nut 2902 0.0 0.0 20588 1140 ? Ss 00:10 0:02
/lib/nut/nutdrv_qx -a myups
nut 2946 0.0 0.0 37632 1428 ? Ss 00:10 0:00 /lib/nut/upsd
root 2970 0.0 0.0 37616 1436 ? Ss 00:10 0:00 /lib/nut/upsmon
root 2973
2015 Oct 14
2
No power cycle after shutdown on Atlantis Land OnePower A03-S1001
On Wed, 14 Oct 2015, Davide Baldini wrote:
> the full output of upsc ${myups} is at https://pastebin.mozilla.org/8849188 ;
> in particular:
>
> ups.delay.shutdown: 30
> ups.delay.start: 180
>
> However, the UPS does not shut down, not immediately nor well after the
> timeout of the command: upscmd -u admin -p mypass myups shutdown.return 360
What does "ps aux |
2008 Dec 04
0
reading files (readOGR) and non-ascii characters
I'm forwarding to this list as I've got no
answer in [R-sig-Geo] and perhaps this
issue is not exclusive of readOGR()
I'm using ubuntu 8.04 andR version 2.8.0 (2008-10-20)
-------- Original Message --------
Subject: readOGR and non-ascii characters
Date: Wed, 03 Dec 2008 14:22:34 +0100
From: Agustin Lobo <aloboaleu at gmail.com>
Reply-To: Agustin.Lobo at ija.csic.es
To:
2008 Jun 12
1
Subset in cast: compact form?
Hi!
How can I subset several variables in cast?
For example, I can do it for one, (ie, ph):
cast(am, organismo +arriba ~ variable,subset=variable=="ph",mean,na.rm=T)
For selecting ph, temperature and Ba I'm using:
cast(am, organismo +arriba ~ variable,subset=variable=="ph"
variable=="temperature"| variable== "Ba",mean,na.rm=T)
Is there a more
2009 Jul 03
4
Function to eliminate blank space within strings?
Is there an specific function
to eliminate blank space within
strings?
Thanks
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
2009 Sep 02
1
Problem at subsetting matrix by using dimnames
Given:
> mitest <- matrix(1:16,ncol=4)
> dimnames(mitest)[[1]] <- c("a","b","c","d")
> dimnames(mitest)[[2]] <- c("a","b","c","d")
> mitest
a b c d
a 1 5 9 13
b 2 6 10 14
c 3 7 11 15
d 4 8 12 16
I can do:
> mitest[cbind(c(1,2,3),c(2,3,2))]
[1] 5 10 7
but using the names does not
2005 Aug 11
1
Problem connecting a USB modem.
Hi
I'm trying to connect a USB CDMA modem (z010) to a CentOS 4.1
(kernel 2.6.9-11.EL) and I can't talk to the modem. I tried the
same modem under Fedora Core 1 (2.4.22-1.2199.nptl) and it works
like a charm.
The only difference is /dev/ttyACM0 for CentOS and /dev/input/ttyACM0
for the Fedora.
Any help would be appreciated.
Tank's.
Fernando Lan?a
Some debug info:
CentOS:
2012 Nov 07
2
[LLVMdev] Problem migrating from llvm 2.9 to 3.0
Hello, I'm moving a compiler pass from llvm 2.9 to 3.0, and I'm getting
some strange extra store instructions when optimizing the code.
For example, in the code that is in the attachments (On block *for.body111* for
2.9 and block *for.body67 *for 3.0), the number of stores goes from 1 to
10. And since the compiler pass adds some verification code before each
store, this leads to some