Displaying 20 results from an estimated 600 matches similar to: "ggExtra package installation fails"
2012 Aug 07
1
Styling gridExtra's title and left labels
Hi,
I'm using the gridExtra package to combine some graphs like in the
arrangeGrob example. Each of the graphs has a title but they appear much
larger than the overall combined plot title and left axis label. Does anyone
know how I can control the style / size of the gridExtra labels?
library(gridExtra)
library(ggplot2)
dsamp <- diamonds[sample(nrow(diamonds), 1000), ]
p1 <-
2010 Apr 08
1
how to manipulate object in specific environment?
Hi
I want to simplify my problem into a prototype, how to write a function to
get all the object in your current environment, e.g. .GlobalEnv, and print
their mode?
For example, if I have object a,b,c... in my environment,
a=1;b='test';c=matrix(0,3,3).....
I want to write a function myfun(), when I run myfun(), this retrieve all
the objects in my environment automatically and print
2012 Apr 25
0
FW: [BioC] Overlay Gene Expression on SNP (copy number) data
Dear All,
Thank you kindly for such detailed replies. I was looking to overlay data using algorithms so that i am able to tell which genes are differentially expressed due to changes in copy number. I did a pubmed search and found only 7 literature pieces all of which use in-house algorithms. I am yet to explore Gviz since it wouldn't work on R 2.14, would try it after upgrading to R 2.15.
2012 Jan 21
3
semi-transparency not supported in devel R? "alpha" cannot be specified in qplot()
Hi dear all,
In my laptop(ubuntu 11.10 64bit), I maintained a released R (2.14) and a
developmental R, I can specify qplot(..., alpha = ) in R 2.14 , but when I
try to use transparency in developmental R, I got a warning message and the
plot is clearly not I want.
minimal example:
> qplot(data = mtcars, x = mpg, y = cyl, alpha = cyl)
Warning message:
In grid.Call.graphics(L_points, x$x, x$y,
2012 Jan 21
3
semi-transparency not supported in devel R? "alpha" cannot be specified in qplot()
Hi dear all,
In my laptop(ubuntu 11.10 64bit), I maintained a released R (2.14) and a
developmental R, I can specify qplot(..., alpha = ) in R 2.14 , but when I
try to use transparency in developmental R, I got a warning message and the
plot is clearly not I want.
minimal example:
> qplot(data = mtcars, x = mpg, y = cyl, alpha = cyl)
Warning message:
In grid.Call.graphics(L_points, x$x, x$y,
2010 Oct 17
0
make error for R 2.13.0
Hi dear all
It's the first time for me to install a developmental version of R, I came
across following errors, my system is
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"
I downloaded the dev version of R in cran R source, and downloaded the
recommended packages by using wget as described in R manual, and run
2016 Apr 20
0
overlay two facet_grid
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
Overlaying aesthetics is possible. Overlaying graphs is not. Without sample data, concrete examples will be unlikely to appear, so read the above link and pay attention to the dput function.
--
Sent from my phone. Please excuse my brevity.
On April 20, 2016 3:01:43 PM PDT, "ch.elahe via R-help"
2016 Apr 20
2
overlay two facet_grid
Hi all,
Does anyone know how to overlay two facet_grids? I have two facet grids as following:
ggplot(data=df,aes(x=TE,y=TR,color="orange"))+geom_point()+facet_grid(FS+TRJ~OR+INV,labeller=label_both)+xlim(0,200)+ylim(0,10000)
ggplot(data=df,aes(x=TE,y=TR))+geom_point(aes(color=TST))+facet_grid(FS+TRJ~OR+INV,labeller=label_both)+xlim(0,200)+ylim(0,10000)
Thanks for any help!
Elahe
2013 Jan 15
5
Duda gráficos - paper="a4"
Buenos días:
A ver si alguien me puede iluminar, porque ya he sobrepasado los límites de mi paciencia y de mi imaginación con este asunto:
Dado un gráfico creado con un plot (y funciones auxiliares como polygon, etc.) y una tabla creada debajo de ese gráfico (creada con addtable2plot), y dados unos text situados a modo de título encima del plot y otros encima de la tabla, ¿por qué cuando trato
2010 Apr 27
2
R for ubuntu 10.04?
Hi dear all
I am currently using Ubuntu 9.10 (karmic) and R 2.10, I can find a R release
that support "karmic" in cran under ubuntu directory, I plan to update my
laptop to Ubuntu 10.04 after April 30, since I have to use some new features
or new version in it, e.g. QT 4.6, I don't know if there is going to be a R
release that will support this newly released Ubuntu?
Thanks in
2010 Apr 27
1
R for Ubuntu 10.04?
Hi dear all
I am currently using Ubuntu 9.10 (karmic) and R 2.10, I can find a R release
that support "karmic" in cran under ubuntu directory, I plan to update my
laptop to Ubuntu 10.04 after April 30, since I have to use some new features
or new version in it, e.g. QT 4.6, I don't know if there is going to be a R
release that will support this newly released Ubuntu?
Thanks
Best
2011 Nov 22
1
Bezier curve in R?
Hi dear all,
I am wondering if there is a function existing in R that did the quadratic
bezier curve interpolation? I hope to generate a bezier curve based on
three sets of points: two end of the line and a control point.
Thanks in advance.
Tengfei
--
Tengfei Yin
MCDB PhD student
1620 Howe Hall, 2274,
Iowa State University
Ames, IA,50011-2274
[[alternative HTML version deleted]]
2011 Jun 08
1
Reference Class error message: may be caused by lazy evaluation?
Dear All,
I came across an error message recently when constructing a reference class,
an example is attached below, it looks like only if I call a specific method
in advance, otherwise it cannot be found in defined method without using
.self, this make it difficulty that sometimes in my initialize method, I
need to call other method defined in the same reference class, the
workaround for this is
2012 Mar 30
3
Adding text for written comments to bottom of graphs
Hello All,
Recently developed the code below for graphing patterns of chemotherapy administration. As someone just starting to use R in their work, I managed to figure out some parts of the code but needed help with others.
setwd("N:/Regimen Coding/0906/Plots Test")
getwd()
TestData <- structure(list(profile_key = c(1, 1, 1, 1, 1, 2, 2, 2, 2, 2,
2, 3, 3, 3, 3, 3), line = c(1, 1,
2010 Aug 11
2
help to polish plot in ggplot2
Hi,
I wanted to generate a plot which is almost like the plot generated by the
following codes.
category <- paste("Geographical Category", 1:10)
grp1 <- rnorm(10, mean=10, sd=10)
grp2 <- rnorm(10, mean=20, sd=10)
grp3 <- rnorm(10, mean=15, sd=10)
grp4 <- rnorm(10, mean=12, sd=10)
mydat <- data.frame(category,grp1,grp2,grp3,grp4)
dat.m <- melt(mydat)
p <-
2010 Oct 01
3
gridExtra question
?
Hi:
I get?a couple of warnings? when trying to download gridExtra:
install.packages("gridExtra",repos=http://R-Forge.R-project.org)
?Warning: unable to access index for repository
http://R-Forge.R-project.org/bin/windows/contrib/2.10
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
? package ?gridextra? is not available
I would like to download the binary
2018 May 18
3
drc, ggplot2, and gridExtra
I have dose response data I have analyzed with the 'drc' package.
Using plot() works great. I want to arrange my plots and source
data on a single page. I think 'gridExtra' is the usual package for
this.
I could use plot() and par(mfrow=...), but then I can't put the source
data table on the page.
gridExtra provides grid.table() which makes nice graphical tables. It
2010 Aug 03
3
grid.table and expression in table body?
Hi,
Is there any way to get an expression into a data.frame, such that
"grid.table" from "gridExtra" will plot it evaluated in the table body? The
docu does it for the header, but is the body possible?
Thanks, Joh
2018 May 18
0
drc, ggplot2, and gridExtra
On Fri, 18 May 2018, Ed Siefker wrote:
> I have dose response data I have analyzed with the 'drc' package.
> Using plot() works great. I want to arrange my plots and source
> data on a single page. I think 'gridExtra' is the usual package for
> this.
>
> I could use plot() and par(mfrow=...), but then I can't put the source
> data table on the page.
>
2011 Apr 18
4
splom, plotmath: how to add three lines of information with alignment?
Dear expeRts,
I would like to create a scatter plot matrix with splom(). The lower panel should
contain some additional information about the samples shown in the upper panel
plot, see the splom() call below. Now two questions came up:
(1) The lower panels show "tau" and "alpha" on top of each other. How can I plot
*three* expressions on top of each other? I tried several