get_start_pts | R Documentation |
This function extracts (x_pos, y_pos) of first word in each text line from the region file
get_start_pts(region_file, trial_num)
region_file |
A "*.csv" character list recording the name of the region file |
trial_num |
An integer indicating the trial number of the current start_pts |
This function reads region_file and gets (x_pos, y_pos) of first word in each text line. Then, it bounds (x_pos, y_pos) with trail_num into a data frame, and return the data frame.
A data.frame recording the left position of the first word in each line of the text in each trial. It has three columns:
x_pos: x position of the first word in each line of the text.
y_pos: y position of the first word in each line of the text.
trial_num: Integer indicating the trial number of the current start_pts.
Tao Gong gtojty@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.