convert_na_to_zeroes: Converts the NA in a data.table or data.frame to zeroes.

View source: R/stackable_functions.R

convert_na_to_zeroesR Documentation

Converts the NA in a data.table or data.frame to zeroes.

Usage

convert_na_to_zeroes(
  my_dt,
  my_summary = "Convert NA to zeroes.",
  readme_path = NULL,
  transpose_for_faster_processing = F
)

Arguments

my_dt

Input data.table or data.frame

my_summary

String to describe is doing

readme_path

Path to output readme text to.

transpose_for_faster_processing

Boolean to indicate if you'd like to transpose for potentially faster processing. In a test of a data.frame with 10000 columns and 24 rows where ~75

my_dt with zereos in place of NA's ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ convert_na_to_zeroes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Benjamin-Vincent-Lab/binfotron documentation built on Oct. 1, 2024, 8:33 p.m.