First, if legend = TRUE then the R console is suspended until the user places the legend on the graphic by clicking on the graphic at the point where the upper-left corner of the legend should appear. For indicator variable regression the function behaves as if several abline functions had been called.Ī legend can be added to the plot in three different ways. For simple linear regression the function performs similarly to abline except that the line is constrained to the domain. For one-way or two-way ANOVAs the primary functions called are ot and lineplot.CI. This function is basically a wrapper to a variety of other functions. This function only works for non-linear models with two or fewer groups. In addition, if the linear model contains a factor then the model must be fit with the quantitative explanatory variable first, followed by the factor(s). This function does not work with a multiple linear regression, indicator variable regressions with more than two factors, ANOVAs other than one-way and two-way, or models with a categorical response variable. If this is changed from the default then the domain over which the logistic regression model is plotted will change. Pch = c(16, 21, 15, 22, 17, 24, c(3:14)),Ī vector of length two to control the x-axis in the logistic regression plot. Interval = c("none", "confidence", "prediction", "both"), Supported objects are linear models from simple linear regression (SLR), indicator variable regression (IVR), one-way ANOVA, or two-way ANOVA models general linear models that are logistic regressions with a binary response and non-linear regression with a single numerical response variable, at least one continuous explanatory variable and up to two group-factor explanatory variables. DescriptionĪ generic function for constructing a fitted model plot for an lm, glm, or nls object. FitPlot: Fitted model plot for an lm, glm, or nls object.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |