sigplot {pRF}R Documentation

sigplot

Description

Plots observed importance and null distribution for a pRF output list.

Usage

sigplot(pRF.list,threshold)

Arguments

pRF.list

output from a pRF run.

threshold

False Discovery Rate cutoff for plotting. Default is 0.05

Value

a ggplot2 plot

Author(s)

Ankur Chakravarthy

See Also

pRF

Examples


#Load the iris dataset
data(iris)

#Set up the predictors object

predictors=iris[,c(1:4)]
colnames(predictors)<-colnames(iris[1:4])

#Execute the main pRF function
p.test<-pRF(response=factor(iris$Species),
predictors=iris[,c(1:4)],n.perms=20,mtry=3,
type="classification",alpha=0.05)

#Plot

sigplot(pRF.list=p.test,threshold=0.1)


[Package pRF version 1.2 Index]