Re: [R] dimnames in an array(I'll be grateful if this message will be passed to all list users)

2012-08-22 Thread aleksandr shfets
] <- c("V", "R") # tmp becomes c("V","R"), length is 2 >  colnames(tmp) <- tmp # error: 2 colnames for 3 columns > (R uses `*tmp*` where I used tmp - the former is for internal use only.) > > There are lots of other possibilities, but you need to a

Re: [R] dimnames in an array(I'll be grateful if this message will be passed to all list users)

2012-08-17 Thread aleksandr shfets
use generally? regards, A Thu, 16 Aug 2012 00:00:35 -0400 от "R. Michael Weylandt" : > > > > >On Wed, Aug 15, 2012 at 3:57 AM, aleksandr shfets wrote: > > Hi Michael, > > Thanks for help on double brackets: I w

Re: [R] dimnames in an array(I'll be grateful if this message will be passed to all list users)

2012-08-15 Thread aleksandr shfets
Hi Michael, Thanks for help on double brackets: I wasn't aware of this use of them. I went back to readjust my array so the dimnames(data11a)[[2]] would have two elements, and remade the array to include the new dimnames: dimnames(data11a)[[2]]=c("V","R") so that inside the second car of the tr

Re: [R] B-spline/smooth.basis derivative matrices

2012-03-12 Thread aleksandr shfets
Hello again, Thank you, vito for these functions: I've been able to look at the smoothing spline matrix and its derivatives that I constucted with functions "create.bspline.basis" and "smooth.basis" Understanding from Hastie and Tishbirani that the S(lambda)-- the penalty matrix 25 февраля 201