Displaying 5 results from an estimated 5 matches for "oneday".
2012 May 11
0
Using xpathapply or getnodeset to get text between two distinct tags
...Set(doc, "//a[@class='PublicationCalendarLink']/@href")
links<-matrix(links)
#Paste those href links to the root URL
links<-apply(links, 1, function(x) paste('http://www.parl.gc.ca', x, sep=''))
#Inspect
links[1]
#Scrape text from first URL in 'links'
oneday<-scrape(links[1])[[1]]
#Return p/i elements from 'oneday'
getNodeset(oneday, "//p/i")
#sessionInfo()
R version 2.15.0 (2012-03-30)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
locale:
[1] C/en_US.UTF-8/C/C/C/C
attached base packages:
[1] stats graphics grDevices...
2008 Jun 19
2
Advanced Filtering problem
http://www.nabble.com/file/p18018170/subdata.csv subdata.csv
I've attached 100 rows of a data frame I am working with.
I have one factor, id, with 27 levels. There are two columns of reference
data, x and y (UTM coordinates), one column "date" in POSIXct format, and
one column "diff" in times format (chron package).
What I am trying to do is as follows:
For each day
2012 Apr 30
1
Subtract days to dates in POSIXct format
...ime
zn$timepos<-as.POSIXct(zn$time,tz="GMT",format="%d/%m/%y %H:%M:%S")
I want to assign timepos to its ?natural? night, that is, the night that goes from sunset of day x to sunrise of day x+1 corresponds to day x:
zn$night<-ifelse(zn$h>=0 & zn$h<9,zn$timepos ??oneday?,zn$timepos)??#doesn?t work
How can I subtract one day (24 hours) to zn$timepos and obtain a POSIXct output?
Thank you for your help,
Santi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: eg.txt
URL: <https://stat.ethz.ch/pipermail/r-help...
2004 Dec 29
0
12 CANCEL's followed by 12 INVITE's in 5 secs
...60 ; Port to bind to
bindaddr = X.X.X.X ; Address to bind to
context = sip ; Default for incoming calls
;context = longdistance
disallow=all
allow=ulaw
alloq=gsm
allow=alaw
allow=iLbc
maxexpirey=180
canreinvite=yes
nat=no
defaultexpirey=160
[askatti]
type=friend
secret=oneday
host=dynamic
username=askatti
[simputer]
type=friend
username=simputer
host=dynamic
------------------------
Warm Regards,
Anand
2004 Dec 27
0
Call Placing timeouts
...60 ; Port to bind to
bindaddr = X.X.X.X ; Address to bind to
context = sip ; Default for incoming calls
;context = longdistance
disallow=all
allow=ulaw
alloq=gsm
allow=alaw
allow=iLbc
maxexpirey=180
canreinvite=yes
nat=no
defaultexpirey=160
[askatti]
type=friend
secret=oneday
host=dynamic
username=askatti
[simputer]
type=friend
username=simputer
host=dynamic
------------------------
Warm Regards,
Anand