> M
[,1] [,2] [,3] [,4]
x 1.75 2.25 3.25 3.75
y 6.25 6.75 7.25 7.75
plot(t(M))
Does just fine for me oO
then again, as you write it, you actually have a data frame there.. so..
> D
AAB BAB CCD DCD
x 1.75 2.25 3.25 3.75
y 6.25 6.75 7.25 7.75
plot(t(D))
Does just fine for me as well oO
Thanks Rui and Jeff,
I thought that transposing the matrix would let me plot it the way I thought
it would but it did not. How can I take:
matrix "e":
AAB BAB CCD DCD
x 1.75 2.25 3.25 3.75
y 6.25 6.75 7.25 7.75
and treat the x and y rows as the x and y axis values and plot th
hello,
Hans Thompson wrote
>
> Is there a function I can use to invert the final table rows and columns?
> I'd like to plot the x and y so that I can place them with another point
> and get coefficient values. So:
>
> AAB BAB CCD DCD
> x 1.75 2.25 3.25 3.75
>>y 6.25 6.75 7.25
?t
though i don't know why you think you have to regress only columns and cannot
regress rows.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Is there a function I can use to invert the final table rows and columns?
I'd like to plot the x and y so that I can place them with another point and
get coefficient values. So:
AAB BAB CCD DCD
x 1.75 2.25 3.25 3.75
>y 6.25 6.75 7.25 7.75
to "A"
x y
AAB
BA
Yes. This worked very well for what I am trying to do. The only problem I
had though was figuring out why
dimnames(a) <- list(c("x","y"), LETTERS[1:4])
would not list the rows as x and y. I changed it though to
letters[24:25]
Thanks again Petr.
--
View this message in context:
http://r.7
On Tue, Apr 24, 2012 at 01:36:25PM -0700, Hans Thompson wrote:
> Hello, this forum was very helpful yesterday with a simple question I had on
> working with tables. What function will I need to use to do the following.
>
> Move matrix a:
>
>AB C D
> x1234
> y
7 matches
Mail list logo