NPARCtest | R Documentation |
Perform F-test
NPARCtest(modelMetrics, dfType = c("empirical", "theoretical"))
modelMetrics |
data.frame with results of the model fit in long format. |
dfType |
character value indicating the method for degrees of freedom computation for the F-test. Theoretical yields the text-book solution. Empirical yields estimates derived from the distribution moments of the RSS. |
data frame with fitted model parameters and additional columns listing e.g. residuals sum of squares of null and alterantive model and raw and adjusted p values retrieved from testing
data(stauro_TPP_data_tidy)
df <- dplyr::filter(stauro_TPP_data_tidy, grepl("CDK|GTP|CRK", uniqueID))
fits <- NPARCfit(x = df$temperature,
y = df$relAbundance,
id = df$uniqueID,
groupsNull = NULL,
groupsAlt = df$compoundConcentration,
returnModels = FALSE)
modelMetrics <- fits$metrics
testRes <- NPARCtest(modelMetrics, dfType = "theoretical")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.