View source: R/ena.rotate.by.regression.2.R
| ena.rotate.by.hena.regression_2 | R Documentation |
This function allows user to provide a regression formula for rotation on x and optionally on y. If regression formula for y is not provide, svd is applied to the residual data deflated by x to get y coordinates. The regression formula should use ENA points as major predictors and a binary or numerical variable as dependent variable. Control and interaction variables are allowed to be included as predictors in the formula.
ena.rotate.by.hena.regression_2(enaset, params)
enaset |
An |
params |
list of parameters, may include: x_var: Regression formula for x direction, such as "lm(formula= Condition ~ V + GameHalf + Condition : GameHalf)", where V always stands for the ENA points. y_var: Regression formula, similar to x_var for y direction (optional). |
ENARotationSet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.