JuliaDynamics/RecurrenceAnalysis.jl

Improve help text/ documentation

Aperta

#115 aperta il 13 apr 2021

 (2 commenti) (0 reazioni) (0 assegnatari)Julia (16 fork)auto 404
documentationgood first issue

Metriche repository

Star
 (50 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Hi,

I have again the request to improve the documentation for some functions. In particular, it would be very helpful to have examples of several use cases in the documentation string.

For example, when calculating the recurrence matrix from a given 2-column vector (w/o embedding), it would be first necessary to create a DataSet type variable using tr = Dataset(x);. What about including such example:

x = rand(100,1)
tr = Dataset(x);
R = RecurrenceMatrix(tr, 0.1, fixedrate=true)

and similar for embedding

x = sin.(0:.01:12)
tr = embed(x, 2, 177);
R = RecurrenceMatrix(tr, 0.1, fixedrate=true)

Thanks! Norbert


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Guida contributor