Skip to content
forked from ghuiber/BTYD2

Patched version of the BTYD package on CRAN

Notifications You must be signed in to change notification settings

Tanumoy-Ghosh/BTYD2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BTYD2

A patch for the pnbd.LL() function in the original BTYD package, first proposed by Theo Strinopoulos.

Justification

In its original version the Pareto/NBD part of the BTYD packages failed for me, as it did for Theo, for reasons he explained here. So, I implemented his fix, rebuilt from source, and then it worked.

BTYD2 is for the curious and impatient: you can install it now, side-by-side with the unaltered BTYD from CRAN. I also opened a pull request to the GitHub-hosted version of BTYD. If it is accepted, BTYD2 will be obsolete. Until then, you can use it as an alternative.

How to install

First git clone, then build the standard way, not with the devtools kit. The original BTYD package documentation is not compatible with devtools::document() and you risk obliterating most of your help files.

So, at the command line, just do this:

R CMD build BTYD2
R CMD check BTYD2

And then at the R console do this:

install.packages("BTYD2_2.4.tar.gz", repos = NULL, type = "source")

That ought to work.

About

Patched version of the BTYD package on CRAN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%