getAllUserIds: Get all user IDs

Description Usage Arguments Value References See Also Examples

Description

Allows you to get all the user IDs in your data. It assumes you have a column usid that identifies each user's information for each round with its corresponding user ID. Returns IDS unordered, i.e. in the order they appear on the table.

Usage

1
getAllUserIds(dataset)

Arguments

dataset

the data.frame you want to input.

Value

a vector of integers with all user IDs. IDs are returned in the order they appear on the table.

References

ProductConfig Github page: https://github.com/avilesd/productConfig

See Also

Other GetFunctions: benefitToCostAttr, getAttrValues, getDefaultRefps, getRoundsById, getTableById, get_attrs_ID, normalize

Examples

1
2
getAllUserIds(example_data) #Example return: [1] 1 2 3 4 5
getAllUserIds(data) #Example return: [1] 6 9 10 8 6 2 4

avilesd/productConfig documentation built on May 11, 2019, 4:08 p.m.