Description Usage Arguments Details Value Examples
This function returns a two-segment linear dose-response model, by imposing a zero slope for the initial (left) segment, detecting one breakpoint where the dose-response relation changes to a positive slope (if such a breakpoint exists), then reporting the breakpoint dose, its standard error and p-value, and plotting the model.
1 |
dosecolumn |
Name of dose column of interest in dataframe. |
targetcolumn |
Name of response column of interest in dataframe. |
data |
Input dataframe. |
This function:
1) Attempts to identify one breakpoint using the 'segmented' function, starting the search at the median of the input dose variable, and imposing a zero-slope left-hand segment before any identified breakpoint.
2) If a breakpoint has been identified using this iterative approach, the p-value is returned and model plotted; otherwise the function returns no breakpoint.
This function is currently only intended for use on continuous outcome data.
Returns the estimated breakpoint, standard error, and 90 percent confidence limits on the breakpoint, as well as a plot of the estimated two-segment dose-response relationship.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.