Preprocess: Process and clean input data for SCUL procedure

View source: R/Preprocess.R

PreprocessR Documentation

Process and clean input data for SCUL procedure

Description

This function loads a matrix or a data-fram a file as a matrix. It ensures that each column of the matrix is numeric, has all non-missing values, and is not constant. It drops any columns that violate these conditions.

Usage

Preprocess(z)

Arguments

z

A matrix or a data frame.

Value

A cleaned matrix or data frame with violating columns dropped.


hollina/scul documentation built on Oct. 15, 2023, 5:43 p.m.