I have a data frame named all_cars containing 1082 rows and 1583 columns.  Each 
row represents an observation; each column represents a variable.  Every data 
value is an integer or decimal value; there are no nulls or non-numeric 
strings.  I want to use the tilting library to do variable selection.  I enter 
a command like

> all_cars_tilt <- tilting(all_cars[,10:20], all_cars[,2], op=2)

and get the response

Error in t(X[, active, drop = FALSE]) %*% X[, active, drop = FALSE] :  requires 
numeric/complex matrix/vector arguments

If I try the command with a larger range of X variables (say 6:384), the 
command seems to hang.  I have run spikeslab on the same data set (columns 
6:384 as X, column 2 as Y), without difficulty.  Can anyone help me interpret 
the error message?

Thanks!

Todd Morley
Principal Consultant
CLEAR PEAK
Denver     303.470.9230  Ext. 5102
Mobile      720.560.8901
Web          www.clearpeak.com<http://www.clearpeak.com/>


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to