search for: hours

Displaying 20 results from an estimated 18548 matches for "hours".

2009 Mar 06
1
Interpreting GLM coefficients
Hi all, I?m fitting GLM?s and I can?t interprete the coefficients when I run a model with interaction terms. When I run the simpliest model there is no problem: Model1<-glm (Fishes ~ Year + I(Year^2) + Kind.Geographic + Kind.Fishers + Zone.2 + Hours + Fishers + Month, family = poisson(log)) # Fishes, Year, Hours, and Fishers are numeric, Kind.Geographic, Kind.Fishers, Zone.2 and Month are factors with 4, 3, 5 and 12 levels respectively. Model1$coefficients (whith Helmert contrasts): (Intercept) Year IYear^2 Ki...
2009 Dec 24
4
How to separate a data set by its factors
I have a large data set of airport data and wish to analyze it by hour and day of the week. hour and day of the week are factors. I can do something such as: histogram(~(Arrival.Val) | DAY*Hour, type="count", breaks=60) which displays the data the way I want it in principle, but the plots are too small to read. I added layout=c(7,6,4) to the argument list, but then I only get the first
2013 Jan 24
12
group by + sum
Hi.. I need some support... table: week_id, user_id, project_id, hours ex. => 33, 2, 1, 10 34, 2,1,15 33, 2, 2, 20 35, 3, 1,20 etc. Want to display a sum of hours per week_id per user_id I have: @hours = HourUser.includes(:user).group_by { |h| h.week_id } @hours.keys.sort.each do |hour| @hours[hour].collect(&:stunden).sum Hours are summed up, but not sorte...
2009 Oct 13
4
OT: pager pay
...t other companies out there. We pay 10% of your per-hour salary equivalent per every hour you carry it, whether it goes off or not. So for example someone making $55K/year works out to about $27 / hour (I think), so they'd get $2.70 for every hour they carry the pager outside of regular work hours. We are a company of about 25 people. My old employer Nortel still does it this way : - $27.50 for every 8 hour shift you carry it, outside of regular work hours. - any page is billed at time-and-a-half, minimum 1 hour billed - any page requiring you to go into work, is billed at time-and-a-half...
2011 Mar 06
2
Monte carlo help
...ly doing my project and I need some help. I am trying to schedule tutors for a study room where students come in and out for helps. My goal is to schedule the tutors to maximally accomodate to the flow of students that need help with math so that each tutor is given an appropriate(also consecutive) hours of schedule. I am using monte carlo simulation for this, however I have difficulties setting up constraints and variables. First I made some R codes concerning this to first get appropriate number of tutors for each hours (as the place opens from 8 am to 7 pm). I researched how many people are comi...
2011 Mar 24
5
subset and as.POSIXct / as.POSIXlt oddness
...s, Given this data: x <- seq(1,100,1) dx <- as.POSIXct(x*900, origin="2007-06-01 00:00:00") dfx <- data.frame(dx) Now to play around for example: subset(dfx, dx > as.POSIXct("2007-06-01 16:00:00")) Ok. Now for some reason I want to extract the datapoints between hours 10:00:00 and 14:00:00, so I thought well: subset(dfx, dx > as.POSIXct("2007-06-01 16:00:00"), 14 > as.POSIXlt(dx)$hour & as.POSIXlt(dx)$hour < 10) Error in as.POSIXlt.numeric(dx) : 'origin' must be supplied Well that did not work. But why does the following work? 1...
2008 Dec 09
1
Voicemail.conf : concise hour prompts
...ble substitution ; A or a Day of week (Saturday, Sunday, ...) ; B or b or h Month name (January, February, ...) ; d or e numeric day of month (first, second, ..., thirty-first) ; Y Year ; I or l Hour, 12 hour clock ; H Hour, 24 hour clock (single digit hours preceded by "oh") ; k Hour, 24 hour clock (single digit hours NOT preceded by "oh") ; M Minute, with 00 pronounced as "o'clock" ; N Minute, with 00 pronounced as "hundred" (US military time) ; P or p AM or PM ; Q...
2010 Mar 16
2
cron.hourly runs twice
For some reason I cannot fathom, cron.hourly runs twice each hour on one of my two CentOS-5.4 systems, as reported in /var/log/cron: ------------------------- Mar 16 14:01:01 helen crond[27833]: (root) CMD (run-parts /etc/cron.hourly) Mar 16 14:01:01 helen crond[27834]: (root) CMD (run-parts /etc/cron.hourly) ------------------------- On the other it just runs once, as expected.
2006 Mar 28
2
Fastest way of adding " " around multiline text in RADRAILS
lets say i have the following SQL in my database editor : When i paste it into rad rails i have to add quotes and the ''+'' symbol to the end of each line. It is very tedious. What is the best method? select timesheets.employee, sum(items.hours) as hours, sum(items.hours*timesheets.cost) as cost, sum(items.hours*timesheets.charge*decode(activities.chargetype,0,1,0)) as charge, sum(items.hours*decode(activities.chargetype,0,1,0)) as chargehours from timesheets, contacts, items, activities, employees, divisions where contacts.com_branch_id...
2007 Sep 06
2
HABTM Loops
So, I have a "schedules" table and a "hours" table, joined by a "hours_schedules" table. Think of the hours table as a category for when people will schedule themselves to work, which happens in weekly increments. At any given hour, there will be X number of people working. I need to represent each worker with an asterisk sym...
2008 Jul 24
1
time zone - best way to shift hours
...sing air pollution data in GMT where where peaks in emissions (say from road traffic sources) tend to occur at the same LOCAL time each day. I am interested in calculating mean concentrations by hour of day i.e. a diurnal profile, consisting of 24 hourly means. The profile would be clearer if all hours were in local time e.g. the daylight saving hours were shifted by +1 hour. This would ensure that the summer and winter profiles match up with those in emissions. I've looked though the various R documents/forum, but can't seem to identify the easiest approach to this. Any suggestions?...
2024 Feb 22
4
[Bug 1737] New: meta hour error with different time-zones
https://bugzilla.netfilter.org/show_bug.cgi?id=1737 Bug ID: 1737 Summary: meta hour error with different time-zones Product: nftables Version: 1.0.x Hardware: x86_64 OS: Debian GNU/Linux Status: NEW Severity: normal Priority: P5 Component: nft Assignee: pablo at netfilter.org
2003 Dec 18
4
after hours
When setting include => daytime|9:00-21:00|mo-fri|*|* How does this determine what is different between 9 AM and 9 PM And after hours ??? I want different hours on Saturday and Sunday And a different welcome message after hours Any help appreciated Regards Mick
2011 Jul 01
1
beginner question - effective way to chart sleep habits
Hi - beginning R user question here - each day, over the course of several months, I've tracked the time I go to bed, the time I wake up, and my hours spent sleeping. What would be a good way to display this information? I think it would be ideal to show something resembling a bar and whisker graph for each day that would show the interval of hours spent asleep (or perhaps just a bar "floating" against a backdrop showing the hours of...
2006 Jan 11
4
Shell Script Does not complete if rsync returns Code 24
.... I have a problem which I think is a result of this error: rsync warning: some files vanished before they could be transferred (code 24) at main.c(789) Any command after the rsync never gets executed if I get the above error. The file system is very large and we have engineers working at all hours so it is rare that this would complete with out the code 24 error. I am using rsync-2.6.4-3. I read the FAQ which describes how to write a wrapper. http://samba.anu.edu.au/rsync/FAQ.html The problem is that I have no clue what to do with this and or how to make it work with my script. Any help...
2006 Sep 20
1
hours() in 'chron': output != input
I encountered surprising (to me, at least) behavior while using 'hours()' in package 'chron.' I will be grateful if someone can point out my error or provide an explanation and intuitive solution (I suppose I could convert chron to a character vector and use substring, but I deal mostly with newbies and kludgy approaches don't inspire much confiden...
2006 Mar 01
6
Dtrace not working for processes running after a couple of hours
Hi, all, I''m a newbie on dtrace and the problem I am having is: For processes which have been running for more than a couple of hours, dtrace doesn''t seem to be able to trace(I waited for at least one hour and didn''t see anything happening). However, it works every time for a relatively new process. Any insight or help will be appreciated. This is my machine: SunOS costello 5.10 Generic sun4u sparc SUNW,...
2006 Apr 30
4
Adding values from a db the rails way?
I have a log table which has a column recording the number of hours worked on a task. So there''ll be multiple lines for a particular task. I want to retrieve the total number of hours worked on a task, so that I can include the information when one views the task details. I can write a sql query to do this easily enough, like "SELECT SUM(hours) A...
2013 Mar 13
1
Determining maximum hourly slope per day
...or that date, and the location. It would also be great if I could extract when during the day the maximum hourly slope occurred. I have been playing around with using the package lubridate to identify each hour of the day using something like this to create a separate column grouping the data into hours library(lubridate) data$date2 <- floor_date(data$date, "hour") I was then imagining something like this though this code doesn't work as written. ddply(data, .(location, date2), function(d) max(rollapply(slope(d$temp~d$date, data=d))) Essentially what I'm imagining is calcu...
2009 Mar 30
1
problem with the transition from winter to summer time usrmgr.exe and logon hours
Hello I have usrmgr.exe (form NT server ver.5.1) to manage user accounts of samba.(one year ago) I set logon hours from 8:00 to 16:00. My server (Fedora 7) changed the time correctly from winter to sumer (+ 1 hour). I chenged hardware time clock -w (write system clock to hardware clock synchro). But users cant' login at 8:00 morning !!!! I must back logon hours one hour back in usrmgr from 8:00 to 7:00 a...