Displaying 20 results from an estimated 300 matches similar to: "histbackback function"
2009 Dec 16
2
rcart - classification and regression trees (CART)
Hi,
I am trying to use CART to find an ideal cut-off value for a simple
diagnostic test (ie when the test score is above x, diagnose the condition).
When I put in the model
fit=rpart(outcome ~ predictor1(TB144), method="class", data=data8)
sometimes it gives me a tree with multiple nodes for the same predictor (see
below for example of tree with 1 or multiple nodes). Is there a way
2007 Jan 16
0
histbackback function code needs a change with R 2.4.1 version (PR#9456)
Dear Author and Maintainer of Hmisc contributed package,
Dear R developers,
i noticed a problem with histbackback routine when i installed the last version of R (2.4.1)
(With my previous version, 2.3.1, there was no such a problem)
If, e.g., you simply edit the command
> histbackback(rnorm(20), rnorm(30))
a warning message is printed on the console.
Warning messages:
1: argument
2006 Jun 15
0
Histbackback and adding color
I am trying to plot two histograms using histbackback and then adding
color to each of the samples. The code I have seen on the R graph
gallery suggests the following method of using histbackback
require(Hmisc)
age <- rnorm(1000,50,10)
sex <- sample(c('female','male'),1000,TRUE)
out <- histbackback(split(age, sex), probability=TRUE, xlim=c(-.06,.06),
2011 Nov 29
1
Hmisc break points error
I am making frequency histograms using the histbackback function on my 2
datasets. However when I try to use the brks function:
foo<-histbackback(log(fie11),
log(fie86),ylim=c(0,9),probability=FALSE,axes=TRUE,ylab=("log10 Parcel
Size"),brks=16)
The graphic results in a 'NA' label for the y axis (no intervals are
returned)
Also when I use 'summary(foo)' the
2012 Jan 31
1
Currency symbols in Xtick or Ytick labels
How do you label Xtick and Ytick marks with Currency symbols: $2000
instead of 2000? I would like to add dollar symbols to tickmarks on
boxplots, histograms and back-to-back histograms.
My Examples (requiring the lattice and Hmisc packages):
data(case0102, package="Sleuth2")
str(case0102)
boxplot(Salary~Sex, case0102)
histogram(~ Salary | Sex, data=case0102)
require(Hmisc)
#
2008 Apr 02
1
Two datasets on one histogram
I have two .txt files with lists of generated data I want to plot them on the same histogram. I'm aware of the histbackback function, but that is not really what I am looking for, I just want them on the same histogram but so they are still grouped separately (different colours, different norm curves etc). Does anyone know how to do this? Thank you.
[[alternative HTML version deleted]]
2009 Jul 13
3
SweaveListingUtils question
Hello,
recently I read about the SweaveListingUtils package and now I want to try
it out. However, I can not make it work...
Below a minimal example. The problem seems to be the following line
(generated by SweaveListingPreparations()?):
\ifthenelse{\boolean{Sweave@gin}}{\setkeys{Gin}{width=0.6\textwidth}}{}%
If I comment out this line, it works.
What can I do about this?
I am using the
2003 Oct 27
0
I am looking for the barplot version of histbackback( Hmisc library ) TIA
[This email is either empty or too large to be displayed at this time]
2001 Nov 15
3
Histogram
I would want to know if it's possible to plot two histograms
on the same graphic in order to compare the bins one to one,
like a Excel graphic.
If it is possible can you help me to do it, because I don't know the exact
R-commands.
Thanks for your help
Damiano
>
>
>Martin Maechler <maechler at stat.math.ethz.ch> http://stat.ethz.ch/~maechler/
>Seminar fuer Statistik,
2008 Jan 29
2
how do i creat multiple back to back histograms?
Een ingesloten tekst met niet-gespecificeerde tekenset is
van het bericht gescrubt ...
Naam: niet beschikbaar
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080129/23f6cbc7/attachment.asc
2007 Jan 29
0
Hmisc Version 3.1-2 uploaded to CRAN repository
Hmisc 3.1-2 has been uploaded to the CRAN incoming directory.
Change log
3.2-1 1/25/2007:
Hmisc function 'ecdf' has been renamed 'Ecdf' to deconflict it
with the existing 'ecdf' function in base.
Fixed Bug in format.df that would create numbers with many
trailing zeros.
Added arguments 'math.row.names' and
2007 Jan 29
0
Hmisc Version 3.1-2 uploaded to CRAN repository
Hmisc 3.1-2 has been uploaded to the CRAN incoming directory.
Change log
3.2-1 1/25/2007:
Hmisc function 'ecdf' has been renamed 'Ecdf' to deconflict it
with the existing 'ecdf' function in base.
Fixed Bug in format.df that would create numbers with many
trailing zeros.
Added arguments 'math.row.names' and
2006 Mar 13
1
bihistogram plots
Does anyone have code to plot bihistograms in R?
See http://www.itl.nist.gov/div898/handbook/eda/section3/bihistog.htm
for a description of
a bihistogram.
--
Hal Varian voice: 510-643-4757
SIMS, 102 South Hall fax: 510-642-5814
University of California hal at sims.berkeley.edu
Berkeley, CA 94720-4600 http://www.sims.berkeley.edu/~hal
2003 Jan 10
1
Superposed histograms
I woud like to plot cumulative histograms. Specifically,
I have data like
Sex M M F M F F M F
Height 6 6.3 6.1 5.5 7.2 6.2 5.9 6.0 ....
and I want to plot a histogram of the distribution of all heights,
colouring the histogram bars according to sex, for example
| o
| oo o
| o oo ** o o = observations of women
| o o*o***o * = observations of
2007 Apr 27
0
Hmisc Version 3.3-2 is now in CRAN repository
Hmisc Version 3.3-2 has been posted to the CRAN repository.
Change Log
3.3-2 4/26/2007
Fixed bug with combine<- function not handling NULL values.
3.3-1 3/29/2007
Created functions trunc.POSIXt, ceil.POSIXt, round.POSIXt to do
those ops on POSIXt objects. Removed chron versions of these
functions.
Placed Hmisc in a namespace
Factored out category
2007 Apr 27
0
Hmisc Version 3.3-2 is now in CRAN repository
Hmisc Version 3.3-2 has been posted to the CRAN repository.
Change Log
3.3-2 4/26/2007
Fixed bug with combine<- function not handling NULL values.
3.3-1 3/29/2007
Created functions trunc.POSIXt, ceil.POSIXt, round.POSIXt to do
those ops on POSIXt objects. Removed chron versions of these
functions.
Placed Hmisc in a namespace
Factored out category
2008 Jan 24
4
two histograms in the same graph
Dear Contributors:
I have two vectors x and z, and I want to display the histograms of both
vectors in the same graph, x in red bars, z in blue bars.
If you have any clue on how to do that, I will be very glad to hear it!!!!!!
Thanks in advance again,
Juan Pablo Fededa
[[alternative HTML version deleted]]
2002 May 13
3
Histograms rotated, side-by-side
Hi there,
I am wanting to create 8 side-by-side histograms which have been rotated 90
degrees clockwise from how they usually sit.. all with the same scales. Is
someone able to help me out?
Thanks so much,
Rachel Cunliffe
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2000 Feb 29
0
mapping of colornames into hsv: half way done
Ok,
now we have the mapping of color names to color codes (see below) and
conversion to rgb (something like Ben Bolker's function), but how to convert
rgb to hsv?
Thanks to Brian Ripley, Peter Dalgaard and Ben Bolker
Details below
Regards
Jens
etc/colors.big maps 455 names to rgb in S syntax
etc/rgb.txt maps 657 names to rgb in C syntax, but unlike colors() it has
mixed upper and
2008 May 21
2
Proportional axes
Hi!
If I'm plotting 2 variables with the same units
(i.e. wing length of 2 species), how can I force that X
and Y axes have the same size for length unit? For example, if
X ranges from 0 to 10 and Y ranges from 10 to 30, I want
Y axis to be twice as long as X axis. I know I can just
put xlim and ylim from 0 to 30, i.e.,
plot(runif(10,0,10),runif(10,10,30),xlim=c(0,30),ylim=c(0,30))
but this