mbr {mbRes} | R Documentation |
Compute Cliff's delta and S-value
Description
mbr
summarizes Cliff's delta and S-value for multiple groups and
multiple biomarkers.
Usage
mbr(df)
Arguments
df |
a data frame with the name of experimental groups or biomonitoring sites as the first column and the measurement of biomarkers as the remaining columns. |
Details
The header of the first column can be any character, for example, 'group' or 'site'. The first name appearing in the first column will determine the control group or the reference site. The other names will be treatment groups or test sites. The header of the remaining columns will define the list of biomarkers.
Value
mbr
returns a list of length 3:
mess |
a list of
length 3 confirms the information about |
es |
a data frame with 9 columns:
|
idx |
a data frame summarizes |
Examples
set.seed(1)
setting <- setpop()
temp <- simul(setting$pop_mean)
mbr(temp$sam)
#might take more than 5s in some machines