Displaying 20 results from an estimated 4000 matches similar to: "hist function to give each cell equal area"
2012 Mar 14
1
How to use ggplot to do the binned quantile plots(one type of scatter plot)?
How to use ggplot to do the binned quantile plots(one type of scatter plot)?
Hi all,
I have done scatter plot: plot(x, y).
Now I wanted to do binned quantile plots... can ggplot2 help me?
For example, we bin x data into 10 bins.
For each bin, we draw the 10 deciles of the corresponding y data in that
bin as points/dots.
And then accross all bins, we would like to connect the corresponding
2004 Dec 23
1
Question about creating error bars
I have data that looks (very roughly) like this...
Declarative:
Several 'groups', each group with a very variable number of
data points associated.
Procedural:
v.1 <- c(rep(50,1), rep(5,5), rep(2,10)) # Set up
v.2 <- c('a','b','c','d','e','f','g','h', # the
2005 Sep 14
1
Forcing hist()
I'm trying to create histogram (using hist()) that fullfill the following
criteria:
* data is on a ordinal scale (1, 2, 3, 4, 5)
* I want bars centered over the number on the x-axis
* I want 5 bars of equal width
I have tried various versions of the hist() command, with no luck. what
am I missing?
/Par
--
Par Leijonhufvud par at
2001 May 20
1
hist() ignores 'probability=T' (PR#944)
In the following, 'probability=T' is ignored,
i.e. the vertical axis is labelled in
frequencies.
However hist(islands, freq=F) achieves the desired effect.
> data(islands)
> hist(islands, probability=T) # Vertical axis gives frequencies
> hist(islands, freq=F) # Expected result
--please do not edit the information below--
Version:
platform = i386-pc-mingw32
2013 Jun 30
1
why check f_path.mnt is equal for source and dest in btrfs_ioctl_clone()?
This gives EXDEV for clone operations that btrfs could otherwise execute
and with slight change of circumstances will actually execute fine.
Imagine we have a btrfs on /dev/mapper/foobar with subvols /foo and
/bar. Let’s also imagine top of said fs in mounted at /mnt. In this
case, a cross-subvol clone of /mnt/foo/srcfile to /mnt/bar/dstfile will
succeed.
However, if only the individual
2005 Jun 06
6
Strange characters in 2.1.0?
Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Signif. codes: 0 <80><98>***<80><99> 0.001 <80><98>**<80><99> 0.01
<80><98>*<80> <99> 0.05 <80><98>.<80><99> 0.1 <80><98> <80><99> 1
Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
hmm... they go away when I
2004 Nov 03
4
Legend placement in barplot?
This has been asked before, but all the answers are hidiously complex.
The
legend.text=TRUE
option of barplot is almost exactly what I need, except I need a
legend.placement='tl'
(top left) option. This option would be in contrast to the default
placement which we could call 'tr' (top right).
Anyone know how to edit the barplot code to make this change? Could
someone like me
2005 Jun 06
9
R Graph Gallery : categorization of the graphs
Hello all,
It seems that the next improvement to the R Graph Gallery is
categorization of the graphics, that way each graph will be easier to
find. That step should be done *carefully* if we want to avoid the
opposite side-effect : graph not reachable through the categories.
That's why the wisdom of the R community is required.
Graphics will be classified in :
- categories
-
2004 Nov 04
4
highly biased PCA data?
Hello, supposing that I have two or three clear categories for my data,
lets say pet preferece across fish, cat, dog. Lets say most people rate
their preference as being mostly one of the categories.
I want to do pca on the data to see three 'groups' of people, one group
for fish, one for cat and one for dog. I would like to see the odd person
who likes both or all three in the
2005 Jan 04
3
Adding values to the end of a vector?
I want to add values onto the end of a vector, for example...
x <- vector
for (i in 1:5){
add_to_end_of_vector(i,x)
}
I just cant find the answer to this question!
Sorry for such a basic question, I tried...
x <- c()
for (i in 1:5) x[length(x)] <- i
but it didn't work.
2012 Jun 08
3
upgrade from 1.0.5 to 2.1.7
Hello!
I want to upgrade the docevot-installation from v 1.0.5 to 2.1..7
Now I get the following executing
doveconf -n -c /etc/dovecot/dovecot.conf > /home/mail1/dovecot-2.conf
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:217: add auth_ prefix to all settings inside auth {} and remove the auth {} section completely
doveconf: Warning: Obsolete setting in
2016 Apr 20
2
Merging Data Sets with Full Outer Join
Hi All,
I would like to match some datasets. Both deliver variables AND cases
which might or might not be present in all datasets:
This sequence
Kunden <- Kunden_2011
Kunden <- merge(Kunden, Kunden_2012,
by.x = "Debitor", by.y = "Debitor")
Kunden <- merge(Kunden, Kunden_2013,
by.x = "Debitor", by.y = "Debitor")
2004 Nov 04
2
Bug report (PR#7341)
Full_Name: Dan B
Version: na
OS: na
Submission from: (NULL) (80.6.127.185)
I can't log into the bug tracker (I can't find where to register / login).
In this way I can't add the following context diff (hopefully in the right
order) for my changes to the matrix.Rd...
Hmm... I guess this should be a separate report anyway...
The first diff explains how the dimnames list should
2005 Feb 18
4
barplot and ylim - display problems
The following single line of code shows what I am trying to do, and the
problem I am having...
barplot(c(101,102,103),ylim=c(100,103))
The 'xaxis' is missing, and the grey bars 'fall off' the plot area. This
is generally ugly, and I would like to trim the bars (ideally they would
have a ragged appearance to show that I am 'zooming in').
I can see why what I am trying to
2004 Dec 21
4
Creating a vector of colours that are as different from one another as possible
Hi
I want to create a vector of colors that are as different from one
another as possible. ?rainbow states "Conceptually, all of these
functions actually use (parts of) a line cut out of the 3-dimensional
color space...". This suggests to me that the resulting colors are all
placed on this "line" and are equi-distant along it. The resulting
color palette is a range of
2002 Oct 25
4
points on a sphere
Not an R question directly, but has anyone got a method for placing a
moderately large number of (near) equi-spaced points on a sphere? I have a
nasty feeling platonic solids are needed for exact solutions and I'm
thinking of samplings involving around 200 - 1000 regularly-spaced points,
Thanks,
Richard Rowe
Richard Rowe
Senior Lecturer
Department of Zoology and Tropical Ecology, James
2007 Jun 20
2
Retrieve part of (top right corner) of a "plot.data.frame" plot?
Hi,
I believe this question has been asked before, but I cant find and don't
remember the answer.
The problem is simple, calling 'plot.data.frame(x)' gives a nice 'matrix of
scatterplots' for each pair of columns in x. for example;
x <-
data.frame(a=jitter(01:20),
b=jitter(20:01),
c=jitter(21:40),
d=jitter(rep(01,20)),
2004 Oct 13
3
data(eurodist) and PCA ??
If I perform PCA on the 'eurodist' data, should I get an accurate
geographic layout of the cities with biplot?
(barring inversions, i.e. their is no way to define north.. but you get
the idea...)
I have a complex distance matrix, and I am thinking about how to cluster
it and how to visualize the quality of the resulting clusters.
If I could 'see' the clusters in space I could
2006 Mar 03
4
Plotting FAQ?
Hi,
Since I started to make some 'final' plots of my data I found that I
have tons of questions related to 'the little things'. Rather than
bother the list with all the questions (ahem), or search the archives
for similar questions and translate the context, I would like to find a
FAQ for plotting in particular (and R programming in general). I know
for sure (searching the
2009 Dec 17
2
Which hist cell each value falls in?
Hi, all. I'm using hist() to obtain a vector of break values in an interval.
I then want to be able to identify which cell any value from another vector
falls in.
E.g. applying
> breaks
[1] -3.5 -3.0 -2.5 -2.0 -1.5 -1.0 -0.5 0.0 0.5 1.0 1.5 2.0
to
> x
[1] -3.74519666 -0.38183630 -1.22884247 -0.20971824 -0.30533939 -0.36271207
[7] -2.27513499 -2.23688653 -1.98827155 -1.48666274