Hi .. i'm Carey.. trying to figure out how to get this vol surface correct.. not sure where i'm going wrong.. http://pastebin.com/mmA4m4FJ [[alternative HTML version deleted]]
C <cdcaveman <at> gmail.com> writes:> > Hi .. i'm Carey.. trying to figure out how to get this vol surface > correct.. not sure where i'm going wrong.. > > http://pastebin.com/mmA4m4FJYou haven't given us a lot to go on here ... narrowly speaking, it might be reproducible, but you've given us a big bolus of code that's hard to work through, *and* it requires installing several packages including several with non-trivial dependencies (I just spent a minute or two trying to install RQuantlib and failed -- I'm sure I could get it to work if I tried hard enough, but I won't right now ...) The very last line seems to be the persp3d() call. Can you provide *just* the data required for that call? And can you tell us what is not working? http://tinyurl.com/reproducible-000 is a good resource for tips on asking good questions. Ben Bolker
John Sorkin
2013-Mar-10 16:16 UTC
[R] Cluster analysis in the setting of repeated measures
Does R have any function for performing cluster analysis when each subject contributes more than one observation to the analysis, i.e. a repeated measures cluster analysis? I prefer an agglomerative clustering, but would certainly be happy with a K-mean or other clustering technique. To the best of my knowledge, the "standard" R clustering functions (e.g. kmeans, hclust, pvclust) all assume that each subject contributes a single line of data to the analyses. Thanks, John John David Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene Street GRECC (BT/18/GR) Baltimore, MD 21201-1524 (Phone) 410-605-7119 (Fax) 410-605-7913 (Please call phone number above prior to faxing) Confidentiality Statement: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.