https://github.com/cran/ensembleBMA
Raw File
Tip revision: f5ae722309f273a5b3e5fae294b71d73501cec72 authored by Chris Fraley on 15 July 2013, 00:00:00 UTC
version 5.0.4
Tip revision: f5ae722
ensembleForecasts.ensembleData.R
`ensembleForecasts.ensembleData` <-
function (x) 
{ 
#
# copyright 2006-present, University of Washington. All rights reserved.
# for terms of use, see the LICENSE file
#
 k <- attr(x, "ensembleSize")
 attr(x, "ensembleSize") <- NULL
 class(x) <- "data.frame"
 as.matrix(x[, 1:k])
}

back to top