sample_bases(
idx,
data = sine1000,
n_basis = 300,
parallel = FALSE,
best = matrix(c(0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1), nrow = 6),
min_proj_dist = NA,
step_size = NA,
seed = 123
)# S3 method for basis_df
print(x, width = NULL, ...)
# S3 method for basis_df
tbl_sum(x)
calc_smoothness(
basis_df,
start_params = c(0.001, 0.5, 2, 2),
other_gp_params = NULL,
verbose = FALSE
)
# S3 method for smoothness_res
print(x, width = NULL, ...)
# S3 method for smoothness_res
tbl_sum(x)
calc_squintability(
basis_df,
method = c("ks", "nls"),
scale = TRUE,
bin_width = 0.005,
other_params = NULL
)
# S3 method for squintability_res
print(x, width = NULL, ...)
# S3 method for squintability_res
tbl_sum(x)
fit_ks(basis_df, idx, other_params = NULL)
fit_nls(basis_df, other_params = NULL)