ntp_dunnett: ntp_dunett Dunnett's test

View source: R/NTP.R

ntp_dunnettR Documentation

ntp_dunett Dunnett's test

Description

ntp_dunett Dunnett's test

Usage

ntp_dunnett(formula, data, dose_name = "dose")

Arguments

formula

An equation of the form Y \sim X. Here the variable Y is the response of interest, and X represents discrete experimental conditions. For example, if weight is the dependent variable, and you are interested in looking at the trend across sex one would have 'weight ~ sex'.

data

A data frame with column names in the formula.

dose_name

The name of the variable containing the doses in the data frame data. It is expected multiple doses for each of the experimental conditions X.

Value

The results of Dunnet's test for each level in dose_name

Examples

a = ntp_dunnett(response ~ sex + response_type,data=ntp_599_hemotology,dose_name="concentration")
summary(a)

ToxicR documentation built on Dec. 28, 2022, 3:07 a.m.