getPTLparams: Find best values of PTL parameters

Description Usage Arguments Details Value Author(s)

View source: R/getPTLparams.R

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


LCA documentation built on May 29, 2017, 8:55 p.m.

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