Update DGP + app

This commit is contained in:
2025-05-18 22:57:12 +02:00
parent 83219fd607
commit 2411b24e29
2 changed files with 17 additions and 18 deletions

2
test.R
View File

@@ -23,7 +23,7 @@ generate_basis_data <- function(num_knots, mu_value, sig_value, nonc_value, tail
)
B_mat <- round(as.matrix(B),2)
df <- as.data.frame(B_mat)
df$x <- grid
df$x <- round(grid,2)
df_long <- pivot_longer(df,
cols = -x,
names_to = "b",