LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
! Misplaced alignment tab character &.
<argument>  w_{i}^{(r)} = \begin {cases} w_{i} &
                                                 \textit {if } i \textit { n...
l.798 }{}
         
! Misplaced alignment tab character &.
<argument> ...ilde {h} \\ a_{\tilde {h} g} w_{i} &
                                                   \textit {if } i \textit {...
l.798 }{}
         
! Misplaced alignment tab character &.
<argument> ...{ but not in random group } g \\ 0 &
                                                   \textit {if } i \textit {...
l.798 }{}
         
! Missing } inserted.
<inserted text> 
                }
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
! Missing \cr inserted.
<inserted text> 
                \cr 
l.814 }{}
         
! Misplaced \cr.
<inserted text> \cr 
                    
l.814 }{}
         
!  ==> Fatal error occurred, no output PDF file produced!