#R Sample function with prob applied to a multivariable matrix : Currently, I am attempting to bootstrap a dataset with 114 obs and 16 variables. 

I have used the sample function as follows x[sample(nrow(x),size=114,replace=TRUE),] where x is my dataset. 


However, I would like to sample with probabilities assigned to specific columns as the sample function contains this possibility. For example I would like to sample the 5th column with probability of numbers between 1-5 0.1 and numbers 5-200 0.9.

How would I go about this and thanks for your help in advance. 