get_timepoint_details: Function to get the details of the time point column
Description
Function to get the details of the time point column
Usage
get_timepoint_details(trialdata)
Value
the name of the variable related to time point and
the unique contents if success, else error
Arguments
trialdata,
data containing individual level trial data
Details
expecting the data contains the information on timepoints
preferably column names "time point", "times" or "time" or "timepoint".
If multiple column names match these, then first match will be chosen.