sanitize_percent: Sanitize unreliable presentation of percent values from...

View source: R/xlsx.R

sanitize_percentR Documentation

Sanitize unreliable presentation of percent values from excel.

Description

In a recent sample sheet, we had some percentage values which were '0.5', '5 should sanitize such shenanigans.

Usage

sanitize_percent(numbers, df = NULL)

Arguments

numbers

Either a vector of excel crap, or a column name/number.

df

When provided, a data frame from which to extract the numbers.

Value

Either the numbers or dataframe with the sanitized information.


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.