Learn R Programming

BoneProfileR (version 3.1)

BP_LnLCompactness: Estimation of the likelihood of a bone section

Description

Estimation of the compactness of a bone section.

Usage

BP_LnLCompactness(
  par,
  bone = NULL,
  data_m = NULL,
  data_nm = NULL,
  distance.center = NULL,
  fixed.parameters = NULL,
  analysis = 1
)

Value

The -Ln L

Arguments

par

Parameters of the model

bone

The bone image to be used

data_m

Number of mineralized pixels

data_nm

Number of non-mineralized pixels

distance.center

Distances to the center

fixed.parameters

Fixed parameters of the model

analysis

Name or rank of analysis

Author

Marc Girondot marc.girondot@gmail.com

Details

BP_LnLCompactness estimates likelihood of model of a bone section

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_FitMLCompactness(), BP_FitMLRadialCompactness(), BP_GetFittedParameters(), BP_ListAnalyses(), BP_OpenImage(), BP_Report(), Erinaceus_europaeus, plot.BoneProfileR(), summary.BoneProfileR()

Examples

Run this code
if (FALSE) {
# Not run:
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)
 bone <- BP_DetectForeground(bone=bone)
 bone <- BP_DetectCenters(bone=bone)
 bone <- BP_EstimateCompactness(bone)
 plot(bone)
}

Run the code above in your browser using DataLab