the data frames work as follows: columns= variables and rows= records. when
you plot with a data frame it's logical to plot one variable against another
not one record against another. with casting into a matrix and rotating then
casting back into a dataframe, you made your records variables.. thi
Thanks for the help- It worked just fine:
This will cast my ignorance across the table, but here it goes. Why do I
need to make them a matrix? because they are in a row? if
d <- as.matrix(f)
f.t <- t(d)
f.m <- as.data.frame(f.t)
now I could use just the following
plot(f.m[c(rownumber), column],
Try also:
x1=as.numeric(f[2,4:26])
y1=as.numeric(f[1,4:26])
plot(x1,y1)
HTH,
Jorge
On Tue, May 6, 2008 at 12:43 PM, stephen sefick <[EMAIL PROTECTED]> wrote:
> f <- (structure(list(X = structure(96:97, .Label = c("119DAmm", "119DN",
> "119DNN", "119DO", "119DOC", "119Flow", "119Nit", "119ON",
On 5/6/2008 12:43 PM, stephen sefick wrote:
f <- (structure(list(X = structure(96:97, .Label = c("119DAmm", "119DN",
"119DNN", "119DO", "119DOC", "119Flow", "119Nit", "119ON", "119OPhos",
"119OrgP", "119Phos", "119TKN", "119TOC", "148DAmm", "148DN",
"148DNN", "148DO", "148DOC", "148Flow", "148Nit
cast the two vectors as.matrix-- see here:
plot(as.matrix(f[2,4:26]), as.matrix(f[1,4:26]))
y
stephen sefick wrote:
>
> f <- (structure(list(X = structure(96:97, .Label = c("119DAmm", "119DN",
> "119DNN", "119DO", "119DOC", "119Flow", "119Nit", "119ON", "119OPhos",
> "119OrgP", "119Phos", "11
Try:
x <- unlist(f[2, 4:26])
y <- unlist(f[1, 4:26])
plot(x, y)
On Tue, May 6, 2008 at 12:43 PM, stephen sefick <[EMAIL PROTECTED]> wrote:
> f <- (structure(list(X = structure(96:97, .Label = c("119DAmm", "119DN",
> "119DNN", "119DO", "119DOC", "119Flow", "119Nit", "119ON", "119OPhos",
> "119OrgP
6 matches
Mail list logo