powered by
Returns the tag vector to identify two different data sets
dotag(X.zeros = NA, X.ones = NA)
Matrix with the tag 0.
0
Matrix with the tag 1.
1
tag.all vector with 0 tags for observations in X.zeros and 1 tags for observations in X.ones.
tag.all
X.zeros
X.ones
# NOT RUN { X <- as.matrix(X) dotag(X[1:40,], X[-c(1:40),]) # }
Run the code above in your browser using DataLab