dot-removeEmptyDataFrame: Remove empty data frames from a list of data frames

.removeEmptyDataFrameR Documentation

Remove empty data frames from a list of data frames

Description

Remove empty data frames sometimes produced due to the non-existent combination of source unit and molecular weight.

Usage

.removeEmptyDataFrame(x)

Arguments

x

A list of data frames.

Examples


# Create a list of data frames
(ls <- split(mtcars, list(mtcars$vs, mtcars$cyl)))

# Remove element data frames with 0 rows
ospsuite:::.removeEmptyDataFrame(ls)

Open-Systems-Pharmacology/OSPSuite-R documentation built on Feb. 14, 2025, 4:48 p.m.