Skip to contents

Checks to make sure a data.frame is inputted and if a tibble data.frame is inputted then it is converted to a base R data.frame object

Usage

df_check(df, msg = "Error: check data type. `dyad_data` is not a dataframe.")

Arguments

df

user inputted object to check

msg

msg to user if df check fails

Value

data.frame object

Author

Ha Eun Choi, Shahryar Minhas