[Pomp-commits] r344 - in pkg: . R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Sep 29 17:34:36 CEST 2010
Author: kingaa
Date: 2010-09-29 17:34:36 +0200 (Wed, 29 Sep 2010)
New Revision: 344
Modified:
pkg/NAMESPACE
pkg/R/pomp-methods.R
Log:
- export the new S3 as.data.frame method for pomps
Modified: pkg/NAMESPACE
===================================================================
--- pkg/NAMESPACE 2010-09-29 01:03:14 UTC (rev 343)
+++ pkg/NAMESPACE 2010-09-29 15:34:36 UTC (rev 344)
@@ -46,6 +46,7 @@
export(
pomp,
+ as.data.frame.pomp,
reulermultinom,
deulermultinom,
euler.simulate,
Modified: pkg/R/pomp-methods.R
===================================================================
--- pkg/R/pomp-methods.R 2010-09-29 01:03:14 UTC (rev 343)
+++ pkg/R/pomp-methods.R 2010-09-29 15:34:36 UTC (rev 344)
@@ -29,8 +29,7 @@
}
)
-as.data.frame.pomp <- function (x)
- as(x,"data.frame")
+as.data.frame.pomp <- function (x, row.names, optional, ...) as(x,"data.frame")
## a simple method to extract the data array
setMethod(
More information about the pomp-commits
mailing list