[R] Compilation of .C into .dll

2012-02-03 Thread ScottM
Hello, Computing language really isn't a strength of mine - I'm trying to run a model which has been passed on to me and I need to convert it into a dll, so it is usable in R, but I'm finding the documentation very hard to follow. Could someone possibly provide me a very quick script to do this

Re: [R] Mann Kendall Test for Trend

2011-09-02 Thread ScottM
tip, data() is a function to R so its not the best idea for an object name. Outside chance that might be what's causing your problem. Michael Weylandt On Fri, Sep 2, 2011 at 11:35 AM, ScottM <[hidden email]> wrote: > Hi there, > > I'm trying to apply the Mann K

[R] Mann Kendall Test for Trend

2011-09-02 Thread ScottM
Hi there, I'm trying to apply the Mann Kendall test for trend analysis of a time series. I have downloaded and installed the package Kendall and subsequently loaded it into the software. My time series is a .txt file with 2 columns - column 1 is the year (1985 - 2009) and column 2 is the corres

Re: [R] Correlation Matrix - p value?

2011-08-09 Thread ScottM
ubject: Re: Correlation Matrix - p value? ?cor.test cor.test(x, y, method = "spearman")$p.value HTH, Jorge On Tue, Aug 9, 2011 at 8:44 AM, ScottM <> wrote: > Hello all, > > I've run a Spearman's Rank test to discern relationships between landscape >

[R] Correlation Matrix - p value?

2011-08-09 Thread ScottM
Hello all, I've run a Spearman's Rank test to discern relationships between landscape characteristics and a specific aspect of river behaviour. I've executed a correlation matrix between the one dependent variable and all of the predictors, which gives me a nice output of Spearman's Rho values.

[R] Error Message Help: Differing Number of Rows

2011-07-15 Thread ScottM
Hello all, I'm relatively new to "R" and programming in general - I had previously used MatLab, but decided to make the transition to R, as the computational times are much better! Anyway, I'm trying to use R to run a gamma distribution model to estimate mean transit times of water moving throug