index_guess | R Documentation |

Helper function that guesses GoF or BoF from a given index name

```
index_guess(index)
```

`index` |
A fit index or measure provided by function fitmeasures in package lavaan |

Returns GoF (Goodness-of-Fit index) or BoF (Badness of Fit index).

```
index_guess("cfi")
index_guess("tli")
index_guess("rmsea")
index_guess("srmr")
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.