get_rotated_dimensions: Get rotated dimensions of two principal components or MDS...

get_rotated_dimensionsR Documentation

Get rotated dimensions of two principal components or MDS dimension of choice, of an angle

Description

Get rotated dimensions of two principal components or MDS dimension of choice, of an angle

Usage

get_rotated_dimensions(
  .data,
  dimension_1_column,
  dimension_2_column,
  rotation_degrees,
  .element = NULL,
  of_elements = TRUE,
  dimension_1_column_rotated = NULL,
  dimension_2_column_rotated = NULL
)

Arguments

.data

A tibble

dimension_1_column

A column symbol. The column of the dimension 1

dimension_2_column

A column symbol. The column of the dimension 2

rotation_degrees

A real number between 0 and 360

.element

A column symbol. The column that is used to calculate distance (i.e., normally elements)

of_elements

A boolean

dimension_1_column_rotated

A column symbol. The column of the dimension 1 rotated

dimension_2_column_rotated

A column symbol. The column of the dimension 2 rotated

Value

A tibble with additional rotated columns


stemangiola/nanny documentation built on July 29, 2023, 1:23 a.m.