Why do we obtain five missing values from the following lines of code?
NA is a logical type object and the logical vectors are reused to the equal length shared between vector and its subset. For example, x[NA] when iterated five times becomes x[NA, NA, NA, NA, NA].
© Copyright 2018-2023 www.Blogmepost.com. All rights reserved. Developed by Blogmepost.