This is a helper function that can be used to replace or add manually fitted cardidates objects to a set of cardidates objects fitted by metaCDW.
the result of a call to metaCDW,
a second object resulting from a call to metaCDW, but which contains one sample only.
not implemented, reserved for future extensions.
This is a helper function that can be used to add additional fits to an
existing object or to replace single fits of a
Though the function is intended for fine-tuning of problematic samples
it should not be abused for invalidating the general principles of
objectivity and reproducibility.
An object of class 'cardiMetacdw', i.e. a Weibull fit.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
## artificial test data data(carditest) ## identify all first peaks fit <- metaCDW(carditest) ## plot it plot(fit, carditest) ## detect second peak for 'Year2' sample2 <- subset(carditest, sample == "Year 2") sample2$sample <- factor(sample2$sample) # drop unused levels fit2 <- metaCDW(sample2, xstart=150) ## merge results merged.fit <- merge(fit, fit2) plot(merged.fit, carditest)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.