Skip to content
Snippets Groups Projects
Verified Commit 23597364 authored by Gärber, Florian's avatar Gärber, Florian
Browse files

doc: Fix usage example

parent 3c950836
No related branches found
No related tags found
No related merge requests found
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
#' \donttest{ #' \donttest{
#' data("SMD_example_data") #' data("SMD_example_data")
#' rfs <- RandomForestSurrogates( #' rfs <- RandomForestSurrogates(
#' x = SMD_example_data[, -1] #' x = SMD_example_data[, -1],
#' y = SMD_example_data[, 1] #' y = SMD_example_data[, 1],
#' s = 10, #' s = 10,
#' seed = 42, #' seed = 42,
#' num.trees = 10, #' num.trees = 10,
......
...@@ -49,8 +49,8 @@ Based on the threshold a vector is created containing the related variables. ...@@ -49,8 +49,8 @@ Based on the threshold a vector is created containing the related variables.
\donttest{ \donttest{
data("SMD_example_data") data("SMD_example_data")
rfs <- RandomForestSurrogates( rfs <- RandomForestSurrogates(
x = SMD_example_data[, -1] x = SMD_example_data[, -1],
y = SMD_example_data[, 1] y = SMD_example_data[, 1],
s = 10, s = 10,
seed = 42, seed = 42,
num.trees = 10, num.trees = 10,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment