[R] Picking a subset of explanatory variables corresponding to a subset or a transformed subsert of the response

From: Luwis Tapiwa Diya <siwulayid_at_gmail.com>
Date: Tue 19 Jul 2005 - 01:34:30 EST

I have a dataframe in which I have used a cerain procedure to select the response a subset of the response and obtained a vector y.Now I need to fit a glm of the response y given x(the covariates) but now I get an error that the variables are not of equal length.How can I come up with a way to pick the x values corresponding to only the subset of the response I am interested in.



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jul 19 01:39:29 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:46 EST