-Original Message-
From: arun kirshna [via R] <ml-node+s789695n4691257...@n4.nabble.com>
To: barnaby <aml...@aol.com>
Sent: Mon, May 26, 2014 7:29 pm
Subject: Re: Function Align produces an error, Package wavelets
Hi,
I couldn't reproduce the error.
str(wt.aligned)
d no way to broadly search code to learn
> things. (Displaying single functions is useful but hardly broad.)
>
> How does one learn R more efficiently than randomly discovering how
> to avoid error messages? (For example, I now know that a "by" cannot
> be coerced into
s one learn R more efficiently than randomly discovering how
to avoid error messages? (For example, I now know that a "by" cannot
be coerced into a data.frame (although it seems to me that such a
conversion could be usefully defined), so now I
Wt)) :
arguments must have same length
How does one pass grouped arguments to processing functions such as
weighted.mean() ?
TIA,
Chip Barnaby
-----
Chip Barnaby [EMAIL PROTECTED]
Vice Presiden
would have to retain a copy the
associated DXS subsets?
TIA,
Chip Barnaby
---------
Chip Barnaby [EMAIL PROTECTED]
Vice President of Research
Wrightsoft Corp. 781-862-8719 x118 voice
131 Hartwell Ave
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
not seem to allow that approach
without some awkwardness. I guess I could write some helper functions.
Chip Barnaby
At 11:47 AM 5/5/2008, Peter Dalgaard wrote:
Chip Barnaby wrote:
> Peter,
> My method seems to work, see below. Is there some reason it might not
> work in general? Th
Peter,
My method seems to work, see below. Is there
some reason it might not work in general? This
is the tersest way I have found to rename, but it
seems awkward, given that names( X) is repeated.
Chip Barnaby
--
> head( airquality)
Ozone Solar.R Wind Temp Mo
Dear all,
Is there a less cumbersome way to rename a column by name (as opposed
to index) than --
names( 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, &
quot; "B6-VB060.VB06045.3.12.3.0"
[5] "B6-VB080.VB08045.3.12.3.0" "B6-VB100.VB10045.3.12.3.0"
[7] "BC6-VB000.VB00045.3.12.3.0" "BC6-VB020.VB02045.3.12.3.0"
[9] "BC6-VB040.VB04045.3.12.3.0" "BC6-VB060.VB06045.3.12.3.0"
(etc, 90 valu
result" with nicely named
columns etc. I can't seem to make things work so smoothly.
Thanks!
Chip Barnaby
-
Chip Barnaby [EMAIL PROTECTED]
Vice President of Research
Wrightsoft Corp. 781-
the same
name(s) as used when the model was made.
In the example below, predict.lm produces the predictions for the
original (model input) data plus a warning message. What I want is
predictions for alternative data (in data frame DX in the example).
Thanks,
Chip Barnaby
> D<-data.fra
12 matches
Mail list logo