| as.data.frame.SiZer | R Documentation |
Coerce SiZer object to a Data Frame
## S3 method for class 'SiZer' as.data.frame(x, row.names = NULL, optional = FALSE, ...)
x |
An object produced by 'SiZer()'. |
row.names |
Required for generic compatibility. Not used. |
optional |
Required for generic compatibility. Not used. |
... |
Required for generic compatibility. Not used. |
data('Arkansas')
x <- Arkansas$year
y <- Arkansas$sqrt.mayflies
plot(x,y)
# Calculate the SiZer map for the first derivative
SiZer.1 <- SiZer(x, y, h=c(.5,10), degree=1, derv=1, grid.length=21)
as.data.frame(SiZer.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.