Displaying 1 result from an estimated 1 matches for "callsperhour".
2003 Dec 16
1
Memory issues in "aggregate" (PR#5829)
...uit R.
[Previously saved workspace restored]
> source("script.R",echo=TRUE)
> rm(list = ls())
> cvar <- function(x) sd(x)/mean(x)
> library(sm)
Library `sm', version 2; Copyright (C) 1997, 2000 A.W.Bowman & A.Azzalini
type help(sm) for summary information
> callsperhour <- function(x) length(x)/12
> profiles <- subset(read.csv("profiles.csv"), hourofday >=
7 & hourofday <= 19 & dayofweek >= 1 & dayofweek <= 5)
> nrow(profiles)
[1] 100520
> attach(profiles)
> pseudo.hist <- aggregate(duration, list(Del...