Learn R Programming

cowbell (version 0.1.0)

plot.cowbell: Plots the obtained cowbell function.

Description

Generates a three dimension plot of cowbell function. Additionally the data points of the original data set are added in the visualization. The function with and without breaking point can be visualized. Implementation of the plot generic.

Usage

# S3 method for cowbell
plot(x, breakPointUsed = TRUE, ...)

Arguments

x
The data obtained by function generateCowbell.
breakPointUsed
Defaults to TRUE and indicates if we want to use the version with breakpoint (or not).
...
Just for compatibility purposes.

Examples

Run this code
# Run a simplified anaylsis with 10 iterations only (to save time.)
concept<-generateCowbellConcept(Fun ~ Fluency * Absorption, 1, 9, 1, 7, 1, 7)
data(allFun)
test<-generateCowbell(concept, allFun, 10)
plot(test)

Run the code above in your browser using DataLab