Displaying 20 results from an estimated 120 matches similar to: "Agregar scatterplot a stat_contour con ggplot2"
2017 Jan 24
3
Convertir programa Matlab a R sacado de Threshold Models of Collective Behavior de Michèle Lai & Yann Poltera
Estimados Usuarios-R:
Estoy convirtiendo un programa en Matlab a R.
El original lo saqu de:
Lai, M., & Poltera, Y. (2009). Lecture with computer exercises: Modelling and simulating social systems with matlab. Tech. rep., Swiss Federal Institute of Technology (December 2009). 27.
Ahora estoy convirtiendo la siguiente funcin:
function sizes = gridsizes(N,varargin)
% gridsizes(N) calculates
2024 Jan 11
4
arrow on contour line
Hello,
I am drawing contour lines for a function of 2 variables at one level of
the value of the function and want to include a small arrow in any
direction of increase of the function. Is there some way to do that?
Below is an example that creates the contour lines. How do I add one small
arrow on each line in the direction of increase of the function (at some
central point of the contour
2009 Dec 22
0
ggplot2 version 0.8.5
ggplot2 ------------------------------------------------------------
ggplot2 is a plotting system for R, based on the grammar of graphics,
which tries to take the good parts of base and lattice graphics and
avoid bad parts. It takes care of many of the fiddly details
that make plotting a hassle (like drawing legends) as well as
providing a powerful model of graphics that makes it easy to produce
2009 Dec 22
0
ggplot2 version 0.8.5
ggplot2 ------------------------------------------------------------
ggplot2 is a plotting system for R, based on the grammar of graphics,
which tries to take the good parts of base and lattice graphics and
avoid bad parts. It takes care of many of the fiddly details
that make plotting a hassle (like drawing legends) as well as
providing a powerful model of graphics that makes it easy to produce
2012 Jan 17
1
pretty(range(data$z),10) Error
Hello, R-List,
I'm getting error messages when adding geom_density2d() [package ggplot2]:
============================================================================
Fehler in pretty(range(data$z), 10) :
NA/NaN/Inf in externem Funktionsaufruf (arg 1)
Zusätzlich: Warnmeldungen:
1: Removed 10000 rows containing missing values (stat_contour).
2: In min(x) : kein nicht-fehlendes Argument für
2010 Feb 19
0
ggplot2: version 0.8.6
ggplot2 ------------------------------------------------------------
ggplot2 is a plotting system for R, based on the grammar of graphics,
which tries to take the good parts of base and lattice graphics and
avoid bad parts. It takes care of many of the fiddly details
that make plotting a hassle (like drawing legends) as well as
providing a powerful model of graphics that makes it easy to produce
2010 Feb 19
0
ggplot2: version 0.8.6
ggplot2 ------------------------------------------------------------
ggplot2 is a plotting system for R, based on the grammar of graphics,
which tries to take the good parts of base and lattice graphics and
avoid bad parts. It takes care of many of the fiddly details
that make plotting a hassle (like drawing legends) as well as
providing a powerful model of graphics that makes it easy to produce
2008 Apr 04
0
ggplot2 - version 0.6
ggplot2 ------------------------------------------------------------
ggplot2 is a plotting system for R, based on the grammar of graphics,
which tries to take the good parts of base and lattice graphics and
avoid bad parts. It takes care of many of the fiddly details
that make plotting a hassle (like drawing legends) as well as
providing a powerful model of graphics that makes it easy to produce
2008 Apr 04
0
ggplot2 - version 0.6
ggplot2 ------------------------------------------------------------
ggplot2 is a plotting system for R, based on the grammar of graphics,
which tries to take the good parts of base and lattice graphics and
avoid bad parts. It takes care of many of the fiddly details
that make plotting a hassle (like drawing legends) as well as
providing a powerful model of graphics that makes it easy to produce
2008 Nov 21
0
ggplot2 - version 0.8
ggplot2 ------------------------------------------------------------
ggplot2 is a plotting system for R, based on the grammar of graphics,
which tries to take the good parts of base and lattice graphics and
avoid bad parts. It takes care of many of the fiddly details
that make plotting a hassle (like drawing legends) as well as
providing a powerful model of graphics that makes it easy to produce
2008 Nov 21
0
ggplot2 - version 0.8
ggplot2 ------------------------------------------------------------
ggplot2 is a plotting system for R, based on the grammar of graphics,
which tries to take the good parts of base and lattice graphics and
avoid bad parts. It takes care of many of the fiddly details
that make plotting a hassle (like drawing legends) as well as
providing a powerful model of graphics that makes it easy to produce
2012 Nov 08
1
A panel of contour plots through a iteration process
Dear all,
as you can see from the code I want to create *a panel of 11 contour
plots through
a iteration process*. I found a thread that address the issue of plotting
many contour.plots in the same device, but it does not address my problem!
I emphasize that the 11 contour plots must be appeared in the same device
through an iteration process and NOT individually!
par(mfrow=c(4,3)) # I want them
2010 Sep 22
1
agregar valores a una tablea de SQL
Hola a todos
Estoy aprendiendo a trabajar con el paquete de RMySQL, y a la vez con bases SQL,
así que a lo mejor no es tan complicado.
Quiero agregar valores, que genero en R, a una tabla de SQL más o menos la idea
es:
> ssql<-"INSERT INTO tabla1 (variableA, variableB) VALUES
(''valor1'',''valor2'')"
> dbSendQuery(conec, ssql)
pero
2018 Oct 22
2
Agregar variable entre dos fechas
Buenas,
Tengo un dataframe con 64.000 observaciones llamado Datos y las
variables "Id.Producto","Fecha"y "Rating" . La variable fecha tiene el
formato: 2016-12-28 (ymd). Quiero crear la variable:
"Rating.Semanal" - Esta variable tiene que ser la media agregada por
"Id.Producto" de la variable "Rating", solo teniendo en cuenta
2013 Dec 04
0
agregar meses con compras 0 cuando no aparece mes por no. de cliente
Sebastián
No se para que vas a usar los datos, pero yo no usaría ceros cuando el dato
no esta disponible ( me saltearía el último paso de la rutina que te
mando). Seguramente hay mejores y mas eficientes maneras de hacerlo en R
pero esta es una quizás no muy elegante:
original <- matrix( c(1 ,1 ,1,
1, 223, 2,
1, 224, 3,
3, 447, 1,
78, 335.75, 8,
2901, 186.3, 2,
2901, 886.18, 3,
2901,
2018 Mar 01
2
Agregar variable ponderando con otra
Buenas tardes,
Estoy intentando conseguir la media de la variable "numerocaracteres" por
"producto" de mi base de datos, datos. Lo estoy haciendo con la función
aggregate de este modo:
AggregatedData<- aggregate(numerocaracteres ~ producto,
data=datos, FUN=mean)
El problema me viene porque quiero utilizar una variable de ponderación de
modo que para construir la media
2015 Feb 02
2
Agregar variables
Hola a todos, a ver si me pueden echar una mano que estoy atascado.tengo estas dos tablas:
> head (intento1) codigo categoria talla num1 1 904 400 12 1 904 460 13 1 904 470 44 1 904
2017 Jun 12
2
Agregar a un data.frame de manera automatica
Buenas,
Tengo un monton de variables que quiero meter en un data.frame.
Las variables las he ido extrayendo de la siguiente manera
for(i in 1:240) {
#saco el inicio de cada refrigeracion
aux1 <- paste("inicio.refri", i, sep = ".")
assign(aux1,datos[which.max(datos[,109+i]),"LogDateTime"])
}
Y quiero buscar una funcion que me permita meter esas 240
2014 Nov 05
2
Agregar ruido a una serie de tiempo
Es posible agregar ruido a una serie de tiempo
Tengo series de tiempo que tienen un comportamiento funcional, quisiera
agregar ruido para que parezcan señales mas reales. Normalmente las series
de tiempo se suavizan a traves de filtros, es posible hacer el proceso
inverso con algun paquete de R
Gracias por la atención
CARLOS ANDRES PEREZ
[[alternative HTML version deleted]]
2012 Mar 20
3
Agregar variables de un dataframe
Hola a todos.Quiero saber si existe una forma mas apropiada para hacer esto:tengo un dataframe de 40 variables y una de ellas es de fechas.lo que quiero es una tabla agregada por suma y como criterio de agrupación esta variable de fecha.en sql sería algo así:
select fecha, sum(v1), sum(v2)..., sum(v39)from tablagroup by fecha;
mi problema es que las vn pueden ser de dimensión cambiante, es decir,