Displaying 16 results from an estimated 16 matches for "stat_density2d".
2014 Jan 19
2
stat_density2d de ggplot2
Hola comunidad,
tengo el siguiente problema con la funcion stat_density2d (estimacion de
densidad 2d.) del paquete ggplot2
stat_density2d (mapping = NULL, data = NULL, geom = "density2d", position
= "identity", na.rm = FALSE, contour = TRUE, n = 100, ...)
de esta función requiero ver el cálculo númerico de la estimación de la
densidad,
cuento co...
2012 Apr 18
1
ggplot2 stat_density2d issue.
Hello,
I'd be very grateful for help with some ggplot2's stat_density2d issues.
First issue is with data limits. xlim() and ylim() doesn't seem to
work; instead, estimates (and plotting) seems to be constrained to
range(x), range(y) no matter what i do. The documentation says i can
pass in kde2d's parameters to ... but pussing kde2d's "lims" para...
2014 Jan 19
0
stat_density2d de ggplot2
...datos. Por lo que veo usa la función de la librería MASS
kde2d, para ver que hace esta escribe kde2d en la consola.
Espero te sirva.
Daniel
El 18 de enero de 2014, 22:35, marta Garcia <marta000garcia@gmail.com>escribió:
> Hola comunidad,
> tengo el siguiente problema con la funcion stat_density2d (estimacion de
> densidad 2d.) del paquete ggplot2
>
>
>
> stat_density2d (mapping = NULL, data = NULL, geom = "density2d", position
> = "identity", na.rm = FALSE, contour = TRUE, n = 100, ...)
>
> de esta función requiero ver el cálculo númerico de la...
2009 Dec 22
0
ggplot2 version 0.8.5
...any set of values in the limits of any aesthetic.
New features (minor)
* aesthetics: when _setting_ an aesthetic, you may only set it to a single
value. This was always a good idea, but now it is enforced with an
informative error message.
* stat_contour bump up default number of contours
* stat_density2d: make number of grid points used for density estimation
user controllable (implements #9)
* geom_bin now allows you to set whether bins used intervals of the form
(a, b] or [a, b) with the "right" parameter (implements #20)
* geom_path: linejoin, lineend and linemitre are now user con...
2009 Dec 22
0
ggplot2 version 0.8.5
...any set of values in the limits of any aesthetic.
New features (minor)
* aesthetics: when _setting_ an aesthetic, you may only set it to a single
value. This was always a good idea, but now it is enforced with an
informative error message.
* stat_contour bump up default number of contours
* stat_density2d: make number of grid points used for density estimation
user controllable (implements #9)
* geom_bin now allows you to set whether bins used intervals of the form
(a, b] or [a, b) with the "right" parameter (implements #20)
* geom_path: linejoin, lineend and linemitre are now user con...
2014 Jan 30
2
objecto ggplot
...ap.base, extend = "panel") + coord_cartesian()
## Display a message
cat("Creating a ggplot object ...\n")
## Various display settings for the ggplot object
main.plot <- map.ggmap +
## Create a density plot
## based on the ggmap's crime data example
stat_density2d(aes(x = longitude,
y = latitude,
fill = ..level..,
alpha = ..level..),
size = 0.01,
bins = 15, ## Change and experiment with no. of bins
data = data.df,...
2010 Mar 13
0
ggplot2: version 0.8.7
...re set manually
* scale_area: gains a legend argument like all other scales
* scale_colour_brewer: gains na.colour argument to set colour of missing
values
* stat_bin2d: fix typo in breaks calculation
* stat_bin: deals with floating point rounding issues using the same
algorithm as base::hist
* stat_density2d: fixed bug when contour = FALSE (Thanks to Takahashi Kohske)
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
_______________________________________________
R-packages mailing list
R-packages at r-project.org
https://stat.ethz.c...
2010 Mar 13
0
ggplot2: version 0.8.7
...re set manually
* scale_area: gains a legend argument like all other scales
* scale_colour_brewer: gains na.colour argument to set colour of missing
values
* stat_bin2d: fix typo in breaks calculation
* stat_bin: deals with floating point rounding issues using the same
algorithm as base::hist
* stat_density2d: fixed bug when contour = FALSE (Thanks to Takahashi Kohske)
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
_______________________________________________
R-packages mailing list
R-packages at r-project.org
https://stat.ethz.c...
2013 Jan 28
1
Adding 95% contours around scatterplot points with ggplot2
Hi all,
I have been looking for means of add a contour around some points in a
scatterplot as a means of representing the center of density for of the
data. I'm imagining something like a 95% confidence estimate drawn around
the data.
So far I have found some code for drawing polygons around the data. These
look nice, but in some cases the polygons are strongly influenced by
outlying points.
2008 Oct 05
0
ggplot2 - version 0.7
...* scale_date: new limits argument to set axis limits
* scale_discrete: all discrete scales accept breaks argument
* scale_discrete: all discrete scales have limits and labels argument
to better control legends
* scale_discrete: character and logical vectors now reliably treated
as discrete scales
* stat_density2d, geom_density2d: density2d used consistently (instead
of density_2d in some places)
Improved aesthetics
* coord_polar: more tweaks to grid lines to enhance appearance
* coord_polar: new expand argument to control whether axes should be
expanded outside the range of the data
* geom_contour, geom_s...
2008 Oct 05
0
ggplot2 - version 0.7
...* scale_date: new limits argument to set axis limits
* scale_discrete: all discrete scales accept breaks argument
* scale_discrete: all discrete scales have limits and labels argument
to better control legends
* scale_discrete: character and logical vectors now reliably treated
as discrete scales
* stat_density2d, geom_density2d: density2d used consistently (instead
of density_2d in some places)
Improved aesthetics
* coord_polar: more tweaks to grid lines to enhance appearance
* coord_polar: new expand argument to control whether axes should be
expanded outside the range of the data
* geom_contour, geom_s...
2008 Apr 04
0
ggplot2 - version 0.6
...nks to Bob
Muenchen for pointing this out!)
* stat_bin: no longer incorrectly warns that binwidth is unspecified
when breaks are set
* stat_bin: now takes origin argument to manually specify origin of
first bin (default is round_any(min(range), bin_width, floor))
* stat_boxplot, stat_contour, stat_density2d, stat_qq, stat_density:
na.rm parameter added to the following statistics (thanks to Leena
Choi for suggesting this)
* stat_function: new, makes it easy to superimpose a function on the plot
* stat_qq: axes flipped to agree with base R
* stat_qq: now uses sample aesthetic to select variable f...
2008 Apr 04
0
ggplot2 - version 0.6
...nks to Bob
Muenchen for pointing this out!)
* stat_bin: no longer incorrectly warns that binwidth is unspecified
when breaks are set
* stat_bin: now takes origin argument to manually specify origin of
first bin (default is round_any(min(range), bin_width, floor))
* stat_boxplot, stat_contour, stat_density2d, stat_qq, stat_density:
na.rm parameter added to the following statistics (thanks to Leena
Choi for suggesting this)
* stat_function: new, makes it easy to superimpose a function on the plot
* stat_qq: axes flipped to agree with base R
* stat_qq: now uses sample aesthetic to select variable f...
2015 Oct 20
3
Mapa de Calor con Google Maps de fondo
Hola:
Estoy intentando generar un mapa de calor que muestre, dadas unas coordenadas geográficas determinadas, el ?calor? (cuanto mas alto el valor de esta variable mas rojo y cuanto mas bajo mas azul) de una determinada variable.
Es decir con unos datos como estos:
x y z
-3,716575 40,41743 3.169
-3,710735
2011 Feb 28
3
re-arranging data to create an image (or heatmap)
Let me start by introducing myself as a biologist with only a little
knowledge about programming in matlab and R. In the past I have succesfully
created my figures in matlab using the hist3d command, but I have not access
to matlab right now and would like to switch to R.
I have used the plot command to create a figure of my data and it does
almost what I want it to do.
My data matrix looks like
2014 Jan 30
2
objecto ggplot
Para este ejemplo especifico:
Deseo saber si tmp genera un objecto ggplot
> tmp <- ggplot(mtcars, aes(x = hp, y=mpg)) + geom_point()
El objecto o variable tmp, devuelve una lista y un gráfico, la clase dice
ser ggplot,
>class(tmp)
[1] "gg" "ggplot"
> typeof(tmp)
[1] "list"
El 30 de enero de 2014, 13:00, daniel