Learn R Programming

sdtm.oak (version 0.1.0)

complete_capture_matrix: Complete a capture matrix

Description

complete_capture_matrix() completes the missing, if any, columns of the capture matrix.

Usage

complete_capture_matrix(m)

Value

A character matrix that contains the columns year, mon, mday, hour, min and sec. Any other existing columns are dropped.

Arguments

m

A character matrix that might be missing one or more of the following columns: year, mon, mday, hour, min or sec.