I'm trying to create the matrix from the sample population that I created in my R.

I used the function "sample" and "replicate". Below is my code.

```
# Create the sample population
sample_popu <- c(8, 3, 1, 11, 4, 7)
# Create the sample value in the matrix form
matrix_sample_data <- matrix(replicate(30, (sample(sample_popu, 2, replace = FALSE))), nrow = 2, ncol = 30)
```

When I used the above code to generate 30 number of sample from my sample_popu, I'm seeing that a couple of sample values are replicated more than once.

I was wondering, is there any way that I can generate the sample matrix without replication? As far as I searched and my knowledge, I cannot use the replacement in the replicate function.

Thank you for your help in advance!