Marie Sivertsen wrote:
> Dear List,
>
> I try to develop code where plotting functions are embeded in my own
> functions. The following is simplified example:
>
>> test <- function() {
>>data <- data.frame(x=rep(1:2, each=50), y=rnorm(100))
>> library(lattice)
>>attach(data)
>>xypl
Dear List,
I try to develop code where plotting functions are embeded in my own
functions. The following is simplified example:
> test <- function() {
>data <- data.frame(x=rep(1:2, each=50), y=rnorm(100))
> library(lattice)
>attach(data)
>xyplot(y~x)
>detach()
>}
>test()
As
2 matches
Mail list logo