depth == max(df$diepte)) {
x <- getTotals(df, depth)
} else {
x <- getTotals(x, depth)
}
}
Cheers!!
Albert-Jan
~~
All right, but apart from the sanitation, the medicine, education, wine, public
order, irrigation, roads, a fresh water system, and public health, wh
ierry
> -Oorspronkelijk bericht-
> Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> Namens Albert-Jan Roskam
> Verzonden: woensdag 16 november 2011 14:28
> Aan: R Mailing List
> Onderwerp: [R] hierachical code system
>
> Hi,
>
> I have a hierachi
Hi,
I have a hierachical code system such as the example below (the printed data
are easiest to read). I would like to write a function that returns an
'imputed' data frame, ie. where the the parent values are calculated as the sum
of the child values. So, for instance, STAT.01.01.06 is the s
3 matches
Mail list logo