No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
2e32a98
... +2 ...
d954e67
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
1097 | 1097 | } |
|
1098 | 1098 | } |
|
1099 | 1099 | ||
1100 | + | #' @export |
|
1101 | + | predict <- function(x, ...) UseMethod("predict") |
|
1100 | 1102 | #' @name predict |
|
1101 | 1103 | #' @rdname predict |
|
1102 | 1104 | #' @title Using the LibBi wrapper to predict |
1105 | 1107 | #' |
|
1106 | 1108 | #' For the help page of the base R \code{optimise} function, see \code{\link[stats]{optimise}}. |
|
1107 | 1109 | #' @export |
|
1108 | - | #' @param object a \code{\link{libbi}} object |
|
1110 | + | #' @param x a \code{\link{libbi}} object |
|
1109 | 1111 | #' @param ... any arguments to be passed to \code{\link{sample}} |
|
1110 | - | predict.libbi <- function(object, ...) { |
|
1111 | - | sample(object, target="prediction", ...) |
|
1112 | + | predict.libbi <- function(x, ...) { |
|
1113 | + | sample(x, target="prediction", ...) |
|
1112 | 1114 | } |
|
1113 | 1115 | ||
1114 | 1116 | ##' Sample observations from a LibBi model that has been run |
Files | Coverage |
---|---|
R | +<.01% 97.85% |
Project Totals (17 files) | 97.85% |
d954e67
04ac893
11be09f
2e32a98