aboutsummaryrefslogtreecommitdiff
path: root/demo/pyrithione.R
diff options
context:
space:
mode:
authorranke <ranke@d1b72e20-2ee0-0310-a1c4-ad5adbbefcdc>2006-04-28 11:42:14 +0000
committerranke <ranke@d1b72e20-2ee0-0310-a1c4-ad5adbbefcdc>2006-04-28 11:42:14 +0000
commit6d220f8d71564a0430473ab2465e169adddb02d8 (patch)
tree2c5293bc1895ee3c8868f2139d1dcae334f9b1c3 /demo/pyrithione.R
parent2fad306141599983f03ddaf277ac7cccfc04523f (diff)
- Fixed the drplot function, so the graphics parameter ask is adequately set
depending on the overlay argument, and set back to the previous value - Added a test for each datase - Added a demo for each dataset - Corrected many small bugs in the documentation and improved formatting of the .Rd files git-svn-id: http://kriemhild.uft.uni-bremen.de/svn/drfit@74 d1b72e20-2ee0-0310-a1c4-ad5adbbefcdc
Diffstat (limited to 'demo/pyrithione.R')
-rw-r--r--demo/pyrithione.R12
1 files changed, 12 insertions, 0 deletions
diff --git a/demo/pyrithione.R b/demo/pyrithione.R
new file mode 100644
index 0000000..5b5a75d
--- /dev/null
+++ b/demo/pyrithione.R
@@ -0,0 +1,12 @@
+require(drfit)
+data(pyrithione)
+
+# MSPT and MSPHI give unreasonable fits with the linlogit model
+rpyr <- drfit(pyrithione,linlogit=TRUE,linlogitWrong=c("MSPT","MSPHI"))
+rpyr
+
+# Consult the above result list to sort out the colors
+drplot(rpyr,pyrithione,dtype="none",overlay=TRUE,bw=FALSE,
+ colors=rainbow(14),xlim=c("auto",8))
+
+drplot(rpyr,pyrithione)

Contact - Imprint