Displaying 20 results from an estimated 8000 matches similar to: "classifier for histograms?"
2010 Aug 13
1
Lattice: Superimposing histograms with different colors and transparency effects
Dear users,
I would like to plot several histograms superimposed on the same panel
with different colors, with superimposed polygons appearing with
transparency effects. I also want estimated densities to appear on the
same plot. For several reasons, including that I like it, I want to use
the lattice package.
I have several questions regarding the use of the 'histogram' function
with a
2006 Jun 28
0
superimposing histograms con't [Broadcast]
I wrote some code to do this. It only works with 2 groups (that's all I
needed), but could probably be generalized. It got my graph made, and I
haven't needed a graph like this one again, so I never went back to really
clean it up.
It works by first plotting both sets of rectangles, then going back over the
ones that had the first bar totally covered by the second.
Hope this helps,
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
2010 Aug 23
1
Plotting multiple histograms on same panel
Hey everyone,
So i cant figure this out. when using histogram() from lattice instead
of hist() i get what i want as far as output. But using histogram i can
seem to be able to figure out how to get multiple plots on the same panel.
So
par(mfrow=c(3,2))
for (i in 1:20) hist(rnorm(100),main="",cex.axis=.8)
gets me about what i want but i want to use histogram() cause it gives
2007 Sep 10
1
overlay lattice histograms with goodness-of-fit pdfs
Hello,
I am new to R exploratory data analysis and plotting. Is anyone aware of a way
to overlay a set of conditional histograms with conditional PDFs? Below, I
generate a lattice plot of precipitation histograms based on different months
and stations, given a subset of the dataset:
histogram(~ data | month * station,
data = sta.stack[sta.stack[,"type"]=="precip" &
2007 Apr 13
1
stacked histograms
I want to produce stacked histograms where the total bar is divided up
according to the n levels of the grouping variable given in the group
argument.
I am using the lattice histogram function and its "group"-argument, but
it is not recognised. The "auto.key" argument, however, is, because it
gives
me the correct group levels and when setting groups = NULL, auto.key =
TRUE
2012 Feb 11
1
multiple histograms from a dataframe
Hi list
I need some help for drawing some histograms
I have a dataframe , say,
X Y Z T
I want to draw a histogram Z-T for each value of the couple (X-Y).
When I use thus syntax
> library(lattice)
> histogram(law[,3] ~ law[,66] | law[,1] )
it draws multiple histograms but by selecting distinct values of law[,1]
The deal is to make the same thing but for a couple of columns
Thanks in
2009 Aug 28
1
breaking multi-modal histograms down into combinations of unimodal distributions
Dear All,
Does anybody know if there is a functionality in R to break histograms
that show a clear bi-modal (or multi-modal) distribution into a series
of unimodal histograms that added up result in the original histogram?
I was thinking of using QQ-plots (for which tools are available in R),
and then observing the number of times the observed quantiles cross
the 1:1 line, but this only gives an
2005 Feb 21
4
49 histograms on one page
Hi,
I want to do something like this:
par(mfrow=c(7,7))
for (i in 1:49)
hist(RATDACOM[SUBJNO==i],breaks=0.5+(0:6),
main="",xlab="",ylab="",xaxt="n",yaxt="n")
(Don't think about what RATDACOM and SUBJNO are.)
I get an error
Error in plot.new() : Figure margins too large.
36 histograms with mfrow=c(6,6) work.
But the 36 histograms
1999 Jun 08
3
histograms
> >>>>> "PD" == Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk> writes:
>
> PD> "Venables, Bill (CMIS, Cleveland)" <Bill.Venables at cmis.CSIRO.AU>
> PD> writes:
> >> The fact that every elementary book on statistics does it this way
> >> does not make it correct. To be helpful, a histogram really
2006 Jul 15
1
Find peaks in histograms / Analysis of cumulative frequency
Hello all,
I have some histograms of amount of DNA in some cells (DU145 cells
overexpressing Bax and Bcl-xL for those who wish to know). The histograms
show not only two peaks as expected, but three, indicating that some cells
have more than normal amounts of DNA.
I am interested in knowing how much of the cell populations are in each peak
as well as between.
I am not really sure how to go
2006 Sep 01
3
histograms
I am interested in plotting histograms for the following data
Isoform
Tumor_65_198
Tumor_50_192
Tumor_80_167
Tumor_80_204
Tumor_95_197
Tumor_70_189
Tumor_90_202
Tumor_40_177
Tumor_60_21
Tumor_70_174
Tumor_70_147
Tumor_50_5
ABCC4-2007
1
1
1
6
1
9
10
1
2
0
10
1
ABCC4-2008
5
8
7
5
3
10
5
5
7
3
10
3
ABCC4-2009
0
0
0
0
0
0
0
0
0
0
0
0
ABCC4-2010
2010 Nov 10
1
plotting histograms/density plots in a triangular layout?
Hi!
I have a set of 49 pairwise comparisons that I have done. From this I
would like to plot either histograms or the density plots of the values
I get. Now, I can plot one histogram per comparison, but I have problems
getting the output I want. When plotting like I normally would do:
histogram(~percid | orgA_orgB, data = alldata)
I get the histograms next to eachother in a boxlike shape.
2006 Jun 28
2
superimposing histograms con't
Earlier, I posted the following question:
I want to superimpose histograms from three populations onto the same graph,
changing the shading of the bars for each population. After consulting the
help files and the archives I cannot find out how to do this (seemly)
simple graph. To be clear, I want
- a single x axis (from -3 to 18)
- three groups of bars forming the histograms of each population
2005 Feb 02
4
Combining two histograms
I have data like:
a <- rnorm(20000)
b <- rep(FALSE,20000)
b[sample(1:20000,15000)] <- TRUE
Using Lattice graphics, I can produce two side-by-side histograms quite
easily by:
histogram(a | b)
However, I would like to produce a "single" histogram with two bars
within each bin, one for each group, as the groups are in reality very
slightly different from each other. The
2000 Mar 21
0
Summing up histograms and misc.
Dear all!
I have a few questions. I'm running Version 1.0.0 on Digital UNIX.
My problem is as follows: I have hundreds of megabytes in images stored in
a few hundred files, and I want to extract some basic characteristics
about the images in these files. For a start, I need to find the density
function of all the files combined. Since it's several hundred MBs, I
haven't enough RAM to
2005 Nov 29
1
Superimpose Histograms
Hi all,
I have data which is represented as a histogram and want to add more
data / another histogram to this plot using another color. That is I
need to superimpose multiple histograms.
But have no idea how to do this.
Can anybody please give me a hint?
Thanks,
Andreas
--
Andreas Wilm
Institut fuer Physikalische Biologie
Heinrich-Heine-Universitaet Duesseldorf
2010 Oct 13
1
Lattice: arbitrary abline in multiple histograms
Dear list.
I have three histograms and I want to add a vertical abline in a different
place in each plot. The next example will plot a vertical line at x=5.5 in
the three plots:
rnorm(100,5,3) -> A
rnorm(100,7,3) -> B
rnorm(100,4,1) -> C
rep(c("A","B","C"),each=100) -> grp
data.frame(G=grp,D=c(A,B,C)) -> data
histogram(~ D | G, data=data,
2009 Nov 18
0
Y axis of 1-D Linear Discriminant Histograms
Hi all.
I would like to understand what are the units defined on the y-axis
when you plot the one-dimensional predictions (histograms) from lda()
(MASS) discriminant function objects?
While the helpfile suggests that a histogram is returned by default,
the presumably proportion-like values for each group seem to add up to
more than 1, and I'm not sure how to interpret the code from
ldahist(),
2008 May 19
2
Histograms without bars
Hello
I'd like to plot a histogram of some data composed of real numbers. The
bin width I'm using is ~ 0.01, which results in high values in the y
axis, so that the area under each bar corresponds to the probability of
the data in that range.
Is is possible to plot points whose y coordinate correspond to that
probability, instead of plotting the histogram bars? In other words,
instead of