Learn R Programming

retistruct (version 0.6.3)

remove.identical.consecutive.rows: Remove identical consecutive rows from a matrix

Description

This is similar to unique(), but spares rows which are duplicated, but at different points in the matrix

Usage

remove.identical.consecutive.rows(P)

Arguments

P

Source matrix

Value

Matrix with identical consecutive rows removed.