This function adds a poset to a
1 2 3 4
a pim.environment object
further parameters passed to
a logical value indicating whether the poset
should be overwritten if it's already present. Defaults to
The object with a (new) poset attached.
Although it might be tempting to set the argument
nobs, you shouldn't. The necessary information is taken
from the respective slot in the
If you provide a matrix or a list as value for the argument
note that you can easily create a poset that doesn't use all the
observations. This might or might not be your intention. If the poset
you try to create contains indices that go beyond the number of
observations, you will get errors.