search for: vnames

Displaying 20 results from an estimated 103 matches for "vnames".

Did you mean: names
2007 Nov 24
2
unexpected result from reshape
Hi all. I have unexpected reshape results on datasets with certain variable names. Here a reproducible example: d <- matrix(seq_len(7*7), 1, 7*7) vnames <- c('acc','ppeGross','CF','ROA','DeltaSales','invTA','DeltaRevDeltaRec') varying <- unlist(lapply(vnames, paste, 1:7, sep='.')) d <- data.frame(d) names(d) <- varying d1 <- reshape(d, varying=varying, direction="lo...
2005 Aug 31
2
R CMD check example problem (PR#8113)
[Automatic forwarding from R-bugs failed. This message has been manually forwarded.] Hi all! I'm trying to add Thomas Lumley's defmacro() function Lumley T. "Programmer's Niche: Macros in {R}", R News, 2001, Vol 1, No. 3, pp 11--13, \url{http://CRAN.R-project.org/doc/Rnews/} to the gtools package (provided that Thomas gives his OK). And I've encountered an error in
2002 Nov 16
1
using the function "expression" with "paste" in a plot
Hi, I noticed that paste and expression in the following manner does not produce the desired result. vnames=c("pi","y","delta") vx=vn=3 m=16 # mydata any matrix that takes for the following form mydata=array(somedata,c(m,vn,vx)) # producing plots for (j in 1:vx){ for (i in 1:vn) { plot(mydata, type="l", main=expression(paste("Effect of", vnames[j],"o...
2018 May 01
4
issue with model.frame()
A user sent me an example where coxph fails, and the root of the failure is a case where names(mf) is not equal to the term.labels attribute of the formula -- the latter has an extraneous newline. Here is an example that does not use the survival library. # first create a data set with many long names n <- 30? # number of rows for the dummy data set vname <- vector("character",
2013 Sep 05
12
[PATCH 0/5] Memory leaks amended
Memory leaks found by the tool--valgrind along with static reviewing. Based on Daivd''s branch ''integration-20130903''. Gui Hecheng (5): btrfs-progs:free local variable buf upon unsuccessful returns btrfs-progs:local variable memory freed btrfs-progs: missing tree-freeing statements added btrfs-progs:free the local list pending_list in btrfs_scan_one_dir
2012 Dec 11
1
Rprof causing R to crash
...f(f==100) return((max(pred.vect)-tiff.entry)/(max(pred.vect)-min(pred.vect))*100) else return(NA) } train.dat <- data.frame(a=runif(200),b=runif(200),c=runif(200),d=runif(200)) temp <- data.frame(a=runif(130000),b=runif(130000),c=runif(130000),d=runif(130000)) pred.rng<-temp vnames.final.mod <- names(train.dat) nvars.final <- length(vnames.final.mod) start.time<-Sys.time() for(k in 1:nvars.final){ pred.range<-train.dat[,match(vnames.final.mod[k],names(train.dat))] pred.rng[,k]<-mapply(CalcMESS,tiff.e...
2010 Jul 12
1
Matrix Column Names
Hi, Is there a way to create a matrix in which the column names are not checked to see if they are valid variable names? I'm looking something similar to the check.names argument to data.frame. If so, would such an approach work for the sparse matrix classes in the Matrix package. Many thanks! Cheers, Dave
2012 Mar 06
3
bug uni_utf8_str_is_valid(vname)
Heya, We are expiriencing issues with dovecot 2.1.1 on Linux with weird filenames in home directory of username. We are using mbox IMAP folders, with no special changes (mail_location = mbox:~/:INBOX=%h/.mailbox). Mar 6 13:37:17 machine dovecot: imap(username): Panic: file mail-storage.c: line 628 (mailbox_alloc): assertion failed: (uni_utf8_str_is_valid(vname)) Mar 6 13:37:17 machine dovecot:
2003 Apr 03
1
Tukey's one degree of freedom for nonadditivity?
Is there code available to decompose interactions involving at least one nominal factor with more than 2 levels as described, e.g., by Tukey or by Mandel (1971, Technometrics, 13: 1-18)? Tukey's model: E(y[i,j]) = mu0 + a[i] + b[j] + c*a[i]*b[j], estimating a, b, and c so sum(a) = sum(b)= 0. Mandel essentially describes a singular value decomposition of the interaction. Thanks,
2003 May 21
1
Code Help
...R code to do this with but there seem to be errors in the code. My level of knowledge is improving but still limited. The details are; Data on clover lines; Lines.txt attached. Comma seperations Code: options(digits=3) clover <- read.table("Lines.txt",header=T,sep=",") vnames <- names(clover);nv <- length(vnames) flevels <- levels(clover$Line) par(oma=c(0,6,4,6),mfrow=c(2,1),mar=c(4,4,1,0)) clover$Y <- clover[,"LeafLmm"] mn.tab <- tapply(clover$Y,list(clover$Line),mean) sd.tab <- sqrt(tapply(clover$Y,list(clover$Line),var)) om <- order(...
2002 May 17
0
options()$warn==2 and try()
...h has warn=0 and show.error.messages=TRUE by default, and here is what happens (question after R session): ################################# Start R session: > library(survival) > ## Here are 2 calls with different pairs of variables, both of which yield warnings: > qq <- FitModels(vnames=c("acd11apcd3p","drpcd8p"),dframe="ALLmth12",survname="fail tm12", censname="failcens") Warning message: Loglik converged before variable 2 ; beta may be infinite. in: fitter(X, Y, strats, offset, init, control, weights = weights, > ## warn...
2013 Jun 18
2
Crashes at login time with freshest code
Hello, Dovecot keeps crashing at login time. Things were fine on 2.2.2 Fatal: master: service(imap): child 5014 killed with signal 11 Here is the trace: Core was generated by `imap'. Program terminated with signal 11, Segmentation fault. #0 0x00000000105cdfdf in mailbox_list_get_storage (list=0x7fffffffe310, vname=0x10a04ab0 "INBOX/spam", storage_r=0x7fffffffe308) at
2014 Apr 17
2
segfault with shared namespace version > 2.1.16
We're currently running 2.1.16. I've been wanting to update to a 2.2.X version, but have been running into problems, even with the latest (2.2.12). I'm not sure at what version this issue appeared, but I believe I've tried 2.2.10, 2.2.11, and now 2.2.12. We have a shared maildir setup. With that configuration in place and with a user in the dovecot-acl file, I can do the
2019 Apr 10
2
[BUG?] Double quota calulation when special folder is present
On Wed, Apr 3, 2019 at 9:37 PM Mark Moseley <moseleymark at gmail.com> wrote: > > On Wed, Mar 20, 2019 at 2:13 PM Mark Moseley <moseleymark at gmail.com> > wrote: > >> Just hoping to get some dev eyes on this. I'm incredibly reluctant to >> throw the word 'bug' around >> (since 99 times out of 100, it's not -- it's almost always the
2018 May 01
0
issue with model.frame()
> On May 1, 2018, at 6:11 AM, Therneau, Terry M., Ph.D. via R-devel <r-devel at r-project.org> wrote: > > A user sent me an example where coxph fails, and the root of the failure is a case where names(mf) is not equal to the term.labels attribute of the formula -- the latter has an extraneous newline. Here is an example that does not use the survival library. > > # first
2018 May 01
1
[EXTERNAL] Re: issue with model.frame()
Great catch. I'm very reluctant to use my own model.frame, since that locks me into tracking all the base R changes, potentially breaking survival in a bad way if I miss one. But, this shows me clearly what the issue is and will allow me to think about it. Another solution for the user is to use multiple ridge() calls to break it up; since he/she was using a fixed tuning parameter the
2007 Nov 16
1
3.0.27a out monday.
Just spoke to Jerry, we'll be doing a 3.0.27a on Monday to fix a regression that broke smbfs mounts from Linux. Sorry for the problem. Jeremy.
2009 Jun 25
2
variable driven summary of one column
Hello, how can I get a variable driven summary of one column of my data.frame? Usually I would do > summary(data$columnname) to get a summary of column named "columnname" of my data.frame named "data". In my case the columnname is not static but can be set dynamically. So I save the chosen columname in something like variable <- "columnname" but how can I
2007 Dec 13
1
creating lagged variables
Hi all. I'm looking for robust ways of building lagged variables in a dataset with multiple individuals. Consider a dataset with variables like the following: ## set.seed(123) d <- data.frame(id = rep(1:2, each=3), time=rep(1:3, 2), value=rnorm(6)) ## >d id time value 1 1 1 -0.56047565 2 1 2 -0.23017749 3 1 3 1.55870831 4 2 1 0.07050839 5 2 2 0.12928774 6
2016 Apr 12
2
fts-lucene with virtual folders
Hi, It looks like I've found something strange. It looks like dovecot updates fts-lucene index every time I'm opening virtual folder that contains FTS query: indexer-worker(dion): Warning: fts-lucene: Settings have changed, rebuilding index for mailbox dovecot-virtual is pretty simple: archive/INBOX BODY "test" first of all, I'm trying to perform FTS in archive/INBOX