Skip to content

Commit

Permalink
add some localization data to illustrate circle-fitting
Browse files Browse the repository at this point in the history
  • Loading branch information
thartbm committed Mar 12, 2022
1 parent abe7100 commit 1142883
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
20 changes: 19 additions & 1 deletion R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,22 @@
#' \item{p033}{reach deviations of participant 3 at 1/3 target distance}
#' \item{p035}{reach deviations of participant 3 at 1/3 target distance}
#' }
"tworatedata"
"tworatedata"

#' Localization data points to illustrate circle-fitting. Twenty-five
#' localization points each, from one well-aligned and one not so well-aligned
#' participant.
#'
#' load with: data(localization)
#'
#' @format Data frame with 50 rows and 6 columns:
#' \describe{
#' \item{targetangle_deg}{angle of actual hand position relative to home}
#' \item{handx_cm}{hand position x-coordinate in centimeters}
#' \item{handy_cm}{hand position y-coordinate in centimeters}
#' \item{tapx_cm}{localization x-coordinate in centimeters}
#' \item{tapy_cm}{localization y-coordinate in centimeters}
#' \item{participant}{participant ID, either 'a', or 'b'}
#' }
"localization"

Binary file added data/localization.rda
Binary file not shown.
26 changes: 26 additions & 0 deletions man/localization.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1142883

Please sign in to comment.