JeffreyRacine / R-Package-np

R package np (Nonparametric Kernel Smoothing Methods for Mixed Data Types)
https://socialsciences.mcmaster.ca/people/racinej
46 stars 18 forks source link

npplreg plot with categorical predictor... #2

Open JeffreyRacine opened 9 years ago

JeffreyRacine commented 9 years ago

Carlos Ordas Criado reports the following:

Jeff,

Here below an example where npplot fails to work under Win7 R.3.1.1 but does work under Win7 R.2.51.1. How come ?

library(np) sessionInfo() data(wage1) rplbw <- npplregbw(lwage ~ female | educ, data = wage1) npplot(rplbw)

The error in the last R version is : Error in npplreg.plbandwidth(txdat = xdat, tydat = ydat, tzdat = zdat, : Evaluation data has no rows without NAs

I am able to replicate on OS X 10.10.2 & R 3.1.2 with latest version...

jerryqin31 commented 8 years ago

I have the same issue in R version 3.3.0 (2016-05-03), OS X 10.11.4 (15E65)

Is there a solution to this issue?

JeffreyRacine commented 8 years ago

Greetings,   Thanks for the notification. We have not currently pushed through a solution, apologies for the inconvenience.  

From: jerryqin31 notifications@github.com Reply-To: JeffreyRacine/R-Package-np reply@reply.github.com Date: Tuesday, May 24, 2016 at 19:15 To: JeffreyRacine/R-Package-np R-Package-np@noreply.github.com Cc: Jeffrey Racine racinej@mcmaster.ca, Author author@noreply.github.com Subject: Re: [JeffreyRacine/R-Package-np] npplreg plot with categorical predictor... (#2)

 

I have the same issue in R version 3.3.0 (2016-05-03), OS X 10.11.4 (15E65) Is there a solution to this issue? — You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub

jerryqin31 commented 8 years ago

Hi Jeff,

Thanks very much for the response. And thank you for writing this great package. Could you please update here once there is a solution?

Best wishes, Leshui

JeffreyRacine commented 8 years ago

Definitely,   Thanks for your patience and attention to detail…   Jeff  

From: jerryqin31 notifications@github.com Reply-To: JeffreyRacine/R-Package-np reply@reply.github.com Date: Wednesday, May 25, 2016 at 22:17 To: JeffreyRacine/R-Package-np R-Package-np@noreply.github.com Cc: Jeffrey Racine racinej@mcmaster.ca, Author author@noreply.github.com Subject: Re: [JeffreyRacine/R-Package-np] npplreg plot with categorical predictor... (#2)

 

Hi Jeff, Thanks very much for the response. And thank you for writing this great package. Could you please update here once there is a solution? Best wishes, Leshui — You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub