Hi Nick,
Hooray some questions.
1. To solve a systems of equations have a look at solve(), or better
qr.solve() or chol2inv() depending on how much structure you have for
your matrix.
2. You need to download the sources from CRAN.
E.g.: http://cran.ms.unimelb.edu.au/src/base/R-2/R-2.5.1.tar.gz
3. Have a look at ?Startup
Cheers
Rob
--- In sportsci_rtutorial@yahoogroups.com, "Nick
Flyger" <nickflyger@...> wrote:
>
> Hi again,
>
> I had some questions to pose to Rob/group...
>
> Is there a similar function in R to the backslash operator on
matrices --
> "\" or "mldivide()" -- in Matlab? Essentially it will try to solve
the
> simultaneous equation Ax=B for x by x=A\B in the least squares
sense. I am
> looking for a way to calculate the DLT coefficients in a 3D study.
>
> If R is open source and (if I understand correctly) it is possible
to view
> the alogarithms, how does one view that source code? For example, I
want to
> view how the F ratio is computed by aov(), can I view that code
somewhere?
>
> Finally if I want certain scripts to run on start up how do I go
about that?
> For example, set the working directory to something other than the
default
> "C:/Program Files/R/R-2.5.0/bin"
>
> Cheers
> --
> Nick Flyger
>
> Senior Biomechanist
> Centre for Biomechanics,
> Institut Sukan Negara Malaysia,
> Komplex Sukan Negara,
> Bukit Jalil, Sri Petaling
> PO Box 10440, 50174 Kuala Lumpur,
> MALAYSIA
>