[R-es] RV: fechas

2016-01-16 Thread Dr. José A. Betancourt Bethencourt
Disculpen, A veces me falla el otro correo y lo reenvío por este De: R-help-es [mailto:r-help-es-boun...@r-project.org] En nombre de jbetancourt Enviado el: sábado, 16 de enero de 2016 05:49 Para: 'Lista R' CC: luisfo89 Asunto: [R-es] fechas

Re: [R-es] fechas

2016-01-16 Thread JA Palazón
Hola: Creo que esta es la solución que buscas. datIn$semana <- week( mdy( datIn$CST ) ) datIn$semana plot( datIn$semana, datIn$PrecipitationIn, pch = 20, cex = 0.3 ) Te adjunto un fichero .Rmd para que lo verifiques in situ. Saludos El 16/01/16 a las 11:49, jbetancourt escribió: Estimados

Re: [R-es] heatmap de matriz diagonal inferior

2016-01-16 Thread Víctor Granda García
Hola, Si ya tienes la matriz, puedes usar la orden heatmap.2 del paquete gplots, que te hace el heatmap y además te dibuja los dendrogramas. Para ver la ayuda de la orden carga primero el paquete y luego ?heatmap.2 Si m es tu matriz, con: m[upper.tri(m)] <- t(m)[upper.tri(m)] consigues que la

[R] featurised matrix factorisation in R

2016-01-16 Thread Sandeep Rana
Hi, I want to perform non-negative featurised Matrix factorisation in ‘R’. Is there any ‘R' package or documentation that explains on this ? Regards, Sunny [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To

Re: [R] installing tikzDevices for R 3.2.3

2016-01-16 Thread Ben Bolker
Ranjan Maitra inbox.com> writes: > > On Fri, 15 Jan 2016 21:25:06 -0600 Ranjan Maitra inbox.com> wrote: > > > Hi, > > > > I wanted to install tikzDevices on a installation of > R (3.2.3) on a new machine. However, I am getting: > > > > > install.packages('tikzDevices') > > > > Warning

[R] The "cloud" CRAN server.

2016-01-16 Thread Rolf Turner
In another thread you wrote: One note: The "cloud" CRAN server is nowadays reachable as https://cloud.r-project.org and that is now the preferred URL. Should I understand from this that it is considered advisable that I use this URL as my default repository for downloading R and

Re: [R] Ordinal regression with some categories combined for some data

2016-01-16 Thread Duncan Mackay
Hi I have never seen germination experiments carried out as ordinal regression. Most germination tests are done using a nls model. For some species germination may only start a week after planting and then germinate over 2 or 3 days. If all germinated over the experimental period and there is no

Re: [R] rjags loading error

2016-01-16 Thread Duncan Mackay
Hi What version of JAGS are you using JAGS 4.0.0 is current library(rjags) Loading required package: coda Linked to JAGS 4.0.0 Loaded modules: basemod,bugs Regards Duncan Duncan Mackay Department of Agronomy and Soil Science University of New England Armidale NSW 2351 Email: home:

Re: [R-es] fechas

2016-01-16 Thread Carlos Ortega
Hola, Creo que no hemos terminado de entenderte. Voy a intentarlo nuevamente. - De cada día de la semana tienes un conjunto de medidas: Max_Temp, Min_Temp, - ¿Lo que quieres es agrupar estas medidas por semana?. Si agrupas, entonces como de cada tienes siete medidas de cada

Re: [R] installing tikzDevice for R 3.2.3

2016-01-16 Thread Ranjan Maitra
On Sat, 16 Jan 2016 04:45:58 + Ben Bolker wrote: > Ranjan Maitra inbox.com> writes: > > > > > On Fri, 15 Jan 2016 21:25:06 -0600 Ranjan Maitra > inbox.com> wrote: > > > > > Hi, > > > > > > I wanted to install tikzDevices on a installation of > > R (3.2.3) on a new

Re: [R] featurised matrix factorisation in R

2016-01-16 Thread Berend Hasselman
> On 16 Jan 2016, at 12:22, Sandeep Rana > wrote: > > Hi, > I want to perform non-negative featurised Matrix factorisation in ‘R’. Is > there any ‘R' package or documentation that explains on this ? > Well I don't know about the "featurised" but googling on

[R] use gcheckbox in gWidgets to switch on/off gframe

2016-01-16 Thread tonja . krueger
Dear All, I’m trying to create a GUI using gWidgets. I would like to have a checkbox to “switch on/off” different frames within the GUI. Ideally if one frame is switched on, all other frames would be switched off. Unfortunatly I only came as far as this:  library(gWidgets)  Population <-

Re: [R] installing tikzDevice for R 3.2.3

2016-01-16 Thread Martin Maechler
> Ranjan Maitra > on Fri, 15 Jan 2016 23:46:19 -0600 writes: > Yihui, Thanks very much! Explicitly specifying the RStudio > server works, and I have reinstalled tikzDevice > Best wishes, Ranjan Good, and thanks to Yihui indeed! One note:

[R] Aggregate records to 10min

2016-01-16 Thread Rolf Fankhauser
Hi I would like to aggregate a rainfall series with 1min records (timestamp and value of 0.1mm from a tipping bucket raingauge) to 10min values by summing up the values. # ptime is a POSIXlt datetime value with tz="GMT" t10min <- 600*floor(as.integer(as.POSIXct(data$ptime))/600) w10min <-

Re: [R] use gcheckbox in gWidgets to switch on/off gframe

2016-01-16 Thread Rolf Fankhauser
Hi Tonja I removed the cat(...) in the event handlers because cat writes TRUE or FALSE to the console but doesn't seem to return a value. Then it worked. You should initialize the frames to be disabled or the checkboxes to be checked that both states are consistant. Regards, Rolf

Re: [R] Ordinal regression with some categories combined for some data

2016-01-16 Thread Thierry Onkelinx
Dear Bob, I don't know any package that handles ordinal data the way you are looking for. I'd just would comment on the ordinal regression. Would the time of loss be the ordinal response? That seems inefficient to me when you have a lot of time points (= lots of ordinal classes). IMHO the

Re: [R] Panel plots for means of cyclical observations

2016-01-16 Thread Duncan Mackay
Hi Continuing on from the data.frame code for z that you supplied Using the data without summarizing first z$mth = format(date "%m") z$mth = format(date, "%m") xyplot(rainfall ~ as.numeric(mth), z, groups = yr, type = "l", auto.key = T, scales = list(x = list(at =