Scale {criticality}R Documentation

Scale Function

Description

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

Usage

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

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)

Value

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


[Package criticality version 0.9.3 Index]