View source: R/create_curve_info.R
create_curve_info | R Documentation |
Create curve info object
create_curve_info(curvedata, n_fixed)
curvedata |
a dataframe or tibble with columns "lm1", "lm2" and "ptswanted". |
n_fixed |
a number indicating how many landmarks are fixed anatomical landmarks |
output contains the necessary information to subsample curves, and the identity of each curve for sliding
Curves |
a list of curves with the landmarks that begin and end each curve |
Curve.in |
the same list of curves without the landmarks that begin and end each |
Sliding.LMs |
an integer vector of all the points that are sliding semilandmarks on curves |
Fixed |
an integer vector of all the points that are fixed landmarks that are not allowed to slide |
my_curvedata <- read_csv("curvedatafile.csv")
my_curves <- create_curve_info(curvedata = my_curvedata, n_fixed = 32)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.