Displaying 2 results from an estimated 2 matches for "b_crp".
Did you mean:
_crs
2007 Nov 13
0
need help with error message:Error in lm.fit(design, t(M)) : incompatible dimensions
...;A2_xen2a_5_2.CEL"
targets<-readTargets("xen1shrt.txt") # Read target files
>targets
Name FileName Target
1 A1_xen1_1_1 A1_xen1_1_1.CEL A_xen
2 A2_xen2a_5_2 A2_xen2a_5_2.CEL A_xen
3 A3_xen2b_6_3 A3_xen2b_6_3.CEL A_xen
4 B1_cr1_2_4 B1_cr1_2_4.CEL B_crp
5 B2_cr2a_9_5 B2_cr2a_9_5.CEL B_crp
6 B3_cr2b_10_6 B3_cr2b_10_6.CEL B_crp
f<-factor(targets$Target,levels=c("A_xen", "B_crp")) # Define levels
>f
[1] A_xen A_xen A_xen B_crp B_crp B_crp
Levels: A_xen B_crp
design<-model.matrix(~0+f) # Define design...
2010 Oct 06
4
problem with abline
Hi All,
I am running a scatter plot and trying to add a best fit line. I use an abline function, but get no line drawn over the points. I also get no error. I arm using V 2.10.0 on Windows 7.
Here is my code, including the SAS transport file import:
require (foreign)
require (chron)
require (Hmisc)
require (lattice)
clin <- sasxport.get("y:\\temp\\subset.xpt")
attach(clin)