search for: mondate

Displaying 10 results from an estimated 10 matches for "mondate".

Did you mean: mandate
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
2010 Jun 09
0
Extract/format/show for S4 objects (Johann Hibschman)
Johann, Following up on Gabor's reply, the mondate package (new on CRAN last week) will accomplish your needs. >I'm trying to make an integer-backed quarter (as in fraction of year) >class, but I can't quite it to work. I want integer-backed so I don't >have to worry about floating-point effects when doing math, and so that &...
2012 Nov 01
0
(no subject)
...th which difftime objects work is "weeks". "months" is an ambiguous unit because a month is not always 30 days or 4 weeks; "years" is ambiguous because a year is not always 365 days or 52 weeks or 12 months. To accommodate "months" and "years", the mondate package on CRAN defines 'mondate' objects that store dates in units of the fraction of the month that the close of business on that date represents relative to the month it is in. Its primary users are financial analysts. There are methods to convert between Dates, POSIX objects and mondate...
2013 Mar 09
4
Calculation with date
Hello again, Let say I have an non-negative integer vector (which may be random): Vec <- c(0, 13, 10, 4) And I have a date: > Date <- as.Date(Sys.time()) > Date [1] "2013-03-09" Using these 2 information, I want to get following date-vector: New_Vec <- c("2013-03-01", "2014-04-01", "2014-01-01", "2013-07-01") Basically the
2010 Aug 22
2
CRAN (and crantastic) updates this week
...lm (0.33), glmperm (1.0-3), gRapHD (0.1.7), HFWutils (0.9.4.2010.08.20), hts (1.3), HWEintrinsic (1.1.1), igraph (0.5.4-1), intervals (0.13.3), ipw (1.0-6), laeken (0.1.3), LDheatmap (0.2-9), lme4 (0.999375-35), lmPerm (1.1-2), lordif (0.1-6), lpSolveAPI (5.5.2.0), magma (0.2.1-3), MCMCglmm (2.06), mondate (0.9.08.15), mondate (0.9.08.19.02), mratios (1.3.13), nacopula (0.4-3), nleqslv (1.7), nlt (2.1-1), NMF (0.5), pROC (1.3.1), qpcR (1.3-1), qpcR (1.3-0), qtl (1.18-7), qualityTools (1.01), R.utils (1.5.0), r4ss (1.10), rAverage (0.3-3), rbounds (0.5), RcmdrPlugin.HH (1.1-26), robCompositions (1.4.3...
2013 Apr 12
5
how to change the date into an interval of date?
Hi, I am not sure I understand your question correctly. dat1<- read.table(text=" id??????????? responsed_at???????????????? number_of_connection????????????????? scores 1????????????????? 12-01-2010?????????????????????????????????? 1????????????????????????????????????????????? 2 1????????????????? 15-02-2010??????????????????????????????????
2010 Jun 08
2
Extract/format/show for S4 objects
Hi all, I'm trying to make an integer-backed quarter (as in fraction of year) class, but I can't quite it to work. I want integer-backed so I don't have to worry about floating-point effects when doing math, and so that I can use it as in data.table. First of all, is there a good reference for this anywhere? All of the S4 tutorials that I've found have been too high-level, and
2010 Aug 25
1
Documenting S4 Methods
I'm in the process of converting some S3 methods to S4 methods. I have this function : setGeneric("enrichmentCalc", function(rs, organism, seqLen, ...){standardGeneric("enrichmentCalc")}) setMethod("enrichmentCalc", c("GenomeDataList", "BSgenome"), function(rs, organism, seqLen, ...) { ... ... ... })
2012 Mar 11
1
CRAN (and crantastic) updates this week
...14), HLMdiag (0.1.5), HumMeth27QCReport (1.2.13), ibr (1.4.1), LaplacesDemon (12.03.05), lattice (0.20-5), lattice (0.20-6), lifecontingencies (0.9.1), lifecontingencies (0.9), lubridate (1.1.0), Mangrove (1.1), matrixStats (0.4.4), maxLik (1.1-2), meboot (1.1-4), MHadaptive (1.1-7), miRtest (1.2), mondate (0.9.9.03), multcomp (1.2-12), multitable (1.3), MVA (1.0-3), networkDynamic (0.2-2), np (0.40-13), npRmpi (0.40-13), openair (0.5-23), OpenCL (0.1-2), pheatmap (0.6.1), pks (0.2-0), planar (1.2), plotGoogleMaps (1.2), PowerTOST (0.9-4), ppstat (0.8), pROC (1.5.1), PTAk (1.2-5), qgraph (1.0.2), qtl...
2010 Jul 18
6
CRAN (and crantastic) updates this week
...sets. Also included in this package is a function for exporting these datasets en masse. * MOCCA (1.0) Hans Kestler http://crantastic.org/packages/MOCCA This package provides methods to analyze cluster alternatives based on multi-objective optimization of cluster validation indices. * mondate (0.9.5.1) Dan Murphy http://crantastic.org/packages/mondate Keep track of dates in month units. Perform date arithmetic in &quot;months&quot; (default), &quot;years&quot;, and &quot;days&quot;. Enable dates to have &quot;shape&quot; (non NULL dim). * monm...