Re: [R] Multi-variate rcs() error

2009-05-01 Thread x
> > x wrote: > > > x2NA 1.797e+14NA NA > > > x2' NA 6.475e+14NA > NA > > > > > > Residual standard error: 82.44 on 95 degrees of > > freedom > > > Adjusted R-Squared: 0.9992 > > > Error in if (coef[i] > 0 & (i > 2 | > coef[1] > > != 0 | Intc !=

Re: [R] Multi-variate rcs() error

2009-04-30 Thread Frank E Harrell Jr
x wrote: Hi, My code, output, error message, and sample data are all below. As always, all help is appreciated. Code: library(Design); library(lattice) df = read.table("./data_cub4.txt", header=TRUE, nrows=100) attach(df); dd = datadist(df); options(datadist = 'dd'); describe(df); m = (

[R] Multi-variate rcs() error

2009-04-30 Thread x
Hi, My code, output, error message, and sample data are all below. As always, all help is appreciated. Code: library(Design); library(lattice) df = read.table("./data_cub4.txt", header=TRUE, nrows=100) attach(df); dd = datadist(df); options(datadist = 'dd'); describe(df); m = (y1 ~ ( rcs