Rdocumentation
powered by
Learn R Programming
NetRep (version 1.0.2)
insert.nas: Insert NAs into a vector at specified positions
Description
Useful for inserting NAs into the correct positions when examining module probes that do not exist in the test dataset.
Usage
insert.nas(vec, na.indices)
Arguments
vec
vector to insert NAs to.
na.indices
indices the NAs should be located at in the final vector.
Value
The vector with NAs inserted in the correct positions.