parse.txtmat: Parse a matrix from a text output robustly

Description Usage Arguments

View source: R/progsf90.R

Description

Each row of the matrix is a string. If rows are too long, they can continue in another line. Hence, the number of lines might be a multiple of the number of columns

Usage

1
parse.txtmat(x, names = NULL, square = TRUE)

Arguments

x

A character vector with space-separated numbers

names

A character vector with row and column names for the output matrix.

square

logical. Whether to assume that the matrix is square.

If the matrix is not necessarily


famuvie/breedR documentation built on Sept. 6, 2021, 4:50 a.m.