Learn R Programming

BoneProfileR (version 4.0)

BP_GetFittedParameters: Return the fitted parameters

Description

Return the fitted parameters or complete object.

Usage

BP_GetFittedParameters(
  bone,
  analysis = 1,
  return.all = FALSE,
  ML = TRUE,
  periodic = FALSE,
  type = "global"
)

Value

The fitted parameters

Arguments

bone

The bone image to be used

analysis

Name or rank of analysis

return.all

If TRUE, return the complete object

ML

If TRUE, return the ML estimate and the SE ; if FALSE, returns the MCMC estimate

periodic

If TRUE, the periodic model is used (depreciated, use type)

type

Can be "global", "radial", or "periodic"

Author

Marc Girondot marc.girondot@gmail.com

Details

BP_GetFittedParameters returns the fitted parameters

See Also

Other BoneProfileR: BP_AutoFit(), BP_ChooseBackground(), BP_ChooseCenter(), BP_ChooseForeground(), BP_DetectBackground(), BP_DetectCenters(), BP_DetectForeground(), BP_DuplicateAnalysis(), BP_EstimateCompactness(), BP_FitBayesianCompactness(), BP_FitBayesianPeriodicCompactness(), BP_FitMLCompactness(), BP_FitMLPeriodicCompactness(), BP_FitMLRadialCompactness(), 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_OpenImage(file=path_Hedgehog)
 bone <- BP_DetectBackground(bone=bone, analysis="logistic")
 bone <- BP_DetectForeground(bone=bone, analysis="logistic")
 bone <- BP_DetectCenters(bone=bone, analysis="logistic")
 bone <- BP_EstimateCompactness(bone, analysis="logistic")
 bone <- BP_FitMLCompactness(bone, analysis="logistic")
 BP_GetFittedParameters(bone, analysis="logistic")
}

Run the code above in your browser using DataLab