Learn R Programming

Deducer (version 0.7-9)

onesample.plot: onesample.plot

Description

plots for one sample tests

Usage

onesample.plot(variables,data=NULL,test.value,scale=FALSE,type="hist",alpha=.2)

Arguments

variables
An expression denoting a set of variable.
data
A data.frame from which the variables will be selected.
test.value
null hypothesis test value
scale
scale variables
type
type of plot. 'hist' or 'box' are allowed
alpha
transparency of points for box plot

Examples

Run this code

data(mtcars)
onesample.plot(variables=d(mpg,cyl,disp,hp,drat,wt,qsec,vs,am,
gear,carb),data=mtcars,type='hist')

onesample.plot(variables=d(mpg,cyl,disp,hp,drat,wt,qsec,vs,am,
gear,carb),data=mtcars,type='box',alpha=1)

Run the code above in your browser using DataLab