Commit eaf10714 authored by aho's avatar aho
Browse files

Fix example

parent 945d641a
Pipeline #5730 failed with stage
in 2 minutes and 3 seconds
......@@ -78,12 +78,11 @@
#'obs <- round(exp)
#'x <- BrierScore(exp, obs)
#'
#'#===============uncomment the examples below when ProbBins is included==========
#'# Inputs are arrays
#'#example(Load)
#'#bins_ano_exp <- ProbBins(ano_exp, thr = c(1/3, 2/3), posdates = 3, posdim = 2)
#'#bins_ano_obs <- ProbBins(ano_obs, thr = c(1/3, 2/3), posdates = 3, posdim = 2)
#'#res <- BrierScore(bins_ano_exp, MeanDims(bins_ano_obs, 'member'), memb_dim = 'member')
#'example(Load)
#'bins_ano_exp <- ProbBins(ano_exp, thr = c(1/3, 2/3), posdates = 3, posdim = 2)
#'bins_ano_obs <- ProbBins(ano_obs, thr = c(1/3, 2/3), posdates = 3, posdim = 2)
#'res <- BrierScore(bins_ano_exp, MeanDims(bins_ano_obs, 'member'), memb_dim = 'member')
#'
#'@import multiApply
#'@export
......
......@@ -93,12 +93,11 @@ exp <- runif(10)
obs <- round(exp)
x <- BrierScore(exp, obs)
#===============uncomment the examples below when ProbBins is included==========
# Inputs are arrays
#example(Load)
#bins_ano_exp <- ProbBins(ano_exp, thr = c(1/3, 2/3), posdates = 3, posdim = 2)
#bins_ano_obs <- ProbBins(ano_obs, thr = c(1/3, 2/3), posdates = 3, posdim = 2)
#res <- BrierScore(bins_ano_exp, MeanDims(bins_ano_obs, 'member'), memb_dim = 'member')
example(Load)
bins_ano_exp <- ProbBins(ano_exp, thr = c(1/3, 2/3), posdates = 3, posdim = 2)
bins_ano_obs <- ProbBins(ano_obs, thr = c(1/3, 2/3), posdates = 3, posdim = 2)
res <- BrierScore(bins_ano_exp, MeanDims(bins_ano_obs, 'member'), memb_dim = 'member')
}
\references{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment