prune_sgf: Remove branches from SGF text

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Remove branches from SGF text

Usage

1
prune_sgf(sgf, keepfirst = TRUE)

Arguments

sgf

Scalar character formatted as SGF

keepfirst

Logical. If TRUE, keep the first branch. Otherwise, keep the last branch.

Value

Scalar character of SGF text where branches are removed


gogamer documentation built on May 29, 2017, 4:10 p.m.