Description Usage Arguments Value Examples
This function uses a list of default params that may be overwritten the params
argument. stop()
errors are thrown when invalid params are supplied.
1 | validate_params(data_matrix, params)
|
data_matrix |
The raw, unimputed data matrix. This parameter is supplied so that we can verify the selected column names. |
params |
A
|
A list containing augmented params.
1 2 3 4 5 6 7 8 | data_matrix <- matrix(ncol = 3, nrow = 5)
data_matrix[, 1] <- 1
data_matrix[, 2] <- c(1, 3, 5, 6, 7)
data_matrix[, 3] <- c(1, 0, 1, NA, 1)
colnames(data_matrix) <- c('id', 'tijdstip', 'home')
autovarCore:::validate_params(data_matrix,
list(selected_column_names = c('tijdstip', 'home'),
imputation_iterations = 20))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.