View source: R/fibers.smoothed.R
fibers.smoothed | R Documentation |
Applies splines to smooth the stepwise fiber paths produced by good.fibes, with the function ns from splines.
fibers.smoothed(fib.list, df)
fib.list |
A list of fibers with $fiber.points, produced by |
df |
The degrees of freedom passed to splines2::nsp. Knots equal to df - 1 - intercept are set as breakpoints in the spline curve. A straight line path has a df of 1. |
fiber.points |
The original fiber path from good.fibes |
fiber.smoothed |
The curved, smoothed fiber paths |
J. Arbour
Arbour, J. In Prep. GoodFibes: an R package for the detection of muscle fibers from diceCT scans.
good.fibes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.