How to create a vector of specific data of random generated sample automated? not manually!

See the FAQ: How to do a minimal reproducible example reprex for beginners.

All there was to work with as some length == 400 dataset.