Description Usage Arguments Value Examples
Re-name data and call BMA function for 2-degree-of-freedom Test
1 2 |
Sample |
input A data frame or matrix with columns in the order: "Y" "E" "G". Defaults to NULL. |
Covar |
input A data frame of all covariate variables. Defaults to NULL. |
cc |
input A number. Defaults to 0.5. |
co |
input A number. Defaults to 0.5. |
phi |
input A number. Defaults to 1. |
psi |
input A number. Defaults to 1000. |
formul |
input A string in the form: "Count~E+G+E:G+Y+E:Y+G:Y+E:G:Y+... . Defaults to NULL. |
A number containing the p-value for a BMA joint test of marginal and interaction effect.
1 2 3 4 5 6 7 | data("Covariates")
data("Sample")
formul <- "Count~E+G+E:G+Y+E:Y+G:Y+E:G:Y+C1+C2+C3+Y:C1+Y:C2+Y:C3+E:C2"
bma.df1(Sample=Sample,Covar=Covariates,cc=0.5,co=0.5,phi=1,psi=1000,formul=NULL)
bma.df2(Sample=Sample,Covar=Covariates,cc=0.5,co=0.5,phi=1,psi=1000,formul=NULL)
bma.df1(Sample=Sample,Covar=Covariates,cc=0.5,co=0.5,phi=1,psi=1000,formul=formul)
bma.df2(Sample=Sample,Covar=Covariates,cc=0.5,co=0.5,phi=1,psi=1000,formul=formul)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.