[R] R Novice Question
MichaelNielsen@synergy.com.au
MichaelNielsen at synergy.com.au
Wed Apr 18 07:35:09 CEST 2001
Please forgive the relative lack of sophistication here -- I'm trying to
learn R, remove the rust from my basic training in statistics, AND produce
a useful result.
I have two vectors of equal length, A and B, with a one-to-one
correspondence between the elements (ie. A[i] corresponds to B[i]) which
are provided by an SQL server upon which I can run any SQL statement.
I would like to partition A (like breaks in a histogram) into some number
of equal-size partitions, and then calculate and plot the mean value of
the B's that correspond to the A's in each partition (or, more generally,
produce some descriptive statistics for each set of B's, and potentially
try to draw some inferences about the B's in each partition).
I can imagine how to do this in Perl by writing a loop, but I suspect
there may be a more natural way to do it in R, and would be grateful for
any suggestions.
Thanks.
Regards,
Mike
___________________________________________________
Michael Nielsen
Synergy Plus Pty Ltd
Sydney
Level 5,
18-20 Orion Rd
PO Box 4080, Lane Cove, NSW DC 2066
(Switch: ) +61 2 9425-3000 (Fax: ) +61 2 9418-9477
(Direct: ) +61 2 9425-3007 (Mobile: )0413-208-488
WebSite: www.synergy.com.au
This email and any attachments are confidential. If you are not the
intended recipient, please inform us as soon as possible and do not
use, disclose, copy or distribute this information.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20010418/9c91dd02/attachment.html
More information about the R-help
mailing list