Displaying 20 results from an estimated 9000 matches similar to: "date conversation"
2012 Oct 30
3
subtract a time period from a date
Hello everybody,
how can I reduce e.g. 30 days from a date?
When I do the following "2011-05-01 CEST" -"2011-04-01 CEST" I get:
"Time difference of 30 days"
an thats fine.
But when I try "2011-05-01 CEST" - 30 I get nonsense.
So how can I subtract some days, month or years from a date?
thanking you in anticipation
Claudia Paladini
2004 Feb 24
7
<no subject>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on hypatia.math.ethz.ch
X-Spam-Status: No, hits=3.5 required=5.0 tests=BAYES_44,RCVD_IN_BL_SPAMCOP_NET autolearn=no version=2.63
X-Spam-Level: ***
Dear ladies and gentlmen,
I want to import a directory with about 400 files (.dat) in R. I know how to
2012 Nov 01
0
(no subject)
Dear Claudia:
Your question has many layers.
Technically speaking, when I do "2011-05-01 CEST" -"2011-04-01 CEST" I get:
> "2011-05-01 CEST" -"2011-04-01 CEST"
Error in "2011-05-01 CEST" - "2011-04-01 CEST" :
non-numeric argument to binary operator
As previous posters suggest, storing the date strings as Date objects
works
2006 Feb 01
3
plot-function: How to change the font of the titles
Hello!
I want to create a plot with x- and y-labels writen in times or arial.
How can I change the font?
Thank you very much. Best regards
Claudia
2006 Mar 21
5
How to use: library lattice: barchart
Dear ladies and gentlemen!
In the help text for the xyplot (library(lattice), help(xyplot)) is an example
given how one can use barchart:
barchart(yield ~ variety | site, data = barley,
groups = year, layout = c(1,6),
ylab = "Barley Yield (bushels/acre)",
scales = list(x = list(abbreviate = TRUE,
minlength = 5)))
2006 Feb 01
2
How to save R-grafics in eps format
Hello!
I used to save R-Grafics like this: postscript("file.ps").
Is there alsoa way to save them as eps?
Thank you very much
Claudia
2004 Nov 23
1
Batch
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Received-SPF: none (hypatia: domain of claudiapaladini at web.de does not designate permitted sender hosts)
X-Virus-Scanned: by amavisd-new at stat.math.ethz.ch
X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on hypatia.math.ethz.ch
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0
2006 Jan 10
2
(no subject)
Dear ladies and gentlemen!
When I use the plot funtion how can I change the size of the title for the x and
y axes (xlab, ylab)and the size of the axes label ?
Thank you very much.
With best regards
Claudia
2013 Oct 14
1
Transform plot3d grafics in to executable files
Hello,
I did some nice grafics using plot 3d and scatter3d. Is there a,
hopefully not too complicated way, to transform these dynamic,
three-dimensional and interactive grafics in a kind of
executable file? I want to show and send them via e-mail to projekt
partners who don`t use GNU R and who are not used to do programming.
So the result should be quite comfortable to execute for them in
2011 Sep 12
2
calc.relimp pmvd for US R-user
Dear All:
I am calculating the relative importance of a regressor in a linear model.
Does anyone know how I can obtain/install the 'pmvd' computation type? I am
a US user.
Regards,
Y
--
View this message in context: http://r.789695.n4.nabble.com/calc-relimp-pmvd-for-US-R-user-tp3808752p3808752.html
Sent from the R help mailing list archive at Nabble.com.
2012 Apr 04
2
cluster analysis with pairwise data
Hello,
I want to do a cluster analysis with my data. The problem is, that the
variables dont't consist of single value but the entries are pairs of
values.
That lokks like this:
Variable 1: Variable2: Variable3: . . .
(1,2) (1,5) (4,2)
(7,8) (3,88) (6,5)
(4,7) (12,4) (4,4)
. . .
.
2012 Oct 16
2
unique
Hello everybody,
I've got a problem concerning the function unique. I have got a
data.frame "shopdata" with 1000 shop which were evaluated at different
points in time.
With function subset I chose those shops with more then 10 employee and
store it in data.frame "bigshopdata" with 700 shops.
bigshopdata=subset(shopdata, shopdata$employee>10)
Now I use
2012 Aug 28
2
corrgram
Hello,
are there fixed threshold values for the changes between different
shades of blue in the corrgram?
Or is a chang relative depending on the data?
I didnt get it in manual.
Thank you very much, best regards
Claudia
2012 Oct 29
2
naming datasubsets in a loop
Hello everbody,
I want to generate different subsets of my data-set and safe this
subsets with names listet in a vector. Because in reality I have got
about 70 subsets I want to realize this in a loop
Somehow like this:
names=c("nam1",
2016 Apr 07
1
dynamic reports with sweave: error when compiling the tex-file
Hello,
I took my first steps in dynamic reports with Gnu R and used sweave().
I therefore run Sweave() with an example of Friedrich Leisch, starting
like this:
\ documentclass [ a4paper ]{ article }
\ title { Sweave Example 1}
\ author { Friedrich Leisch }
\ begin { document }
\ maketitle
and so on.
It worked very well but when I tried to compile the latex file I get
this error message: !
2023 Apr 09
1
simultaneous confidence intervals for multinomial proportions: sample size
Hello!
I want to calculate simultaneous confidence intervals for a nominal variable with three categories: "yes", "no", "partially" and I expect that far more than 5 samples fall into each category.
I have read that Glaz & Sison's method is only appropriate for variables with 7 or more categories. Therefore, the Goodman method seems like a good idea.
I have
2013 Apr 17
1
Anova unbalanced
Hello everybody,
I have got a data set with about 400 companies. Each company has a
score for its enviroment comportment between 0 and 100. These companies
belong to about 15 different countries. I have e.g. 70 companies from
UK and 5 from Luxembourg,- so the data set is pretty unbalanced and I
want to do an ANOVA. Somthing like aov(enviromentscore~country). But the
aov function is just for
2013 Jan 11
1
Date time conversion bug (as.POSIXct)?
There is something wrong, I think, with the date-time conversion from a
numeric value if you use Central European Time (CET) as timezone.
Examples from R:
If I use the GMT time zone it is OK, I get the same time back from
as.POSIXct as I entered
> as.POSIXct(as.numeric(strptime("30/01/2012 13:00:00", format="%d/%m/%Y
>
2003 Dec 15
2
Week of the Year date conversion
Hello there fellow R-users,
I have received some data which comes in the following format:
example1<-"200301"
The first 4 digits correspond to the year and the remaining 2 digits
correspond to the week of the year.
I have tried to convert this to a date by using strptime as follows:
strptime(example1,format="%Y%U")
where U (looking up strptime) is the week of the
2004 Feb 04
5
Date Time Conversion problems...
At one time (version 1.7), the code below used to work for converting and
extracting based on the Date Time. In version 1.8.1, something changed I
know, but I cannot for the life of me figure out what...
Data:
UserName,RequestDate,PO,OrderDate,ExpDelivDate,Vendor,Total
"Woody, Jim",12/19/2002,AP15063,1/7/2003,2/10/2003,Ames ,8570
"Harrold,