Learn R Programming

SCOUTer (version 1.0.0)

dotag: dotag

Description

Returns the tag vector to identify two different data sets

Usage

dotag(X.zeros = NA, X.ones = NA)

Arguments

X.zeros

Matrix with the tag 0.

X.ones

Matrix with the tag 1.

Value

tag.all vector with 0 tags for observations in X.zeros and 1 tags for observations in X.ones.

Examples

Run this code
# NOT RUN {
X <- as.matrix(X)
dotag(X[1:40,], X[-c(1:40),])
# }

Run the code above in your browser using DataLab