aboutsummaryrefslogtreecommitdiff
path: root/man/Extract.mmkin.Rd
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-06-26 08:50:13 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2015-06-26 10:43:55 +0200
commit4c69847346a9c254e4e803b6987a63e3fd9c14ae (patch)
tree9e8d492f4f7d470f6feeaf787cc404dad366fadd /man/Extract.mmkin.Rd
parentbfa3596e4ee5be3090b27dcadc20ada6194ddaef (diff)
Subsetting and plotting for mmkin objects
Including documentation and documentation improvements for mmkin().
Diffstat (limited to 'man/Extract.mmkin.Rd')
-rw-r--r--man/Extract.mmkin.Rd36
1 files changed, 36 insertions, 0 deletions
diff --git a/man/Extract.mmkin.Rd b/man/Extract.mmkin.Rd
new file mode 100644
index 00000000..769f2f5a
--- /dev/null
+++ b/man/Extract.mmkin.Rd
@@ -0,0 +1,36 @@
+\name{[.mmkin}
+\alias{[.mmkin}
+\title{Subsetting method for mmkin objects}
+\usage{
+\method{[}{mmkin}(x, i, j, ..., drop = FALSE)
+}
+\description{
+ Subsetting method for mmkin objects.
+}
+\arguments{
+\item{x}{An \code{\link{mmkin} object}}
+
+\item{i}{Row index selecting the fits for specific models}
+
+\item{j}{Column index selecting the fits to specific datasets}
+
+\item{...}{Not used, only there to satisfy the generic method definition}
+
+\item{drop}{If FALSE, the method always returns an mmkin object, otherwise either
+ a list of mkinfit objects or a single mkinfit object.}
+}
+\value{
+ An object of class \code{\link{mmkin}}.
+}
+\author{
+ Johannes Ranke
+}
+\examples{
+ fits <- mmkin(c("SFO", "FOMC"), list(B = FOCUS_2006_B, C = FOCUS_2006_C))
+ fits["FOMC", ]
+ fits[, "B"]
+ fits[, "B", drop = TRUE]$FOMC
+ fits["SFO", "B"]
+ fits[["SFO", "B"]] # This is equivalent to
+ fits["SFO", "B", drop = TRUE]
+}

Contact - Imprint