h_df_to_tibble {mmrm} | R Documentation |
Coerce a Data Frame to a tibble
Description
This is used in h_newdata_add_pred()
.
Usage
h_df_to_tibble(data)
Arguments
data |
( |
Details
This is only a thin wrapper around tibble::as_tibble()
, except
giving a useful error message and it checks for rownames
and adds them
as a new column .rownames
if they are not just a numeric sequence as
per the tibble::has_rownames()
decision.
Value
The data
as a tibble
, potentially with a .rownames
column.
[Package mmrm version 0.3.15 Index]