xgid2vec | R Documentation |
Takes the checker locations from a XGID string (first 26 elements) and turns it into a signed integer vector with 26 elements where positive numbers indicate how many checkers one player has on a point; negative numbers are the other player's count of checkers. The remainder of elements represent derived features, like amount of contact.
xgid2vec(xgid, flip = FALSE)
xgid |
character |
flip |
logical, defaults to FALSE. Should the sides be flipped? |
vector of length 26 with signed integers
xgid2vec("XGID=-b----E-C---eE---c-e----B-:0:0:1:52:0:0:3:0:10")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.