Skip to contents

This function projects ENA points onto the rotated space using the rotation matrix. Optionally, metadata can be included in the resulting points matrix.

Usage

project(x, rotation = NULL, add.meta = TRUE)

Arguments

x

An ena.set object containing the points for projection and rotation matrix.

rotation

Optional. A rotation matrix to use for projection if x is not an ena.set.

add.meta

Logical. If TRUE (default), metadata will be included in the output.

Value

The input ena.set object with the projected points matrix (and metadata if requested).

Examples

# Assuming 'set' is an ena.set object:
data(RS.data)

codes <- c("Data", "Technical.Constraints", "Performance.Parameters",
           "Client.and.Consultant.Requests", "Design.Reasoning",
           "Collaboration")
units <- c("Condition", "UserName")
horizon <- c("Condition", "GroupName")
enaset <- RS.data |>
  accumulate(units, codes, horizon) |>
  sphere_norm() |>
  center() |>
  rotate() |>
  project()