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

Description Usage Arguments Value

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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


nanny documentation built on July 1, 2020, 10:20 p.m.