similar to: Hmisc curve label size & cex

Displaying 20 results from an estimated 6000 matches similar to: "Hmisc curve label size & cex"

2007 Oct 19
1
unable to interactively label curves on a plot
Hello all Simple question for the gurus. I'm trying to interactively label curves on a single plot. The labcurve() function from Hmisc seems like the way to do this (?). I just can't seem to get it to work. Toy example: > x <- 1:10 > y1 <- x^2 > y2 <- 2*x > plot(x,y1) > lines(x,y2) > labcurve(labels=c("curve1", "curve2"),
2008 Oct 17
1
Using key.opts in Ecdf/labcurve (Hmisc package)
I'm presumably missing something very obvious, but how does one use the key.opts argument in labcurve (via Ecdf)? In this example, I want the key to be big and have a blue background, but it isn't and doesn't. ch <- rnorm(1000, 200, 40) sex <- factor(sample(c('female','male'), 1000, TRUE)) Ecdf(~ch, group=sex, label.curves=list(keys=c("f",
2013 Nov 19
1
como agrego una linea dibujada con abline() en la leyenda de un grafico ?
Estimado Eric En Hmisc la función labcurve puede ser útil, en todos casos crear una curva con valores constantes, habría que intentar, pero labcurve en algunos ejemplos en mi computadora no anda. Ayer envié dos correos, el primero era de latticeextra, usted nombra lattice, pero podría funcionar, en latticeextra: ## horizontal and vertical lines xyplot(ysim ~ xsim) + layer(panel.ablineq(v
2010 Mar 10
2
Placing the legend 'dynamically'
Hello, does anybody know which command to consider when I'm trying to plot a stacked barplot with a legend at the most empty portion of the graphic? I've searched for it, and somebody stated to use the labcurve-command, but I don't know how to produce stacked barplots with it. Is there any possibility to plot a legend box "dynamically" (= in an empty region) with the
2003 Apr 24
1
"Missing links": Hmisc and Design docs
Hi folks, Using R Version 1.6.2 (2003-01-10) on SuSE Linux 7.2, I just installed Hmisc_1.5-3.tar.gz and Design_1.1-5.tar.gz These were taken from http://hesweb1.med.virginia.edu/biostat/s/library/r Checked the dependencies: Hmisc: grid, lattice, mva, acepack -- all already installed Design: Hmisc, survival -- survival already installed, so installed Hmisc first All seems to go
2003 Jun 05
2
Fwd: Re: legend() with option adj=1
Is there a simpler way then the solution to the one that was posted here? I'm not very proficient with legend, and I don't understand this solution. All I have is two or more lines on one plot that I want to put a legend on and I can't figure out how to do it from the examples. Can you give a very simple example? It does not have to be fancy!! I have never worked with a
2013 Nov 19
2
como agrego una linea dibujada con abline() en la leyenda de un grafico ?
Eric Recordé un ejemplo rápido ## Setup up coordinate system (with x == y aspect ratio): plot(c(-2,3), c(-1,5), type = "n", xlab = "x", ylab = "y", asp = 1) ## the x- and y-axis, and an integer grid abline(h = 0, v = 0, col = "gray60") text(1,0, "abline( h = 0 )", col = "gray60", adj = c(0, -.1)) abline(h = -1:5, v = -2:3, col =
2009 Oct 12
1
Position of legend box
Good morning to you. I have about 4 different lines in one plot. I have used legend to indicate the colour of each plot. But the box contain the legend covers part of the lines thereby blurring the legend. There are some spaces in the plot that are empty and large enough to accommodate the legend box. If there a command I could use to set the position of the legend myself. I added the legend
2008 Jul 16
2
Labelling curves on graphs
Hi Folks, I'd be grateful for good suggestions about the following. I'm plotting a family of (X,Y) curves (for different levels of another variable, Z): say 6 curves in all but could be more or less -- it's a rather variables situation. I'd like to label each curve with the value of Z that it corresponds to. The problem is that the layout (shapes, spacings, ranges of X over
2003 Oct 05
3
Placing legends
I'm trying to automate making a bunch of figures and I need a way to automate legend position. As I understand it the legend is placed based on coordinates. I don't know before hand what the coordinates are going to be. On one graph my y axis might go from -50 to -10. On another it might go from 0 to 180. Is there any way to query where the origin is? Or is there another way to
2009 Apr 30
1
Legend best position
Hi all, I'm doing a lot of plots and all of them should have a legend. The problem is that this legend not always have to be in the same place, because some plots can override the legend box. I'm wondering if there exist a command that "optimally" allocate the legend position, I'm refer to a MATLAB's command'slegend and it's option "Best". Exist? What
2011 Aug 15
5
Labelling all variables at once (using Hmisc label)
I have a dataset and a list of labels. I simply want to apply the labels to the variables, all at once. The only way I was able to do it was using a loop:     for (i in 1:length(data))  label(data[,i]) <- data.labels[i] I'd like to find the non-loop way to do it, using apply or the like... Any help appreciated. [[alternative HTML version deleted]]
2010 Dec 02
2
Hmisc label function applied to data frame
Hello, I'm attempting to create a data frame with correlations between every pair of variables in a data frame, so that I can then sort by the value of the correlation coefficient and see which pairs of variables are most strongly correlated. The sm2vec function in the corpcor library works very nicely as shown here: library(Hmisc) library(corpcor) # Create example data x1 = runif(50) x2 =
2009 Jan 10
1
Hmisc-xtable label
Dear all: Does anybody know about label conflicts between xtable and Hmisc? I found a couple of e-mails similar to this problem but is not clear to me how to get around the label problem. The first table(longtable below) is generated with the latex function from Hmisc but for some reason when I try to hyperlink to it,it takes me to the top of the document. The second table created with the xtable
2004 Oct 23
2
Puzzled at a trivial function using Hmisc::setps
I have done: library(Hmisc) mysetps <- function(f) {setps(filename=f, w=4.5)} Now when I set about doing mysetps("a") blah mysetps("b") blah etc. Problem: I find that only one file "f.ps" gets created. My intent had been to create "a.ps", "b.ps", etc., all using the argument w=4.5 with the setps() function of Hmisc::setps.
2007 Feb 16
2
R implementations of scatterplot/map labeling algorithims?
Dear R community In a current paper, I'm (briefly) considering the topic of producing scatterplots or maps with point labels positioned in such a way as to minimize label overlap and occlusion. This is a topic with a large, but scattered literature. In CS, it is considered NP-hard, but there are a variety of approximate solutions. The most complete bibliography I've found is the
2012 Jan 13
1
Hmisc for Maverick
On 01/12/2012 09:21 PM, r-sig-debian-request at r-project.org wrote: > Message: 4 Date: Thu, 12 Jan 2012 18:39:53 -0500 > From: Michael Rutter <mar36 at psu.edu> > > Hmisc is available on c2d4u > (https://launchpad.net/~marutter/+archive/c2d4u) for Natty and Oneiric, > but not for Maverick, the others you mention are not. > Dirk, Michael - thanks for the useful advice.
2007 Apr 18
1
R-2.4.1 for MacOS X - languageR, acepack, Hmisc
I updated R to the last 2.4.1 version and unfortunately I can not load languageR any longer. In R-2.4.1, LanguageR requires acepack, but Hmisc doesn't work when acepack is loaded. > library(languageR) Loading required package: Design Loading required package: Hmisc Loading required package: acepack Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load
2006 Nov 26
1
problem loading package Hmisc
Hi, I installed the package Hmisc with the command install.packages("Hmisc") without errors. When I try to load the library with command library(Hmisc) I get the error > library(Hmisc) Error in library(Hmisc) : there is no package called 'Hmisc' > version _ platform i386-pc-linux-gnu arch i386 os linux-gnu system i386,
2010 Apr 30
2
Building Hmisc
>From the notes I see that for 2.11 Hmisc is not supported and the suggestion is made to build from source. I am on a Windows 7 platform and I got all of the tools and successfully built 'R' from source. I changed to gnuwin32 and entered make all recommended. Even though the tar.gz (source) version of Hmisc has been downloaded and placed in library/recommended folder the build process