df_to_numeric: Coerce a data.frame to a numeric.data.frame

View source: R/utils.R

df_to_numericR Documentation

Coerce a data.frame to a numeric.data.frame

Description

Coerce a data.frame to a numeric.data.frame

Usage

df_to_numeric(df, row.or.col = 2)

Arguments

df

Numeric data frame or matrix

row.or.col

A number indicating direction to apply function: either 1 for row-wise, 2 (default) for column-wise

Value

A data frame in which all columns/rows are numeric


kazeera/hourglass documentation built on April 5, 2025, 7:18 a.m.