fgr1st | R Documentation |
Calculates an independence graph using Gaussian stepwise selection
fgr1st(x,p0=0.01,ind=0,kmn=0,kmx=0,nedge=10^5,inr=T,xinr=F)
x |
The matrix of covariates |
p0 |
Cut-off P-value |
ind |
Restricts the dependent nodes to this subset |
kmn |
The minimum number selected variables for each node irrespective of cut-off P-value |
kmx |
The maximum number selected variables for each node irrespective of cut-off P-value |
nedge |
Maximum number of edges |
inr |
Logical, if TRUE include an intercept |
xinr |
Logical, if TRUE intercept already included |
ned Number of edges
edg List of edges together with P-values for each edge and proportional reduction of sum of squared residuals.
data(boston) a<-fgr1st(boston[,1:13],ind=3:6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.