] <- 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
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
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
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
4 matches
Mail list logo