Displaying 4 results from an estimated 4 matches for "somma".
Did you mean:
comma
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 deprecated...
thanks a lot
best r...
2008 Jun 11
1
Some problem with the OLS
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20080611/2da35c97/attachment.pl>
2007 Jun 24
2
matlab/gauss code in R
...t; Message-ID: <200706221237.37479.amicogodzilla en bruttocarattere.org>
> Content-Type: text/plain; charset="us-ascii"
>
> 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 depr...
2012 Jan 20
2
Incorrect DateTime using ISOdatetime in R
Dear list,
I need to transform the DateTime of my GPS data from:
"666.1751" into "yyyy/mm/dd hh:mm:ss"
I have the following code:
d$Date <- ISOdatetime(2009, 1, 1, 0, 0, 0, tz = "GMT")+d$Date*(24*3600)
This gives me: 2010-10-29 04:12:09, which is wrong. It should be 2010-10-29
06:12:09
Another example:
418.3219 corresponds to: 2010-02-23 07:43:30, but it