BP_GetFittedParameters {BoneProfileR}R Documentation

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

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"

Details

BP_GetFittedParameters returns the fitted parameters

Value

The fitted parameters

Author(s)

Marc Girondot marc.girondot@gmail.com

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

## Not run: 
# 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")

## End(Not run)

[Package BoneProfileR version 4.0 Index]