get_result_value: Get the value of interest of the results coming from...

View source: R/results.R

get_result_valueR Documentation

Get the value of interest of the results coming from ECOWEIGHT output

Description

The program package ECOWEIGHT (C Programs for Calculating Economic Weights in Livestock) produce output file with the results. This function will extract the value needed.

Usage

get_result_value(
  pvec_ecow_result_2extract,
  ps_statement2search,
  ps_line2get,
  ps_splitby,
  pb_log = FALSE,
  plogger = NULL
)

Arguments

pvec_ecow_result_2extract

vector result of output file of ECOWEIGHT

ps_statement2search

tibble with the parttern to search

ps_line2get

line to get

ps_splitby

string to say how it is splitted

pb_log

indicator whether logs should be produced

plogger

logger object

Value

vec_cur_result


sknqualitasag/qp4ewc documentation built on Sept. 27, 2022, 3:31 p.m.