[SPARK-20026][DOC][SPARKR] Add Tweedie example for SparkR in programming guide
[SPARK-20026][DOC][SPARKR] Add Tweedie example for SparkR in programming guide

## What changes were proposed in this pull request?
Add Tweedie example for SparkR in programming guide.
The doc was already updated in #17103.

Author: actuaryzhang <actuaryzhang10@gmail.com>

Closes #17553 from actuaryzhang/programGuide.

bravo-zhang/spark,icexelloss/spark,narahari92/spark,mdespriee/spark,wangyum/spark,alunarbeach/spark,zhouyejoe/spark,goldmedal/spark,yanboliang/spark,aray/spark,zhouyejoe/spark,1haodian/spark,actuaryzhang/spark,zuotingbing/spark,markhamstra/spark,cloud-fan/spark,kiszk/spark,maropu/spark,taroplus/spark,mdespriee/spark,jiangxb1987/spark,UndeadBaneGitHub/spark,mdespriee/spark,poffuomo/spark,rednaxelafx/apache-spark,nlalevee/spark,joseph-torres/spark,patrick-nicholson/spark,mdespriee/spark,spark-test/spark,BryanCutler/spark,shaneknapp/spark,janewangfb/spark,wangmiao1981/spark,someorz/spark,1haodian/spark,rekhajoshm/spark,bdrillard/spark,witgo/spark,publicRoman/spark,mdespriee/spark,skonto/spark,holdenk/spark,joseph-torres/spark,mahak/spark,srowen/spark,rekhajoshm/spark,saltstar/spark,nchammas/spark,ptkool/spark,brad-kaiser/spark,Aegeaner/spark,wzhfy/spark,JoshRosen/spark,huang1900/spark,aray/spark,mahak/spark,mike0sv/spark,guoxiaolongzte/spark,hhbyyh/spark,apache-spark-on-k8s/spark,wangyum/spark,gengliangwang/spark,sahilTakiar/spark,zzcclp/spark,eyalfa/spark,panfengfeng/spark,witgo/spark,patrick-nicholson/spark,facaiy/spark,someorz/spark,ahnqirage/spark,cin/spark,rednaxelafx/apache-spark,mahak/spark,ConeyLiu/spark,eyalfa/spark,publicRoman/spark,wangyum/spark,spark-test/spark,jrshust/spark,jkbradley/spark,WindCanDie/spark,guoxiaolongzte/spark,saltstar/spark,goldmedal/spark,zzcclp/spark,aray/spark,ueshin/apache-spark,techaddict/spark,hvanhovell/spark,huang1900/spark,kissmetrics/spark,janewangfb/spark,nchammas/spark,janewangfb/spark,saturday-shi/spark,spark-test/spark,nilsgrabbert/spark,jlopezmalla/spark,darionyaphet/spark,ajaysaini725/spark,dbtsai/spark,guoxiaolongzte/spark,caneGuy/spark,MLnick/spark,milliman/spark,ddna1021/spark,shaneknapp/spark,caneGuy/spark,tengpeng/spark,ron8hu/spark,skonto/spark,aokolnychyi/spark,dongjoon-hyun/spark,spark-test/spark,sahilTakiar/spark,HyukjinKwon/spark,apache-spark-on-k8s/spark,matthewfranglen/spark,goldmedal/spark,brad-kaiser/spark,jlopezmalla/spark,shubhamchopra/spark,jrshust/spark,LantaoJin/spark,ron8hu/spark,nchammas/spark,ioana-delaney/spark,kiszk/spark,loneknightpy/spark,tengpeng/spark,kiszk/spark,cin/spark,MLnick/spark,SHASHANKB/spark,taroplus/spark,narahari92/spark,actuaryzhang/spark,jkbradley/spark,debugger87/spark,bdrillard/spark,mike0sv/spark,bdrillard/spark,Aegeaner/spark,shubhamchopra/spark,aokolnychyi/spark,cloud-fan/spark,adrian-ionescu/apache-spark,milliman/spark,yanboliang/spark,aosagie/spark,facaiy/spark,ahnqirage/spark,poffuomo/spark,kissmetrics/spark,poffuomo/spark,aosagie/spark,mahak/spark,gengliangwang/spark,MLnick/spark,wangyum/spark,bOOm-X/spark,aray/spark,andrewor14/spark,byakuinss/spark,icexelloss/spark,aosagie/spark,MLnick/spark,liutang123/spark,sahilTakiar/spark,apache/spark,tejasapatil/spark,lxsmnv/spark,wzhfy/spark,liutang123/spark,michalsenkyr/spark,hvanhovell/spark,map222/spark,mahak/spark,goldmedal/spark,actuaryzhang/spark,liutang123/spark,rekhajoshm/spark,map222/spark,joseph-torres/spark,kiszk/spark,bdrillard/spark,shuangshuangwang/spark,nlalevee/spark,aray/spark,esi-mineset/spark,MLnick/spark,icexelloss/spark,chuckchen/spark,guoxiaolongzte/spark,narahari92/spark,jiangxb1987/spark,andrewor14/spark,ConeyLiu/spark,alunarbeach/spark,SHASHANKB/spark,lvdongr/spark,dhruve/spark,ericvandenbergfb/spark,jrshust/spark,brad-kaiser/spark,rekhajoshm/spark,skonto/spark,saturday-shi/spark,michalsenkyr/spark,tengpeng/spark,ron8hu/spark,michalsenkyr/spark,WindCanDie/spark,huang1900/spark,mzl9039/spark,huang1900/spark,joseph-torres/spark,aokolnychyi/spark,techaddict/spark,bOOm-X/spark,someorz/spark,ptkool/spark,tengpeng/spark,BryanCutler/spark,liyichao/spark,pgandhi999/spark,bOOm-X/spark,holdenk/spark,rezasafi/spark,sureshthalamati/spark,akopich/spark,aosagie/spark,minixalpha/spark,szhem/spark,WeichenXu123/spark,dbtsai/spark,lvdongr/spark,byakuinss/spark,WindCanDie/spark,zzcclp/spark,akopich/spark,markhamstra/spark,jlopezmalla/spark,facaiy/spark,dbtsai/spark,vinodkc/spark,alunarbeach/spark,yanboliang/spark,setjet/spark,ddna1021/spark,skonto/spark,akopich/spark,srowen/spark,ueshin/apache-spark,dongjoon-hyun/spark,witgo/spark,aray/spark,ahnqirage/spark,mzl9039/spark,cloud-fan/spark,markhamstra/spark,zuotingbing/spark,saturday-shi/spark,maropu/spark,UndeadBaneGitHub/spark,techaddict/spark,caneGuy/spark,shuangshuangwang/spark,nlalevee/spark,ahnqirage/spark,srowen/spark,HyukjinKwon/spark,loneknightpy/spark,akopich/spark,ConeyLiu/spark,kevinyu98/spark,rezasafi/spark,ConeyLiu/spark,pgandhi999/spark,vinodkc/spark,liutang123/spark,dhruve/spark,WeichenXu123/spark,michalsenkyr/spark,michalsenkyr/spark,ptkool/spark,map222/spark,adrian-ionescu/apache-spark,xflin/spark,darionyaphet/spark,goldmedal/spark,narahari92/spark,vinodkc/spark,adrian-ionescu/apache-spark,jkbradley/spark,poffuomo/spark,map222/spark,byakuinss/spark,minixalpha/spark,panfengfeng/spark,loneknightpy/spark,vinodkc/spark,andrewor14/spark,UndeadBaneGitHub/spark,facaiy/spark,ericvandenbergfb/spark,loneknightpy/spark,huang1900/spark,xflin/spark,andrewor14/spark,JoshRosen/spark,saltstar/spark,shubhamchopra/spark,facaiy/spark,LantaoJin/spark,stanzhai/spark,zhouyejoe/spark,WeichenXu123/spark,spark-test/spark,MLnick/spark,dhruve/spark,bdrillard/spark,BryanCutler/spark,shaneknapp/spark,hvanhovell/spark,ueshin/apache-spark,shubhamchopra/spark,jlopezmalla/spark,hhbyyh/spark,milliman/spark,liyichao/spark,zuotingbing/spark,kevinyu98/spark,saltstar/spark,bravo-zhang/spark,zzcclp/spark,UndeadBaneGitHub/spark,apache-spark-on-k8s/spark,loneknightpy/spark,debugger87/spark,dbtsai/spark,lvdongr/spark,cin/spark,rednaxelafx/apache-spark,holdenk/spark,narahari92/spark,jiangxb1987/spark,1haodian/spark,brad-kaiser/spark,WindCanDie/spark,rikima/spark,nilsgrabbert/spark,panfengfeng/spark,BryanCutler/spark,poffuomo/spark,srowen/spark,JerryLead/spark,kevinyu98/spark,chuckchen/spark,markhamstra/spark,jlopezmalla/spark,nlalevee/spark,Aegeaner/spark,szhem/spark,shuangshuangwang/spark,cloud-fan/spark,rezasafi/spark,kissmetrics/spark,debugger87/spark,setjet/spark,rekhajoshm/spark,wzhfy/spark,jrshust/spark,witgo/spark,kissmetrics/spark,zhouyejoe/spark,esi-mineset/spark,rikima/spark,stanzhai/spark,saturday-shi/spark,minixalpha/spark,BryanCutler/spark,sahilTakiar/spark,nilsgrabbert/spark,chuckchen/spark,saturday-shi/spark,mzl9039/spark,icexelloss/spark,xflin/spark,aokolnychyi/spark,ioana-delaney/spark,icexelloss/spark,zero323/spark,minixalpha/spark,ConeyLiu/spark,setjet/spark,brad-kaiser/spark,xuanyuanking/spark,narahari92/spark,jiangxb1987/spark,xuanyuanking/spark,loneknightpy/spark,WeichenXu123/spark,Aegeaner/spark,WeichenXu123/spark,andrewor14/spark,SHASHANKB/spark,srowen/spark,srowen/spark,xuanyuanking/spark,pgandhi999/spark,dhruve/spark,WindCanDie/spark,vinodkc/spark,guoxiaolongzte/spark,techaddict/spark,dhruve/spark,janewangfb/spark,zero323/spark,debugger87/spark,stanzhai/spark,mike0sv/spark,patrick-nicholson/spark,maropu/spark,narahari92/spark,mzl9039/spark,ddna1021/spark,BryanCutler/spark,liyichao/spark,caneGuy/spark,spark-test/spark,ericvandenbergfb/spark,eyalfa/spark,tengpeng/spark,joseph-torres/spark,ajaysaini725/spark,mike0sv/spark,darionyaphet/spark,hvanhovell/spark,aray/spark,setjet/spark,minixalpha/spark,zero323/spark,wzhfy/spark,darionyaphet/spark,ueshin/apache-spark,akopich/spark,mike0sv/spark,ddna1021/spark,highfei2011/spark,caneGuy/spark,tejasapatil/spark,rikima/spark,1haodian/spark,wangyum/spark,holdenk/spark,bravo-zhang/spark,ioana-delaney/spark,panfengfeng/spark,mzl9039/spark,jkbradley/spark,tejasapatil/spark,rikima/spark,BryanCutler/spark,cin/spark,janewangfb/spark,maropu/spark,byakuinss/spark,liutang123/spark,kevinyu98/spark,mzl9039/spark,panfengfeng/spark,LantaoJin/spark,stanzhai/spark,zzcclp/spark,ConeyLiu/spark,alunarbeach/spark,hvanhovell/spark,lvdongr/spark,cin/spark,lxsmnv/spark,milliman/spark,eyalfa/spark,liyichao/spark,hhbyyh/spark,bOOm-X/spark,JerryLead/spark,tengpeng/spark,1haodian/spark,jkbradley/spark,ajaysaini725/spark,lvdongr/spark,map222/spark,ddna1021/spark,rezasafi/spark,shubhamchopra/spark,nlalevee/spark,guoxiaolongzte/spark,adrian-ionescu/apache-spark,highfei2011/spark,lxsmnv/spark,akopich/spark,Aegeaner/spark,HyukjinKwon/spark,icexelloss/spark,zhouyejoe/spark,hhbyyh/spark,byakuinss/spark,publicRoman/spark,ioana-delaney/spark,brad-kaiser/spark,Aegeaner/spark,holdenk/spark,skonto/spark,esi-mineset/spark,shaneknapp/spark,apache-spark-on-k8s/spark,yanboliang/spark,akopich/spark,ron8hu/spark,debugger87/spark,mike0sv/spark,jiangxb1987/spark,jiangxb1987/spark,maropu/spark,bravo-zhang/spark,HyukjinKwon/spark,szhem/spark,actuaryzhang/spark,stanzhai/spark,hvanhovell/spark,apache/spark,JoshRosen/spark,sureshthalamati/spark,alunarbeach/spark,stanzhai/spark,zero323/spark,ueshin/apache-spark,gengliangwang/spark,zuotingbing/spark,poffuomo/spark,joseph-torres/spark,pgandhi999/spark,rekhajoshm/spark,kiszk/spark,WeichenXu123/spark,bdrillard/spark,JoshRosen/spark,michalsenkyr/spark,ericvandenbergfb/spark,highfei2011/spark,shuangshuangwang/spark,caneGuy/spark,kevinyu98/spark,jkbradley/spark,bravo-zhang/spark,UndeadBaneGitHub/spark,WindCanDie/spark,1haodian/spark,shubhamchopra/spark,taroplus/spark,ajaysaini725/spark,WeichenXu123/spark,chuckchen/spark,dongjoon-hyun/spark,skonto/spark,wangyum/spark,dongjoon-hyun/spark,MLnick/spark,darionyaphet/spark,chuckchen/spark,dbtsai/spark,facaiy/spark,janewangfb/spark,zhouyejoe/spark,kissmetrics/spark,ron8hu/spark,dongjoon-hyun/spark,panfengfeng/spark,chuckchen/spark,sahilTakiar/spark,esi-mineset/spark,andrewor14/spark,ron8hu/spark,sahilTakiar/spark,LantaoJin/spark,gengliangwang/spark,gengliangwang/spark,LantaoJin/spark,patrick-nicholson/spark,maropu/spark,actuaryzhang/spark,saltstar/spark,jiangxb1987/spark,apache/spark,zzcclp/spark,patrick-nicholson/spark,yanboliang/spark,rezasafi/spark,kissmetrics/spark,vinodkc/spark,rikima/spark,guoxiaolongzte/spark,xflin/spark,icexelloss/spark,UndeadBaneGitHub/spark,milliman/spark,hhbyyh/spark,ericvandenbergfb/spark,nilsgrabbert/spark,shuangshuangwang/spark,holdenk/spark,markhamstra/spark,taroplus/spark,ueshin/apache-spark,debugger87/spark,someorz/spark,xflin/spark,JerryLead/spark,saturday-shi/spark,techaddict/spark,ueshin/apache-spark,saltstar/spark,liyichao/spark,loneknightpy/spark,milliman/spark,xuanyuanking/spark,map222/spark,eyalfa/spark,wangyum/spark,patrick-nicholson/spark,highfei2011/spark,ptkool/spark,WindCanDie/spark,rezasafi/spark,alunarbeach/spark,gengliangwang/spark,setjet/spark,poffuomo/spark,rednaxelafx/apache-spark,aokolnychyi/spark,wangmiao1981/spark,nlalevee/spark,cloud-fan/spark,JerryLead/spark,apache/spark,esi-mineset/spark,holdenk/spark,cin/spark,wangmiao1981/spark,wzhfy/spark,jlopezmalla/spark,kissmetrics/spark,ericvandenbergfb/spark,saltstar/spark,publicRoman/spark,wzhfy/spark,darionyaphet/spark,tejasapatil/spark,aokolnychyi/spark,tejasapatil/spark,caneGuy/spark,hhbyyh/spark,xuanyuanking/spark,joseph-torres/spark,rednaxelafx/apache-spark,janewangfb/spark,ptkool/spark,huang1900/spark,lxsmnv/spark,sureshthalamati/spark,publicRoman/spark,zzcclp/spark,ajaysaini725/spark,bravo-zhang/spark,esi-mineset/spark,rezasafi/spark,minixalpha/spark,spark-test/spark,pgandhi999/spark,liyichao/spark,witgo/spark,highfei2011/spark,actuaryzhang/spark,panfengfeng/spark,rednaxelafx/apache-spark,highfei2011/spark,facaiy/spark,jrshust/spark,HyukjinKwon/spark,nchammas/spark,ericvandenbergfb/spark,pgandhi999/spark,goldmedal/spark,dhruve/spark,jrshust/spark,yanboliang/spark,alunarbeach/spark,patrick-nicholson/spark,nchammas/spark,rekhajoshm/spark,kiszk/spark,shuangshuangwang/spark,vinodkc/spark,ajaysaini725/spark,JerryLead/spark,sureshthalamati/spark,kiszk/spark,liyichao/spark,saturday-shi/spark,huang1900/spark,apache-spark-on-k8s/spark,Aegeaner/spark,techaddict/spark,dongjoon-hyun/spark,taroplus/spark,aosagie/spark,shaneknapp/spark,ahnqirage/spark,cloud-fan/spark,jlopezmalla/spark,rikima/spark,HyukjinKwon/spark,apache-spark-on-k8s/spark,maropu/spark,nchammas/spark,nilsgrabbert/spark,ptkool/spark,shuangshuangwang/spark,JerryLead/spark,highfei2011/spark,ioana-delaney/spark,bOOm-X/spark,actuaryzhang/spark,minixalpha/spark,ptkool/spark,ron8hu/spark,rednaxelafx/apache-spark,sureshthalamati/spark,wangmiao1981/spark,setjet/spark,lvdongr/spark,lxsmnv/spark,szhem/spark,wangmiao1981/spark,andrewor14/spark,zuotingbing/spark,dbtsai/spark,cloud-fan/spark,szhem/spark,zero323/spark,1haodian/spark,xuanyuanking/spark,nilsgrabbert/spark,mdespriee/spark,ioana-delaney/spark,zero323/spark,stanzhai/spark,someorz/spark,HyukjinKwon/spark,wzhfy/spark,markhamstra/spark,rikima/spark,ioana-delaney/spark,xflin/spark,aosagie/spark,someorz/spark,michalsenkyr/spark,kevinyu98/spark,nlalevee/spark,bOOm-X/spark,tejasapatil/spark,zuotingbing/spark,shaneknapp/spark,zuotingbing/spark,liutang123/spark,hvanhovell/spark,witgo/spark,map222/spark,ahnqirage/spark,UndeadBaneGitHub/spark,bOOm-X/spark,eyalfa/spark,zero323/spark,gengliangwang/spark,LantaoJin/spark,brad-kaiser/spark,szhem/spark,witgo/spark,byakuinss/spark,cin/spark,ahnqirage/spark,szhem/spark,xflin/spark,srowen/spark,SHASHANKB/spark,chuckchen/spark,setjet/spark,lvdongr/spark,apache/spark,nilsgrabbert/spark,milliman/spark,ddna1021/spark,mike0sv/spark,darionyaphet/spark,shubhamchopra/spark,sureshthalamati/spark,apache/spark,sureshthalamati/spark,mdespriee/spark,dongjoon-hyun/spark,pgandhi999/spark,publicRoman/spark,esi-mineset/spark,JerryLead/spark,hhbyyh/spark,zhouyejoe/spark,wangmiao1981/spark,adrian-ionescu/apache-spark,publicRoman/spark,wangmiao1981/spark,lxsmnv/spark,mzl9039/spark,bdrillard/spark,byakuinss/spark,techaddict/spark,aosagie/spark,adrian-ionescu/apache-spark,ajaysaini725/spark,jrshust/spark,markhamstra/spark,jkbradley/spark,SHASHANKB/spark,someorz/spark,apache/spark,JoshRosen/spark,goldmedal/spark,ConeyLiu/spark,dhruve/spark,adrian-ionescu/apache-spark,JoshRosen/spark,mahak/spark,taroplus/spark,LantaoJin/spark,SHASHANKB/spark,tengpeng/spark,lxsmnv/spark,liutang123/spark,sahilTakiar/spark,debugger87/spark,mahak/spark,tejasapatil/spark,skonto/spark,SHASHANKB/spark,eyalfa/spark,dbtsai/spark,yanboliang/spark,aokolnychyi/spark,taroplus/spark,ddna1021/spark,apache-spark-on-k8s/spark,xuanyuanking/spark,shaneknapp/spark,bravo-zhang/spark,kevinyu98/spark,JoshRosen/spark,nchammas/spark