Displaying 4 results from an estimated 4 matches for "d_mean".
Did you mean:
_mean
2007 Aug 08
2
Relocating Axis Label/Title --2
Apologies for the previous mail (I sent it off too early by mistake).
This is the correct example:
rm(list=ls())
D_mean<-seq(-5,5,length=100)
y<-exp(-D_mean^2/5)
pdf("my.pdf")
plot(D_mean,y,type="l",yaxt="n",lty=2,lwd=2,col="black",
ylab = list(expression(paste(dN/dlogD[agg]," ["*cm^-3*"]"))),
xlab = expression(paste(D[agg]," [nm]")),
cex.la...
2008 Dec 05
1
Trouble with gridBase and inset plots
...1e6, length = 0.15,lwd=2)
par( mar = c(0.,0., 0., 0.) )
#1st inset
vp <- baseViewports()
pushViewport(vp$inner,vp$figure,vp$plot)
pushViewport(viewport(x=-0.0,y=1.04,width=.4,height=.4,just=c(0,1)))
par(fig=gridPLT(),new=F)
#grid.rect(gp=gpar(lwd=0,col="red"))
plot(D_mean,data_150[1, ]/log_factor*log(10)/1e6,"l",
pch=1,col="black", lwd=2,xlab="",ylab=""
,cex.axis=1.,cex.lab=1.,log="x",xaxt="n",yaxt="n",
ylim=range(c(0, 2.4e8)))
## axis(side=2, at=c( 0, 0.6e8, 1.2e8, 1.8e8, 2.4e8),...
2005 Feb 11
2
Notes on bug reports 3229 and 3242 - as.matrix.data.frame
...development -8.42
4 physiological process -6.55
5 regulation of biological process NA
6 viral life cycle NA
> str(tmp)
`data.frame': 6 obs. of 2 variables:
$ level : Factor w/ 6 levels "biological_..",..: 1 2 3 4 5 6
$ 2100-D_mean:`data.frame': 6 obs. of 1 variable:
..$ 2100-D: num NA -5.88 -8.42 -6.55 NA NA
> as.matrix.data.frame(tmp)
Error in as.matrix.data.frame(tmp) : dim<- : dims [product 6] do not
match the length of object [7]
The error associated with this is comming up at the end of function
as.m...
2005 Feb 11
2
Notes on bug reports 3229 and 3242 - as.matrix.data.fram e
...-6.55
> > 5 regulation of biological process NA
> > 6 viral life cycle NA
> >
> >> str(tmp)
> > `data.frame': 6 obs. of 2 variables:
> > $ level : Factor w/ 6 levels "biological_..",..: 1 2 3 4 5 6
> > $ 2100-D_mean:`data.frame': 6 obs. of 1 variable:
> > ..$ 2100-D: num NA -5.88 -8.42 -6.55 NA NA
>
> I think you have a data frame column in a data frame, and
> that cannot be
> made directly into a matrix. It's the steps that got you
> here that are
> the problem.
>...