Displaying 5 results from an estimated 5 matches for "xlow".
Did you mean:
low
2009 Mar 21
1
Forestplot () box size question
Hi All,
I have been able to modify the x-axis to start at zero by adding xlow
and xhigh parameters; that was pretty simple. I have been unable to
find the location of the code that would turn off the information
weighting of the box size (I have smaller randomized trials getting
less weight than a much larger non-randomized trial). The function
is forestplot() from rm...
2013 Sep 25
1
Best and worst values for each date
...er(dat$variable) #not that needed
dat1<-? dat[!(is.na(dat$Predict)|is.na(dat$Actual)),] # removes the NA values in columns "Predict" and "Actual"
res<- do.call(rbind,lapply(split(dat1,dat1$S1),function(x){x1<-x[order(x$Predict),]
??? ??? ??? ??? ??? ??? ????????????? xlow<-if(sum(x1$Predict<0) <5){? #in cases where you don't have 5 negative numbers
???????????????????????????????????????????????? x1[x1$Predict<0,]
??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? }
???????????????????????????????????????????? else? {
??? ??? ??? ??? ??? ??? ??? ??? ??...
1999 Oct 08
1
floor(NaN) problem fixed in massdist.c (PR#291)
...ome 0 on Linux/Alpha when xpos=NaN. When xpos = NaN, it
shouldn't go into the following "if" statement. But it goes inside on
Alpha/Linux (because ixmin is 0), and set y[0] and y[1] to NaN.
Following is extracted from massdist.c
for(i=0 ; i<*nx ; i++) {
xpos = (x[i] - *xlow) / xdelta;
ix = floor(xpos);
fx = xpos - ix;
if(ixmin <= ix && ix <= ixmax) {
y[ix] += (1.0 - fx);
y[ix + 1] += fx;
}
else if(ix == -1) {
y[0] += fx;
}
else if(ix == ixmax + 1) {
y[ixmax + 1] += (1.0 - fx);
}...
2002 Mar 28
3
Vectorizing closest match
If anyone has a very fast vectorized method for doing the following I would appreciate some help. I want to avoid outer() to limit memory problems for very large n.
Let
x = real vector of length n
y = real vector of length n
w = real vector of length m, m typically less than n/2 but can be > n
z = real vector of length m
For w[i], i=1,,,m, find the value of x that is closest to w[i]. In
2009 Feb 08
0
Modifying forestplot function in rmeta
...n in rmeta.
I was able to modify the x axis range by commenting out one line and
feeding it two new parameters (I wanted to set zero as the axis start point).
#xrange <- c(max(min(lower, na.rm = TRUE), clip[1]),
min(max(upper, na.rm = TRUE), clip[2]))
#new line
xrange <- c(xlow,xhigh)
Now I am trying to modify the text font size for the elements in
labeltext and also trying to remove the variability in OR box size,
which is some function of the width of the lower and upper confidence
interval boundaries or the OR.
I am a reasonable programer (other than with R), but...