Hola, ¿qué tal?
Copio de
http://stackoverflow.com/questions/30018098/how-to-convert-utm-coordinates-to-lat-and-long-in-r
(que es fácil de ubicar buscando en Google algo así como "r utm to lat
lon"):
library(rgdal)
sputm <- SpatialPoints(randompoints, proj4string=CRS("+proj=utm
+zone=???
Hola a todos:
Estoy haciendo un estudio de la contaminación atmosférica en Granada con el
paquete openair y quiero hacer un mapa de situación con ggmap. Tengo dos
problemas, el primero es que me han pasado las coordenadas de las
estaciones de medida y de los complejos industriales en UTM y la
Hola,
Mira este ejemplo:
http://stackoverflow.com/questions/11422493/using-r-how-do-i-create-a-time-series-object-with-dates
Tienes que convertir alguna de tus columnas a un objeto "as.Date()".
Lo que puedes hacer es algo así:
#---
library(lubridate)
datos.ag$anioMesDia <-
The handlers for SIGUSR1 and SIGUSR2 are really intended as an
emergency break, not for ordinary programming. These could be
rewritten to be safer but that would make them less immediate.
Followups would be more appropriate on R-devel.
Best,
luke
On Mon, 1 Aug 2016, Ming Li wrote:
Hi all,
Hola.
Tengo una problema con una transformación que hace ts que no logro entender
si debe preocuparme o no... porque no sé que hace. Tengo un objeto
> class(datos.ag)
"data.table" "data.frame"
> head(datos.ag)
Año MesNro MesValores Unidades Aportes CantLaboratorios CantSeg
CantProductos
The rnoaa package has the function ncdc_stations which can be used to
search for stations in a region. You could use that giving it an
extent around the coordinates that you are interested in (add and
subtract a small amount from the coordinates), then pass the results
from that function
Thanks, Roy. I will do a search. In addition, how to look at spatial
patterns from this netcdf file? Thanks again.
On Mon, Aug 1, 2016 at 11:46 AM, Roy Mendelssohn - NOAA Federal <
roy.mendelss...@noaa.gov> wrote:
> Hi Lily:
>
> If you download the vignette to my xtractomatic package (
>
Hi Lily:
If you download the vignette to my xtractomatic package
(http://coastwatch.pfeg.noaa.gov/xtracto/index.html) there are any number of
examples using ggplot2 to make maps from netcdf data,
HTH,
-Roy
> On Aug 1, 2016, at 10:35 AM, lily li wrote:
>
> Hi all,
>
>
Hi all,
I can read the data, but how to plot it using ggplot or something? In this
case, x-axis should be longitude, and y-axis should be latitude. I tried to
plot using raster function, but the x and y axes are from 0 to 1.
Thanks again.
The code is like this:
pre1 =
Microsoft's version of CRAN (called of course, MRAN) has hyperlinked listings of
packages at https://mran.microsoft.com/packages/ and
Task Views at https://mran.microsoft.com/taskview/
DataCamp.com has a search engine for functions in CRAN and BioConductor (11095
packages) at
If I prepend with "R" and an R function name in a Google search I generally see
a link to a manual page at
https://stat.ethz.ch/R-manual/R-devel/library/base/html/
David
Sent from my iPhone
> On Aug 1, 2016, at 8:04 AM, Christopher W Ryan wrote:
>
> No, not off the
"When giants move, they don't move lightly"
Presumably, Revolution's portfolio of web-domains got assimilated and
redirected to the corporate homepage. There are valid concerns that might
explain such a move. You might as some of the Revolution/Microsoft about the
possibility of a resurrection
Hi
I need some advice. Note: I do not know anything from C apart from my 2
days of research.
I am currently trying to make meaning of the modelmatrix function (written
in C) and called from R function model.matrix() via .External2.
In trying to view the source code (in R) for model.matrix(), I
No, not off the grid. I just don't follow developments with Revolution
or with Microsoft.
I was merely lamenting that inside-r URLs, that used to get me quickly
to the R help pages (even if I was at a computer that did not have R),
now re-direct to the corporate MRAN homepage, with the help pages
Hi
Long time ago I (with some help from R help list) made following function,
which is maybe less comprehensive as ls.str but I find it quite handy.
ls.objects <- function (pos = 1, pattern, order.by)
{
napply <- function(names, fn) sapply(names, function(x) fn(get(x,
pos = pos)))
Dear all,
I have a set of coordinates. Is it possible to extract climate data
(temperature and precipitation) by coordinates using the R packages such as
rnoaa?
For example;
out <- ncdc(datasetid='ANNUAL', stationid='GHCND:USW00014895',
datatypeid='TEMP')
But instead of stationid can I pass a
That's what happens when I answer too fast... Sorry for that. Next time
I'll read more carefully!
Ivan
--
Ivan Calandra, PhD
Scientific Mediator
University of Reims Champagne-Ardenne
GEGENAA - EA 3795
CREA - 2 esplanade Roland Garros
51100 Reims, France
+33(0)3 26 77 36 89
On 01/08/2016 9:28 AM, Marco Silva wrote:
Sometimes I comeback with a session months later. I would like to know
the type of variables I have in. So I tried:
sapply(ls(), typeof)
ago_ts ago_ts.1 ago_ts.2annualy conn
"character""character"
Maybe "mode" or "class" instead of "typeof"?
Ivan
--
Ivan Calandra, PhD
Scientific Mediator
University of Reims Champagne-Ardenne
GEGENAA - EA 3795
CREA - 2 esplanade Roland Garros
51100 Reims, France
+33(0)3 26 77 36 89
ivan.calan...@univ-reims.fr
--
Sometimes I comeback with a session months later. I would like to know
the type of variables I have in. So I tried:
> sapply(ls(), typeof)
ago_ts ago_ts.1 ago_ts.2annualy conn
"character""character""character""character""character"
That seems like sage advise :)
Thanks
Stefan
On 29 July 2016 at 22:06, Jeff Newmiller wrote:
> Having experienced some frustration myself when I first started with R
> many years ago, I can relate to your apparent frustration. However, if you
> would like to succeed
The 'meta' and 'metafor' packages provide this. See also the meta-analysis task
view: https://cran.r-project.org/web/views/MetaAnalysis.html (especially:
"Investigating small study bias").
Best,
Wolfgang
--
Wolfgang Viechtbauer, Ph.D., Statistician | Department of Psychiatry and
Hi, I am conducting a meta analysis of continuous data and I cant find the
code to curry out Egger’s test, for testing the funnel plot asymmetry.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and
Not sure it would be any smarter, but what about:
a <- c(5.78, 5.79,5.86)
n <- 10
matrix(rep(a,each=n), nrow=n)
That way, it would be easy to build a function with 'a' and 'n' as
arguments.
HTH,
Ivan
--
Ivan Calandra, PhD
Scientific Mediator
University of Reims Champagne-Ardenne
GEGENAA -
Hi Ross,
On 31 July 2016 at 09:11, Ross Chapman wrote:
> I have tried running the cpquery in the debug mode, and found that it
> typically returns the following for instances where the conditional
> probability is returned as 0:
>
>> event matches 0 samples out
Dear r-users,
I have a set of numbers that I would like to repeat for let say 10 times
and each number is repeated by vertically.
I tried this:
a <- c(5.78, 5.79,5.86)
tran_a <- t(matrix(rep.int(a, 10),3))
dput(tran_a)
structure(c(5.78, 5.78, 5.78, 5.78, 5.78, 5.78, 5.78, 5.78, 5.78,
5.78,
Hi all,
I am working on a bug, which running PLR on HAWQ. The process hung and
can't be terminated.
>From my investigation, it seems signal handler 'Rf_onsigusr1' trigger a
malloc/free deadlock.
The calling stack is below.
Thread 1 (Thread 0x7f4c93af48e0 (LWP 431263)):
#0 0x7f4c9015805e
27 matches
Mail list logo