Description Usage Arguments Value Author(s)

This is an internal function called though the GUI to prepare data for input into `runRSCABS`

.

1 | ```
RSCABSMain(Data, GroupVar = "", ReplicateVar = "", BoScabs = FALSE)
``` |

`Data` |
A standard data set in the tall format. Every row indicates an organism. The data set must contain columns for the treatment level and every tested histological endpoint. |

`GroupVar` |
The name of the column that contain the information about the treatment level. Increasing values indicate higher treatments. |

`ReplicateVar` |
The name of the column that contain the information about the replicate structure. This is optional, if this is not declared at function call, BoScabs will be set to FALSE. |

`BoScabs` |
Indicate the type of analysis to be performed. Use FALSE to select the Rao-Scott adjustment to the Cochran-Armitage test and TRUE to ignore the adjustment. |

Returns a list with the following values:

`Response` |
The endpoint that is being tested. |

`Treatment` |
The treatment level. |

`R-Score` |
The severity score from the histology. |

`Statistic` |
The test statistic corresponding that row's endpoint treatment level, and R-Score. |

`P-Value` |
The corresponding p-value |

`Signif` |
The significance flag with "." is a p-value > 0.05, "*" is a 0.01 < p-value <= 0.05, "**" for 0.001 < p-value <= 0.01, and "***" for p-value <= 0.001. |

Joe Swintek

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.