Displaying 7 results from an estimated 7 matches for "cbarnaby".
Did you mean:
barnaby
2008 May 05
4
Column renaming
...X)[ names[ X] == "bob"]<-"sue"
?
A semi-related question: how does one get the index of a column by
name, something along the lines of col.index( X, "sue") ?
Chip Barnaby
---------------------------------------------------------
Chip Barnaby cbarnaby at wrightsoft.com
Vice President of Research
Wrightsoft Corp. 781-862-8719 x118 voice
131 Hartwell Ave 781-861-2058 fax
Lexington, MA 02421 www.wrightsoft.com
2008 May 12
2
Collection of lm()s
...thout success.
Also, I assume that lm() does not make a copy of input data? That
is, if I want "predict( LMX[ i])", I would have to retain a copy the
associated DXS subsets?
TIA,
Chip Barnaby
---------------------------------------------------------
Chip Barnaby cbarnaby at wrightsoft.com
Vice President of Research
Wrightsoft Corp. 781-862-8719 x118 voice
131 Hartwell Ave 781-861-2058 fax
Lexington, MA 02421 www.wrightsoft.com
2008 May 09
1
Data frame row manipulation
...The source
row value of vx is overwritten. A2 would have 10 times as many rows as A.
I have of course discarded idea of using of a for loop, but maybe
that is what it takes.
TIA etc,
Chip Barnaby
---------------------------------------------------------
Chip Barnaby cbarnaby at wrightsoft.com
Vice President of Research
Wrightsoft Corp. 781-862-8719 x118 voice
131 Hartwell Ave 781-861-2058 fax
Lexington, MA 02421 www.wrightsoft.com
2008 Apr 30
1
Aggregate() questions
...All the aggregate() examples (e.g. in
help()) elegantly produce the "right result" with nicely named
columns etc. I can't seem to make things work so smoothly.
Thanks!
Chip Barnaby
---------------------------------------------------------
Chip Barnaby cbarnaby at wrightsoft.com
Vice President of Research
Wrightsoft Corp. 781-862-8719 x118 voice
131 Hartwell Ave 781-861-2058 fax
Lexington, MA 02421 www.wrightsoft.com
2008 May 28
1
Grouped weighted.mean
..., DP0$Key, function(x) weighted.mean(x$IAC, x$Wt)) :
arguments must have same length
How does one pass grouped arguments to processing functions such as
weighted.mean() ?
TIA,
Chip Barnaby
---------------------------------------------------------
Chip Barnaby cbarnaby at wrightsoft.com
Vice President of Research
Wrightsoft Corp. 781-862-8719 x118 voice
131 Hartwell Ave 781-861-2058 fax
Lexington, MA 02421 www.wrightsoft.com
2008 May 30
1
Aggregation and the meaning of class
...ot; cannot
be coerced into a data.frame (although it seems to me that such a
conversion could be usefully defined), so now I don't hit myself on
the head with that particular hammer.)
Chip Barnaby
---------------------------------------------------------
Chip Barnaby cbarnaby at wrightsoft.com
Vice President of Research
Wrightsoft Corp. 781-862-8719 x118 voice
131 Hartwell Ave 781-861-2058 fax
Lexington, MA 02421 www.wrightsoft.com
2008 Apr 07
2
predict.lm() question
...2.6424600 3.7197313 4.7970026 5.8742739 6.9515453
8 9 10
8.0288166 9.1060879 10.1833592
Warning message:
'newdata' had 7 rows but variable(s) found have 10 rows
>
---------------------------------------------------------
Chip Barnaby cbarnaby at wrightsoft.com
Vice President of Research
Wrightsoft Corp. 781-862-8719 x118 voice
131 Hartwell Ave 781-861-2058 fax
Lexington, MA 02421 www.wrightsoft.com