search for: utkarsh

Displaying 20 results from an estimated 30 matches for "utkarsh".

2008 Mar 25
5
reading Excel file
...uot;,2),"isodate",rep("character",9))) But what can I do in case I don't know the number of columns in my file?? I mean is there any way I can specify the colClass of only third column and for other columns it can take the default classes?? Regards Utkarsh This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2009 Jun 02
2
bigmemory - extracting submatrix from big.matrix object
...(bigmemory) to handle large datasets, say 1 GB, and facing following problems. Any hints from anybody can be helpful. _Problem-1: _ I am using "read.big.matrix" function to create a filebacked big matrix of my data and get the following warning: > x = read.big.matrix("/home/utkarsh.s/data.csv",header=T,type="double",shared=T,backingfile = "backup", backingpath = "/home/utkarsh.s") Warning message: In filebacked.big.matrix(nrow = numRows, ncol = numCols, type = type, : A descriptor file has not been specified. A descriptor named backup...
2009 Dec 24
3
help in merging
...rder of x. P.S.: As my dataset is very huge and I couldn't find the right subset of the data which explains the above problem, so I can't attach it at the moment. If anybody knows the answer, please reply; or else I will try to get the right subset. Thanks in advance Utkarsh
2010 Dec 17
1
[Fwd: adding more columns in big.matrix object of bigmemory package]
...functionality of the following will work for me: * Just appending more columns in an existing big.matrix object (not merging). * If the individual datasets are small enough to be read in usual R, just the combined dataset is huge. Any thoughts are welcome. Thanks, Utkarsh -------- Original Message -------- Subject: adding more columns in big.matrix object of bigmemory package Date: Thu, 16 Dec 2010 18:29:38 +0530 From: utkarshsinghal [1]<utkarsh.singhal at global-analytics.com> To: r help [2]<r-help at stat.math.ethz.ch> Hi...
2017 Aug 10
2
Import selected columns from sas7bdat file
...only interested in a few selected columns. Is there any way to do that without loading the full dataset. I have tried two functions: (1) read.sas7bdat *[from library 'sas7bdat']*, and (2) read_sas *[from library 'haven']. *But couldn't find what I am looking for. Best regards, Utkarsh Singhal 91.96508.54333 [[alternative HTML version deleted]]
2017 Aug 10
1
Import selected columns from sas7bdat file
...R code, so it might not be quite > as hard as it sounds. > > Incidentally, do teach your mailer to not send plain text. It is not much > of a problem this time, but HTML mails can become quite unreadable on the > list. > > > -pd > > > > On 10 Aug 2017, at 12:24 , Utkarsh Singhal <utkarsh.iit at gmail.com> > wrote: > > > > Hello everyone, > > > > I want to import data from huge sas files with 100s of columns. The good > > thing is that I am only interested in a few selected columns. Is there > any > > way to do that wi...
2009 May 04
4
Splitting a vector into equal groups
...split into five *nearly equal groups*. Note that the observations are repeated in x so in case of a tie I want both the observations to fall in same group. This seems a very common task to do, but still I couldn't find an R function to do this. Any help would be highly appreciated. Regards Utkarsh [[alternative HTML version deleted]]
2017 Aug 10
0
Import selected columns from sas7bdat file
...to drop unselected columns. That function is pure R code, so it might not be quite as hard as it sounds. Incidentally, do teach your mailer to not send plain text. It is not much of a problem this time, but HTML mails can become quite unreadable on the list. -pd > On 10 Aug 2017, at 12:24 , Utkarsh Singhal <utkarsh.iit at gmail.com> wrote: > > Hello everyone, > > I want to import data from huge sas files with 100s of columns. The good > thing is that I am only interested in a few selected columns. Is there any > way to do that without loading the full dataset. >...
2009 Feb 25
1
how to label the branches of a tree
...art package to fit classification trees. library(rpart) fit <- rpart(Kyphosis ~ Age + Number + Start, data=kyphosis) plot(fit,uniform=T) text(fit, use.n=TRUE) But I am unable to label the branches (not the nodes) of the tree. Can somebody help me out in this? Thank you, Regards Utkarsh Singhal | Amba Research Ph +91 80 3980 8017 | Mob +91 99 0295 8815 Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com <mailto:utkarshs@ambaresearch.com> This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2010 Jan 05
2
why is object.size is more for constant numeric vector?
...last five it is 3.8 MB, although the length of vector is same. Apparently, the size of any vector of a given length is twice if the vector is numeric constant than if it is not. Why is it so? Is my observation wrong? Or, is there some catch with 'object.size'? Thanks in advance. Regards Utkarsh [[alternative HTML version deleted]]
2009 Nov 23
3
FUN argument to return a vector in aggregate function
...ument to return a vector. I tried "by", "tapply" and several other functions as well but the output needed further modifications to get the same format as "ans" above. Is there any other function same as aggregate which allow FUN argument to return vector. Regards Utkarsh
2008 Dec 29
1
How to get unique solution from nnet function
..., I am using nnet function of nnet package to fit neural networks. Now I want to get a unique solution every time I run the function for the same data. If I give rang=0, it solves my problem but I am not sure whether I am doing the right thing. Any comments are welcome. Thank you, Regards Utkarsh Singhal | Amba Research Ph +91 80 3980 8017 | Mob +91 99 0295 8815 Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com <mailto:utkarshs@ambaresearch.com> This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2009 May 18
2
intermediate iterations of stepwise regression
...the "step" function on an "lm" object. Now I want to save the intermediate iterations. I know the argument trace=T will print it on the console, but I rather want to assign it to some R object or may be output it in a CSV or text file. Any help will be appreciated. Regards Utkarsh
2014 Oct 12
1
Is this an incorrect use of the R-API?
...am trying to make the R_ReadConsole API call. However, since a different plugin (like mine) could have overridden it already, I do not want to directly invoke `R_ReadConsole` but the function which previously was at `ptr_R_ReadConsole`. Is this an incorrect use of the API? Thanks! Best Regards, Utkarsh Upadhyay http://musicallyut.in [1]: I am impressed at how well the static code analysis works for R CMD check. [[alternative HTML version deleted]]
2009 Jun 30
4
R version-2.9.1 for Linux
Hi All, I am currently using R version 2.8.1 on linux cent os 4.4 (i386) and want to upgrade to version 2.9.1. It seems to me that version-2.9.1 is it not for my OS. Am I right? Regards Utkarsh [[alternative HTML version deleted]]
2008 Mar 03
1
using 'lrm' for logistic regression
...y) But strangely, if I use 'glm', with the family as binomial(logit) and with the same dataset, it is working perfectly fine. > res = glm(y1994~WC08301+WC08376+WC08316+WC08311+WC01001+WC08221+WC08106+WC0810 1+WC08231,data=y,family=binomial(logit)) Any ideas..? Regards Utkarsh This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2011 May 14
2
calling "exists" function inside another function is not working
...to use 'exists' function to do this. > f = function(a,b){exists("b")} > f(a=3, b=4) [1] TRUE This is working as expected. But if I do the following: > f(a=3) [1] TRUE Can anybody explain why this function is returning TRUE here. -- Many thanks, Utkarsh
2011 May 14
2
calling "exists" function inside another function is not working
...to use 'exists' function to do this. > f = function(a,b){exists("b")} > f(a=3, b=4) [1] TRUE This is working as expected. But if I do the following: > f(a=3) [1] TRUE Can anybody explain why this function is returning TRUE here. -- Many thanks, Utkarsh
2009 Apr 30
2
problem in as.date
...ng if the string is not interpretable. But here is what happens when you actually use it: > as.date(c("1jan1960")) [1] 1Jan60 Can somebody explain this? Also please suggest me the best function in R to convert from as.Date("2009-08-13") to Julian and vice versa. Regards Utkarsh
2009 May 27
3
Defining functions - an interesting problem
...function(x, a=1)x^a > g1 = function(x, a=1)h(x,a) > g1(x=5, a=2) [1] 25 > g2 = function(x, a=1)h(x,a=a) > g2(x=5, a=2) [1] 25 Here in both the cases, "h" is taking the value passed through "g1", and "g2". Any comments/hints can be helpful. Regards Utkarsh