search for: nazareno

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

2008 Aug 15
2
Pdf file size for very scatter plots
...mple (1e+05 ordered pairs). This produces a large (~5MB) file in a pdf or postscript terminal, and I am wondering whether there are methods for reducing the size of the resulting file so that it is easier to include it in a document. I'd rather stick with pdf or ps as I am using latex. thanks, Nazareno
2008 Aug 12
1
No answer in anova.nls
...se two models. The data for a file is typically the following: > d V1 V2 1 1 293 2 2 101 3 3 63 4 4 53 5 5 42 6 6 19 7 7 28 8 8 23 9 9 18 10 10 17 11 11 14 12 12 18 13 13 5 14 14 9 15 15 10 16 15 0 My code: d <- read.table(url("http://ece.ubc.ca/~nazareno/85247.arrivalRates")) plot(d) f.exp.nw <- nls(V2 ~ a. * exp(-b. * V1), data = d, list( a. = d$V2[1], b. = 0.05)) f.exp5.nw <- nls(V2 ~ a. / (1+ b. *V1), data = d, list( a. = d$V2[1], b. = 2)) lines(d$V1, predict(f.exp.nw), col = "royalblue") lines(d$V1, predict(f.exp5.nw), col...