[R] 0 rows> (or 0-length row.names)

Mark Sharp msharp at txbiomed.org
Tue Aug 30 21:24:46 CEST 2016


What package(s) are you using. What functions are you using. How are you calling the functions. A reproducible sample has all of the actual code needed to create a representative error. There are multiple packages you could be using to look at weight of evidence and information value. For example, there is a WOE function in the Information package and a woe function in the woe package.

On Aug 30, 2016, at 2:15 PM, Shivi Bhatia <shivipmp82 at gmail.com<mailto:shivipmp82 at gmail.com>> wrote:

Hi Mark,
What i understand, probably when i run the WOE & IV to check significant variables that is where i get this error. Thanks for your assistance Mark really appreciate i will look into some other measure on this.

On Wed, Aug 31, 2016 at 12:35 AM, Mark Sharp <msharp at txbiomed.org<mailto:msharp at txbiomed.org>> wrote:

It is likely that William knows what you are trying to do because of his considerable experience, but I am not able to figure it out from what you have written. You have apparently sent the output from something like dput(SFDC[1:50, ]), but I still do not know what you did to get the error.

I successfully assigned the structure you sent to the name SFDC and nothing seems amiss.


R. Mark Sharp, Ph.D.
Director of Primate Records Database
Southwest National Primate Research Center
Texas Biomedical Research Institute
P.O. Box 760549
San Antonio, TX 78245-0549
Telephone: (210)258-9476
e-mail: msharp at TxBiomed.org<mailto:msharp at txbiomed.org>

> On Aug 30, 2016, at 12:32 PM, Shivi Bhatia <shivipmp82 at gmail.com<mailto:shivipmp82 at gmail.com>> wrote:
> Hi William/ Mark,
> I am using WOE & IV (weight of evidence) reduce the number of independent
> vars.
> I have read this data as a csv file.
> reproducible example for your reference please:
> structure(list(date = structure(c(6L, 6L, 6L, 6L, 6L, 6L, 14L,
> 14L, 14L, 14L, 14L, 14L, 14L, 14L, 14L, 14L, 14L, 14L, 14L, 14L,
... truncated
> ______________________________________________
> R-help at r-project.org<mailto:R-help at r-project.org> mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.

CONFIDENTIALITY NOTICE: This e-mail and any files and/or...{{dropped:23}}

More information about the R-help mailing list