Displaying 2 results from an estimated 2 matches for "factorialv".
Did you mean:
  factorial
  
2009 Jul 09
5
Best way to export values from a function?
...e skills (or lack there of) let me down.
I would like to know the best way to export several doubles from a function, where the doubles are not an array.  
Here is a contrived function similar to my needs:
multipleoutput<-function(x)
{
	squared<-x^2
	cubed<-x^3
	exponentioal<-exp(x)
	factorialVal<-factorial(x)
	
}
Thanks again for all your help.
2009 Jul 09
2
How to Populate List
...lack there of) let me down.
I would like to know the best way to export several doubles from a function, where the doubles are not an array.  
Here is a contrived function similar to my needs:
multipleoutput<-function(x)
{
    squared<-x^2
    cubed<-x^3
    exponentioal<-exp(x)
    factorialVal<-factorial(x)
    
}
Thanks again for all your help.
------------------------------
Message: 127
Date: Wed, 8 Jul 2009 20:50:14 -0400
From: jim holtman <jholtman@gmail.com>
Subject: Re: [R] Best way to export values from a function?
Cc: R-help@r-project.org
Message-ID:
    <644e...