Displaying 3 results from an estimated 3 matches for "fasl".
Did you mean:
fail
2003 Apr 01
1
Bug in Plot.table?
...ress the
axes with axes = FALSE. Am I missing something or is it a bug?
For example:
> x <- c(rep(0, 7), rep(1, 4), rep(5, 3), rep(6, 4), rep(8, 10))
> table(x)
> plot(table(x), axes = FALSE) #does not suppress the
axes
> plot(table(x), frame.plot= FALSE, axes = FASLE) #deliberate spelling
mistake does the job :)
> plot.default(table(x), type = "h", lwd= 10, axes= FALSE) #this works
>
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 1
minor 6.2
year 2003
mo...
2005 Jan 03
2
matrix and error in points, plot ?
Hi,
Would a specialist of the "point" or "plot" functions try the following:
mat<-matrix(c(1.836767,4.025989,0.6396777,0.3764444),ncol=2)
plot(mat)
points(mat[1,],col="red")
..A lag appears on x for mat [1,1] between the two displays.
I wonder if this example may be due to a bug or to the mis-use of a matrix
in the plot() points() functions. In case of
2011 Mar 20
2
Convert Sweave document to a function
I like Sweave, which I consider to be a great contribution. I have just
written a .Rnw document that comes to about 6 pages of mixed code and
mathematical explanation. Now I want to turn the R code into a function. My
R code currently contains statements like N<-1000 and theta<- pi/10. In the
next version of the document, I want N and theta to be parameters of a
function, so that they can be