Learn R Programming

BoneProfileR (version 3.1)

BP_AutoFit: 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"
)

Value

Characteristics of an image with all the fit information

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.

Author

Marc Girondot marc.girondot@gmail.com

Details

BP_AutoFit fits model automatically

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

Run this code
if (FALSE) {
# 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()
}

Run the code above in your browser using DataLab