Displaying 20 results from an estimated 100 matches similar to: "How to use: library lattice: barchart"
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
2012 Jul 23
2
date conversation
Hello,
when I convert a factor like this a=01.10.2009
into a date using b=strptime(a, format="%d. %m. %Y").
It works very well.
But when I try to convert c = 2009/10 into a date using
d=strptime(c, format="%Y/%m")
it doesnt work at all. I get d=NA.
What did I do wrong?
Thank you very much for your help!
best regards
Claudia
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
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
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
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
2011 Jan 14
3
RSQLite - How to express(or save) a dataframe as an output?
Dear R helpers
Suppose following is an output due to some R process. I wish to save it as a table in 'temp.db'
df <- data.frame(x = c(5, 4, 3, 11), y = c(25, 16, 9, 121))
library(RSQLite)
write('** Initializing','')
drv <- dbDriver("SQLite", shared.cache = TRUE)
con <- dbConnect(drv, dbname = "temp.db",
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
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: !
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",
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 Jun 05
2
Looking for Instance backed Centos 6 x86_64 images
Hello Folks,
I am looking for official centos 6 x86_64 AMI's for the Singapore region. I
found an ebs backed Centos image from http://wiki.centos.org/Cloud/AWS
(ami-3e22616c) in the market place
<https://aws.amazon.com/marketplace/ordering/ref=dtl_psb_continue?ie=UTF8&pr
oductId=adc4348e-1dc3-41df-b833-e86ba57a33d6®ion=ap-southeast-1> .
However I am unable to find
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
2016 Nov 28
2
Translation of custom attribute (defined for variables) from clang to llvm
Hi John,
I have looked into the EmitAutoVarAlloca() in CGDecl.cpp. However, I
could not figure out how to employ my custom attribute for code
generation. For example, my custom attribute is visible in CGDecl.cpp
but how can I generate based on my custom attribute
if (D.hasAttr<myCustomAttri>())
{
//What to do here?
}
What I wan in IR is something like below.
Without Custom Attribute:
2016 Nov 25
3
Translation of custom attribute (defined for variables) from clang to llvm
Hi Asit,
thanks for the reply.
But I guess I was not clear in my question. Actually, i dont want to use
__ATTRIBUTE__((ANNOTATE("MOVIATTR"))), since in documentation it is
stated that "This intrinsic allows annotation of local variables with
arbitrary strings. This can be useful for special purpose optimizations
that want to look for these annotations. These have no other
2013 Oct 27
2
Heteroscedasticity and mgcv.
I have a two part question one about statistical theory and the other
about implementations in R. Thank you for all help in advance.
(1) Am I correct in understanding that Heteroscedasticity is a problem for
Generalized Additive Models as it is for standard linear models? I am
asking particularly about the GAMs as implemented in the mgcv package.
Based upon my online search it seems that some