search for: timeunit

Displaying 6 results from an estimated 6 matches for "timeunit".

Did you mean: timeinit
2010 Jun 09
0
Extract/format/show for S4 objects (Johann Hibschman)
...but the integer part corresponds to months, not years, so a zero fractional part of a mondate corresponds to a "complete month." Every third whole number, therefore, would correspond to a complete quarter. Arithmetic in months (or quarters by dividing by 3) returns a numeric with a "timeunits" attribute. mondate's can be stored in a data.frame. > (A<-mondate.ymd(2010,3*(1:4))) # display format is "U.S.", my location mondate: timeunits="months" [1] 03/31/2010 06/30/2010 09/30/2010 12/31/2010 > diff(A) # 3 months apa...
2003 May 09
1
OH323 Channel Driver buffer sizes
...river please shed some light on the code block below from wrapendpoint.cxx. When enabling trace on the channel driver i get this, for me, strange debug info: WrapH323EndPoint::OpenAudioChannel: Direction => PLAYER, Buffer => 320 WrapH323EndPoint::OpenAudioChannel: FrameSize 8, FrameTime 8, TimeUnits 8 WrapH323EndPoint::OpenAudioChannel: Frame 1 WrapH323EndPoint::OpenAudioChannel: LID Codec G.711-uLaw-64k WrapH323EndPoint::OpenAudioChannel: The sound channel is audiosocket:out1(fd=41) WrapH323EndPoint::OpenAudioChannel: The audio device name is audiosocket:out1 PAsteriskSoundChannel::Open: os_...
2006 May 10
3
Unique?
Hello, I have sample data set that looks like: YEAR MONTH DAY CONTINUE SPL TIMEFISH TIMEUNIT AREA COUNTY DEPTH DEPUNIT GEAR TRIPID CONVUNIT 1992 1 26 1 SP0073928 8 H 7 25 4 NA 1000000 02163399054 161 1992 1 26 1 SP0073928 8 H 7 25 4 NA 1000000 02163399054 8 1992 1 26 2 SP0004228 8 H 7 25 4 NA 1000000 02163399054 161 1992 1 26 2 SP0004228 8 H 7 25 4 NA 1000000 02163399054 8...
2010 Jul 10
7
Need help on date calculation
Hi all, please see my code: > library(zoo) > a <- as.yearmon("March-2010", "%B-%Y") > b <- as.yearmon("May-2010", "%B-%Y") > > nn <- (b-a)*12 # number of months in between them > nn [1] 2 > as.integer(nn) [1] 1 What is the correct way to find the number of months between "a" and "b", still
2005 Sep 11
0
OpenH323-Channel Q.931-Problems with Gatekeeper
...rier-GK-d66d'. -- Inbound H.323 call 'ip$IP of Carrier-GK:36031/1797', channel 'OH323/-----@IP of Carrier-GK-d66d'. [3]WrapH323EndPoint::OpenAudioChannel: Direction => RECODER, Buffer => 320 [2]WrapH323EndPoint::OpenAudioChannel: Media format: FrameSize 8, FrameTime 8, TimeUnits 8 [2]WrapH323EndPoint::OpenAudioChannel: Codec info: FrameRate 160 [2]WrapH323EndPoint::OpenAudioChannel: Packet size: 160 [2]WrapH323EndPoint::OpenAudioChannel: Frames per packet: 20 [2]WrapH323EndPoint::OpenAudioChannel: LID Codec G.711-ALaw-64k Setting channel 'OH323/-----@IP of Carrier-GK-...
2012 Nov 01
0
(no subject)
...to the month it is in. Its primary users are financial analysts. There are methods to convert between Dates, POSIX objects and mondate's. Here's your example with that package: > library(mondate) > d1 <- mondate("2011-05-01 CEST") > d1 - 1 # subtract one month mondate: timeunits="months" [1] 2011-04-01 Regards, Dan Murphy *Message: 1 *Date: Tue, 30 Oct 2012 11:25:39 +0100 *From: paladini <paladini at beuth-hochschule.de> *To: <r-help at r-project.org> *Subject: [R] subtract a time period from a date* *Message-ID: <da0fe68e813f16a23fae69a3398e0...