Displaying 20 results from an estimated 2000 matches similar to: "ISO8601 week-of-year to date"
2001 Sep 20
3
indexing an array
Dear everybody,
I have a following problem. I have a 3D array
lambda <- array( dim=c(N,M,M-1))
where I have to extract the elements as follows:
lambda[ 1, state[1], 1]
lambda[ 1, state[1], 2]
...
lambda[ 1, state[1], M-1]
lambda[ 2, state[2], 1]
...
lambda[ 2, state[2], M-1]
...
lambda[ N, state[N], M-1]
i.e. the result should be a 2D array, where the second index follows the
first one
2007 Oct 17
1
R CMD build and et_EE.UTF-8 locale -> invalid files (PR#10351)
Full_Name: Ott Toomet
Version: 2.6.0, 2.5.x
OS: debian etch, lenny
Submission from: (NULL) (80.235.63.243)
When building a package with 'R CMD build name_of_directory" using "et_EE.UTF-8"
locale, I get the following:
siim at tancredi:~/tyyq/econ/micEcon$ R CMD build trunk
* checking for file 'trunk/DESCRIPTION' ... OK
* preparing 'trunk':
* checking
2007 Oct 30
2
Splitting up the micEcon package?
Dear R Users:
The functions of our "micEcon" package [1,2] can be subdivided into three
categories:
- microeconomic demand and firm models
- sample selection models (mainly selection())
- routines for (likelihood) maximisation (e.g. maxLik(), maxNR(), maxBHHH())
(mainly used for ML estimation of sample selection models)
Although sample selection models are often used in
2002 Aug 10
2
package for saving large datasets in ASCII
Hi,
I have made a tiny package for saving dataframes in ASCII format. The
package contains functions save.table() and save.delim(), the first
mimics (not completely) write.table() and the second uses just
different default values, suitable for read.delim().
The reason I have written the functions is that I have had problems
with saving large dataframes in ASCII form. write.table() essentially
2010 May 10
2
Robust SE & Heteroskedasticity-consistent estimation
Hi,
I'm using maxlik with functions specified (L, his gradient & hessian).
Now I would like determine some robust standard errors of my estimators.
So I 'm try to use vcovHC, or hccm or robcov for example
but in use one of them with my result of maxlik, I've a the following
error message :
Erreur dans terms.default(object) : no terms component
Is there some attributes
2002 Sep 09
2
lapply-related question
Dear R-gurus,
I would like to use a lapply on a kind of "bivariate" problem. I have
a vector and a list, components of which are vectors, e.g.
vec <- c(1,2,3)
lst <- list(1, c(2,3), c(4,5,6))
I want to apply a function to each component of the list, using the
corresponding component of the vector as a parameter. E.g. I want a
list in the form
list(lst[[1]] + vec[1], lst[[2]]
2002 Jan 25
2
problem with read.table -- example
Hi,
I have not get much response for my question about read.table for couple of
days ago. As I said, the problem is that read.delim() do not want to read
more than 51 lines of data, with longer file it reads the first column as
row names, although I have not noticed any special binary symbols around
line 51 either. This problem seems to happen with this particular file, I
could easily read in a
2001 Oct 09
1
bug in paste?
Dear all,
I have strange problems with paste. Actually I suggest it is a bug (I
send a associated bug report for some days ago too).
I have a vector ce0, a character vector m and I paste them together:
> ce0
[1] "1985" "9" "2" "2" "1" "A" "1" "" "NA" "5"
[11]
2009 Mar 10
1
?as.POSIXct (PR#13587)
Full_Name: Luca Braglia
Version: 2.8
OS: Windows
Submission from: (NULL) (85.18.136.110)
>From ?as.POSIXct
## SPSS dates (R-help 2006-02-17)
z <- c(10485849600, 10477641600, 10561104000, 10562745600)
as.Date(as.POSIXct(z, origin="1582-10-14", tz="GMT"))
^^
It should be 15 (Gregorian calendar adoption day, when
2009 Jan 07
2
Function to recognise convert dates between gregorian and other calendars (e.g. Persian)?
Dear list,
I will shortly have some data that contains numeric dates in the Persian /
Jalali calendar format, which I would like to convert to gregorian. At the
moment there doesn't seem to be a function for this in R, but it would be
great if someone could come up with same - I would attempt it but the
algorithm is very complex and this is also way beyond my fairly rudimentary
knowledge of
2019 Jan 24
4
Discard mail with from date older than xxxx
On 1/24/19 12:15 AM, Per Jessen wrote:
> Trever L. Adams wrote:
>
>> I know that sieve doesn't do math. The file would be created
>> externally.
>>
>> Based on examples in section 4.4 of
>> https://tools.ietf.org/html/rfc5260#section-4
>>
>> I figured something like this would work.
>>
>> if date :value "le" :originalzone
2002 May 13
3
Histograms rotated, side-by-side
Hi there,
I am wanting to create 8 side-by-side histograms which have been rotated 90
degrees clockwise from how they usually sit.. all with the same scales. Is
someone able to help me out?
Thanks so much,
Rachel Cunliffe
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2007 Feb 10
1
how to eval subset?
Hi,
I have problems with subset when calling a function from inside a function
from inside a function. Here is a small example to be called as 'f1()'.
'eval()' in f3 fails with error message
Error in eval(expr, envir, enclos) : object "subs" not found
Is it possible to supplement subset to data, to be calculated in a
different environment than the data itself?
Thanks
2002 Jun 20
2
cat output To data.frame.rows ?
Hi,
is there a possibilty to get my function output with "cat "
as data.frame.rows with variables ?
Var1---------------- 8 15 1 3
Var2---------------- 0.170 0.319 0.0213 0.0638
Var3---------------- 83.8 88.6 90 75
Var4---------------- 84.3 84.3 100 83.3
Var5---------------- 62.5 56 20 53.3
function(data.frame) {
....
....
2023 Nov 06
2
strptime with +03:00 zone designator
>>>>> Richard O'Keefe
>>>>> on Mon, 6 Nov 2023 18:37:34 +1300 writes:
> Thanks to all who replied. On Mon, 6 Nov 2023 at 18:37,
> Richard O'Keefe <raoknz at gmail.com> wrote:
>> OK, so the consensus is (1) One cannot make strptime
>> accept ISO8601-compliant zone designators (2) The
>> lubridate package
2017 Nov 08
2
Help Converting Calendars
R-Help
Trying to convert a Gregorian calendar dataset to a Persian calendar
dataset. But I end up with a list and not sure what to do. For example ...
dates <- c("2017-10-1","2017-10-2","2017-10-3")
myData <- data.frame(dates)
myData$dates <- as.Date(myData$dates, format = "%Y-%m-%d")
> myData
dates
1 2017-10-01
2 2017-10-02
3
2023 Nov 06
1
strptime with +03:00 zone designator
OK, so the consensus is
(1) One cannot make strptime accept ISO8601-compliant zone designators
(2) The lubridate package can
(3) Or one can hack away with regex.
Lubridate it is, then.
But I do regard strptime's inability to process ISO8601-compliant zone
designators as a bug.
On Mon, 6 Nov 2023 at 13:18, jim holtman <jholtman at gmail.com> wrote:
> try using 'lubridate'
2023 Nov 06
1
strptime with +03:00 zone designator
Thanks to all who replied.
On Mon, 6 Nov 2023 at 18:37, Richard O'Keefe <raoknz at gmail.com> wrote:
> OK, so the consensus is
> (1) One cannot make strptime accept ISO8601-compliant zone designators
> (2) The lubridate package can
> (3) Or one can hack away with regex.
> Lubridate it is, then.
>
> But I do regard strptime's inability to process
2015 Oct 29
2
[Bug 2464] Adding timestamp to debug messages (log.c:do_log)
https://bugzilla.mindrot.org/show_bug.cgi?id=2464
--- Comment #3 from Darren Tucker <dtucker at zip.com.au> ---
Created attachment 2741
--> https://bugzilla.mindrot.org/attachment.cgi?id=2741&action=edit
Changes as suggested.
Diff updated with suggested changes (also, making the timestamp format
ISO8601 compliant).
That said, what's the use case for this? The timestamps are
2019 Apr 03
2
SAMBA 48 - Dependencies Python27 vs python36
Hello Everyone,
Good morning/afternoon/evening.
Is there any chance to have SAMBA 48 working with Python36 and its
derivatives? ( py36-dnspython-1.15.0.txz. py36-iso8601-0.1.11.txz,
py36-ply-3.11.txz, py36-setuptools-40.6.2.txz)
Currently SAMBA 48 requires python 26, but that is conflicting with
existing packages in the server that is using py36.
Any way to work around that issue?