extract_block: Extract a block of lines from a section of the REML log

Description Usage Arguments Value Examples

View source: R/progsf90.R

Description

Extract a block of lines from a section of the REML log

Usage

1

Arguments

l

numeric. Line number where the block starts. Just after the section heading.

x

character vector. Lines of the log.

Value

character vector. Lines of text corresponding to numeric values under the section.

Examples

1
2
3
4
5
6
7
8
  test_log <- 
    c("REML log",
      "Some info",
      "Covariance matrix",
      "   1.23E2   4.56E-02   7.89E-03    ",
      "   1.23E2   4.56E-02   7.89E-03    "
      )
  breedR:::extract_block(4, test_log)

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