Displaying 20 results from an estimated 100 matches similar to: "Forestplot () box size question"
2009 Feb 08
0
Modifying forestplot function in rmeta
All,
I am using the forestplot function in rmeta.
I was able to modify the x axis range by commenting out one line and
feeding it two new parameters (I wanted to set zero as the axis start point).
#xrange <- c(max(min(lower, na.rm = TRUE), clip[1]),
min(max(upper, na.rm = TRUE), clip[2]))
#new line
xrange <- c(xlow,xhigh)
Now I am trying to modify the text font size for
2013 Sep 25
1
Best and worst values for each date
Hi,
May be you can try this:
obj_name<- load("arun.RData")
Pred1<- get(obj_name[1])
Actual1<- get(obj_name[2])
library(reshape2)
dat<-cbind(melt(Pred1,id.vars="S1"),value2=melt(Actual1,id.vars="S1")[,3])? # to reshape to long form
colnames(dat)[3:4]<- c("Predict","Actual")
dat$variable<- as.character(dat$variable) #not that
2011 Jan 31
0
Forest Plot Text
Hello All,
I am having a problem creating text for my forest plot using the "forestplot" function in the rmeta package. I think my problem is that I have too many columns of text, so I was wondering if there is a way to shrink my text or to change the default setting.
Here is an example:
####
forest_mean<- as.numeric(c(NA, 1.00, 2.00, NA, 0.75, 1.10))
forest_lower<-
2008 Aug 06
1
grid layout scaling viewport width based solely on height
Hello all,
I'm trying to write a function that produces a main plotting region
with several square plots along the right side. Ideally the size of
right side plots will scale only with the height of the entire plot,
yet never overlap with another secondary plot. The following two
snippets get close, however, as I resize the plot horizontally the
right side plots (green squares) get smaller
2012 Sep 27
1
Problem with grid.rect
I have a stupid problem that is currently driving me crazy...
Let us suppose that I want to draw a big red square in the middle of my
current device (say X11)
I tried the following code :
pushViewport(viewport(xscale=c(0,1), yscale=c(0,1)), just=c("center", "center"))
vp1 <- viewport(x=unit(0.5, "native"), y=unit(0.5, "native"),
width=unit(0.4,
2007 May 30
3
sizing and saving graphics in R
Dear R wizards,
I am seeking advice on graphics in R. Specifically, how to manipulate
the size and save a plot I have produced using the LDheatmap library.
I confess I am relatively new to graphics in R, but I would greatly
appreciate any suggestions you may have.
LDheatmap produces a coloured triangular matrix of pairwise
associations between 600 genetic markers in my dataset.
2009 Oct 14
1
Plot overview xy plots from data frame?
Hi,
I've got a data frame (556 rows and 36 columns) from which I need to create several xy plots and print to pdf, in order to detect outliers and trends in the data. 16 of the columns contains numerical values, and I would like to create graphs for all combinations. It can be done manually, but creating 256 plots by hand takes time... I guess I have to iterate through the data frame, but
2002 Feb 06
3
Help plot
Hello,
I would like plot a vector and want to specify the Xticks which will be
displayed. Is it possible ?
For example, suppose that x is a vector of length 3. I just want the
Xticks (and the corresponding labels)
for 1 2 and 3 to be displayed ( and not 1, 1.5, 2,2.5, ....) .
Thanks
--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Olivier MARTIN
PhD student
2008 Nov 19
1
Buggy trellis.focus() with xyplot ?
Hi:
(Tried to find a bug report about this issue, but was unable to find it, let
me know if this is a known issue)
I have been working on an interface to highlight xyplot panels on mouse
overs in JavaGD but I have stumbled with what seems to be a bug in
trellis.focus.
I am using R 2.8 with lattice 0.17-15
*** To replicate the bug:
1.- display an xyplot. For example, from the xyplot help page:
2007 Jun 28
1
Changing graphics height when using grid and lattice
Hi,
I have recently been playing with the grid package in an attempt to create
some pages containing multiple lattice plots on the same page. However, when
I specify a grid layout with different widths, such as:
pushViewport(viewport(layout = grid.layout(1, 2, unit(c(2, 1), "null"))))
the individual graphs do not end up as the same height - which is a feature
I would prefer to have.
2009 Jul 30
5
Grid lines
Hi everyone. I am new to R.
It will be greatly appreciated if someone can help me with the following
questions.
Here's the graph I have just produced.
http://www.nabble.com/file/p24732839/calibration.jpeg
(1) How can I put the legend on top of the grid lines?
(2) How can I match the grid lines with the x-axis ticks?
(3) How can I change the x-axis format from e.g. Mar, Apr...etc to
1999 Oct 08
1
floor(NaN) problem fixed in massdist.c (PR#291)
Full_Name: Naoki Takebayashi
Version: 0.65.0+R-release.diff (Oct 6, 1999)
OS: Linux/Alpha
Submission from: (NULL) (129.79.224.171)
This will fix the "problem 2 (crash in fft)" in Bug ID #277
On Linux/Alpha, make check failed because R could not handle the following
example in base-Ex.R
##___ Examples ___:
# The Old Faithful geyser data
data(faithful)
:
:
## Missing values:
x <-
2009 Dec 28
2
refering to the 'boundaries' of a graph
Please see this code for a demonstration of my problem...
xlim <- c(-1,5)
plot(1:4, xlim=xlim)
abline(v=xlim[1])
abline(v=xlim[2])
When I refer to xlim, it is not referring to the boundaries of the graphical
region, it refers to the maximum and minimum xticks. My question is how can
I refer to the x axis boundaries (and similarly y axis) of the graph?
--
View this message in context:
2008 Nov 19
0
Buggy trellis.focus() with xyplot in JavaGD ?
Hi:
(Tried to find a bug report about this issue, but was unable to find it, let
me know if this is a known issue)
I have been working on an interface to highlight xyplot panels on mouse
overs in JavaGD but I have stumbled with what seems to be a bug in
trellis.focus.
I am using JGR R 2.8 with lattice 0.17-15
Note: It's important to you use JGR to use the Java Graphics Device.
*** To
2009 Nov 06
0
r54 committed - ...
Revision: 54
Author: freyfogle
Date: Fri Nov 6 07:21:27 2009
Log:
Marker should pass in google MarkerImage objects rather than just image
URLs if possible
http://code.google.com/p/mapstraction/source/detail?r=54
Modified:
/trunk/source/mxn.googlev3.core.js
=======================================
--- /trunk/source/mxn.googlev3.core.js Fri Oct 9 07:48:43 2009
+++
2006 Aug 29
1
forestplot fucntion in rmeta package
Dear R users,
I would like to adjust the x axis the way I wanted using
"forestplot(labeltext, mean, lower, upper, align = NULL, xlab = "", zero =
0, graphwidth = unit(2, "inches"), col = meta.colors(), xlog = FALSE)". I
tried using xaxt="n" and then redefine the axis using axis(1, at=c(0,0.5,1.0
,1.5,2.0,2.5),label=c(0,0.5,1.0,1.5,2.0,2.5)), but it
2012 Apr 21
0
help with rmeta package
Dear R users,
I'm trying figuring out with forest plot and rmeta. Here's my code...
library(rmeta)
tabletext <- structure(c("", NA, "Sex", "[F]", "[M]", NA,
"Age class", "(0,60]", "(60,80]", NA,
"Karnofsky class", "[70;90]",
2012 Oct 15
1
library(rmeta)
Hello,
I have a data with following format:
Predictors n11 n12 n21 n22 Odds.Ratio log.ratio se.log.odds.
1 ProcOR respirato
2 ProcVaric vein
3 DiagCardiac anom
4 DiagAllergy
5 DiagOth skin dx
6 DiagGastritis
I want to plot odds ratio by command: forestplot in rmeta library, but I get the following error constantly.
Error in
2009 Jun 26
1
gradient fill of a grid.polygon
Dear list,
Following a recent enquiry, I've been playing with the idea of creating a
colour gradient for a polygon, using the Grid package. The idea is to draw a
number of stripes of different colours, using the grid.clip function. Below
is my current attempt at this,
library(grid)
rotate.polygon <- function(g, angle=0){ # utility function, works fine
matR <- matrix(c(cos(angle),
2006 Mar 22
1
RJS - Still not working in IE
The previous thread on this topic got a little disjointed, so I thought
I''d summarize the issue again, in hopes that someone could help. To
re-iterate, this rjs works in Firefox and Safari on Mac, and in Firefox
on Windows. It fails, in IE on Windows. The failure is that the second
page.replace_html seems to do nothing.
My environment is:
Rails 1.0 + RJS Plugin
Updated