Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Show menu Show menu

SUBSAMPLE matrix function

Description

SUBSAMPLE(A,n) Returns a matrix with n number of rows, selected randomly from the rows of matrix A. Each row of A can only be present once in the result matrix.

If A is a row vector, then the result matrix will be a row vector with a random subgroup of elements of A.

Calculator

SUBSAMPLE(  ,  

See also