get_rotated_dimensions {tidybulk} | R 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_samples = 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 samples)
`of_samples` | 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

[Package tidybulk version 0.99.23 Index]