R/utilities.R
as_dataframe.Rd
Convert object to dataframe
as_dataframe(x)
a data.frame like object
Utility function to convert a "data.frame-like" object to an actual data.frame to avoid issues with inconsistency on methods (such as [() and dplyr's grouped dataframes)
data.frame
[