My apologies, here is a sample dataset generator:
#Running sum Test Data
Coin - c(-1,1)
flips=sample(Coin, 1000, replace=T)
Runningsum -cumsum (flips)
#A deactivated plot
#plot (Runningsum)
Test - cbind (Runningsum)
datasetORIGINAL - cbind (Runningsum)
You would make it much easier for R-help readers to solve your problem if
you provided a small example data set with your code, so that we could
reproduce your results and troubleshoot the issues.
Jean
Naidraug white@wright.edu wrote on 08/05/2012 09:08:25 AM:
I've looked everywhere
I've looked everywhere and tinkered for three days now, so I figure asking
might be good.
So here's a general rundown of what I am trying to get my code to do I am
giving you the whole rundown because I need a solution that retain certain
ways of doing things because they give me the information
3 matches
Mail list logo