similar to: Saving Iterative Components

Displaying 20 results from an estimated 7000 matches similar to: "Saving Iterative Components"

2010 Sep 24
1
Saving iterative components
Hi, I need help! I am trying to iterate an iterative process to do cross vadation and store the results each time. I have a Spatial data.frame, called Tmese > str(Tmese) Formal class 'SpatialPointsDataFrame' [package "sp"] with 5 slots ..@ data :'data.frame': 14 obs. of 17 variables: .. ..$ ID : int [1:14] 73 68 49 62 51 79 69 77 57 53 ... .. ..$
2007 Oct 09
5
continue for loop in case of erros
Dear all, I have a for loop which includes nls model estimation. The loop breaks after the first non-convergence error. How can I make the loop continue and try to estimate all models? I suppose it should be sth like: if(...) { next } but I have no idea how to setup the arguements... Thank you! Irene
2008 Jan 02
2
[LLVMdev] immediate predecessors
hi, how to get the number of immediate predecessors for each basic block (arguements of remarks statement at the beginning of the basic block) thank you aditya ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
2005 May 18
2
applying a function over an array
Is there a way to apply a function with several arguements over an array? For instance if you had a function d<-function(a,b,c) {a+b+c} and a 4,3 array, could you apply the function over each line of the array? tapply seems to only allow one argument, and I just can't think of a way to explicitly tell R that I am passing it 3 distinct objects instead of 1 complex one. Thank you as
2011 Jan 14
2
question about deparse(substitute(...))
Dear R helpers: I like to apply deparse(substitute()) on multiple arguments to collect the names of the arguments into a character vector. I used function test.fun as below. it works when there is only one input argument. but it does not work for multiple arguements. can someone kindly help? test.fun <- function(...){deparse(substitute(...))} test.fun(x) #this works test.fun(x,y,z) # I like
2008 Mar 17
5
DRBD question.
I'm going to have to be a little vague on this one, but hope I provide enough to make the question clear. I'm not doing the work on this server, a co-worker is, but I said I would ask for him. He is trying to get DRBD installed. He's using Centos 5.1 and the yum repos, but is getting problems with things like the kernel, drbd.so, and the likes. All install fine, but I'm not
1997 Aug 15
2
R-beta: Polynomials in lm/glm
R users, I was a bit surprised to find that when I attempted to add a polynomial term to a linear model using either lm or glm as could be done in S resulted in a fit without that term included and without warning(!!), e.g. > lm(response ~ x + x^2, data). As far as I can gather, there is no poly() yet in R, and if lm/glm do not allow functions of variables as their formula arguements, is
2003 May 08
2
Forward Stepwise regression with stepAIC and step
Dear all, I cannot seem to get the R functions step or stepAIC to perform forward or stepwise regression as I expect. I have enclosed the example data in a dataframe at the end of this mail. Note rubbish is and rnorm(17) variable which I have deliberately added to the data to test the stepwise procedure. I have used wateruse.lm<-lm(waterusage~.,data=wateruse) # Fit full model
2008 Oct 29
2
Help using tapply with multiple variables
Dear list, I have the function (as a simple example, which is actually part of a larger function) pres.test<-function(N0=N0, N1=N1) { dt<-5 r<-log(N1/N0)/dt r } which calculates the annual growth rates in a population Where N0 is the population classified into age intervals, say 5 years, at time=1995, and N1 is the population by 5 year age classes at time=2000.
2003 Nov 07
1
diax request
First of all great job on diax. I downloaded it and tried it, could not connect, got an authentication rejected,but I have not had a chance to figure out why yet - tried with a working gnophone setup in the configuration files. Is there any way to pass command line arguements to the program ? Where I see a real niche for a lightweight softphone is being able to serve the thing from a
2006 Aug 21
1
"vcov" error in svyby and svytable functions
Hi, I'm trying to compute survey svytable statistic on subsets by using the svyby function. Here is the code: b<-svyby(~V024+V751, by=~V025, design=strat2, svytable, round=TRUE) The vars, V024, V751 and V025 are factors. The by var has 2 levels, and hence there will be two subsets. strat2 is created by the svydesign function. It's giving me the following error: >
2012 Sep 20
1
question on assigning an argument in a function that is create by the function itself
Hi, I need some help with making a function a bit more elegant. How would you all suggest avoiding the problem I've made myself below - I've written a function that creates a temporary matrix by subseting a larger one I assign it. I then call vectors from that matrix, add each item in the vector to create a cumulative vector for each factor, and then patch them all back together.
2003 Jun 26
1
T1 or T1PRI? which sould i use?
Hi i'm using asterisk in a pre-paid calling card like system and have a few questions. 1) Should i use Voice T1's or PRI. Please give arguements for and against. 2) is there any already configured * scripts for making calling card calls? are they GPL or Commercial? 3) if they are GPL where can i get my hands on them. 4) is there any work on intergrating openDSP libraries into *? found
2005 Mar 30
2
Centos 4.0 and Named
I am failing to get Named started. I copied my named.custom and zone files to a diskette from my 3.3 build. I installed 4.0 from scratch and did the updates. I edited /etc/named.conf (which I realize is a link) to include named.custom I cp named.custom into /etc (all of this was done while logged in as root) When I try to start named from the services GUI (using GNOME) and I get this error:
2011 Dec 05
3
iterative variable names
Hi, I'm trying to assign iterative names to variable, but all my attempts have failed. I have a loop, and for every iteration, I need to create a variable, and I'd like to name them iteratively, such as: for(i in 1:10) { x_i <- c(values) } I need it to return ten variables: x_1, x_2, ..., x_10 How can I do it? Thank you very much! Beatriz -- View this message in context:
2005 Jun 03
2
Simplify formula for iterative programming
Dear R-ians, I am looking for the simplification of a formula to improve the calculation speed of my program. Therefore I want to simplify the following formula: H = Si (Sj ( sqrt [ (Ai - Aj)?? + (Bi - Bj)?? ] ) ) where: A, B = two vectors (with numerical data) of length n sqrt = square root Si = summation over i (= 0 to n) Sj = summation over j (= 0 to n) Ai = element of A with index i Aj
2002 Mar 28
3
how to run .r batch file
I am completely new to R, but have some bg in cs and stat. since R has an interactive programming environment, I thought I could write my command in a file and run it in batch mode in the Rgui. but it didnt work. I checked the doc. it said Rcmd BATCH inputfile. it didnt work either. Can someone help? thank you. thank you. also if you can shed some light on passing command line arguements (like
2005 Oct 11
1
iterative output to file by row
Hi, I'm sort of a newbie to using R to deal with array data. I'm trying to create a simple filtering function, which outputs only the rows of a data frame that satisfies a specific criterion. I've set up an iterative loop to apply the condition to each row. I can create a new matrix and use rbind to fill it in row by row in the loop, before writing the whole matrix to file. But
2009 Jan 12
0
[LLVMdev] Is it possible to use the SimpleRegisterCoalescing pass in an iterative way?
On Friday 09 January 2009 03:36, Roman Levenstein wrote: > Hi, > > I'm implementing some variations of graph-coloring register allocators for > LLVM. Many of them perform their phases (e.g. coalescing, graph > simplification, spilling, color selection) in an iterative way. Since > LLVM provides an implementation of the coalescing in the > SimpleRegisterCoalescing class
2004 Sep 13
6
Migrate BACK to WINDOWS -> Talk me out of it QUICK
Not thinking about migrating back due to issues, it is more due to implementation needs and a little situation I have been wrestling with with for a bit now, and would love some feedback First a little history: We currently have 10 locations connected via a dedicated 1/2 T-1. Last year I migrated from a WINNT domain to a Samba/LDAP domain. It has been running great. Basically did this for