getPTLparams: Find best values of PTL parameters

Description Usage Arguments Details Value Author(s)

Description

Finds parameters alpha, beta and gamma in PTL model to fit an observed distribution of differences in each feature's values between two given objects from a dataset.

Usage

1
getPTLparams(x1,x2)

Arguments

x1

Numeric data input vector, standardised to range (0,1)

x2

Numeric data input vector, standardised to range (0,1)

Details

Uses iterative NLS fitting to determine parameters of PTL model to represent the distribution of the differences observed between two objects selected from the dataset being analysed with LCA.

Value

List with the following elements:

d

Numeric value specifying pair-wise global distance between objects x1 and x2

beta

Numeric value specifying value of parameter beta in best PTL fit

alpha

Numeric value specifying value of parameter alpha in best PTL fit

gamma

Numeric value specifying value of parameter gamma in best PTL fit

Author(s)

Ed Curry e.curry@imperial.ac.uk



Search within the LCA package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.