search for: datasort

Displaying 2 results from an estimated 2 matches for "datasort".

Did you mean: dataport
2009 Dec 13
0
need a solution to an R-problem: consultant available?
...s some example data. Let me know what you think. Cheers, Andre ###RSCIPT STARTS require(graphics) rm(list=ls()) # clears everything in working directory data = read.delim("F:/R_code/exampledata.txt") #head(data) # shows header attach(data) #attaches data to current run datasort=data[order(Stage), ] #sorts data so predicted values follow in systematic order #datasort # shows sorted data starts = list(const =0.00001, alpha = 20) fm <- nls(Discharge ~ const*Stage ^alpha, start=starts) #runs a non linear least squares regression model #predict(fm)...
2011 Apr 21
1
Rearranging columns with cbind
...genebody" "Winterbud_not_mC" "Winterbud_promoter" "Winterbud_genebody" [25] "Springbud_not_mC" "Springbud_promoter" "Springbud_genebody" When I do this operation, I get the following "unused arguments" command: > dataSort <- cbind(data[19:27, 1:12, 13:15, 16:18], deparse.level=2) Error in `[.data.frame`(data, 19:27, 1:12, 13:15, 16:18) : unused argument(s) (16:18) Can anyone tell me why I'm getting this? When I apply the same command to different combinations of columns, or to 16:18 by itself, there is n...