# NOT RUN {
test_boot = boot(data = t(nummatrix), statistic = cos_sim_calc_boot, R = 2)
# }
# NOT RUN {
## here 'nummatrix' is a Term Document Matrix, boot inbuilt function of boot package,
## R is number of replicates here it is 2. User can extend this number.
# }
Run the code above in your browser using DataLab