[R] R package for scorecard development

2017-06-28 Thread Nikhil Abhyankar
Hello all, Is there any R package that can develop a scorecard model for a binary target variable? More details: I want to create a scorecard based on the raw data I have. I have a binary target variable and a few numeric and character input variables. I want to bin the variables and assign a s

[R] read.csv converts "NA" to missing values

2012-02-27 Thread nikhil abhyankar
Hello, I have a CSV file with region codes listed in a column. E.g. 'AS' for Asia, 'AU' for Australia and 'NA' North America. However, the data frame created using read.csv shows where the string variable should have had the value 'NA'. How can I input the value 'NA' present in a column in a CS

Re: [R] Differences in SAS and R defaults

2011-08-30 Thread Nikhil Abhyankar
Yes, something similar would be helpful but not among SAS proc but between SAS and R. Thanks Nikhil On Mon, Aug 29, 2011 at 11:08 PM, Jeremy Miles wrote: > > Do you mean things like treatment of categorical variables in regression > procedures (which have different defaults in different procedu

[R] Package fgui returns error: Object of type closure is not subsettable

2011-04-11 Thread nikhil abhyankar
Hello All, I have written three functions. First: To input user specified SAS dataset and plot the boxplots of relevant variables. Second: Extract the number of hours, minutes etc. from a variable describing a time-point using regular expressions. E.g. 'Per1, Day 2, 24 Hour' would be

[R] Saving console and graph output to same file

2011-04-05 Thread Nikhil Abhyankar
Hello All, How do I save the output of the R console and the graphic output to the same PDF file and append these to each other? I need to have a frequency table and a corresponding graph, one below the other in a file. I have tried with sending the cross table to the graph window using 'textplot

[R] Extracting user specified variables from data frame to use as function arguments

2011-01-07 Thread nikhil abhyankar
Hello All; I am writing an R program in the form of a function to find out the summary statistics for response variable(s) in a data frame. I need to accept variable names from the data as arguments and use them inside the function for various tasks. The dataset name is also one of the arguments