search for: lim2

Displaying 5 results from an estimated 5 matches for "lim2".

Did you mean: lim
2009 Oct 14
0
Problem with NLSstClosestX; and suggested fix
...dev1 <- max(deviations[deviations <= 0]) lim1 <- xy$x[match(dev1, deviations)] if (all(deviations <= 0)) { return(lim1) } } if (any(deviations >= 0)) { dev2 <- min(deviations[deviations >= 0]) lim2 <- xy$x[match(dev2, deviations)] if (all(deviations >= 0)) { return(lim2) } } dev1 <- abs(dev1) dev2 <- abs(dev2) lim1 + (lim2 - lim1) * dev1/(dev1 + dev2) } # new line inserted } ----...
2004 May 31
0
Doubts on anova and use of contrasts in multcomp package
...2 # f: e2/r3 #a b c d e f C1 = c(1, -1, 0, 0, 0, 0) # e1 vs e2/r1 C2 = c(0, 0, 1, -1, 0, 0) # e1 vs e2/r2 C3 = c(0, 0, 0, 0, 1, -1) # e1 vs e2/r3 C = rbind(C1, C2, C3) row.names(C) = c('e1 vs e2/r1', 'e1 vs e2/r2', 'e1 vs e2/r3') lim2 = lm(y ~ aux, data = df) print(anova(lim2)) tc2 = simtest(y ~ aux, data = df, conf.level = 0.9, alternative = 'less', eps = 1e-04, cmatrix = C) print(summary(tc2)) #===My Questions: # a) Is possible the resolution of the original intention? How? # b) Why p-values of soluctio...
2009 Dec 14
0
ggplot : scale_x_datetime issues
...table(file=file1,header=TRUE,sep="\t",colClasses=c("character","numeric")) # Could not directly read in the time with the POSIXct class instead of as character t1<-as.POSIXct(df$T) # interested in a specific time frame # first attempted without the CET in the limits lim2<- c("2009-11-05 12:00:00 CET","2009-11-06 13:00:00 CET") library(ggplot) ggplot(data=df,aes(x=T,y=val))+geom_line()+scale_x_datetime(limits=lim2,format="%H") ? I get the following error message : ##### Error in if (length(range) == 1 || diff(range) == 0) { : ? miss...
2007 Jan 08
1
finer control of scales in xyplot
When plotting over multiple pages in lattice, I'd like to be able to have "same" scales within a page, but "free" scales between pages. In other words, something like: z<-data.frame(x=1:100, y=runif(100), d=rep(1:2,50), p=rep(1:2,each=50)) plot<-xyplot(y~x|d*p, data=z,
2006 Jul 28
3
R uses private function in libc (PR#9107)
Full_Name: Quanah Gibson-Mount Version: 2.3.0, 2.3.1 OS: Linux Submission from: (NULL) (171.66.155.86) libc used to export the symbol: __libc_stack_end; however, newer versions of libc no longer export it. R has some serious problems around this, because the code has: # ifdef linux extern void * __libc_stack_end; # endif and #if defined(linux) R_CStackStart = (uintptr_t)