a...@sapo.pt
> Subject: Re: [R] help using code
>
> Hello,
>
> Thanks for the help!
>
> Your answer resolved my problem with the function I listed, but brought
> up
> a larger question. How is the output of the importdata function stored
> for
> use with other functions (a
Hello,
Simply assign the output of a function to a variable:
xyzuvw <- importdata(...)
and then use that output. In this case, a data.frame with, among others,
vectors 'x' and 'y'.
You need to read an R introductory text. I recommend An Introduction to
R, file R-intro.pdf in your doc director
Hello,
Thanks for the help!
Your answer resolved my problem with the function I listed, but brought up
a larger question. How is the output of the importdata function stored for
use with other functions (as in, how do I call on that data for use with
other functions)? As a simple example I have a
Hello,
I believe you are making a confusion on how to call a function in R. You
don't replace the argument in the function declaration. what you do is
to call the function like this:
importdata("~/path to/filename.xyzuvwrgb")
leaving the function definition alone.
Hope this helps,
Rui Barr
4 matches
Mail list logo