similar to: ggplo2: x_discrete labels size/direction

Displaying 20 results from an estimated 100 matches similar to: "ggplo2: x_discrete labels size/direction"

2008 Apr 29
2
ggplot2: labels and breaks order does not match and I can't use scale_fill_identity
Hi, I'm plotting a bar chart like this: ggplot() + geom_bar(data=res,aes(fill=f1,x=f2,y=y),stat="identity",position="dodge") f1 contains quite a few levels and the plot is really quite difficult to read when the order of bars on the graph and on the legend does not match. This problem has been discussed recently here:
2007 Nov 23
1
ggplo2: fixed extent greater than data?
Hi everyone! I'm digging into ggplot for some while now, I must say it's great! But - as some others have posted before, and hadley knows very well himself - the documentation is lacking some bits... So I have to pose that question directly: I'd like to produce a series of maps with different data on, but exactly the same extent in each plot. Is there a way of switching the
2011 Jun 25
3
How to export to pdf in landscape orientation?
Does anybody know how to get a pdf file with landscape orientation?. pdf(file= 'my_file.pdf' ,onefile=T,paper='A4') plot(sin, -pi, 2*pi) dev.off() Thank's in advance Juan A. Hernandez Spain [[alternative HTML version deleted]]
2013 Mar 21
2
How to store data frames into pdf file and csv file.
Hello, I have a data frame > mdl.summary est.coef std.err t.stat intercept 0.0011625517 0.0002671437 4.351784 aa -0.0813727439 0.0163727943 -4.969997 dummy1 -0.0002534873 0.0001204000 -2.105376 dummy2 -0.0007784864 0.0001437537 -5.415417 bb -0.0002856727
2008 Jul 01
3
dev.off() inside a function & other glitches
Hi R people I am using a function to create a pdf device, then send a lot of plots to it in a loop then a last lattice xyplot (itself within a function) outside the loop and finally call dev.off() to write to the file. This works well apart from the fact that the last plot does not get sent to the file unless I comment out dev.off() and then apply it in the console afterwards instead:
2008 Jun 24
2
logistic regression
Hi everyone, I'm sorry if this turns out to be more a statistical question than one specifically about R - but would greatly appreciate your advice anyway. I've been using a logistic regression model to look at the relationship between a binary outcome (say, the odds of picking n white balls from a bag containing m balls in total) and a variety of other binary parameters:
2009 Sep 29
3
sort dates within a factor
Dear List, I have the following data: >> test <- data.frame(date = as.Date(c('2007-01-01','2008-03-24','2003-03-02','2008-05-03','2002-05-23','2001-06-30','2005-12-04')), nr = c(2000,2000,2000,2001,2002,2003,2003)) test date nr 1 2007-01-01 2000 2 2008-03-24 2000 3 2003-03-02 2000 4 2008-05-03 2001 5 2002-05-23 2002 6
2011 Oct 27
1
plotting large time series
hello, I got a problem with plotting large time series, since I want to store the results in a .PDF file (I want to store several pages of plots). The PDF files get too large to be handled (> 10MB, one was even 200MB big). So I wonder, if there would be a possibilty to either - reduce the file size of the PDF - change the way the plot is generated to reduce the plot size? I use:
2008 May 21
1
colorspace package does not compile on ubuntu 7.04 32 bit
Hi everyone, I am trying to install colorspace (needed as part of my favourite ggplot2) on R v 2.7.0 running under ubuntu 7.04. The package is provided as source files and the compilation fails as below. I suspect this might be a problem with gcc v3/v4 incompatibility (or anything else), but I don't really know how to resolve it. Any advice will be appreciated - or perhaps somebody has got
2010 Nov 16
1
problem with PDF/postcript, cannot change paper size: "‘mode(width)’ and ‘mode(height)’ differ between new and previous"
Hi, The pdf function would not let me change the paper size and gives me the following warning: pdf("figure.pdf", width="6", height="10") Warning message: ?mode(width)? and ?mode(height)? differ between new and previous ==> NOT changing ?width? & ?height? If I use the option paper = "a4r", it does not give me a warning but still prints on a
2009 May 06
1
model fitting using by(): how to get fitted values?
Hi all, I'm doing nonlinear regressions on data with several factors. I want to fit say a logistic curve with different parameter values for each factor level. So I'm doing something like: tmp <- by( myData, list(myFactor1, myFactor2), function(x) nls(...) ) It works fine. However, I could not find an easy way to retrieve fitted values. I can use fitted() on each element of tmp, but
2008 Apr 29
1
ggplot2: setting global graphic parameters with png driver
Hi all, I prepared a few charts with ggplot2, and was happy with the results as displayed on screen. I tried to draw them with a PNG driver instead. But I ran into several problems while trying to increase the resolution of the picture. Mainly, when I increased the picture size (e.g png(width=1024, height=768) ), the texts (title, labels, etc...) where too small. I tried to set the
2010 May 29
3
adding statistical output to a plot
I have written a function to emulate minitab's QQ plotting output (with SW test and AD test results on the graph): mtab.norm<-function(x) { library(nortest) library(lattice) x<-as.numeric(x) x<-as.vector(x) plot.ht<-4.6 plot.wd<-4.6 pt.ht=plot.ht/5 txt.sz<-(plot.ht/7.5) X11(width=plot.wd, height=plot.ht, bg='gray96') qqplot(x, pch=16, cex=pt.ht,
2012 Jun 06
2
ggplot2: legend for geom_rug() ..?
Hi, I was trying to make another legend for the rug plot. Sample code: library(ggplo2) ids <- paste('id_',1:3,sep='') before <- sample(9) after <- sample(1:10,9) dat <- as.matrix(cbind(before,after)) rownames(dat) <- rep(ids,3) position <- c(rep(10,3),rep(13,3),rep(19,3)) mdat <- cbind(melt(dat),position) ggplot(mdat, aes(position, value)) +
2008 Jul 17
2
fastICA
Hi everyone It looks like repeated runs of fastICA produce quite significantly different mixing matrices (not only in terms of sign and row order). I'm not a specialist, so would appreciate any advice on whether this should really be the case: > res3 = > fastICA(af[,2:20],4,alg.typ="parallel",fun="logcosh",alpha=1,method="C",row.norm=TRUE) colstandard >
2009 Jun 02
0
allEffects() with lm
Dear John Fox and everyone, I have been using the effects library with glms and have found it very useful. Now I'm trying it with lms and I'm not sure if the results of the allEffects() are as expected. I've got a model that looks like this: mymodel = lm(formula = A ~ B + C + D + B:D + C:D) Residuals: Min 1Q Median 3Q Max -3.80156 -0.73486 -0.09792
2019 Nov 27
1
join samba 3.6 to ad with samba.411
Looks about right. That said, you don't need 'client min protocol' on the DC. You need the client max protocol on the domain member and server min protocol on the DC to overlap. Andrew Bartlett On Wed, 2019-11-27 at 17:04 +0100, Stefan Kania via samba wrote: > Error verifying signature: parse error > --------------ms060308020506090108040201 > Content-Type: text/plain;
2019 Nov 27
2
join samba 3.6 to ad with samba.411
Hi, I had such a Problem with an old SLES 11 and Samba 3.6. I needed to enable SMB1 on the DC. Samba 4.11 disables SMB1 Boy default. Regards Andreas Von meinem iPhone gesendet > Am 27.11.2019 um 16:43 schrieb Stefan Kania via samba <samba at lists.samba.org>: > > ?when we try to join we get the following error message: > > Failed to join domain: failed to lookup DC info
2011 Sep 14
0
Convert SAS NLMIXED code for zero-inflated gamma regression to R
I'm trying to run a zero-inflated regression for a continuous response variable in R. I'm aware of a gamlss implementation, but I'd really like to try out this algorithm by Dale McLerran that is conceptually a bit more straightforward. Unfortunately, the code is in SAS and I'm not sure how to re-write it for something like nlme (if at all possible - with conditions etc). Does
2012 Nov 11
1
plot matrix
Dear R users, I have a problem with plot option in R. I want to plot all columns values in a single graph and the labels of x axis the row names. I try to use matplot option, but I have a problem with labels and thickness. I use a very complex data with 10 columns and 406 rows. I use this code: > matplot(data.matrix(data1), type="l",xaxt="n") > axis(1,