Commit 76b2d914 authored by Feng Xue's avatar Feng Xue
Browse files

change the description of anova and sort commands

parent 2edd9c48
......@@ -4,6 +4,25 @@
function CommandExecutor() {
"use strict";
var helpTexts = {
"anova": {
"parameters": "depvar indepvarlist [, options]",
"shortDescription": "Analysis of variance and covariance.",
"description": "The anova command fits analysis-of-variance (ANOVA) and analysis-of-covariance (ANCOVA) models for balanced and unbalanced designs. \nThe varlist is mandatory. Indepvarlist is a factor-variable list.",
"syntax": "depvar indepvarlist [, options]",
"examples": [
{
"example": "anova gender age income age#income",
"description": "Two-way full factorial anova table of gender on age and income."
}
],
"options" : [
{
"name" : "noconstant",
"shortDescription" : "Suppress constant term",
"description" : "Suppresses the constant term (the y intercept) in the model"
}
]
},
"ci": {
"parameters": "varlist [, options]",
"shortDescription": "Displays confidence intervals and standard errors for the variables.",
......@@ -113,41 +132,6 @@ function CommandExecutor() {
}
]
},
"anova": {
"parameters": "varname termlist [, options]",
"shortDescription": "Analysis of variance and covariance.",
"description": "The anova command fits analysis-of-variance (ANOVA) and analysis-of-covariance (ANCOVA) models for balanced and unbalanced designs. \nThe varlist is mandatory. Termlist is a factor-variable list.",
"syntax": "varname termlist [, options]",
"examples": [
{
"example": "anova gender age income age#income",
"description": "Two-way full factorial anova table of gender on age and income."
}
],
"options" : [
{
"name" : "noconstant",
"shortDescription" : "Suppress constant term",
"description" : "Suppresses the constant term (the y intercept) in the model"
}
]
},
"replace": {
"parameters": "oldvar = expression [if ...]",
"shortDescription": "Modify contents of existing variable as per the expression defined.",
"description": " The replace command replace contents of existing variable where its values are as per the expression defined. \n\nThe arithmetic functions supported are +, - , *, / and ^ .",
"syntax": "oldvar = expression [if ...]",
"examples": [
{
"example": "replace var1 = var1 / 2",
"description": "Replace var1 with old one. The value for each case will be the value of old var1 devide 2."
},
{
"example": "replace var1 = var1 / 2 if var2 == 0",
"description": "As above, but only when var2 is equal to zero. Value of var1 will otherwise be missing."
}
]
},
"help": {
"parameters": "commandName",
"shortDescription": "Displays documentation of the command.",
......@@ -220,6 +204,22 @@ function CommandExecutor() {
}
]
},
"replace": {
"parameters": "oldvar = expression [if ...]",
"shortDescription": "Modify contents of existing variable as per the expression defined.",
"description": " The replace command replace contents of existing variable where its values are as per the expression defined. \n\nThe arithmetic functions supported are +, - , *, / and ^ .",
"syntax": "oldvar = expression [if ...]",
"examples": [
{
"example": "replace var1 = var1 / 2",
"description": "Replace var1 with old one. The value for each case will be the value of old var1 devide 2."
},
{
"example": "replace var1 = var1 / 2 if var2 == 0",
"description": "As above, but only when var2 is equal to zero. Value of var1 will otherwise be missing."
}
]
},
"summarize": {
"parameters": "varlist [if]",
"shortDescription": "List summary statistics for variables.",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment