Finally I get a plot manual...so I got the solution﹛﹛

Sorry about inconveniences....


2009/11/24, Jose Narillos de Santos <narillosdesantos@gmail.com>:
>
> Hi All,
>
> My doub I think is very simple. I hope it is. So you can again help, guide
> me.
>
> I惴 trying to make a graph (scatter graph) about two variables, imagine I
> have a watter.txt file with two variables watter and hardness:
>
> This code extracted from:
> http://cran.r-project.org/web/packages/HSAUR/vignettes/Ch_simple_inference.pdf
> would make a plot similar I want I mean to make an scatterplot with
> marginal ditribution up and left...(in this case a boxplot on the left and
> also I omitt the location).
>
>
> layout(matrix(c(2, 0, 1, 3), 2, 2, byrow = TRUE),
> 2 + c(2, 1), c(1, 2), TRUE)
>
> plot(mortality ~ hardness, data = water, pch = psymb)
>
> abline(lm(mortality ~ hardness, data = water))
>
> legend("topright", legend = levels(water$location), 7 + pch = c(1,2), bty
> = "n")
>
> hist(water$hardness)
>
> boxplot(water$mortality)
>
>
>
> Can anyone explain what is the values in "layout" the inputs I mean, I have
> read the help but because I惴 a begginer I 惴 not able to comprehed why they
> put matrix c(2,0,1,3) and the other inputs?
>
>
>
> I need if someone can help me an easy example....
>
>
>
> Thanks a lot.
>
>
>
>
>

	[[alternative HTML version deleted]]


