Displaying 20 results from an estimated 392 matches for "lims".
Did you mean:
libs
2015 May 14
3
comportamiento de data.table al hacer calculos por grupos
Estimada comunidad tengo un problema del que no encuentro datos que me
ayuden mucho en la web.
Estoy haciendo calculos por grupos con data,table. Tengo un archivo
(zp.res) con tres columnas que clasifican los datos (sol, con, dia) y
una columna de datos numericos (media), de la siguiente forma:
sol con dia media
1: con 0 1 -22.6
2: con 0 1 -36.6
3: con 0 1 -35.6
y
2009 Jun 18
1
lattice logaritmic scale (basis "e" ), rewriting labels using xscale.component
Hi there,
sorry for troubling everybody once again, I've got a problem rewriting
Sarkar's function for
rewriting the tick locations in a logaritmic way (s.
http://lmdvr.r-forge.r-project.org/code/Chapter08.R):
His example works for log 2 but I need log e (natural logarithm). My
problem is that if I replace
2 with "e" (using paste()), I get the error message that the location
2013 Jul 12
3
Eliminar filas que cumplen con mas de un criterios simultaneamente ...
Estimada comunidad, tengo el siguiente problema:
Un data.frame con muchas filas de las que debo eliminar aquellas que
cumplen varios criterios al mismo tiempo. Por ejemplo este data.frame:
sol con dia NCar NIns isom area rep tipo
1 con 0.001 1 160s 0 s 6.083543e-01 1
2 con 0.001 1 161c 1 c 1.391274e-03 1 <NA>
3 con 0.001 1 161c 1 c
2003 Sep 09
1
How limits are set in a scales list
I have a lattice plot that has 4 pages with 4 columns and 8 rows per
page. I wish to have the rows use a separate x-axis since their
ranges are quite different, but I wish to have those same limits used
on each page.
By setting an element of the scales list to something like x = list(limits =
lim.list$CFU, lim.list$CFU, lim.list$CFU, lim.list$CFU,
2013 Jul 12
2
Eliminar filas que cumplen con mas de un criterios simultaneamente ...
Hola de nuevo. Leí mal. Si vas a eliminar esas filas, entonces usa:
sqldf("select * from graph where sol!='lim' and dia!=2")
En el correo anterior seleccioné precisamente a esas descartando a las
demás.
Culpa de mis anteojos... jeje.
On Fri, Jul 12, 2013 at 5:20 PM, Freddy Omar López Quintero <
freddy.vate01@gmail.com> wrote:
> Hola.
>
>
>> Tengo que
2004 Mar 19
5
asp=1 and aspect ratio
Hi everyone
I want a square scatterplot with abline(0,1) going exactly through the
SW and NE corners. By "square" I mean that the plotting region is
exactly square, and that the axis limits are identical.
x <- 1:20
y <- x+rep(c(-1,1),10)
lims <- range(c(x,y))
None of the following do this:
plot(x,y) ; abline(0,1) #not square
plot(x,y,asp=1);abline(0,1) #diagonal line misses corners
plot(x,y,asp=1,xaxs="i",yaxs="i");abline(0,1)
#diagonal line misses corners
plot(x,y,xaxs="i",yaxs="i&q...
2017 Feb 09
3
changes in src/unix/system.c break builds on FreeBSD
Dear R devs,
For some days now (~ February, 4th), I am not able to build the recent
tarballs of R-devel on a FreeBSD test box anymore. The breakage seems to
be related to the newest overhaul of src/unix/system.c:
[..snip..]
gcc49 -std=gnu99 -I. -I../../src/include -I../../src/include
-I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -isystem
/usr/local/include -DHAVE_CONFIG_H -fopenmp
2013 Aug 09
1
Agrupar los terminos de la leyenda
Bueno, una pequeña vuelta de tuerca más usando ggplot.. Aunque no quedó tan limpio como el de Carlos (gran resolucion) tambien te sirve.
Un saludo
library(ggplot2)
dec.df <- mat[mat$sol=="dec",]
lim.df <- mat[mat$sol=="lim",]
dol.df <- mat[mat$sol=="dol",]
dec.dr<-qplot(dia,V5,sol,data=dec.df,color=con2,geom=c("line"),facets=.~sol)
lim.dr
2007 Oct 25
1
Strange behavior with time-series x-axis
I recently called plot(x,y) where x was an array of POSIXct timestamps,
and was pleasantly surprised that it produced a nice plot right out of
the box:
z <- as.POSIXct(c("2006-10-26 08:00:00 EDT","2007-10-25 12:00:00 EDT"))
x <- seq(z[1],z[2],len=100)
y <- 1:100
plot(x,y,type="l")
The X axis had nice labels, one tick mark every other month. (Plotting
on
2006 Oct 18
2
Errors with GRED after upgrading to 2.6.18 kernel
ALL:
<<diffserv-gred_10-06>>
I have attached the current script that I am using.
$TC qdisc add dev $EDEV parent 2:20 gred setup DPs 3 default 2 grio
$TC qdisc change dev $EDEV parent 2:20 gred DP 1 limit $lim min $minTh
max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability
0.02 prio 2
$TC qdisc change dev $EDEV parent 2:20 gred DP 2 limit $lim min $minTh
max
2006 May 19
1
trouble with plotrix package
Hello list,
I wrote a simple program to plot data on polar axes, taking advantage of
the plotrix package and its function radial.plot. The basic plot works
fine, but I am having difficulties with the formatting. There are three
problems, but I thought I would attack them one at a time. Here is the
first:
If my data set contains values with all vector lengths between 0 and 100
(and various
2002 Jan 18
3
readline() to vector
Hi!
I'm trying to use readline() to ask for xlim() and ylim() values
for a subsequent plot. I'm doing:
lim <- readline("Enter xlim and ylim values: ")
then would like to use the values in lim for a plot:
plot(etc, xlim=lim[1:2],ylim=lim[3:4])
The problem is that lim is a character,i.e.,
"10,20,-10,50"
or
"c(10,20,-10,50)"
depending on the input to
2008 Aug 01
0
standardize ggplot and lattice themes
...r()
> par(cex=1, bty = "n",fg = greyDark, col.lab = "black",
> xpd = FALSE, mar = old.par$mar + c(-2,-1,-1,3), mgp=c(1.8, 0.5, 0),
> col="black")
>
> plot(x, y1, new=TRUE, t="n") # plots nothing, needed to find the
> dimensions
>
> lims <- par("usr")
> subGrid1 <- axTicks(1) + mean(diff(axTicks(1)))/2 # position of the
> grid sub-divisions
> subGrid2 <- axTicks(2) + mean(diff(axTicks(2)))/2
>
> plot(x, y1, col=1, xlab = "x", ylab = "value", xaxt = "n", yaxt =
>...
2008 Jul 21
0
xyplot: distance between axis and axis-label gets wrong
Hi!
I just started reading the wonderful Lattice book and I finally found a
quite elegant solution for nicer log-ticks. However, there are some
problems with the spacing between the axis label and the axis tick
marks. It seems that lattice estimates the space wich gets used by the
labels before it calls the yscale.components function. However, this
function can change what is supposed to be
2011 Jun 28
1
[LLVMdev] retrieve information from a macro inlined as x86_64 asm in LLVM IR
Hi LLVM devs,
I work on a pass that creates multiple versions of a code region and switches
between them. The decision about the version to be selected is taken by an
external runtime system. I insert callbacks to this system in my code to pass
the control of the execution. All callbacks are written in inline assembly, in
macros.
The problem comes when I need to send some information from
2008 Jun 30
1
Lattice : Single reference line/label at 0.05
r-friends--
I am trying to make a lattice plot with a single label at 0.05. A reference line at y=0.05 as well... This is what I have so far. The label reads 0.0 and there is a grid instead of a single reference line. Can someone help please?
Troy
x<-18:35
(pv<-1/(x-17))
xydf<-data.frame(x, pv)
print(xyplot(pv~x, data=xydf, type=c('p', 'g'),
ylim=c(0,1),
2013 Jul 12
0
Eliminar filas que cumplen con mas de un criterios simultaneamente ...
Hola,
En vez de utilizar "&" (que es "and") utiliza "|" (que es el "or"):
graph <- graph[graph$sol=="lim" *|* graph$dia==2,]
Saludos,
Carlos Ortega
www.qualityexcellence.es
El 12 de julio de 2013 23:22, Freddy Omar López Quintero <
freddy.vate01@gmail.com> escribió:
> Hola de nuevo. Leí mal. Si vas a eliminar esas filas,
2013 Nov 16
1
Problema con el titulo de la leyenda en grafico con xyplot
Estimados, tengo un grafico al que debo anexar la leyenda en el costado
derecho. Mi problema es que el titulo de la leyenda debe decir
"Concentration (mM)" el que es muy largo y la ultima M sale cortada. No
puedo abreviar la palabra porque justamente me rechazaron el grafico por
que estaba abreviada esa palabra.
Aqui pego el codigo con el que se hacen los graficos y anexo un archivo
2006 Jun 14
1
Estimate region of highest probabilty density
...meter considering also the weight z (to each set of parameters c(v,w,x,y) a weight z is assigned)?
Many thanks in advance, I am very grateful for any hint
Chris
# MASS::kde2d copied and modified
# ===============================
library(MASS)
kde2d.weighted <- function (x, y, w, h, n = n, lims = c(range(x), range(y))) {
nx <- length(x)
if (length(y) != nx)
stop("data vectors must be the same length")
gx <- seq(lims[1], lims[2], length = n) # gridpoints x
gy <- seq(lims[3], lims[4], length = n) # gridpoints y
if (missing(h))
h <- c(bandwidth.nrd...
2011 May 12
2
Exporting interactive 3D plots with axes and labels
Hi,
I have a question about exporting interactive 3D plots. I use the following code to plot a contour of a trivariate normal distribution:
library(mvtnorm)
library(rgl)
library(misc3d)
n=25
x=seq(-3,3,length=n)
X=cbind(rep(x,each=n**2),rep(rep(x,each=n),n),rep(x,n**2))
p=array(dmvnorm(X,sigma=diag(3)*0.5+0.5),c(n,n,n))
contour3d(p,x,x,x,level=mean(p))
lim=c(-3,3)