clean_xlog: Clean extended log (xlog) files from NetHack 3.6.1.

Description Usage Arguments Value Examples

Description

Clean extended log (xlog) files from NetHack 3.6.1. Adds column names, removes unneeded columns and converts variables to their correct format.

Usage

1
clean_xlog(xlog)

Arguments

xlog

An xlog file

Value

A data frame

Examples

1
2
3
4
5
6
## Not run: 
xlog <- read_delim("~/path/to/nethack361_xlog.csv",
"\t", escape_double = FALSE, col_names = FALSE, trim_ws = TRUE)
clean_xlog(xlog)

## End(Not run)

b-rodrigues/nethack documentation built on May 13, 2019, 5:21 p.m.