similar to: Histograms of lots of variables

Displaying 20 results from an estimated 20000 matches similar to: "Histograms of lots of variables"

2005 Oct 05
2
output a sequence of plots
I can output two histograms of variables AXFILTERED and AZPTOP as follows: win.metafile(filename="C:/AXFILTERED.emf",pointsize=12) hist(AXFILTERED,breaks=40) dev.off() win.metafile(filename="C:/AZPTOP.emf",pointsize=12) hist(AZPTOP,breaks=40) dev.off() But, I actually have a dataframe of 120 variables that I would like histograms of. Any solutions that would save me from
2011 Apr 29
4
plot several histograms with same y-axes scaling using hist()
Dear all Problem: hist()-function, scale = ?percent? I want to generate histograms for changing underlying data. In order to make them comparable, I want to fix the y-axis (vertical-axis) to, e.g., 0%, 10%, 20%, 30% as well as to fix the spaces, too. So the y-axis in each histogram should be identical. Currently, I have 100 histograms and the y-axis scales changes in each. Here is my code:
2010 Jul 09
3
how to plot two histograms overlapped in the same plane coordinate
Dear R-help listers, I am new. I just want to get helps on how to plot two histograms overlapped in the same plane coordinate. What I did is very ugly. Could you please help me to improve it? I want to got a plot with semi- transparent overlapping region. And, I want to know how to specify the filled colors of the different histograms. I also prefer other solutions other than ggplot2. Many
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
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
2009 Jun 08
2
Re flect Back to Back Histograms in x-axis?
I've looked long and hard for this, but maybe I am missing something... There is a nice module that displays histograms reflected in the y axis, i.e. http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=136 but is it possible to reflect in the x-axis, so to have two datasets, one pointing up and one down rather than left and right? I haven't been able to find a way to plot this
2003 Oct 28
1
stacking histograms
Hi, I have a set of observations which are divided into two sets A and B. I have some code that bins the dataset into 10 bins based on the max and min of the observed values. I would like to make a histogram of A & B using my calculated bins but plot the distribution of B on top of A (like a stacked barplot). This is possible since both sets A & B are binned using the same bin ranges.
2009 Jul 20
3
Histograms on a log scale
Dear All, I would like to be able to plot histograms/densities on a semi-log or log-log scale. I found several suggestions online http://tolstoy.newcastle.edu.au/R/help/05/09/12044.html https://stat.ethz.ch/pipermail/r-help/2002-June/022295.html http://www.harding.edu/fmccown/R/#histograms Now, consider the code snippet taken from http://www.harding.edu/fmccown/R/#histograms # Get a random
2008 May 26
1
Joining Histograms Into a Figure
Hi, I have two histograms created separately using the following code. It creates two separate figures. dat <- read.table(file="GDS1096.modelout", head = FALSE ) __BEGIN__ dat <- read.table(file="GDS1096.modelout", head = FALSE ) hist(dat$V2, main="AIC Freq", xlab = "\# Component", breaks = 36, xlim = c(0,max(dat$V2)), col = "dark red",
2006 Oct 18
2
Multiple histograms in one plot
Hi all, I'm trying to plot multiple histograms in one plot (cross-validation values of model parameters), but I cannot seem to reduce the margins enough to fit as many of them in as I would like. I'm using split.screen to divide the window into a 5x4 grid, then plotting with hist. I've tried explicitly reducing the margins with par(mar=c(1,1,1,1)), but it doesn't seem to have
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
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 Jul 05
1
win.metafile use
Platform: Windows 95 Version : R0641 Problem : I wish to plot and save a large number of graphics files in windows metafont format. I have a very crude postscript printing function, which happily handles repeated calls: psf<-function(filename){ dev.print(postscript,file=paste(sep="",filename,".ps"),horizontal=F) return() } To produce metafont files, I
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
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
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
2005 Nov 15
2
y-axis in histograms
Dear R- list, I have some data to present with histograms. Therefore I used hist(...). I have few values with almost 80% of the frequencies (totaly 800) and some other values with low frequencies ( totaly 5 -10 ) that I want to emphasize. Therefore I want to "cut" the y-axis on 100, but I don't know how to deal with this. Thanks in advance, Michael Graber
2010 Nov 23
2
overlay histograms on map at map coordinates
Hi all, I'm trying to visualize animal movement data characteristics spatiotemporally by overlaying many different histograms on a map. I want the histograms to be plotted at coordinates in the map that matches a region they describe. If I was just doing this once, I'd fiddle in Illustrator after R and avoid the headache. But I'll be doing it many many times so it seems
2001 Dec 05
3
Histograms per coding variable
Dear all I have a dataset that looks like: fr.wt site 1 4400 glen 2 235 glen 3 225 glen ' ' ' ' ' ' ' ' ' 82 550 glen 83 550 kom 84 550 kom ' ' ' ' ' ' ' ' ' 191 820 kom 192 2000 soet ' ' ' ' ' ' I need to do a series of histograms for each of the codes, levels or factors in
2010 May 31
4
Y-axis range in histograms
Hi, I'm trying to create a histogram with R. The problem is that the frequency is high for a couple of x-axis categories (e.g. 1500) and low for most of the x-axis categories (e.g. 50) http://r.789695.n4.nabble.com/file/n2237476/LK3_hist.jpg . When I create the histogram, it is not very informative, because only the high frequencies can be seen clearly. Is there any way I could cut the