View source: R/plot-vocc-interaction.R
Make prediction dataframe for chopsticks
1 2 3 4 5 6 7 8 9 | interaction_df(
data,
formula,
species = NULL,
x_variable = "squashed_temp_vel",
split_variable = "mean_temp",
use_quantiles = TRUE,
N = 3
)
|
data |
The data frame used to make the model matrix. |
formula |
The formula used to make the model matrix. |
species |
If NULL, loops through all species in raw data. |
x_variable |
Which variable to plot sticks on. |
split_variable |
Which variable to plot sticks at the min and max of. |
use_quantiles |
If TRUE, plots lines for 2.5th and 97.5th quantile of splitting varible values occupied by each species. If FALSE, use min and max values occupied by each species. |
N |
Number of increments |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.