Skip to content

(no subject)

3 messages · Lynn Hutchings, jim holtman, Rui Barradas

#
What are your expectations as to what
"length(names(tth$Mins.to.hospital))" should be returning?  You need
to at least provide some data so we can reproduce the error, or
'str(tth)'.  My guess is that tth$Mins.to.hospital does not have any
'names' attributes and therefore your error.  So what is the problem
you are trying to solve with the expression that is giving the error?

On Fri, Aug 24, 2012 at 8:51 AM, Lynn Hutchings
<lynn.hutchings at ndorms.ox.ac.uk> wrote:

  
    
#
Hello,

You must post a data example to get some help. Use

dput( head(tth, 50) )  # paste the output of this in a post

As for the warnings, they are not errors. They are telling you that it 
can't make a replacement. substitute(x) is probably returning NULL and 
the aggregate return value's column names are ill formed, 'count..' 
where it should be 'count.Mins.to.hospital'.

Anyway, post a data example.

Hope this helps,

Rui Barradas

Em 24-08-2012 13:51, Lynn Hutchings escreveu: