search for: mlatif

Displaying 3 results from an estimated 3 matches for "mlatif".

Did you mean: latif
2007 Jun 22
2
multiple return
Dear User, what's the correct way to obtain a multiple return from a function? for example creating the simple function: somma <- function (a, b) { c <- a+b return (a, b, c) } when I call it, it runs but returns the following output: > somma(5, 7) $a [1] 5 $b [1] 7 $c [1] 12 Warning message: return multi-argomento sono deprecati in: return(a, b, c) i.e. multi-return is
2008 Oct 15
3
request: How can we ignore a component of list having no element
Dear friends There is a list of arrays comprising different no of rows and columns even sometimes NULL, such as [[2]] given below. How can we ignore [[2]] or others like this in the complete list. Any help in this regard is needed. Thanks [[1]] [,1] [,2] [1,] 3 1 [2,] 3 1 [3,] 3 1 [[2]] NULL [[3]] [,1] [,2] [,3] [,4] [,5] [,6] [,7] [1,] 3 1
2007 Jun 24
2
matlab/gauss code in R
...cons of each approach? > > If rbind or cbind work, use them. They are much simpler, but much less > flexible. > > Duncan Murdoch > > > > ------------------------------ > > Message: 5 > Date: Fri, 22 Jun 2007 17:20:01 +0600 > From: "Mahbub Latif" <mlatif en isrt.ac.bd> > Subject: Re: [R] multiple return > To: amicogodzilla en bruttocarattere.org > Cc: r-help en stat.math.ethz.ch > Message-ID: > <5faba43d0706220420m6f34f831l7353b680925dae34 en mail.gmail.com> > Content-Type: text/plain > > one way -- > >...