search for: fline

Displaying 3 results from an estimated 3 matches for "fline".

Did you mean: line
2003 Aug 27
2
Using files as connections
...line if the connection is open, but presented with a closed connection it will open it, start from the beginning, and close it when finished. In the code that follows I tried to open the file before reading but apparently without success, because the result was repeated copies of the first line: flines <- 107165 slines <- 100 selected <- sort(sample(flines,slines)) strvec <- rep(??,slines) file(?c:/data/perry/data.csv?,open="r") isel <- 0 for (iline in 1:slines) { isel <- isel + 1 cline <- readLines(?c:/data/perry/data.csv?,n=1) if (iline == selected[isel]) s...
2006 Jan 13
1
Syntax for linear mixed model
...trix, latticeExtra and lme4. However, I cannot get it to work in version 2.2.1. Can anyone tell me how to fit this model in the more recent version? Thanks in anticipation, Nick Galwey barleyprogeny.model1lme <- lme(yield_g_m2 ~ 1, data = barleyprogeny.unbalanced, random = ~ 1|fline + fblock) [[alternative HTML version deleted]]
2008 Jun 19
4
Controlling the length of line with abline(lm())
Hi I just realized that when I use linear regression to draw a line through my data points with something like the following: abline(lm(y ~ x)) the length of the line is infinite, i.e., the line goes beyond the smallest and the largest data values. This seems not very right to me (not to mention it looks unaesthetic). I do not mean to imply that the straight-line behavior of my system is