search for: mmax

Displaying 13 results from an estimated 13 matches for "mmax".

Did you mean: mmap
2012 Feb 08
2
dropterm in MANOVA for MLM objects
Dear R fans, I have got a difficult sounding problem. For fitting a linear model using continuous response and then for re-fitting the model after excluding every single variable, the following functions can be used. library(MASS) model = lm(perf ~ syct + mmin + mmax + cach + chmin + chmax, data = cpus) dropterm(model, test = "F") But I am not sure whether any similar functions is available in R for multivariate data with categorical response. My data looks like the following: mat <- matrix(rnorm(700), ncol=5, dimnames=list( paste("f"...
2008 Apr 18
5
vector in filename
Hi, I am trying to generate a group of graphics with an iteration. Some thing like this... x=1 y=1 max=10 myfiles <- paste("foo", x:max, ".png", sep="") while (x =< max) { png(file=myfiles, pointsize = 20, width = 600, height = 600, units = "px", bg="#eaedd5") plot(x,y) dev.off() x=x+1 y=y+1
2000 Apr 04
0
Obscure bug....?
..., ...) { filearr <- list.files(path, files, full.names=T) if(! quiet) { print(noquote("Files found:")) print(noquote(filearr)) } tmp <- summarymap(filearr[1], ...) h <- tmp$histogram sm <- tmp$mapmean sv <- tmp$mapvar mmin <- tmp$mapmin mmax <- tmp$mapmax seed <- tmp$mapseed nfiles <- length(filearr) for (i in 2:nfiles) # Supposedly, reduced efficiency by using a for { # loop is neglible compared to file access time. print(c(test=9,hb=length(h$breaks), hc=length(h$counts))) tmp <- summarym...
2000 Jun 15
2
tree error message
Dear R user, I used from the library MASS the dataset cpus and the skript plot.tree.sequence.R, which are included in the tree package: >library(MASS) > data(cpus) > cpus.ltr <- tree(log10(perf) ~ syct + mmin + mmax + cach >+ + chmin + chmax, data=cpus) At home it works but at work I get this message: >Error in .C("BDRgrow1", as.double(X), as.double(unclass(Y)), as.double(w), : C/Fortran function name not in load table I do not understand this message and I would be very glad if someon...
2011 Feb 16
1
sprintf does not print
Dear all I have an sprintf inside a loop to track changes in variable's value. This sprintf statement works if I copy and paste it inside R sprintf('I did the the %d,%d \n',k,l) but when this is inside a loop I get no message. listcounter<-1 for (k in c(1:mmax)){ # for (l in c(1:nmax)){ lst[[listcounter]] <-fun(estimatedsr) listcounter<-listcounter+1 sprintf('I did the the %d,%d \n',k,l) } } When I paste the code above I never get any message printed. I know that the loop works. When I kill the execution of the loop t...
2006 Feb 18
2
"undefined reference to `yes_storage'"
...' with Compaq C, I decided to attempt compile using GCC-3.4.3... To put it short, that didn't fair well either. Will L G. Redhat 7.2 [Alpha] GCC 3.4.3 Binutils-2.16.x Kernel-2.6.13.4 ccache gcc-3.4.3 -std=gnu99 -g -O5 -finline -fstrict-aliasing -fomit-frame-pointer -mieee -w -mtune=ev56 -mmax -pipe -D_BSD_SOURCE -Wl,-lots -Wl,-lcpml -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o imap cmd-append.o cmd-authenticate.o cmd-capability.o cmd-check.o cmd-close.o cmd-copy.o cmd-create.o cmd-delete.o cmd-examine.o cmd-expu...
2011 Jan 05
0
Nnet and AIC: selection of a parsimonious parameterisation
...4, 156, 157, 158, 159, 160, 161, 163, 166, 167, 169, 170, 173, 174, 175, 176, 177, 183, 184, 187, 188, 189, 194, 195, 196, 197, 198, 199, 202, 204, 205, 206, 208, 209) cpus2 <- cpus[, 2:8] # excludes names, authors? predictions attach(cpus2) cpus3 <- data.frame(syct = syct-2, mmin = mmin-3, mmax = mmax-4, cach=cach/256,chmin=chmin/100, chmax=chmax/100, perf) detach() CVnn.cpus <- function(formula, data = cpus3[cpus.samp, ], maxSize = 10, decayRange = c(0,0.2), nreps = 5, nifold = 10, alpha= 9/10, linout = TRUE, skip = TRUE, maxit = 1000,...){ #nreps=number of attempts to fi...
2001 Jul 20
4
plotting dendrograms
Hello, Can anyone offer any insight on graphing classification dendrograms with the nodes marked? plot(tree()) produces a nice tree structure but there's no acccompanying text. Thanks, D S. David White sdavidwhite at bigfoot.com Columbus, Ohio -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2011 Mar 05
19
[RFC apcsmart V3 00/18] apcsmart driver updates
Sorry for a bit longer delay than I anticipated, I was stuffed with the work. This is the next iteration of the patch adding some functionality to apcsmart driver, and relying on 'ignorelb' recently added. Follow up from previous thread: http://www.mail-archive.com/nut-upsdev at lists.alioth.debian.org/msg02331.html Main differences is that V3 is split into many small patches, so the
2011 Jan 25
1
[RFC] Updates to ACP smart driver
This patch introduces a handful of new options, I mentioned earlier in: http://www.mail-archive.com/nut-upsdev at lists.alioth.debian.org/msg02088.html See the large commit message in the follow-up for the details and rationale. I realize it's a bit larger diff - so if it's required I can split it into few smaller ones. Michal Soltys (1): APC smart driver update and new features.
2011 Feb 07
4
[PATCH/RFC v2 0/3] Updates to ACP smart driver
This is 2nd version of the earlier patch featuring a few new features and fixes to the apcsmart driver, following the remarks in: http://www.mail-archive.com/nut-upsdev at lists.alioth.debian.org/msg02294.html Major changes from v1: - handle battery.charge and battery.runtime checks at main.c level - handle "immutable but writable" conflict gracefully at driver level -
2011 Oct 03
2
patch: Replace many usleep and some sleep calls with nanosleep
...C_STAT_OL) { upsdebugx(1, "On-line - forcing OB temporarily"); ser_send_char(upsfd, 'U'); - usleep(UPSDELAY); + struct timespec delay = {0, UPSDELAY}; nanosleep(&delay, NULL); } return sdcmd_S(tval); } @@ -837,6 +837,7 @@ static int sdcmd_ATn(int cnt) int n = 0, mmax, ret; const char *strval; char timer[4]; + struct timespec delay; mmax = cnt == 2 ? 99 : 999; @@ -853,7 +854,8 @@ static int sdcmd_ATn(int cnt) upsdebugx(1, "Issuing hard hibernate with %d minutes additional wakeup delay", n*6); ser_send_char(upsfd, APC_CMD_GRACEDOWN); - u...
2003 Apr 24
2
R-1.7.0 build feedback: NetBSD 1.6 (PR#2837)
R-1.7.0 built on NetBSD 1.6, but the validation test suite failed: Machinetype: Intel Pentium III (600 MHz); NetBSD 1.6 (GENERIC) Remote gcc version: gcc (GCC) 3.2.2 Remote g++ version: g++ (GCC) 3.2.2 Configure environment: CC=gcc CXX=g++ LDFLAGS=-Wl,-rpath,/usr/local/lib make[5]: Entering directory `/local/build/R-1.7.0/src/library' >>> Building/Updating