Learn R Programming

lame (version 1.3.4)

.fit_actor_order: The fit's internal (canonical) actor order

Description

lame() sorts actors alphabetically when it ingests a list of Y matrices (via list_to_array), so the stored additive / multiplicative effects and design slices are in sorted actor order, which need not match the order a user later supplies in newdata. This returns the row and column actor names the fit was estimated in, tried from the most authoritative source down, so newdata can be realigned by name before prediction.

Usage

.fit_actor_order(object)

Value

a list with rows and cols character vectors (or NULL when the order cannot be recovered).

Arguments

object

a fitted lame (or ame) object.