[Distr-commits] r1193 - in pkg/distrMod: . R man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Jul 8 18:47:47 CEST 2018
Author: ruckdeschel
Date: 2018-07-08 18:47:47 +0200 (Sun, 08 Jul 2018)
New Revision: 1193
Modified:
pkg/distrMod/NAMESPACE
pkg/distrMod/R/ProbFamily.R
pkg/distrMod/man/ProbFamily-class.Rd
Log:
[distrMod] trunk: q.l accessor for ProbFamily
Modified: pkg/distrMod/NAMESPACE
===================================================================
--- pkg/distrMod/NAMESPACE 2018-07-08 15:20:52 UTC (rev 1192)
+++ pkg/distrMod/NAMESPACE 2018-07-08 16:47:47 UTC (rev 1193)
@@ -55,7 +55,7 @@
exportMethods("modifyModel")
exportMethods("norm", "QuadForm<-", "QuadForm", "fct",
"fct<-", "normtype", "normtype<-")
-exportMethods("r", "d", "p", "q",
+exportMethods("r", "d", "p", "q", "q.l",
"estimate", "estimate.call", "samplesize.estimate", "call.estimate",
"name.estimate", "trafo.estimate", "nuisance.estimate",
"fixed.estimate", "Infos", "Infos<-", "addInfo<-",
Modified: pkg/distrMod/R/ProbFamily.R
===================================================================
--- pkg/distrMod/R/ProbFamily.R 2018-07-08 15:20:52 UTC (rev 1192)
+++ pkg/distrMod/R/ProbFamily.R 2018-07-08 16:47:47 UTC (rev 1193)
@@ -21,6 +21,7 @@
setMethod("r", "ProbFamily", function(object) r(distribution(object)))
setMethod("d", "ProbFamily", function(object) d(distribution(object)))
setMethod("p", "ProbFamily", function(object) p(distribution(object)))
-setMethod("q", "ProbFamily", function(save = "default", status = 0,
+setMethod("q.l", "ProbFamily", function(object) q.l(distribution(object)))
+setMethod("q", "ProbFamily", function(save = "default", status = 0,
runLast = TRUE) q(distribution(save)))
### odd arg-list due to existing function in base package
Modified: pkg/distrMod/man/ProbFamily-class.Rd
===================================================================
--- pkg/distrMod/man/ProbFamily-class.Rd 2018-07-08 15:20:52 UTC (rev 1192)
+++ pkg/distrMod/man/ProbFamily-class.Rd 2018-07-08 16:47:47 UTC (rev 1193)
@@ -17,6 +17,7 @@
\alias{d,ProbFamily-method}
\alias{p,ProbFamily-method}
\alias{q,ProbFamily-method}
+\alias{q.l,ProbFamily-method}
\title{Family of probability measures}
\description{Class of families of probability measures.}
@@ -64,6 +65,9 @@
to slot \code{p} of slot \code{"Distribution"}.}
\item{q}{\code{signature(object = "ProbFamily")}: wrapped accessor
to slot \code{q} of slot \code{"Distribution"}.}
+ \item{q.l}{\code{signature(object = "ProbFamily")}: wrapped accessor
+ to slot \code{q} of slot \code{"Distribution"} -- for compatibility
+ with RStudio or Jupyter IRKernel / synonymous to \code{q}.}
}
}
%\references{}
More information about the Distr-commits
mailing list