Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

21 results for “from:aajit75”

Similar function for Redun() from Hmisc ?
aajit75 · Nov 22, 2011 · r-help

Hi List, Working on the large data frame (number of records=35000 and number of variables=160). Using redun() for dropping variables before using into model. V <- redun(~., data = data.frame, r2 = 0.8) It takes enormously high time for...

Assign value to new variable based on conditions on other variables
aajit75 · Apr 10, 2012 · r-help

I have got solution using within function as below dd$Seg <- 1 dd <- within(dd, Seg[x2> 0 & x3> 200] <- 1) dd <- within(dd, Seg[x2> 100 & x3> 300] <- 2) dd <- within(dd, Seg[x2> 200 & x3> 400] <- 3) dd...

How to remove multiple outliers
aajit75 · Oct 20, 2011 · r-help

Hi All, I am working on the dataset in which some of the variables have more than one observations with outliers . I am using below mentioned sample script library(outliers) x1 <- c(10, 10, 11, 12, 13, 14, 14, 10...

Putting directory path as a parameter
aajit75 · Nov 15, 2011 · r-help

Hi List, I am new to R, this may be simple. I want to store directory path as parameter which in turn to be used while reading and writing data from csv files. How I can use dir defined in...

How to get Quartiles when data contains both numeric variables and factors
aajit75 · Oct 31, 2011 · r-help

When data contains both factor and numeric variables, how to get quartiles for all numeric variables? n <- 100 x1 <- runif(n) x2 <- runif(n) x3 <- x1 + x2 + runif(n)/10 x4 <- x1 + x2 + x3 + runif(n)/10 x5 <- factor(sample...

Decision tree model using rpart ( classification
aajit75 · Nov 4, 2011 · r-help

Hi, Thanks for the responce, code for each case is as: c_c_factor <- 0.001 min_obs_split <- 80 A) fit <- rpart(segment ~., method="class", control=rpart.control(minsplit=min_obs_split, cp=c_c_factor), data=Beh_cluster...

How to remove multiple outliers
aajit75 · Oct 21, 2011 · r-help

Hi Michael, Thanks for the help. Yes, I have gone through the document for ?outlier. As it removes one outlier at a time, being new to R, I was woondering is there any function available for removing multiple outliers whithout...

Java Exception error while reading large data in R from DB using RJDBC.
aajit75 · Oct 30, 2012 · r-help

Dear List, Java Exception error while reading large data in R from DB using RJDBC. I am trying to read large data from DB table(Vectorwise), using RJDBC connection. I have tested the connection with small size data and was...

Data frame manipulation by eliminating rows containing extreme values
aajit75 · Oct 22, 2011 · r-help

Dear All, I have got the limits for removing extreme values for each variables using following function . f=function(x){quantile(x, c(0.25, 0.75),na.rm = TRUE) - matrix(IQR(x,na.rm = TRUE) * c(1.5), nrow...

Creating and assigning variable names in loop
aajit75 · Dec 21, 2011 · r-help

Hello List I am trying to create and assign variable names in loop, but not able to get expected variable names. Here is the sample code n = 10 set.seed(1) x1 = rnorm(n,0) x2 = rnorm(n,0) samp...

Assign value to new variable based on conditions on other variables
aajit75 · Apr 9, 2012 · r-help

Hi Experts, This may be simple question, I want to create new variable "seg" and assign values to it based on some conditions satisfied by each observation. Here is the example: ##Below are the conditions ##if variable x2 gt 0...

Creating deciles on data using one variable
aajit75 · Nov 2, 2011 · r-help

I need to deciles data containing more than one variables using any one variable. I am using script below : id <-c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19...

Decision tree model using rpart ( classification
aajit75 · Nov 3, 2011 · r-help

Hi Experts, I am new to R, using decision tree model for getting segmentation rules. A) Using behavioural data (attributes defining customer behaviour, ( example balances, number of accounts etc.) 1. Clustering: Cluster behavioural data to suitable number of clusters 2...

Subsetting data by eliminating redundant variables
aajit75 · Oct 19, 2011 · r-help

Dear All, I am new to R, I have one question which might be easy. I have a large data with more than 250 variable, i am reducing number of variables by redun function as in the example below, n...

Java heap space Error while reading table from postgres database using RJDBC
aajit75 · Feb 9, 2012 · r-help

Hi List, I am reading table from postgres database into R session using RJDBC, table contains 150 columns and 200000 rows. Sample code is as below, which works fine with smaller tables. ######################################################################## db_driver <- mydir$db_driver db_jar_file...

Calculating the probability of an event at time "t" from a Cox model fit
aajit75 · Dec 19, 2011 · r-help

Dear R-users, I would like to determine the probability of event at specific time using cox model fit. On the development sample data I am able to get the probability of a event at time point(t). I need...

Any function\method to use automatically Final Model after bootstrapping using boot.stepAIC()
aajit75 · Nov 29, 2011 · r-help

Hi List, Being new to R, I am trying to apply boot.stepAIC() for Model selection by bootstrapping the stepAIC() procedure. I had gone through the discussion in various thread on the variable selection methods. Understood the pros and cons...

Issues while using “lift.chart” and “adjProbScore” function from ”BCA” library
aajit75 · May 23, 2012 · r-help

Dear List, Couple of issues while using functions from ?BCA? library: 1. I am trying to use ?lift.chart? function from ?BCA? library, but facing issues while using model where model formula is passed as formula object in glm. When...

Passing date as parameter while retrieving data from database using dbGetQuery
aajit75 · Feb 15, 2012 · r-help

Hi All, This might be simple question, I need to retrive data for modelling from the databases. Eveytime date values changes so I countnot fix date value in the code, it is required to pass as parameter. When I pass...

Solving binary integer optimization problem
aajit75 · Aug 10, 2012 · r-help

Hi, I am new to R for solving optimization problems, I have set of communication channels with limited capacity with two types of costs, fixed and variable cost. Each channel has expected gain for a single communication. I want to...

Can't find what you're looking for? Try searching with Google .