Tagloss_format: Format a CMR dataset into a file that Tagloss_L can use.
Description
This function formats a CMR dataset to a file that Tagloss_L can use.
The format of data is a data.frame with 4 columns:
ID is the column with the permanent identification code
L is the column with the non-permanent code located at left
R is the column with the non-permanent code located at right
Date is the column with the date of observation
Note that R and L columns can be exchanged if 21 model is used.