Displaying 20 results from an estimated 200 matches similar to: "usando RasterBricks"
2013 Jul 17
2
Using RasterBricks
Dear listers,
I am trying to create a RasterLayer of the values of a rasterbrick object.
The rasterbrick object has, for example, 100cells
library(raster)
r <- raster(ncol=10, nrow=10)
r[]=1:ncell(r)
s <- brick(r,r,r)
s <- s * 1:3
Each cell of the rasterfinal will have the AREA UNDER CURVE formed by the
values in each cell of the three original rasters.
For example:
s[4] has the
2018 Jun 01
1
rasterize SpatialPolygon object using a RasterBrick object
I am trying to rasterize a SpatialPolygon object by a RasterBrick object.
The documentation of the raster::rasterize function explicitly says this is
allowed. Here's what I am doing
# load the raster package
library("raster")
# create a raster brick object using the example from the brick
function documentation
b <- brick(system.file("external/rlogo.grd",
2018 May 24
2
Problem with adding a raster and a brick
Hi,
I seem to be having a problem adding the following two raster objects
together - one is a rasterLayer, the other is a rasterBrick. The extent,
resolution, and origin are the same, so according to my understand it
should work. The objects look like so:
> obs.clim
class : RasterLayer
dimensions : 60, 200, 12000 (nrow, ncol, ncell)
resolution : 0.5, 0.5 (x, y)
extent : -70,
2013 Jul 17
0
Using RasterBricks
Hola Jorge,
> My idea was to use 'stackApply':
Para esto que necesitas es más sencillo usar calc. Si quieres usar
stackApply, debes indicar rep(1, 3) como índices en lugar de sólo 1.
Así, la función será (los ... son necesarios en stackApply):
myFUN <- function(y, ...) {
x <- seq_along(y)
trapz(x, y)
}
Y aplicada con calc:
FINAL <- calc(s, myFUN)
o con
2013 Jul 23
1
Libreria contaminacion ambiental
Hola, perdón por la simplicidad de la pregunta, pero no he encontrado
apenas información al respecto y a ver si alguien me podría ayudar.
Conoce alguien la existencia de alguna librería para el análisis de ruidos
(independientemente de la fuente de éstos) para estudios de contaminación
ambiental
Un saludo y gracias
[[alternative HTML version deleted]]
2013 Jul 23
0
Libreria contaminacion ambiental
Hola,
Carlos Ortega hizo un completo análisis del ruido en Madrid utilizando el paquete OpenAir (http://www.openair-project.org/).
Enlace a esta librería y a presentación y a vídeo de la sesión en la página del Grupo Local de Madrid en R-hispano (sesión del 16 de mayo 2013):
http://r-es.org/Grupo+de+Inter%C3%A9s+Local+de+Madrid+-+GIL+Madrid&structure=Comunidad
Saludos,
Pedro
El 23/07/2013
2013 Apr 26
1
[newbie] how to find and combine geographic maps with particular features?
SUMMARY:
Specific problem: I'm regridding biomass-burning emissions from a
global/unprojected inventory to a regional projection (LCC over North
America). I need to have boundaries for Canada, Mexico, and US
(including US states), but also Caribbean and Atlantic nations
(notably the Bahamas). I would also like to add Canadian provinces and
Mexican states. How to put these together?
General
2013 Jun 14
2
Argumento "Puntos suspensivos"
Hola a tod en s:
Tengo una función del tipo
f <- function(...) {
args <- list(...)
# validaciones
}
En la cual debo realizar una validación diferente para cada argumento que se pase, y no consigo identificar los nombres de los argumentos con names(args).
¿Alguna idea o sugerencia acerca de cómo realizar este tipo de validaciones?.
Gracias.
Salud!
Eva
2008 May 30
6
Session problem
Hello everyone,
I am just starting a project for school in RoR and I am a complete
n00b ^^
Here''s my problem :
I need to get the user''s login stored in the session but for some
reason I cannot.
Here''s my login method code :
def login
if request.post?
@user = User.find_by_username(params[:login])
if @user and @user.password_is? params[:password]
2013 Jul 19
0
Resumen de R-help-es, Vol 53, Envío 26
Gracias a todos, finalmente instalando primero el libxml2-dev y luego el dplR, funciono
----- Mensaje original -----
De: r-help-es-request en r-project.org
Para: r-help-es en r-project.org
Enviados: Miércoles, 17 de Julio 2013 12:59:47
Asunto: Resumen de R-help-es, Vol 53, Envío 26
Envíe los mensajes para la lista R-help-es a
r-help-es en r-project.org
Para subscribirse o anular su
2014 Feb 06
2
Consulta spplot
Buenas tardes,
Estoy probando a leer archivos netcdf (como raster stack) y crear
animaciones de datos de modelos climáticos y estaba utilizando para
generar las imágenes spplot(). Estás imágenes tienes superpuestas
varias capas de imagenes, el mdt de base, nubosidad, precipitación y
nieve. Mi pregunta es la siguiente,¿es posible visualizar la leyenda
de cada una de las capas?
Actualmente solo
2017 Jul 05
2
Deep learning y redes neuronales
Buenas,
He estado leyendo publicaciones sobre las redes neuronales ( y el deep learning) pero no consigo entender el tipo de operaciones que se hacen en cada una de las capas de las redes neuronales. Necesito alguna explicacion más para tontos. ¿Alguien entiende bien lo que hace una red neuronal?
Por ejemplo, un randomForest hace el ensamble por boostrap de árbole sde clasificación. Un SVM crea
2018 May 24
0
Problem with adding a raster and a brick
On Thu, 24 May 2018 at 18:41 Mark R Payne <markpayneatwork at gmail.com> wrote:
Hi,
I seem to be having a problem adding the following two raster objects
together - one is a rasterLayer, the other is a rasterBrick. The extent,
resolution, and origin are the same, so according to my understand it
should work. The objects look like so:
> obs.clim
class : RasterLayer
dimensions : 60, 200,
2018 Jun 01
0
Problem with adding a raster and a brick
This is now fixed in development on RForge, you can try it out by
installing from there, or from the Github mirror with
devtools::install_github("rforge/raster/pkg/raster").
(To get fixes into raster email the maintainer directly - you might not get
a response but it'll be addressed).
Cheers, Mike.
On Thu, 24 May 2018 at 20:08 Michael Sumner <mdsumner at gmail.com> wrote:
2010 Aug 05
3
eval-parse and lme in a loop
Hi everybody,
I'm having trouble getting an eval-parse combination to work with lme in a for loop.
Consider the code below. The call to lme outside the loop works. The call to aov inside the loop works, but the call to to lme inside the loop does not.
The latter fails with
Error in model.frame.default(formula = ~meanCol + Group + c1 + c3 + Subject, :
variable lengths differ (found for
2006 May 24
2
data.frame
Dear all,
Does any one knows why should I get the following error message, when trying
to do a simple data.frame??
DataF<-data.frame(Subject,BiomR,Spp,Capas,Litter,Herbs,LitterD,MaxCanH,DDifS
p,DSSp,Slope, CanDens,NearestSp)
Erro em data.frame(Subject, BiomR, Spp, Capas, Litter, Herbs, LitterD, :
arguments imply differing number of rows: 202, 0
The data I am using
2014 Jan 30
2
objecto ggplot
Daniel,
Disculpa si no entiendo, pero, entonces un objecto ggplot en en realidad
una función
y no un gráfico
El 30 de enero de 2014, 11:09, Marta Garcia <marta000garcia@gmail.com>escribió:
> Sí, devuelve Error: No layers in plot, no le he agregado capas
> por eso el error, la funcion me dice que es un gráfico
>
>
> El 30 de enero de 2014, 10:31, José María Mateos
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
2012 Nov 02
0
Grupo de Usuarios de R de Madrid - "Pongamos que hablo del aiRe de Madrid"... (*con R*)...
Hola,
Para los que estén interesados, acabo de incluir el link a la presentación
que hice antes de ayer en la reunión del "Grupo de Usuarios de R de Madrid".
Está en la página del grupo dentro de la de la Asociación:
http://r-es.org/tiki-index.php?page_ref_id=43
En cualquier caso, el link es este:
http://prezi.com/fipcfjen_fck/pongamos-que-hablo-del-aire-de-madrid/
Saludos,
Carlos
2003 Nov 12
0
Usando Tcltk com o Sistema R
Fiz um arquivo em tcltk para ser utilizado no Sistema R, por?m estou
necessitanto neste arquivo de chamar uma fun??o do R, ent?o saberia me
informar como chamo uma fun??o do R em um arquivo TclTk?
Algu?m poderia me d? alguma sugest?o quanto a utilizar a liguagem TclTk
(com o comando .Tcl("comando TclTk")) ou utilizar o pr?prio pacote Tcltk do
sistema R? Qual a melhor op??o? Por