alt_values {DEXiR} | R Documentation |
alt_values
Description
Make a list of alternative
's values corresponding to attributes
.
Usage
alt_values(alt, attributes, as_character = TRUE, round = NULL)
Arguments
alt |
|
attributes |
A vector of DexiAttribute objects. |
as_character |
|
round |
A single integer. An optional argument to |
Value
character(length(attributes))
. String representation of alt
's values.
See Also
Examples
# Load "Car.dxi"
CarDxi <- system.file("extdata", "Car.dxi", package = "DEXiR")
Car <- read_dexi(CarDxi)
unlist(alt_values(Car$alternatives[1,], Car$attributes, as_character = TRUE))
# c("NULL", "exc", "low", "medium", "low", "exc", "high", "more", "4", "big", "high")
[Package DEXiR version 1.0.2 Index]