Displaying 5 results from an estimated 5 matches for "low1".
Did you mean:
low
2012 Oct 03
1
How to draw a graph after model selection?
...t;Day")
*T1 <- (0.205)*dataT1$D + (0.195)*dataT1$T + 0.227* #DO I SUB IN MY
EQUATION HERE?#
p.average1 <- exp(T1) / (1 + exp(T1))
I1 <- order(dataT1$D)
lines(dataT1$D[I1],p.average1[I1],lwd=2, col="red")
p.Upp1 <- exp(T1 + 1.96*0.19215)/(1+exp(T1 + 1.96*0.19215))
p.Low1 <- exp(T1 - 1.96*0.19215)/(1+exp(T1 - 1.96*0.19215))
lines(dataT1$D[I1], p.Upp1[I1], col="red")
lines(dataT1$D[I1], p.Low1[I1], col="red")
I am supposed to draw a graph where I fix D and T and draw P against D. How
am I supposed to do that???
--
View this message in c...
2012 Dec 17
1
seeking a help on if function
...n
UPM Malaysia
n1<-15
miu<-0
sd1<-1
data1<-rnorm(n1,miu,sd1)
## data transformation as G=0.5 and h=0.5 (data is normal)
G<-0.5
h<-0.5
w<-((exp(G*data1)-1)/G)*(exp((h*data1^2)/2))
group1<-sort(w)
g<-0.15 ## proportion of trimming
## group 1
uw<-floor(0.2*n1)
low1<-mean(group1[1:uw])
uppw1<-mean(group1[(n1-uw+1):n1])
UWx<-uppw1-low1
vw<-floor(0.5*n1)
low2<-mean(group1[1:vw])
uppw2<-mean(group1[(n1-vw+1):n1])
LWx<-uppw2-low2
gam.low<-g*(UWx/(UWx+LWx))
gam.upp<-g-gam.low
gw1<-floor(n1*gam.low)
gw2<-floor(n1*gam.upp)
hw<-n...
2011 Sep 05
1
Dealing with NA's in a data matrix
...e predict
command, it displays an error due to the length of the data sets from the
removal of the NA's. Here is the data, and the code that I am using so
far, if you run it, you'll see the error pop up.... please help me to get
around this problem. Thanks in advance.
Location Dist. Size
low1 .5 10.5
low2 .5 23
low3 .5 NA
low4 .5 NA
mid1 3 15
mid2 3 11.5
mid3 3 15
mid4 3 NA
high1 6 12.5
high2 6 20
high3 6 21
high4 6 22
wall1 10 13
wall2 10 12.5
wall3 10 13
wall4 10 12
d<-read.table("dilomaaethiops.txt",header=T)
d
str(d)
range(d$Dist.)
s<-d$Size
range(s)
s[s<.1]<-...
2002 Aug 14
0
re: using mac-addr for selecting configfile now working
...; 3 bytes vendor part of
MAC
+ xchg ah,al ; Convert to host byte
order
+ ror eax,16
+ xchg ah,al
+.hexify_loop1: rol eax,4
+ push eax
+ and al,0Fh
+ cmp al,10
+ jae .high1
+.low1: add al,'0'
+ jmp short .char1
+.high1: add al,'A'-10
+.char1: stosb
+ pop eax
+ loop .hexify_loop1
+
+ mov cx,6 ; 6 nibbles in netcard part
of MAC
+ mo...
2005 Jul 27
3
Asymmetric colors for heatmap
> Dear expeRts,
>
> Currently, my colors are as follows:
> mycol <-
> c("blue1","blue2","blue3","blue4","black","yellow4","yellow3","yellow2","y
> ellow1")
> heatmap(snp, Rowv=NA, Colv=NA, col=mycol)
>
> However, I would like to have the following colors:
> bright blue -> dark blue: for intensity range from 0 to 2 in steps of 0.5
> (i.e. 4 grades of blue)
> black: for intensity 2
> dark yellow -> bright yellow: for...