search for: mlist

Displaying 20 results from an estimated 230 matches for "mlist".

Did you mean: list
2013 Feb 06
3
how to "multiply" list of matrices by list of vectors
...t a list of the lda output for each 2D slice, and can create a list of the resulting scalings, but I'm not sure how to multiply them in a vectorized way. Here's how I made a list of 2D matrices (suggestion on improving this would be welcome, too!): > aa <- array(1:24,c(4,2,3)) > mlist <- apply(aa,2,list) > mlist <- lapply(mlist, unlist) > mlist <- lapply(mlist, function(x) matrix(x,4,2)) and here's how I made a list of vectors: > mm <- matrix(1:6,2,3) > vlist <- apply(mm, list) > vlist <- lapply(vlist, unlist) Now I'd like to make the...
2005 Jan 21
6
how to use do.call("rbind", get(list(mlist)))
I have around 200 data frames I want to rbind in a vectorized way. The object names are: m302 m303 ... m500 So I tried: mlist <- paste("m",302:500,sep="") dat <- do.call("rbind", get(list(mlist))) and I get "Error in get(x, envir, mode, inherits) : invalid first argument" I know "rbind" is valid because dat <- rbind(m302, m303, m304, m305) works, I am just to...
2008 Dec 03
1
reduce limit number of arguments in methods:::cbind
...ion which generates nested loops. A workaround could be to use the internal cbind function on blocks of non S4 objects. The limitation would then be reduced to the number of consecutive S4 objects. ##### R code ##### dfr <- data.frame(matrix(0, nrow = 1 , ncol = 1000)) dfr2 <- is.na(dfr) mlist <- rep(list(matrix(0, 2, 1)), 400) cb1 <- do.call("cbind", c(mlist, mlist)) methods:::bind_activation(TRUE) dfr2 <- is.na(dfr) # fails cb2 <- do.call("cbind", mlist) # ok cb3 <- do.call("cbind", c(mlist, mlist)) # fails # This could be avoided by firs...
2005 Sep 01
1
More block diagonal matrix construction code
...some code to construct a block diagonal matrix. For what seemed a fairly straightforward task, the code seemed a little "overweight" to me (that's an American stock analyst's term, btw), so I came up with a slightly cleaner version (with help from Andy): bdiag<-function(...){ mlist<-list(...) ## handle case in which list of matrices is given if(length(mlist)==1)mlist<-unlist(mlist,rec=FALSE) csdim<-rbind(c(0,0),apply(sapply(mlist,dim),1,cumsum )) ret<-array(0,dim=csdim[length(mlist)+1,]) add1<-matrix(rep(1:0,2),nc=2) for(i in seq(along=mlist)){ indx&...
2011 Nov 26
2
simplify source code
Hi I would like to shorten mod1 <- nls(ColName2 ~ ColName1, data = table, ...) mod2 <- nls(ColName3 ~ ColName1, data = table, ...) mod3 <- nls(ColName4 ~ ColName1, data = table, ...) ... is there something like cols = c(ColName2,ColName3,ColName4,...) for i in ... mod[i-1] <- nls(ColName[i] ~ ColName1, data = table, ...) I am looking forward to help Christof
2008 Aug 11
3
Exporting a list of lists
...List(List(Sku=" ", Shape=1, Scale=3, DayOfYear=daylist)) Note: same comment on daylist as above. So far this creates a list of lists just how I want it. If I do al[1] I get each member and the variable length list 'daylist'. Now I want to export this list of lists: write.table(mlist, "SkuInfo.dat", row.names = FALSE, sep=",") But I get an error that the list lengths are not equal. The only member of this list that has a variable length would be DayOfYear How can I output this list of lists when each element list contains a variable length list? Thank yo...
2010 Aug 05
18
dot-containing foldernames \HasNoChildren bug ?
Hello, we experience problems with dovecot configuration using the listescape plugin to allow dots in foldernames. In some mail clients, dot-containing folders won't show any subfolders. This seems to be related to the fact that the \HasNoChildren flag is set on such folders even if subfolders do exits. Here is an example from telnet session: * LIST (\HasNoChildren) "/"
2011 Feb 08
1
Grouping by factors in R
I'm having a hard time figuring out how to group results by certain factors in R. I have data with the following headings: [1] "Time" "Plot" "LatCat" "Elevation" "ElevCat" "Aspect" "AspCat" "Slope" [9] "SlopeCat" "Species" "SizeClass" "Stems" and
2005 Nov 04
1
problem in waveslim library?
...33333,958.8) setZeros<-function(data,factors=list()){ for(factor in factors){ sFac<-paste('d',factor,sep='') data[sFac]<-rep(0,length(data[sFac])) } return(data) } data.dwt<-dwt(data[[2]],n.levels=8) opar<-par(mfrow=c(4,2),mar=c(2,2,2,2)) mlist<-c(1:8) for(iFac in 1:8){ #flist<-mlist[mlist!=iFac] ndata<-setZeros(data.dwt,iFac) plot(idwt(ndata),type='l') }
2011 Jun 04
3
cbind 3 or more matrices
How can I cbind three or more matrices like A,B and C. This does not work: cbind(A,B,C) -- Thanks, Jim. [[alternative HTML version deleted]]
2005 Mar 10
2
What happend with this mLIST?
I didn''t received any email since 18 Feb ? What is happening ? ?!?!? --------------------------------- Do you Yahoo!? Yahoo! Small Business - Try our new resources site! _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
2016 Jan 27
6
HA firewall with tinc
I have 2 firewall in HA with keepalived. Can I use active the same tinc configuration on 2 firewalls ? using tun Interface with same ip on all 2 nodes is a problem ? tun device advertise itself on the network having an IP/MAC pairs (ARP) or the IP is only used by the system internally for routing so using the same configuration is right ? so one firewall be active, the other is passive. With this
2009 Dec 23
7
String question
Hi to all I need a string like temp <- paste("m1","m2","m3",sep=",") But i must know how many items are in the string,afterwards the other option would be to use a vector temp <- c("m1","m2","m3") No problem to get the count of items but I must get afterwards the string "m1,m2,m3" No problem to build the
2016 Jan 27
0
HA firewall with tinc
...to use tinc with DeviceType = tap instead of tun. the tap interface will have a Mac Address and frames will be sent with a complete L2 header. All standard L2 protocols such as ARP will work as expected as on a normal ethernet interface. Cheers Saverio 2016-01-27 10:32 GMT+01:00 mlist <mlist at apsystems.it<mailto:mlist at apsystems.it>>: > This is a vpn for Disater Recovery sites, so it is not necessary to have a seamless failover, strictly speaking. Encryption instead is mandatory. > Testing we found that on Keepalived failover remote Tinc take few seconds...
2008 Dec 21
4
howto bring a soundcard into a domU
Hi @all, I have many domU on my server and they work fine, some of them have their own NICs with the PCI param in the config. Now I try to bring a soundcard for asterisk into a new domU and have the following trouble: rz3-ta:~ # lspci 00:00.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04) PCI: Enabling device 0000:00:00.0 (0000 -> 0001) EMU10K1_Audigy: probe of 0000:00:00.0
2005 Jul 07
14
Asterisk@home and Cisco 7910
Hi, Does anybody knows how to get this work? I have been searching all over and can?t find the way. Using chan_sccp tge phone can log in and has line tone. But the problem is that it is not able to receive nor dial out. Any help would be apprecieted. Thanks Javier --------------------------------- Sell on Yahoo! Auctions - No fees. Bid on great items. -------------- next part
2016 Jan 27
0
HA firewall with tinc
...t want to try to use tinc with DeviceType = tap instead of tun. the tap interface will have a Mac Address and frames will be sent with a complete L2 header. All standard L2 protocols such as ARP will work as expected as on a normal ethernet interface. Cheers Saverio 2016-01-27 10:32 GMT+01:00 mlist <mlist at apsystems.it>: > This is a vpn for Disater Recovery sites, so it is not necessary to have a seamless failover, strictly speaking. Encryption instead is mandatory. > Testing we found that on Keepalived failover remote Tinc take few seconds to reset the connection and correctly...
2004 Apr 02
8
Windows 2003 domain logon
Hello Is it possible to do a domain logon in Samba with a Windows 2003 Server? I don't think so but perhaps someone has a solution. Kind regards Werner Maes
2011 Jan 21
2
Looping with incremented object name and increment function
Folks, I am trying to get a loop to run which increments the object name as part of the loop. Here "fit1" "fit2" "fit3" and "fit4" are linear regression models that I have created. > for (ii in c(1:4)){ + SSE[ii]=rbind(anova(fit[ii])$"Sum Sq") + dfe[ii]=rbind(summary(fit[ii])$df) + } Error in anova(fit[ii]) : object 'fit' not found
2004 Jun 29
1
[Bug 177] chroot tools for OpenSSH 3.1p1
http://bugzilla.mindrot.org/show_bug.cgi?id=177 mlists.20.jardel at spamgourmet.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mlists.20.jardel at spamgourmet |...