Re: [R] R help on write.csv

2011-09-21 Thread Ashish Kumar
rn <- eval.parent(Call$row.names) Call$col.names <- if (is.logical(rn) && !rn) TRUE else NA Call$sep <- "," Call$dec <- "." Call$qmethod <- "double" Call[[1L]] <- as.name("write.table") eval.parent(Call) } w

[R] R help on write.csv

2011-09-21 Thread Ashish Kumar
Hi, I wanted to write the data created using R on existing csv file. However everytime I use write.csv, it overwrites the values already there in the existing csv file. Any workaround on this. Thanks for your help Ashish Kumar Estee Advisors Pvt. Ltd. Email: ashish.ku

[R] lpSolveAPI optimizer treating some of the constraints as soft constraint

2011-09-16 Thread Ashish Kumar
package where I can say don't give me solution if any of the constraints is violated. Your help would be very much appreciated. Thanks Ashish Kumar Estee Advisors Pvt. Ltd. Email: ashish.ku...@esteeadvisors.com Cell: +91-9654072144 Direct: +91-124-463

[R] bootstrap

2011-03-06 Thread Ashish Kumar
In the boot package,consider a scalar function to boot. > estimator <- function(x, d) { + mean(x[d]) + } > > data <- city$u > b <- boot(data, estimator, R=1000) > b$t0 [1] 64 > ci <- boot.ci(b, type=c("bca"), conf=.95) > ci$bca conf [1,] 0.95 49.44 991.39 36.78807 110.0254 Now if I want est

Re: [R] Transfer Function Modeling

2008-07-27 Thread Ashish Kumar
Hi, I would like to know how to build the transfer function modeling for bivariate time series data. I tried searching for relevant threads, but could not find much help with it. Thanks Ashish [[alternative HTML version deleted]] __ R-