[Distr-commits] r1194 - in branches/distr-2.8/pkg/distrMod: . R man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Jul 8 18:48:33 CEST 2018
Author: ruckdeschel
Date: 2018-07-08 18:48:33 +0200 (Sun, 08 Jul 2018)
New Revision: 1194
Modified:
branches/distr-2.8/pkg/distrMod/NAMESPACE
branches/distr-2.8/pkg/distrMod/R/ProbFamily.R
branches/distr-2.8/pkg/distrMod/man/ProbFamily-class.Rd
Log:
[distrMod] branch 2.8 q.l accessor for ProbFamily
Modified: branches/distr-2.8/pkg/distrMod/NAMESPACE
===================================================================
--- branches/distr-2.8/pkg/distrMod/NAMESPACE 2018-07-08 16:47:47 UTC (rev 1193)
+++ branches/distr-2.8/pkg/distrMod/NAMESPACE 2018-07-08 16:48:33 UTC (rev 1194)
@@ -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: branches/distr-2.8/pkg/distrMod/R/ProbFamily.R
===================================================================
--- branches/distr-2.8/pkg/distrMod/R/ProbFamily.R 2018-07-08 16:47:47 UTC (rev 1193)
+++ branches/distr-2.8/pkg/distrMod/R/ProbFamily.R 2018-07-08 16:48:33 UTC (rev 1194)
@@ -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: branches/distr-2.8/pkg/distrMod/man/ProbFamily-class.Rd
===================================================================
--- branches/distr-2.8/pkg/distrMod/man/ProbFamily-class.Rd 2018-07-08 16:47:47 UTC (rev 1193)
+++ branches/distr-2.8/pkg/distrMod/man/ProbFamily-class.Rd 2018-07-08 16:48:33 UTC (rev 1194)
@@ -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