Change names of the *.q functions to *_q

This commit is contained in:
2019-02-08 10:45:55 +01:00
parent 657aaa734d
commit cf80ff9f6a
7 changed files with 100 additions and 73 deletions

View File

@@ -13,7 +13,7 @@ NULL
#'
#' @author Eric Coissac
#' @export
log.q = function(x,q=1) {
log_q = function(x,q=1) {
if (q==1)
log(x)
else (x^(1-q)-1)/(1-q)
@@ -27,7 +27,7 @@ log.q = function(x,q=1) {
#'
#' @author Eric Coissac
#' @export
exp.q = function(x,q=1,base=exp(1)) {
exp_q = function(x,q=1,base=exp(1)) {
if (q==1)
exp(x)
else