Description Usage Arguments Value See Also Examples
This function takes the cowbell definition that was created with generateCowbellConcept
and performs
a regression analysis. Additionally it also moves the breaking point to the maximal values of the independent
variables to later on test for the significance of the breaking point. This function needs relatively long to
compute as it uses a gradient based optimizer for optimizing a non - linear model.
1 | generateCowbell(concept, table, iterations = 1000, learningRate = 0.01)
|
concept |
The previously in function |
table |
The table that at least contains the data for the dependent and the two independent variables specified in concept. |
iterations |
The number of iteration that should be done with the gradient optimizer. |
learningRate |
The step size that should be applied in the gradient optimizer. |
A list with the data, the model with and without breakpoint and the F-Statistics.
1 2 3 4 | # 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.