Displaying 20 results from an estimated 9000 matches similar to: "current.panel.limits() of lattice returning NaN limits - why?"
2011 Aug 02
1
lattice: index plot
Dear all,
How can I make an index plot with lattice, that is plotting a vector
simply against its particular index in the vector, i.e. something
similar to
y <- rnorm(10)
plot(y)
I don't want to specify the x's manually, as this could become
cumbersome when having multiple panels.
I tried something like
library(lattice)
mp <- function(x, y, ...) {
x <- 1:length(y)
2006 Oct 02
2
xyplot Graphic Help
I have the following graphic where I drop unused factors in the x axis, however I cannot get the first point on the second panel. It seems shifted. Any ideas?
The example is below:
data <- data.frame(
Room=as.factor(c(132,132,132,132,132,132,132,132,132,196,196)),
2008 Nov 20
1
Math Expression in 3D Plots
Is there anyway to label axes in 3D plots with mathematical expressions?
In the code below, I want to replace "delta_yrsed" with what "\Delta
\widehat{yrsed}" represents in TeX, but the [xyz]lab parameters of title3d
appear to only accept character strings.
require("rgl")
fn.delta.yrsed <- function(dist, delta.dist,
2001 Aug 30
1
How to get ``nn%'' in axis values
I would like to make the print format of the axis value labels appear as
``nn%'' instead of just the numbers. Is there a way to do this?
Also, the x axis value labels on my horizontal barplot are rotated 90 degrees
(perpendicular to the axis) no matter what I do. I tried las=1 but that didn't
work. Is this doable?
Thanks.
$platform
[1] "i686-pc-linux-gnu"
$arch
[1]
2008 May 06
1
Plotting separate populations in scatterplot3d
Hi,
I'm having trouble plotting populations as separate colors and points in the
3d scatterplot package. I have a column with 4 different population names
and 3 columns with my data. I want to plot each population with a different
color and pch. In addition, I want to use the type="h" in my plotting so
that I can see the points clearly in my graph( for publication purposes).
2008 May 03
4
interactive rotatable 3d scatterplot
I would like to create a 3d scatterplot that is interactive in the sense
that I can spin it on its axes to better visualize some PCA results I have.
What are the options in R? I've looked at RGL and perhaps it will suffice
but it wasn't apparent from the documentation I found.
Any demo scripts available for a package that will work?
Mark
--
Mark W. Kimpel MD ** Neuroinformatics **
2011 Dec 22
2
Axis manipulation in Stackpoly (Plotrix)
Have made a stacked area plot, but now want to manipulate the x axis: make in even increments (50) in order to suppress the tick marks (forming solid bar under plot). However, the plot functions do not seem to work, and I cannot find documentation for use of xat in stackpoly.
This is a time series of data covering 579 years, and has been successfully converted from zoo to matrix. Data plotting
2008 Dec 16
1
Change in Lattice bwplot?
Dear list,
Sorry for asking this question, but has something changed in the
syntax for bwplot in Lattice? In an old publication, I used
> bwplot( VOTMS ~gender |type * group,
data=merge(vot,words,by="ord"),
nint=30,
horizontal=F,
layout=c(3,3),
box.ratio=0.8)
which produced a lovelly 3x3 lattice plot with one
2009 Jun 22
1
Lattice group colors?
Dear list,
I have been struggling to find how I would go about changing the
bakground colors of groups in a lattice barchart in a way so that the
auto.key generated also does the right thing and pick it up for the
key.
I have used the "col" argument (which I guess is sent to par()) in a
way so that the colors are like I would want them, but now I guess I
need to know which part part of
2011 Jul 10
1
How do I get two levels of grouping for in a lattice panel function?
Dear list,
I'm working on a panel function where I would like to be able to visualise
data grouped by the category of the data, and then also changes in summary
descriptives from one condition to another in the same scatter plot. Like
the figure attached, but with one polygon for each subset of the data set
given by a second variable (with colours still coming from the variable
specified in
2009 Aug 23
2
Surpress one panel in lattice plot..?
Dear list,
I have a two character vector with two different values in them (two
each, that is). Naturally, when I use these vectors as grouping
factors in a lattice plot, I get four panels.
Now, one of the possible four combinations will never have data, so
one panel will always be empty. So now my question is: can I force R /
Lattice not to print it, and give me only the 3 filled panels?
I have
2011 Aug 16
3
Constructing an additional key inside of a lattice panel
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110816/b1fd368c/attachment.pl>
2006 Mar 11
2
Draw level lines on the surface of a bivariate function
Hello,
Is it possible to draw level lines on the surface of a bivariate function?
In the following example, to draw surface and levels lines for a
multivariate normal law,
I use persp, trans3d, contourLines and lines,
but if the lines are correctly drawn, some parts of them are, of
course, visible
even if they are drawn on a non visible "face".
Any suggestion to avoid this problem
2011 Oct 07
1
axes3d/bbox3d - axis values not fixed
Hello,
I'm using the rgl package and plotting a plot with it. I'd like to have all
the axes values auto-hide, but I want to plot a series of characters instead
of the values of the measurement for 2 of the axes. So in the end I will
have one axis (z actually) behave per normal (auto-hide) and I'd like the
other two axes to be custom character vectors that auto-hide.
Example:
x <-
2018 May 08
1
Proposed speedup of ifelse
Hugh,
(Note I speak for myself only and not for R-core) Thanks for looking into
this. I think it's great to have community members that are interested in
contributing to R and helping it continue to get better.
And I think, and my local experiments bear out, that using anyNA as a
fastpass condition does allow us to get a significant speedup over what's
in there now. To do so, though, I
2012 Nov 06
0
[LLVMdev] Volunteers needed to moderate sessions and staff registration desk!
I'm still in need for moderators for the following sessions:
> Moderator #3 (11:15-12:45, Regency 1)
> Verified LLVM: Formalizing the semantics of the LLVM Intermediate Representation for Verified Program Transformations- Santosh Nagarakatte, University of Pennsylvania/Rutgers University
> Integrated Security, using LLVM for Dynamic and Static Security Tasks- Jared Carlson,
2010 May 25
2
segplot (latticeExtra)
Hi,
I'm having a bit of trouble with 'scales="free"' in the segplot()
function of latticeExtra. Say we need panels for each year, showing
only those counties that are represented in each one:
---<--------------------cut here---------------start------------------->---
library(latticeExtra)
data(USCancerRates)
uscr.w <- subset(USCancerRates, state ==
2012 Nov 04
2
[LLVMdev] Volunteers needed to moderate sessions and staff registration desk!
Hello,
I am in need of moderators to help moderate each session. If you are interested, please respond to this mail and indicate which slot you can moderate.
Its a long shot as you would miss talks, but if anyone wants a break to do work or check email while also staffing the registration desk, please let me know if you can do it during any of the sessions below. Thanks!
Options:
Moderator #1
2009 Jun 17
2
Urgent - odfWeave produces graphs /images with Read-Error
Dear list,
I have been working on a report with around 60 images in it, and
everything has been fine, until now. I find that the image output that
is produced by odfWeave produces images that are NOT readable by
OpenOffice or NeoOffice. I get empty boxes with Read-Error written in
them. While generating the file using odfWeave, I can see them being
generated on the screen, and they all seem fine.
2009 Jun 26
4
How do I get just the two last tokens of each string in a vector?
Dear list,
Sorry for asking this very silly question on the list, but I seem to
have made my life complicated by going into string manipulation in
vectors.
What I need is to get the last part of a sting (the two last tokens,
separated by a space), and of course, this should be done for all
strings in a vector, creating a new vector of exual size.
So,
a <- c(" %L H*L L*H H%",