Running examples in 'mobForest-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: compute.mse
> ### Title: Predictive accuracy estimates (MSE) across trees for linear or
> ###   poisson regression model.
> ### Aliases: compute.mse
> 
> ### ** Examples
> 
> # The MSE should be 2.5. Off by 2 half the time, off by 1 the other half
> response <- matrix(c(rep(0,100), rep(10,100)))
> predictions <-
+     matrix(nrow=20, ncol = 3,
+            data = c(rep(1,100), rep(8,100), rep(1,100), rep(8,100),
+                     rep(1,100), rep(8,100)))
Error in matrix(nrow = 20, ncol = 3, data = c(rep(1, 100), rep(8, 100),  : 
  data length differs from size of matrix: [600 != 20 x 3]
Execution halted
Running examples in ‘mobForest-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: compute.mse
> ### Title: Predictive accuracy estimates (MSE) across trees for linear or
> ###   poisson regression model.
> ### Aliases: compute.mse
> 
> ### ** Examples
> 
> # The MSE should be 2.5. Off by 2 half the time, off by 1 the other half
> response <- matrix(c(rep(0,100), rep(10,100)))
> predictions <-
+     matrix(nrow=20, ncol = 3,
+            data = c(rep(1,100), rep(8,100), rep(1,100), rep(8,100),
+                     rep(1,100), rep(8,100)))
Error in matrix(nrow = 20, ncol = 3, data = c(rep(1, 100), rep(8, 100),  : 
  data length differs from size of matrix: [600 != 20 x 3]
Execution halted
Running examples in ‘mobForest-Ex.R’ failed
The error most likely occurred in:

> ### Name: compute.mse
> ### Title: Predictive accuracy estimates (MSE) across trees for linear or
> ###   poisson regression model.
> ### Aliases: compute.mse
> 
> ### ** Examples
> 
> # The MSE should be 2.5. Off by 2 half the time, off by 1 the other half
> response <- matrix(c(rep(0,100), rep(10,100)))
> predictions <-
+     matrix(nrow=20, ncol = 3,
+            data = c(rep(1,100), rep(8,100), rep(1,100), rep(8,100),
+                     rep(1,100), rep(8,100)))
Error in matrix(nrow = 20, ncol = 3, data = c(rep(1, 100), rep(8, 100),  : 
  data length differs from size of matrix: [600 != 20 x 3]
Execution halted
Running examples in ‘mobForest-Ex.R’ failed
The error most likely occurred in:

> ### Name: compute.mse
> ### Title: Predictive accuracy estimates (MSE) across trees for linear or
> ###   poisson regression model.
> ### Aliases: compute.mse
> 
> ### ** Examples
> 
> # The MSE should be 2.5. Off by 2 half the time, off by 1 the other half
> response <- matrix(c(rep(0,100), rep(10,100)))
> predictions <-
+     matrix(nrow=20, ncol = 3,
+            data = c(rep(1,100), rep(8,100), rep(1,100), rep(8,100),
+                     rep(1,100), rep(8,100)))
Error in matrix(nrow = 20, ncol = 3, data = c(rep(1, 100), rep(8, 100),  : 
  data length differs from size of matrix: [600 != 20 x 3]
Execution halted