Description Usage Arguments Value Author(s) References See Also Examples
This function creates an attraction from a permutation and a decay in
preparation for use in the ewens.attraction
,
ewens.pitman.attraction
, and ddcrp
functions.
For details on each of these arguments, please see the links below.
1 2 3 4 5 6 7 | attraction(permutation, decay)
## S3 method for class 'shallot.attraction'
print(x, ...)
## S3 method for class 'shallot.attraction'
as.matrix(x, ...)
|
permutation |
An object of class |
decay |
An object of class |
x |
An object of class |
... |
Currently ignored. |
An object of class shallot.attraction
.
David B. Dahl dahl@stat.byu.edu
ddcrp
, decay
,
ewens.attraction
, ewens.pitman.attraction
,
permutation
1 2 3 | permutation <- permutation(n.items=50,fixed=FALSE)
decay <- decay.exponential(temperature(1.0),dist(scale(USArrests)))
attraction(permutation, decay)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.