I have 4 years of data and for each year, I have initialize the value so now for fitting the model, I want to remove the initial value and get the model based on remaining data set. Could anyone can help on this? I want to get linear model based on fourth column and 13th column but need to remove the initial value for each year and each treatment ( the second column I have 1:36) .
Thank you, Sonisa 1 1 2012-05-24 3120.00000 0.253 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 2 1 2012-05-24 1789.85870 0.143 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 3 1 2012-05-24 1391.48108 0.143 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 4 1 2012-05-24 2080.00000 0.227 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 5 1 2012-05-24 1640.00000 0.223 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 6 1 2012-05-24 3662.57591 0.290 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 7 1 2012-05-24 1280.00000 0.187 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 8 1 2012-05-24 2031.31522 0.250 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 9 1 2012-05-24 1920.00000 0.230 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 10 1 2012-05-24 1280.00000 0.153 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 11 1 2012-05-24 1920.00000 0.230 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 12 1 2012-05-24 3662.57591 0.290 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 13 1 2012-05-24 941.29799 0.093 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 14 1 2012-05-24 1840.00000 0.147 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 15 1 2012-05-24 941.29799 0.093 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 16 1 2012-05-24 1280.00000 0.187 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 17 1 2012-05-24 1391.48108 0.143 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 0 0 0 0 0 0.000 0.000 0.000 0 3.13 0 0 0 0 173.1 0.0 0.02 0 0.85 2.76 2.80 2.93 2.93 2.93 2.85 2.84 2.82 2.80 0 7965 6264 1701 8 2012 Pasture 9-1 18 1 2012-05-24 1840.00000 0.147 1 2 1 2.1 0 2.18 1260 275 4125 1 0 0 3144 1535 Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.