fn_freqw
fn_freqw.Rd
This is a methodological function to calculate the percentage frequencies of weights by model adjusted using the robust regression approach.
Arguments
- df
A vector of data values.
- breaks
A vector with class intervals.
- right
Logical, indicating if the intervals should be closed on the right (and open on the left) or vice versa
Details
The function calculates the relative frequency distribution using the function `fn_freq` from `Morefi` package.
For `fn_freq`, the breaks object must be defined. For this work, a sequence of breakpoints of equal distance is used. To incorporate the number of non-weighted values wi=1, a class interval **1** is added to the sequence.
For `fn_freq`, the breaks object must be defined. For this work, a sequence of breakpoints of equal distance is used. To incorporate the number of non-weighted values wi=1, a class interval **1** is added to the sequence.