View source: R/pr_clean_data.R
pr_clean_data | R Documentation |
The function does the following
Keeps columns of interest (i.e. id, antenna, time)
Posixt format for time
Keep one read per individual at a certain antenna per second
Remove ghost reads
Orders the data frame based on time
pr_clean_data(raw_df, block_ref_df)
raw_df |
Raw data frame from the PIT / RFID system, already formatted and containing the columns "time", "date", "antenna", "id" (already formatted). This data frame corresponds to the reads for one experimental block. |
block_ref_df |
Reference data frame for an experimental block containing at least one column "id", with all individuals and corresponding variables (already formatted) |
A data frame (block_df
), with three columns (i.e. id, antenna, time),
and the number of rows corresponding to the total number
of reads (except duplicates within a second) of a experimental block.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.