Description Usage Arguments Details Value Author(s) See Also
View source: R/independent_lm_tests.r
Internal function.
1 2 | independent_lm_tests(Dat, f1, strain, StartP.levels = c("minusP", "plusP"),
EndP.levels = c("100uM", "30uM"))
|
Dat |
A data.frame containing the data of one bacterial treatment. Unsupported behaviour would occur if more than one bacterial treatment is included. The data.frame must contain columns: 'Bacteria', 'StartP' and 'EndP'. The 'Bacteria' column must be either a factor or a character vector containing only values 'No Bacteria' and '+Bacteria' |
f1 |
formula for test. It will be passed to the lm function |
strain |
A character string, indicating strain name. |
StartP.levels |
new names for StartP levels |
EndP.lvels |
new names for EndP levels. |
This functions takes the data from one bacterial treatment makes an independent linear model for all observation on each combination of levels between two variables.
A list of data frames. Each data.frame contains a column called 'Strain' which indicates the strain ID. An also contains m more columns (m = length(StartP.levels)*lenght(EndP.levels)). Each element of the list stores the either the coefficiennt for the bacterial treatment (Res), its p-value (Pval), or its standard error (SE).
Sur Herrera Paredes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.