has_rownames: Check whether or not a data-frame-like object has rownames

Description Usage Arguments Value

View source: R/utils.R

Description

Check whether or not a data-frame-like object has rownames

Usage

1

Arguments

df

A data frame

Value

Logical indicating if df has rownames. If df is a tibble, returns FALSE. If df is a data.frame, return FALSE if the rownames are simply row numbers. If the rownames are anything other than the return row numbers, returns TRUE.


modeltests documentation built on Jan. 16, 2021, 5:38 p.m.