Skip to contents

Varies one environmental variable from min to max while holding others at their mean value. Returns cloglog-transformed predictions.

Usage

compute_response_curve_deprecated(
  fs_ptr,
  grid_ptrs,
  feature_names,
  var_index,
  n_steps = 100L
)

Arguments

fs_ptr

External pointer to a FeaturedSpace object.

grid_ptrs

List of external pointers to Grid<float> objects.

feature_names

Character vector of environment variable names.

var_index

0-based index of the variable to vary.

n_steps

Number of steps across the variable range.

Value

A data.frame with columns: value, prediction.