oneway.barplot: Plot a one-way barplot associated with lowercase representing...

View source: R/oneway.barplot.R

oneway.barplotR Documentation

Plot a one-way barplot associated with lowercase representing statically significant difference

Description

The function could be used as plotting a one-way barplot. In addition, the figure will be added lowercase on bars automatically by means of HSD.test function in agricolae package.

Usage

oneway.barplot(data = data, response = response, x.factor = x.factor, method = 'HSD.test', alpha=0.05, ...)

Arguments

data

a dataframe file.

response

a continous variable.

x.factor

a category variable on x axis.

method

one of multiple contrast approach in HSD.test, duncan.test, LSD.test etc in agricolae package. The default is Tukey HSD.test.

Examples


data(leaflife, package='smatr')

par(xpd=TRUE)
oneway.barplot(data=leaflife,response=lma,x.factor=site)


liuguofang/figsci documentation built on Nov. 24, 2023, 1:45 p.m.