Displaying 20 results from an estimated 1000 matches similar to: "centering axis labels in lattice"
2009 Jun 17
3
lattice: axis ticks, axis alignment and remove axis from plot
Hi there,
I'm a bit confused concerning the axis tck setting in the lattice
package as the ticks on left sided axis aren't
drawn at all with the following setting:
dados <- data.frame(varsep = factor(rep(1:2,10)),
i = runif(20))
library(lattice)
my.theme <- list(
axis.components = list(left = list(tck = 1, pad1 = 1, pad2 =
2), top = list(tck = 0, pad1
2012 Nov 22
1
[lattice] Increase distance between tick labels and ticks in wireframe plot ("pad")
Hello,
I try to increase the distance between tick labels and ticks in a lattice wireframe plot. Here's a minimal example:
## Minimal example
x <- y <- z <- c(1,2,3)
df <- data.frame(x, y, z)
wireframe(z ~ x*y, df, scales = list(arrows = FALSE, col = "black", font = 1, tck=0.6))
I tried the axis.components option
2010 Apr 19
2
Overlay of barchart and xyplot
Hello R Folks,
I am new to R. I have been struggling to overlay a barchart with a
xyplot together on one plot but did not get this worked out. Any help
and idea are greatly appreciated.
I attached R scripts for barchart and xyplot below and also data I used.
What I am trying to do is just to put the barchart and xyplot together
on one plot.
Huapeng
<<dispersal_infestation.csv>>
2009 Apr 28
1
Understanding padding in lattice
Dear R-users,
I am trying to understand what the different padding arguments in
trellis.par.set are exactly controlling the space around lattice plots.
I have used the following code as a basis for testing but it did not
really help me to visualize how the value of each argument changes the
margins and the plotting area. I guess a better way to visualize the
effects of these padding items
2013 Dec 11
1
setting effect plot parameters
I have tried to set parameters of an effects plot with moderate success, but I'm finding that although the plot(effect()) method uses trellis graphics (via the lattice package), not all aspects of the plot can be controlled by standard trellis graphics.
I am able to set any parameters that are given in trellis.par.get() easily enough, for example:
axis.components <-
2008 Oct 17
1
padding "bug" in lattice/levelplot
Hello,
I have encountered some unexpected behaviour with levelplot that may
simply be a misunderstanding on my part.
If I create a levelplot from a matrix with named columns, some
"padding" space appears at the top and bottom of the heatmap. Here is
an example, and I've used panel.fill to make the space I'm speaking of
evident (in green).
2012 Jun 04
13
Nested Resource Route Helpers
Hello all,
I''m working on a Rails app and I have resources nested three deep - let''s
call them user, project, and issues. The route helpers now look like
user_project_issue_path(@user, @project, @issue). Would it make sense for
Rails to guess the @user <https://github.com/user> and @project<https://github.com/project> relations
from @issue
2013 Jan 27
3
Package: VennDiagram. Error in draw.pairwise.venn Impossible: cross section area too large
Dear list,
When I use VennDiagram package, I got a error as follow:
venn.plot <- draw.pairwise.venn(
area1 = 3186,
area2 = 325,
cross.area = 5880);
Error in draw.pairwise.venn(area1 = 3186, area2 = 325, cross.area = 588) :
Impossible: cross section area too large.
Does anyone have suggestion?
Thank you.
2008 Feb 07
3
replacement for IMAP_EMPTYTRASH=Trash:7
While running dovecot on debian etch using version 1.0.rc15-2etch3, i wonder
the following:
If i read the config files correctly, dovecot seems to have no equivalent of
courier's IMAP_EMPTYTRASH=Trash:7 setting.
Therefore, i wrote a script that dives into the user's directories and their
maildirs. It looks like this:
=============================================
#!/bin/bash
for pad1
2007 Jan 07
2
creating a list of lists
Hello,
I'm trying to create a series of randomForest objects, basically in a
loop like this:
forests <- list();
for (level in 1:10) {
# do some other things here
# create a random forest
forest <- randomForest(
x = x.level,
y = z.level,
ntree = trees
);
forests <- c(forests, forest);
}
But instead of creating a list of 10 forests, this creates a list
2016 Apr 17
0
use hjust or vjust with dendextend
Following "Introduction to dendextend" from Tal Galili, I applied this
code on iris data:
##
library(dendextend)
library(dendextendRcpp)
library(ggplot2)
dend2 <- iris[1:30,-5] %>% dist %>% hclust %>% as.dendrogram %>%
set("branches_k_color", k=3) %>% set("branches_lwd", rep(1,4)) %>%
set("branches_lty", rep(1,6)) %>%
2005 Mar 01
1
Problems Building Ron AIX 5.2.0.0 (Solved)
Happily I got this to work, largely by trial-and-error. In hopes that this will
help somebody else, my config.site ended up being:
OBJECT_MODE=64
R_PAPERSIZE=letter
CC=/usr/local/bin/gcc
MAIN_LDFLAGS=-Wl,-brtl
SHLIB_LDFLAGS=-Wl,-G
Which is virtually identical to that recommended in R-admin: one of my problems
was using "-W1,brtl" rather than "-W1,-brtl". This was R 2.0.1
2024 Jun 26
2
Ayuda para hacer una lista
Hola
Soy Leticia, quería hacer una consulta al grupo a ver si me podéis ayudar.
Tengo unos datos de proteínas, el data frame es: 5 columnas iniciales que
tienen información sobre las proteínas y después las columnas con las
intensidades, de las cuales no se cuantas condiciones tienen ni cuántas
réplicas por condición.
Estoy intentando hacer un cálculo del coeficiente de variación por grupo y
2011 Mar 10
1
Adjust the distance between tick mark labels and axis
Hi all:
I've been trying to figure out a way to move the tick mark labels in my lattice plots closer to the the axes. I've tinkered with a lot of the "buffer" parameters (those listed by trellis.par.get()), but haven't had any luck. Any ideas?
Cheers.
[[alternative HTML version deleted]]
2016 Dec 01
2
AW: User unknown in local recipient table
Hallo Liste, hallo Ralf,
danke schon mal. Ja die Whitespaces sind beim Rausl?schen entstanden.
Ich verstand das so, dass das nun durch die address_verify_map erledigt w?rde. Muss ich dann entsprechend einfach auf die verweisen?
Ich versuchte gerade die
address_verify_map = btree:$data_directory/verify_cache
auf
local_recipient_maps = btree:$data_directory/verify_cache
verweisen zu lassen.
2024 Jun 26
1
Ayuda para hacer una lista
Hola Leticia
Acomodar datos para analizar suele llevar más trabajo que el análisis.
Yo prefiero en un data.frame colocar todos los datos, porque siempre es más fácil filtrar que agregar. Cuándo tengo el data.frame con todo, realizo un plot (datos), y muchas veces en la gráfica veo cosas que me llaman la atención, de esta forma busco algo de antemano no sospechaba.
No es necesario que conozcas
2024 Jun 27
2
Ayuda para hacer una lista
Muchas fracias por la rapida contastacion Javier.
Si, ya me he dado cuenta que a veces es mas limpiar y formatear que
calcular.
Lo que yo necesito hacer no es crear un data.frame, es crear una lista por
cada grupo/condicion de muestras. Y queria hacerlo en un for loop, para que
no tuviese que indicar cuantas listas necesito si no que cogiese esa
informacion del usuario (y)
Creo que no me
2016 Apr 09
1
Run script R
hi all ,?
i have an problem in script R . But when I execute the script R I face this error . can you help me please ???error:-----------------------------------------
Error in FUN(X[[i]], ...) :?? Theme element 'text' has NULL property: margin, debugIn addition: Warning messages:1: Removed 361 rows containing non-finite values (stat_smooth).?2: Removed 361 rows containing missing values
2006 Feb 12
9
CSS in Views
How can I link to a CSS file in one of my view files?
--
Posted via http://www.ruby-forum.com/.
2000 Jul 12
1
plot.times error -- missing or illegal tck parameter (PR#601)
There seems no default setting for tck, causing problems
for plot.times()
> library(chron)
> dts <- dates(c("02/27/92", "02/27/92", "01/14/92",
+ "02/28/92", "02/01/92"))
> y<-chron(dts,out.format=c("dmy","h:m:s"))
> y
[1] 270292 270292 140192 280292 010292
> plot(y,1:5)
Error in axis(n, at =