Displaying 20 results from an estimated 700 matches similar to: "SmoothTrend in OpenAir"
2011 Sep 02
2
Chemical Names in Data Frames
Greetings -
I am working on some data that contain chemical names with air concentrations, and I am creating a data frame with date/time and each chemical having its own column. However, these are organic chemicals (e.g. 1-butene, 2,3,4-trimethylbenzene etc). The package I am going to be using the data with is openair, and many of the great functions require you to specify a column name which
2017 Jun 16
2
Varios gráficos en una vista en OpenAir
Funciona perfecto!
Gracias Carlos.
Atte.
Novvier Uscuchagua
De: Carlos Ortega [mailto:cof en qualityexcellence.es]
Enviado el: viernes, 16 de junio de 2017 13:46
Para: Novvier Marco Uscuchagua Cornelio <novvier en outlook.com.pe>
CC: r-help-es en r-project.org
Asunto: Re: Varios gráficos en una vista en OpenAir
Hola,
Prueba entonces esto, que sí que funciona...
#-----------------------
2017 Jun 16
2
Varios gráficos en una vista en OpenAir
Hola Carlos,
Me parece que timePlot genera los gráficos en un formato diferente.
Al ejecutar grid.arrange genera el siguiente error:
Error in gList(list(list(plot = list(formula = value ~ date | default, :
only 'grobs' allowed in "gList"
Gracias.
Atte.
Novvier Uscuchagua
De: Carlos Ortega [mailto:cof en qualityexcellence.es]
Enviado el: viernes, 16 de junio de 2017 12:38
2024 Apr 30
1
function import file csv Openair
Dear Evelina Ballato,
? Tue, 30 Apr 2024 10:36:32 +0000
Evelina Ballato <evelball at arpa.piemonte.it> ?????:
> In the Openair package it is possible to restore the import csv file
> function?
This question is best addressed to the maintainer of the package (see
the output of maintainer("openair")) if not to their GitHub issues at
2024 Apr 30
1
function import file csv Openair
In the Openair package it is possible to restore the import csv file function? it has been removed in the latest versions.
Infinitely grateful
Evelina Ballato
Evelina Ballato
Arpa Piemonte
Dipartimento Territoriale
Piemonte Nord Est - sede di Omegna
************************************************************************
Riservatezza/Confidentiality
Ai sensi del Regolamento UE 679/2016, del
2014 Sep 25
2
Campo Fecha y paquete openair
Estoy trabajando con el paquete openair y leyendo los datos desde un CSV.
Entre los campos que estoy levantando existe uno con el formato dd/mm/YYYY
hh:mm por ejemplo:
19/02/2014 12:42 pm
Cuando quiero consultar por fechas con las funciones del paquete openair
datoscont10<-selectByDate(dato$actualizado, start="01/03/2014",
end="09/09/2014")
me lista el siguiente mensaje:
2014 Sep 25
4
Campo Fecha y paquete openair
Eduardo,
Me parece que el problema es el locale para TIME y la interpretación de %p,
para no tener ese problema lo que tengo que hacer en mi caso es cambiar
LC_TIME:
> Sys.getlocale()
[1]
"LC_COLLATE=Spanish_Argentina.1252;LC_CTYPE=Spanish_Argentina.1252;LC_MONETARY=Spanish_Argentina.1252;LC_NUMERIC=C;LC_TIME=Spanish_Argentina.1252"
> Sys.setlocale("LC_TIME",
2014 Sep 25
4
Campo Fecha y paquete openair
Sorry, la función por el formato que tienen tus fechas debe de ser
"dmy_hms()"...
Saludos,
Carlos Ortega
www.qualityexcellence.es
El 25 de septiembre de 2014, 18:14, Eduardo Bieñkowski <edukoski en gmail.com>
escribió:
> Si lo proceso con date<-ymd_hms(dato$actualizado) no me da error pero la
> transformación no es la correcta
>
> > head(dato$actualizado)
>
2017 Jun 01
4
errores con openair
Estimados como les va.
He tratado de profundizar sobre el paquete OPENAIR PARA MANEJO DE DATOS. Sin embargo, cada cosa que intento hacer, por muy pequeña que sea, me tira este error. En definitiva, no he podido hacer absolutamente nada¡¡
He probado de todo, pero ya me estoy aburriendo, a pesar que al parecer es una muy buena herramienta.
Saludos.
Error in as.POSIXct.default(x) :
do not know
2009 Jun 03
2
Create a time interval from a single time variable
I am trying to set up a data set for a survival analysis with time-varying covariates. The data is already in a long format, but does not have a variable to signify the stopping point for the interval. The variable DaysEnrolled is the variable I would like to use to form this interval. This is what I have now:
ID Age DaysEnrolled HAZ WAZ WHZ Food onARV
2008 Jun 19
1
PrettyR (describe)
#is there a way to get NA in the table of descriptive statistics instead of
the function stopping Thank you in advance
#data
x.f <- structure(list(Site = structure(c(9L, 9L, 9L, 9L, 9L, 9L, 9L,
9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L,
9L, 9L, 9L, 9L), .Label = c("BC", "HC", "RM119", "RM148", "RM179",
"RM185",
2012 Jul 18
2
loop searching the id corresponding to the given index (timestamp)
Hello,
I have the following loop for two data sets: diveData_2008 and
diveData_2009. It uses two other data: diveCond_all and fishTable. The
problem is at the point to identify the dive_id for the given index (index
is timestamp). It keeps on saying
for the1st loop
Error in fishReport$dive_id[i] <- dive_id : replacement has length zero
for the 2nd loop
Error in fishReport$dive_id[i + j] <-
2012 Feb 13
2
finding and describing missing data runs in a time series
Hi -
I am trying to find and describe missing data in a time series. For instance, in the library openair, there is a data frame called "mydata":
library(openair)
head(mydata)
date ws wd nox no2 o3 pm10 so2 co pm25
1 1998-01-01 00:00:00 0.60 280 285 39 1 29 4.7225 3.3725 NA
2 1998-01-01 01:00:00 2.16 230 NA NA NA 37 NA NA NA
3 1998-01-01 02:00:00
2008 Apr 29
1
merging multiple data frames with different numbers of rows
merge can only merge two objects at a time- I would like to merge more than
two objects at a time.
s.d <- structure(list(RiverMile = c(202L, 198L, 190L, 185L, 179L, 148L,
119L, 61L)), .Names = "RiverMile", row.names = c(NA, -8L), class =
"data.frame")
#s.d is all of the river miles that can occur in all of the data frames that
I want to put together
feb06 <-
2017 Jan 11
2
R 'base' returning 0 as sum of NAs
Dear R Team
The following line returns 0 (zero) as answer:
sum(c(NA_real_, NA_real_, NA_real_, NA_real_), na.rm = TRUE)
One would, however, have expected it to return 'NaN', as is the case with
function 'mean':
> mean(c(NA_real_, NA_real_, NA_real_, NA_real_), na.rm = TRUE)
[1] NaN
The problem in other words:
I have a vector filled with missing numbers. I run the
2008 Apr 29
1
data management (subsetting and recombining)
This is an example of two months of data from a twenty four month data set
that I would like to apply this too. These data are subsets of the same
stations throught time, but differing ones were included on different
sampling dates. I would like to subset these data and then put them
together as a big matrix with the by column being RiverMile. What is the
easiest way to proceed as this is a
2009 Apr 30
2
NA_real_ <op> NaN -> NA or NaN, should we care?
On Linux when I compile R 2.10.0(devel) (src/main/arithmetic.c in
particular)
with gcc 3.4.5 using the flags -g -O2 I get noncommutative behavior when
adding NA and NaN:
> NA_real_ + NaN
[1] NaN
> NaN + NA_real_
[1] NA
If I compile src/main/arithmetic.c without optimization (just -g)
then both of those return NA.
On Windows, using a precompiled R 2.8.1 from CRAN I get
NA for
2023 Apr 14
1
Possible inconsistency between `as.complex(NA_real_)` and the docs
Hi all,
Surprisingly (at least to me), `as.complex(NA_real_)` results in
`complex(real = NA_real_, imaginary = 0)` rather than `NA_complex_`.
It seems to me that this goes against the docs of `as.complex()`,
which say this in the Details section:
"Up to R versions 3.2.x, all forms of NA and NaN were coerced to a
complex NA, i.e., the NA_complex_ constant, for which both the real
and
2020 May 23
2
Should 0L * NA_integer_ be 0L?
I don't see this specific case documented anywhere (I also tried to search
the r-devel archives, as well as I could); the only close reference
mentions NA & FALSE = FALSE, NA | TRUE = TRUE. And there's also this
snippet from R-lang:
In cases where the result of the operation would be the same for all
> possible values the NA could take, the operation may return this value.
>
2011 Jun 27
3
Creating a Polar Plot with expanding points as radius increases
I'd like to create a polar plot similar to those created by the polarFreq
function in the openair package. However, this package seems to be specific
to wind speed and direction, and requires a "ws" (wind speed) and a "wd"
(wind direction) column. My data is unrelated to wind speed, but I'd like
to be able to get a plot that does what polarFreq's plots do; I'd