a vector of characters, numeric, integers, logicals, etc
Details
This method picks a random number (N) of slots in
the input vector x (up to length(x)). Then picks N random
positions and replaces them with NA matching the input class.
Method clone()
The objects of this class are cloneable with this method.