# The package comes with two example datasets.
# The first contains single measurements on three subjects.
# We can first take a look at the data
example_data1
# Next, compute predictions.
# Since there is no ID column, predict_dominance() will print a message telling
# the user that the rows are assumed to contain observations from different subjects.
predict_dominance(example_data1)
# The next example dataset contains repeated measurements
example_data2
# We compute the predictions as before:
predict_dominance(example_data2)
Run the code above in your browser using DataLab