similar to: Creating appropriate time axis for data

Displaying 20 results from an estimated 9000 matches similar to: "Creating appropriate time axis for data"

2011 Dec 12
1
Help with charting time in seconds as HH:MM:SS on charts
Hello, I am dealing with data stored in a database as a 'time' object. I export the data from the database to a text file and utilize the 'time_to_sec()' function of the database to convert the human readable time (HH:MM:SS) to seconds so that I can use R to do analysis and create charts of the data. I do not need or use days or dates in the data, and the data range is from
2006 Jul 16
4
Calculations across multiple tables
I have a time tracking app where (pseudo-code) Client has_many Task has_many TimeRecord TimeRecord start_at, :datetime end_at, :datetime What I''m trying to do (and I have done using find_by_sql in the past) is get a sum of the timespan given by ended_at - begun_at for each client. Is it naive to imagine that AR''s calculations will span relations to provide a grouped
2007 Jun 22
1
Barchart legend position
I am using barchart to make charts for some data with a lot more functions and labels and such in the command. barchart(Freq ~ factor(HH), data = dataset1, group= year) So I have my data grouped by year and I get a legend at the top of graph, which is great cause I need the legend for the different years but it is a weird spot. So how can I manipulate the legend, ie. Move it, shrink it, do
2012 Feb 20
1
question on axis labels
Hi All, I'm trying to label my plot axis with times (HH:MM) that correspond to a numeric index (values 0:6) for my time variable. I'd like to plot "08:00", "12:00", and so on, instead of 0 through 6. I have used the following line of code: axis(1, 0:6, labels=c("08:00", "12:00", "16:00", "20:00", "24:00",
2009 Jun 20
4
Customize axis labels in xyplot
Hello, I'm plotting an xyplot where a continuous var recorded every min is plotted on y, and time expressed as HH:MM:SS on x, as follows : xaxis=list(tick.number=12,rot=90) lst=list(x=xaxis) xyplot(upt$LOAD_1 ~ upt$TIME, data=upt, type=c('g','p', 'r'), scales=lst) On the x-axis, every time label is drawn and the label quickly become unreadable as they overlap on each
2011 Apr 06
5
Need a more efficient way to implement this type of logic in R
I have cobbled together the following logic. It works but is very slow. I'm sure that there must be a better r-specific way to implement this kind of thing, but have been unable to find/understand one. Any help would be appreciated. hh.sub <- households[c("HOUSEID","HHFAMINC")] for (indx in 1:length(hh.sub$HOUSEID)) { if ((hh.sub$HHFAMINC[indx] == '01')
2020 Apr 30
2
Dovecot IMAPS : Thunderbird SSL cert issue / Evolution OK
Recently thunderbird and Dovecot IMAPS cannot agree on SSL however Evolution, on the exact same system, is working fine with the same accounts. Tried recreating the Dovecot cert and also the thunderbird accounts from scratch. The OpenSSL raw client works fine as well. Would someone also confirm the openssl commands to create a selfsigned cert for dovecot imaps. They cert created does work
2011 Apr 17
1
How to retrieve a vector of a data.frame's variable attributes?
Hi, I have a data.frame with 100 variables and I have assigned a "label", "units" and "category" attribute to each variable. I would like to reorder the variables in the data.frame by the "category" attributes but can't find a way. For example, the first variable is: > attributes(hh$aez) $levels [1] "coastal" "forest"
2020 Apr 30
5
Dovecot IMAPS : Thunderbird SSL cert issue / Evolution OK
Hello, This is a selfsigned cert. Both of the below methods were used. May I ask for 1. pointer to info setting up "intermediate certs" and where the certfile goes? The objective is to generate a self-signed cert and use it for just internal use with IMAPS dovecot. Separately, what are your thoughts as to why evolution works and thunderbird does not? Thank you, ==1 openssl
2020 Apr 30
4
Dovecot IMAPS : Thunderbird SSL cert issue / Evolution OK
I would expect the public cert to be imported as a "server" not an "auth" The attached image shows that TBird wants an httpS url for a webserver, for the source. Ages ago, I think it prompted for "do you want to trust this new cert" and YES added it (assuming that is the public key) to the server list.? A bit confused by this. <see attached thunderbird
2006 Sep 01
2
Compiling a package
Hello, I am in Win-XP R:2.3.0 latest rtools and Perl - of today I got Rcmdr.HH source code and tried to compile it myself copy all directory to R/R-2.3.0/src/library/Rcmdr.HH from R/R-2.3.0/src/library I typed: ..\..\bin\R CMD build --force --binary --auto-zip Rcmdr.HH * checking for file 'Rcmdr.HH/DESCRIPTION' ... OK * preparing 'Rcmdr.HH': * checking DESCRIPTION meta-information
2012 Apr 03
4
Recodificar datos faltantes
Hola a todos La cuestión es una tontería, me gustaría recodificar los NA (valores faltantes) por el valor 0 He probado varias cosas del estilo: > hh<-c(2,3,4,NA,4) > replace(hh,which(hh==NA),0)->hh > hh [1] 2 3 4 NA 4 Conocéis alguna forma. Saludos
2023 May 02
1
[External] Error in percentage stacked barplot
## you may need to install HH install.packagess("HH") library(HH) hellisheidi <- read.table(text=" Component Sample1 Sample2 Sample3 CaO 45 52 48 SiO2 25 22 18 Al2O3 15 11 14 TiO2 6 5
2008 Sep 12
1
Error in solve.default(Hessian) : system is computationally singular
Hello everyone, I'm trying to estimate the parameters of the returns series attached using the GARCH code below, but I get the following error message: Error in solve.default(Hessian) : system is computationally singular: reciprocal condition number = 0 Error in diag(solve(Hessian)) : error in evaluating the argument 'x' in selecting a method for function 'diag' Can
2012 Mar 06
1
How to eliminate for next loops in this script
I needed to compute a complicated cross tabulation to show weighted means and standard deviations and the only method I could get that worked uses a series of nested for next loops. I know that there must be a better way to do so, but could use some assistance pointing the way. Here is my working, but inefficient script: library(Hmisc) rm(list=ls()) load('NHTS.Rdata') day.wt <-
2008 May 27
2
HH.EXE location
This is related to my post about .chm where vitamin set me on the right path. http://forum.winehq.org/viewtopic.php?t=1026 Since then I reinstalled Ubuntu 8.04 and wine. While perusing the virgin registry I noticed the chm.file ...command key was: C:\windows\system32\hh.exe %1 There is no hh.exe located in that directory. The hh.exe file is located in the C:\windows\ directory. If wine uses the
2010 Jan 29
1
use zoo package with multiple column data sets
Readers, I am trying to use the zoo package with an array of data: file1: hh:mm:ss 1 hh:mm:ss 2 hh:mm:ss 3 hh:mm:ss 4 file2: hh:mm:ss 11 55 hh:mm:ss 22 66 hh:mm:ss 33 77 hh:mm:ss 44 88 I wanted to merge these data set so I tried the following commands: library(chron) library(zoo) z1<-read.zoo("path/to/file1.csv",header=TRUE,sep=",",FUN=times)
2023 May 03
1
[External] Error in percentage stacked barplot
Dear Richard,? Thank you very much for your reply. I went through the code and it worked. I was also able to change the colours.? I was wondering if I can change the legend position; instead of being in the bottom to be on the left side.? I tried the following but without any success strip = FALSE strip.right = TRUE likert(t(hellisheidi), ReferenceZero=.5, xlab="X-lab",
2008 Aug 18
1
ARMA(0,2) & GARCH(1,1) - code & hessian
Hello R-list-members, I'm trying to model ARMA(0,2) & GARCH(1,1) process using the code below, but according to my textbook, the estimated parameters are wrong. The MA-parameters should be negative. (I've got the same problem using garchFit()). Can anyone tell me what I'm doing wrong? And how can I calculate the hessian matrix? Many thanks, Desislava Kavrakova Code:
2009 Mar 17
2
Converting time from HH:MM:SS to only HH:MM
Hi all, I need to compare between times and put all similar times in specific 1 minute bins. Unfortunately the original data include seconds as well. My data is in HH:MM:SS format but I need it rounded to only HH:MM and trying in Excel to display "unique" records only does not work since the seconds are not unique. Is there an easy way using perhaps CHRON to change all from the