plot_data | R Documentation |
Generates a plot with the true vs predicted curves
plot_data(x, Y, B, m_list, true_m_not, true_cluster_assignments, plot_params)
x |
The dependent variable |
Y |
A matrix in which the rows represent the curves |
m_list |
A list of the updated m parameters for each cluster |
true_m_not |
A matrix containing the true m_not vectors for each cluster |
K |
The number of clusters in the data |
nbasis |
The number of basis functions |
plot_data(x, Y, K, nbasis, m_list, true_m_not)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.