Learn R Programming

criticality (version 0.9.3)

Scale: Scale Function

Description

This function centers, scales, and one-hot encodes variables.

Usage

Scale(code = "mcnp", dataset = NULL, output, ext.dir)

Value

A list of centered, scaled, and one-hot-encoded training and test data

Arguments

code

Monte Carlo radiation transport code (e.g., "cog", "mcnp")

dataset

Training and test data

output

Processed output from Monte Carlo radiation transport code simulations

ext.dir

External directory (full path)