Further the restricted and unrestricted models are fitted without effects of row, columns, and blocks. The models are fitted by lm, in combination with the function pheur325.
Results are listed directly, or returned in an object. These results
can be typeset by LaTex - directly, or by the use of the
package xtable.
fit(object, ...)
pla.fit(data, sampleLabels = levels(unlist(data["Sample"])), indexOfReference = 1, StdName = sampleLabels[indexOfReference], design = "blocks", dfAdj = 0, dr = 2, factor = 1, alpha = 0.05, main = "Parallel Line Model", tag = "PLA", expectedAnova = NULL, expectedPotency = NULL, formatTests = "long", show = FALSE, sink = FALSE, Sweave = FALSE, printPotencyEstimates = TRUE, returnPotencyEstimates = TRUE)sink. crd, blocks, or latin for selecting
"Completely Randomized Design", "Randomized block design",
or "Latin square design". samples.
If data["Sample"] has one of these values, then these rows are used.
These labels are also used for labels of the returned values.
sampleLabels.
Sample of the input data data.
If data["Sample"] has this
value, then these rows are from the 'reference'.
"long",
"short", "both", "none" to select format for
results of validity tests. TRUE then all the results are reported. paste(tag, "-Result.txt", sep = "") if this boolean is
TRUE. 0.05. alpha can be a named vector
with the levels of significance for the tests of Regression,
Linearity, Parallelism, and the complementary
probability alpha of the Confidence interval of the
potency. If more than one probability is supplied for one test of
validity, then "Unknown" is reported for tests with
probability between the supplied values, with counts of limits
exceedded.
TRUE then code is inserted in the
output listing for page breaking in LaTeX. TRUE then computed potency
values are listed (for Sweave). TRUE then computed potency
values are returned. data(Turbidimetric); Data <- Turbidimetric
Design <- "blocks"
Data <- readAssayTable(paste(system.file(package = "pla"),
"vignettes/PhEur/data/AntibioticTurbidimetric.txt",
sep = "/"))
Frame <- as.data.frame(Data, dr = 1.5)
fits <- pla.fit(Frame, design = Design, sampleLabels = c("S", "T"),
dr = 1.5, returnPotencyEstimates = TRUE)
## Alternative on object of class 'pla':
plaModel <- plaRBD(Data)
Fits <- fit(plaModel)
Run the code above in your browser using DataLab