similar to: function on all pairs of vector entries

Displaying 8 results from an estimated 8 matches similar to: "function on all pairs of vector entries"

2007 Nov 15
5
Multiply each column of array by vector component
Hi, I've got an array, say with i,jth entry = A_ij, and a vector, say with jth entry= v_j. I would like to multiply each column of the array by the corresponding vector component, i,e. find the array with i,jth entry A_ij * v_j This seems so basic but I can't figure out how to do it without a loop. Any suggestions? Michal.
2007 Oct 16
2
How to speed up multiple for loop over list of data frames
Hi there, I have a multiple for loop over a list of data frames for ( i in 1:(N-1) ) { for ( j in (i+1):N ) { for ( p in 1:M ) { v_i[p] = alist[[p]][i,"v"] v_j[p] = alist[[p]][j,"v"] } rho_s = cor(v_i, v_j, method = "spearman") rho_p = cor(v_i, v_j, method = "pearson"
2006 Oct 03
1
Summation in R
Hello! Maybe this is a trivial question as I'm still a new baby in R but I wish that u will help me. I want to calculate the following U= sum (t_j*v_j) where t_j is a vector and v_j is the matrix Thanks Dina
2003 Nov 21
3
information
Hello, I have samba 2.0.7 installed on AIX4.3.3. I have 2 bugs : - the first is that I can't transfer large file (more than 4GB) : I've seen there is a bug and patch - the second one is a secure pb referenced by a colleague : a root access on the destination machine Are these 2 problems corrected on version 2.2.8a ? Thanks for your help. Sophie VERDAVAINNE NIS SchlumbergerSema * :
2003 Jun 02
1
Help - Curvature measures of nonlinearity
Dear colleagues, Von Bertalanffy model is commonly adjust to data on fish length (TL) and age (AGE) TL= Linf*(1-exp(-K*(AGE-t0)). Linf, K and t0 are parameters of the model. One main goal of the growth study is the comparison of growth parameter estimates between sexes of the same species, or estimates from different populations. The realibility statistical tests normally applied are highly
2004 Feb 11
3
Any help with bootstrapping
Could someone help me on how to correctly try to correct this error message arning : BCa Intervals used Extreme Quantiles Some BCa intervals may be unstable Warning message: Extreme Order Statistics used as Endpoints in: norm.inter(t, adj.alpha) Regards IF [[alternative HTML version deleted]]
2004 Feb 06
1
Any help
Hi could anyone help me how to bypass this problem IFOXM <- function(r, q , K) { (2*r*log(q*K))/(2+r)+((2-r)/(2+r))* v1 -(q/(2+r))* v2} v3 <- IFOXArist$Ln.Ut.1 IFOXMArist <- nls(v3~ IFOXM (r, q , K),start=list(r=0.5, q=0.01, K=2000)) Error in numericDeriv(form[[3]], names(ind), env) : Missing value or an Infinity produced when evaluating the model In addition: Warning
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking