View source: R/proportion_overlap.R

proportion_overlap | R Documentation |

This function calculates the proportion overlap from two independent group d effect size calculations. Cohen's u1, u2, u3 and proportion overlap are provided.

```
proportion_overlap(
model = NULL,
x_col = NULL,
y_col = NULL,
df = NULL,
d = NULL
)
```

`model` |
a saved independent t-test model |

`x_col` |
name of the column that contains the factor levels OR a numeric vector of group 1 scores |

`y_col` |
name of the column that contains the dependent score OR a numeric vector of group 2 scores |

`df` |
optional dataframe that includes the x_col and y_col |

`d` |
previously calculated d value |

A list of the following:

`u1` |
Proportion of non-overlap across both distributions |

`u2` |
Proportion that one group is more than the same proportion in the other group |

`u3` |
Proportion of one group that is smaller than the median of the other group |

`p_o` |
Proportional overlap of distributions |

```
proportion_overlap(d = .25)
```

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.