extracting maRf from marrayRaw object
1
0
Entering edit mode
Mahbub Latif ▴ 70
@mahbub-latif-268
Last seen 10.2 years ago
Hi, How can I extract maRf (maGf) values for a specific printip from a marrayRaw class object? Thanks in advance, Mahbub. __________________________________ Find out what made the Top Yahoo! Searches of 2003
• 796 views
ADD COMMENT
0
Entering edit mode
Laurent Gautier ★ 2.3k
@laurent-gautier-29
Last seen 10.2 years ago
On Tue, Dec 30, 2003 at 02:22:12AM -0800, Mahbub Latif wrote: > Hi, > > How can I extract maRf (maGf) values for a specific > printip from a marrayRaw class object? > > Thanks in advance, > > Mahbub. > What about: ## example data: swirl data(swirl) getRfprinttip <- function(x, tip) { z <- maPrintTip(x) if (tip > max(z)) stop("Tip number too high.") r <- maRf(x)[z == tip] return(r) } ## values for print-tip #2 tmp <- getRfprinttip(swirl, 2) Hoping it helps, L. -- -------------------------------------------------------------- Laurent Gautier CBS, Building 208, DTU PhD. Student DK-2800 Lyngby,Denmark tel: +45 45 25 24 89 http://www.cbs.dtu.dk/laurent
ADD COMMENT

Login before adding your answer.

Traffic: 634 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6