update_values {sfd}R Documentation

Update the Values of a Design

Description

For a set of values, this function inserts the actual values of the design produced by get_design().

Usage

update_values(design, values)

Arguments

design

A tibble produced by get_design(). The column values should be unmodified.

values

A list of vectors containing the possible values for each parameter. There should be as many values (of any type) as there are rows in design. For numeric data, it is preferable that the values are equally spaced.

Value

An updated tibble.

Examples

des <- get_design(3, 6)
des

vals <- list(1:6, letters[1:6], seq(20, 21, length.out = 6))

des_2 <- update_values(des, vals)
des_2

[Package sfd version 0.1.0 Index]