Description Usage Arguments Details Author(s) References See Also Examples
View source: R/plot.var.stability.R
Variable stability plot over the model space.
1 2 3 4 5 | plot.var.stability(
x,
filter.flag = FALSE,
high.dim = 25,
...)
|
x |
An object of class |
filter.flag |
It is an optional argument. Default value is |
high.dim |
An optional argument. |
... |
Further arguments passed to or from other methods. |
Coming soon...
Tanujit Dey tanujit.dey@gmail.com
Dey, T. (2013). modelSampler: An R Tool for Variable Selection and Model Exploration in Linear Regression. Journal of Data Science, 11(2), 371-387.
boot.modelSampler
,
modelSampler
,
print.boot.modelSampler
,
print.modelSampler
,
plot.modelSampler
,
plot.icicle
,
plot.ooberror
,
plot.FPE
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #---------------------------------------------------------------------------
# Example 1:
# In the following example Ozone data set is used to draw the plot. Total number
# of variables in the data set is 12. Therefore optional arguments are not so
# useful to use.
#----------------------------------------------------------------------------
data(Ozone, package = "modelSampler")
ms.boot <- boot.modelSampler(ozone~.,
Ozone,
n.iter1=2500,
n.iter2=2500,
B=20,
verbose = TRUE)
plot.var.stability(ms.boot,
filter.flag=FALSE,
high.dim = 25)
#--------------------------------------------------------------------------------------
# Example 2:
# In this example Ozone interaction data set is used. Total number of variables in this
# data set is 89. So, it's now useful to use optional arguments. This example will plot
# only the best subset of variables over the modified model space.
#---------------------------------------------------------------------------------------
data(OzoneI, package = "modelSampler")
ms.boot <- boot.modelSampler(ozone~.,
OzoneI,
n.iter1=2500,
n.iter2=2500,
B=20,
verbose = TRUE)
plot.var.stability(ms.boot,
filter.flag=TRUE,
high.dim = 25)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.