tree.pred <- yourfunction works!
Thanks, Josh!
On Wed, May 26, 2010 at 9:35 AM, Joshua Wiley wrote:
> If you use return you need to assign the results to an object. For
> instance
>
> tree.pred <- yourfunction
>
> then tree.pred will contain whatever data you returned from your
> function.
If you use return you need to assign the results to an object. For instance
tree.pred <- yourfunction
then tree.pred will contain whatever data you returned from your
function. If you truly want your function to assign objects
internally that are available in your general workspace, instead of
2 matches
Mail list logo