Displaying 1 result from an estimated 1 matches for "count_table".
Did you mean:
bound_table
2005 Feb 11
1
function table
...lem is the following:
I have a large database of insurance-damage data and want to model the
frequency of these events. So to fit a distribution on my frequency-data I
want to count the number of events in each month via the date of occurrence.
Therefor I use this command which works very well:
count_table <- table(months(date_occ),years(date_occ))
But there is another column in my database called "weight". So I don't want
to count EACH event by "1", some are e.g. only counted by "half an event".
How could I modify my table function, that the output is not a si...