Learn R Programming

SLSEdesign (version 0.0.5)

plot_weight: Plot the weight distribution of the optimal design for univaraite regression model

Description

Plot the weight distribution of the optimal design for univaraite regression model

Usage

plot_weight(design)

Value

The plot that shows the given optimal design

Arguments

design

The resulted design that contains the design points and the associated weights

Details

This functions produce a figure that contains the location and their associated weights of the resulted optimal design measures.

Examples

Run this code
Des = list(location = c(-1, +1), weight = c(0.5, 0.5))
plot_weight(Des)

Run the code above in your browser using DataLab