Add interactive plot to the slides
This commit is contained in:
@@ -8,7 +8,7 @@ library(readr)
|
||||
# Creating faceted plots for different knot values and mu values
|
||||
# Create a function to generate the data for a given number of knots and mu value
|
||||
generate_basis_data <- function(num_knots, mu_value, sig_value, nonc_value, tailw_value, deg_value) {
|
||||
grid <- seq(from = 0.01, to = 0.99, length.out = 50)
|
||||
grid <- seq(from = 0.01, to = 0.99, length.out = 99)
|
||||
# Use provided degree
|
||||
B <- profoc:::make_basis_matrix(grid,
|
||||
profoc::make_knots(
|
||||
|
||||
Reference in New Issue
Block a user