Displaying 20 results from an estimated 21 matches for "fig2".
Did you mean:
fig
2017 Aug 25
2
about multi-optimal points
...0.8 0.1 0.7
2 0.85 0.3 0.6
3 0.9 0.21 0.7
4 0.95 0.22 0.8
5 0.9 0.3 0.7
6 0.8 0.4 0.76
7 0.9 0.3 0.77
...
fig1 = ggplot(data=DF, aes(x=v1,y=v2))+ geom_point()+ theme_bw()+
xlab('Variable 1')+ ylab('Variable 2')
print(fig1)
fig2 = ggplot(data=DF, aes(x=v1,y=v3)+ geom_point()+ theme_bw()+
xlab('Variable 1')+ ylab('Variable 3')
print(fig2)
[[alternative HTML version deleted]]
2009 Feb 02
2
Sweave
...macro parameter character #' in horizontal mode.
<argument> ... system@active\string "\endcsname ##
l.111 ...NURE.orig, "ppm", col = c("#00ff0088", "#
00ff0088"))
!pdfTeX error: pdflatex (file ./varioCoo-fig2.pdf): PDF inclusion: required pag
e does not exist <0>
==> Fatal error occurred, no output PDF file produced!
> Sweave("varioCoo.Rnw")
Writing to file varioCoo.tex
Processing code chunks ...
1 : echo term verbatim (label=read)
2 : echo term verbatim (label=prep1)
3 : echo...
2017 Aug 26
0
about multi-optimal points
...0.21 0.7
> 4 0.95 0.22 0.8
> 5 0.9 0.3 0.7
> 6 0.8 0.4 0.76
> 7 0.9 0.3 0.77
> ...
>
> fig1 = ggplot(data=DF, aes(x=v1,y=v2))+ geom_point()+ theme_bw()+
> xlab('Variable 1')+ ylab('Variable 2')
> print(fig1)
>
> fig2 = ggplot(data=DF, aes(x=v1,y=v3)+ geom_point()+ theme_bw()+
> xlab('Variable 1')+ ylab('Variable 3')
> print(fig2)
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UN...
2010 Feb 25
1
Updating a hexbinplot
Dear all,
Considering this simple example of hexbinplot:
mixdata <-
data.frame(x = c(rnorm(5000), rnorm(5000,4,1.5)),
y = c(rnorm(5000), rnorm(5000,2,3)),
a = gl(2, 5000))
fig <- hexbinplot(y ~ x | a, mixdata)
print(fig)
update(fig, colramp = BTC)
produces a bad (non-updated) legend. Compare it with:
hexbinplot(y ~ x | a, mixdata, colramp = BTC)
What
2012 Oct 30
1
print and execute functions in a package namespace
Let's say I have a package that consists of a set of functions, fig1(),
fig2(), fig3() ..., each of which
produces a plot, and perhaps some printed output, e.g.,
fig1 <- function() plot(1:10)
fig2 <- function() plot(10:1)
fig3 <- function() {y<-sample(1:10,10); plot(y); y}
I'd like to produce a document (PDF or HTML) containing the listing of
each functi...
2000 Feb 14
2
par(fig) problem
hello R-users,
I'd like to plot four graphics on the same page but with different
sizes. I've tried to use :
par(fig=c(0,0.5,0,0.6))
plot(fig1)
par(fig=c(0.5,1,0,0.6))
plot(fig2)
etc...
but when a figure is plotted, it erase the previous.
I've tried to pass 'new=T' to plot function but it's not possible.
What can I do ? is it a bug ?
I've already reported this a 2 or 3 month ago but I can't find out the
answers I get.
Mathieu
I run R 0.99-0...
2006 Aug 20
3
plot problem
...some asynchronous way of plotting figures.
When I run this code:
#constructs the semivariogram of SC1929
vgm1 <- variogram(SC1929~1,~U+V,puerto.map$att.data)
# trying to make new plot
dev.set(which=dev.next())
plot(vgm1)
title(main="Semivariogram",font.main=4)
dev.copy2eps(file="fig2.eps",horizontal=T)
dev.off()
R complains that
Error in title(main = "Semivariogram", font.main = 4) :
plot.new has not been called yet
So that plot(..) hasn't been executed before call of title.
The most weird about that, if I add fix(vgm1) before
dev.set(...), everyth...
2003 Aug 20
1
Five functions proposed for base
...oloads 44 0
5 package:base 1657 8196
These environments are currently loaded. Verbose version of search().
> ll()
Class Kb
chinook data.frame 66
chinook.0 glm 244
coho data.frame 127
coho.0 glm 466
fig2 function 21
fig3 function 13
table3 data.frame 1
table4 data.frame 2
x numeric 1
y integer 1
z list 5
My workspace contains these objects. Verbose version of ls(). I think
package:R.oo provides something similar.
> elem(coho...
2007 Sep 11
6
xyplot question
I have the code below and it works fine if I print the xyplot but if I
take the print out, then I just get a blank
pdf. The same holds if I just send the plot to the console without the
print ( I get nothing ). My question is whether this is always
the case with xyplot or is there something wrong with my settings ? I am
on linux ( redhat ) and using R.2.5.0. Thanks.
load("stocks.dat")
2000 Feb 14
0
summary : par(fig)
...is and P. Dalgaard made me discover a new (for me!) function :
layout() which may do the job (I'm exploring the possibilities).
But I finally chose the P. Dalgaard' s solution of setting par(new=T)
between each plot say:
par(fig=c(0,0.5,0,0.6))
plot(fig1)
par(fig=c(0.5,1,0,0.6),new=T)
plot(fig2)
etc.
thanks very much,
Mathieu
----------------------------------------------------------------------
Mathieu Ros - 13 rue b?vi?re - 38000 GRENOBLE - 04 76 491 370
http://mathieu.ros.free.fr/
DESS ing?nierie math?matique (biostatistiques)
Universite Joseph Fourier, Grenoble
-----------------...
2011 Jun 28
1
help required for GO Annotation problem
Hello,
I basically want to use R-help, and post some problems which I am facing. The Ref is a well known Genome Biology paper "Bioconductor: open software development for computational biology and bioinformatics" by Robert C Gentleman et al., 2004. Generating Heatmaps till Fig2 is working so I think esetSel is not the problem..
However, for generating the Figure 3, for GO annotations the following command is not working:
> ll <- mget(geneNames(esetSel),hgu95av2LOCUSID)
#it is displaying error messages Error in mget(geneNames(esetSel), hgu95av2LOCUSID) : object &...
2009 Aug 18
1
three dimensions barchart
...elative Distribution graph,
it looks like barchart(X,Y plot),
but I have ten(year) Relative Distribution grapgs,
have any command am can combine ten barcharts(X,Y plot) to become a three
dimensions barchart(X,Y,Z plot)?
All help highly appreciated
Best,
Yichih
One Relative Distribution graph:
fig2b<-reldist(y=mu96$adjwage,yo=mu68$adjwage,ci=F,smooth=0.4,
bar=TRUE,yolabs=seq(-1,3,by=0.5),
ylim=c(0,7),cex=0.8,ylab="Relative Density",xlab="Proportion of the Original
Cohort")
title(main="Fig2(b):2007",cex=0.6)
--
Yichih Hsieh
e-mail : yichih.hsieh@gmail.com...
2017 Aug 26
1
about multi-optimal points
...gt;> 5 0.9 0.3 0.7
>> 6 0.8 0.4 0.76
>> 7 0.9 0.3 0.77
>> ...
>>
>> fig1 = ggplot(data=DF, aes(x=v1,y=v2))+ geom_point()+ theme_bw()+
>> xlab('Variable 1')+ ylab('Variable 2')
>> print(fig1)
>>
>> fig2 = ggplot(data=DF, aes(x=v1,y=v3)+ geom_point()+ theme_bw()+
>> xlab('Variable 1')+ ylab('Variable 3')
>> print(fig2)
>>
>> [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at r-proje...
2001 May 06
1
legend/text in time series plot
..., list(year=0, qtr=0, gdp=0));
gdpr <- scan("jrgdpsa.dat", list(year=0, qtr=0, gdp=0));
#convert to time series object
gdpn <- ts(gdpn$gdp, frequency=4, start=c(1955,2));
gdpr <- ts(gdpr$gdp, frequency=4, start=c(1955,2));
#plot two gdp time series in one graph
postscript("fig2-1j.eps", horizontal=FALSE, onefile=FALSE, height=5, width=6);
plot(gdpn, col="red", xlab="", ylab="", type="l");
text(75, 500, labels="Nominal", col="red");
lines(gdpr, col=c("blue"));
text(30, 1300, labels="Real",...
2011 Apr 12
1
How to set the dimension of a matrix correctly?
...0,nrow=length(ll),ncol=3) # (lon,lat,ptemp)
ppt2[,1] <- lat[ll] # y-axis ppt2[,2] <- lon[ll] # x-axis ppt2[,3] <- ptemp[ll] # ppt
pptd <- as.geodata(ppt2)
bin1 <- variog(pptd) # plot(bin1) # fig1
bin2 <- variog(pptd,estimator.type="modulus")# plot(bin2) # fig2
ini1 <- max(bin1$v) ols <- variofit(bin1, fix.nugget = F,weights="cressie",ini.cov.pars=c(ini1,4)) kc <- krige.conv(pptd, loc=pgrid,krige=krige.control(type.krige="OK",trend.d="2nd",trend.l="2nd",cov.pars=ols[2]$cov.pars)) pvalxx <- which(k...
2008 Oct 13
1
MiKTEX-texi2dvi
...ools)
Sweave("C:/Program Files/R/R-2.7.2/bin/foo.Rnw")
Writing to file foo.tex
Processing code chunks ...
1 : echo term verbatim (label=two)
2 : echo term verbatim (label=reg)
3 : echo term verbatim (label=fig1plot)
4 : term verbatim eps pdf (label=fig1)
5 : term verbatim eps pdf (label=fig2)
6 : term hide (label=foo)
7 : term hide (label=foo2)
8 : echo term verbatim (label=blurfle)
9 : term tex (label=tab1)
You can now run LaTeX on 'foo.tex'
> Stangle("C:/Program Files/R/R-2.7.2/bin/foo.Rnw")
Writing to file foo.R
> texi2dvi("foo.tex",pdf=TRUE...
2009 Jul 27
0
help about package "reldist" (Relative Distribution)
...y mean sample from comparison distribution
yo mean sample from reference distribution
but I would like to compare more than two years ( total of fifteen years,
from 1979, 1981, 1983..........to 2007)
how should i correct my programs, then i could compare fifteen year's wage
distribution?
fig2b <- reldist(y=mu1981$b1,yo=mu1979$b1,ci=F,smooth=0.4,
yowgt=mu1979$weight2,ywgt=mu1981$weight2,
bar=TRUE,
yolabs=seq(-1,3,by=0.5),
ylim=c(0,2.5),cex=0.8,
ylab="R...
2009 Jul 30
0
package "reldist" version 1.5-5.1 : how to not just compare two years's wage distribution
...mparison distribution
yo mean sample from reference distribution
but I would like to compare more than two years
( A total of fifteen years, from 1979, 1981, 1983, 1985..........to 2007)
how should I correct my programs in the below,
then I can compare fifteen years's wage distribution?
fig2b <- reldist(y=mu1981$b1,yo=mu1979$b1,ci=F,smooth=0.4,
yowgt=mu1979$weight2,ywgt=mu1981$weight2,
bar=TRUE,
yolabs=seq(-1,3,by=0.5),
ylim=c(0,2.5),cex=0.8,
ylab="Relative Density",
xlab=...
2005 Sep 16
1
setkeys and Sweave
Hi there:
Using
\setkeys{Gin}{width=1.0\textwidth}
\setkeys{Gin}{height=10cm}
\setkeys{Gin}{height=0.8\textwidth}
all seem to work under R-2.1.1 under sparc, solaris2.9, but
\setkeys{Gin}{scale=0.3}
\setkeys{Gin}{angle=90}
do not work. I have not been able to find relevant information, googling
on setkeys proved confusing, at best.
http://cnlart.web.cern.ch/cnlart/218/node85.html states:
2002 Apr 11
3
graphics in batch mode
Hi!
The R-intro guide states that:
"The graphics facilities can be used in both interactive and batch
modes,.."
but I'm trying both
R BATCH commands.file
and
R --no-save < commands.file
and, although I get no errors and
the output file with the results is
written to disk, I get no graphics.
(I want the R function to leave
results in a file that a shell script
reads and use,