[R] Changing colour of continuous time-series in ggplot2

2011-03-15 Thread joeP
Hi, This seems like there should be a simple answer, but having spent most of the day trying to find it, I'm becoming less convinced and as such am asking it here. Here's a sub-set of my data (a data.frame in R): myDF time value trial 1 2011-03-01

[R] help with regression

2011-07-26 Thread JoeP
Hi, I am trying to do a linear regression but I want one of my variables to not generate a coefficient. E.g. what I want to do is fit for y=a+b+c but forcing the coefficient of b to be 1. Is this possible? I have been fitting y-b=a+c but I have found that when I recalculate y it is not close