R: Transform the shift values

transform_shifts_values {PhylogeneticEM} | R Documentation

## Transform the shift values

### Description

`transform_shifts_values` takes the shifts generating a given expectation structure given an OU with alpha = from, and gives back the equivalent shifts values that produce the same structure with an OU with alpha = to. If from or to is 0, then the process is supposed to be a BM.

### Usage

    transform_shifts_values(shifts, from = 0, to, phylo)

### Arguments

`shifts` | the shifts on the original process
`from` | alpha value of the original process. If equals 0, then the original process is taken to be a BM.
`to` | alpha value of the destination process
`phylo` | the phylogenetic tree (un-scaled)

[Package PhylogeneticEM version 1.1.0 Index]