list.results {templr}R Documentation

Parse algorithm string result in R list

Description

Parse algorithm string result in R list

Usage

list.results(result)

Arguments

result

templated algorithm result string

Value

list of string parsed: extract XML or JSON content

Examples

 list.results(paste0(
  "<HTML name='minimum'>minimum is 0.523431237543406 found at ...</HTML>",
  "<min> 0.523431237543406 </min>",
  "<argmin>[ 0.543459029033452,0.173028395040855 ]</argmin>"))

[Package templr version 0.2-0 Index]