BP_AutoFit: Fit model automatically

View source: R/BP_AutoFit.R

BP_AutoFitR Documentation

Fit model automatically

Description

Open an image, fit a model and generate a report.

Usage

BP_AutoFit(
  file = file.choose(),
  xlsx = TRUE,
  rotation.angle = 0,
  center = "ontogenetic"
)

Arguments

file

The file to be opened

xlsx

TRUE, FALSE or the name and path of the report

rotation.angle

The angle of rotation for analysis

center

Which center to be used.

Details

BP_AutoFit fits model automatically

Value

Characteristics of an image with all the fit information

Author(s)

Marc Girondot marc.girondot@gmail.com

See Also

Other BoneProfileR: BP_ChooseBackground(), BP_ChooseCenter(), BP_ChooseForeground(), BP_DetectBackground(), BP_DetectCenters(), BP_DetectForeground(), BP_DuplicateAnalysis(), BP_EstimateCompactness(), BP_FitBayesianCompactness(), BP_FitMLCompactness(), BP_FitMLRadialCompactness(), BP_GetFittedParameters(), BP_ListAnalyses(), BP_LnLCompactness(), BP_OpenImage(), BP_Report(), Erinaceus_europaeus, plot.BoneProfileR(), summary.BoneProfileR()

Examples

## Not run: 
# Not run:
library(BoneProfileR)
path_Hedgehog <- system.file("extdata", "Erinaceus_europaeus_fem_2-1_small.png", 
                             package = "BoneProfileR")
 bone <- BP_AutoFit(file=path_Hedgehog, xlsx=TRUE)
 # or to open a dialog box
 bone <- BP_AutoFit()

## End(Not run)

BoneProfileR documentation built on Sept. 7, 2022, 1:06 a.m.