Skip to contents

Read text that should be a matrix

Usage

read_matrix(path, split = "", skip = 0, cast = identity)

Arguments

path

A file path

split

A character to split the rows by

cast

A bare function to cast with

Value

A matrix of type cast