Displaying 4 results from an estimated 4 matches for "size94".
1999 Mar 02
1
Can't understand error message :-{
...<- read.table(file="/u67/abasl70/surveys/annenberg/mega/smschl.dat",
header=T)
sizef <- data.frame(size, row.names=size$unit)
attach(sizef)
mschmod <- lm (mavgres ~ crimesch + socstat + povnojob + ploinc94 + aa94 +
hisp94 + minty94 + mixed94, data=sizef)
plot(mschmod$residuals ~ size94)
The last line gives this error message:
Error in model.frame(formula, rownames, variables, varnames, extras,
extranames, : variable lengths differ
In fact, the lengths are different:
> length(mschmod$residuals)
[1] 379
> length(size94)
[1] 384
but I'm sure I don't know 1) how thi...
1999 Mar 02
1
How to set axis labels?
...ryone with such a basic question again, but I can't seem to
set my axis labels. When I use
title(ylab="String")
"String" just overwrites the variable name, producing a mess. When I try to put
ylab="String" in the plot function, like this:
plot(residuals(mschmod) ~ size94, ylab = "Productivity Adjusted for Context")
I get this message:
Error: formal argument "ylab" matched by multiple actual arguments
Thanks for the help (again).
______________________________________________________________________
Stuart Luppescu -=-=- University of C...
1999 Mar 02
1
How to set axis labels?
...ryone with such a basic question again, but I can't seem to
set my axis labels. When I use
title(ylab="String")
"String" just overwrites the variable name, producing a mess. When I try to put
ylab="String" in the plot function, like this:
plot(residuals(mschmod) ~ size94, ylab = "Productivity Adjusted for Context")
I get this message:
Error: formal argument "ylab" matched by multiple actual arguments
Thanks for the help (again).
______________________________________________________________________
Stuart Luppescu -=-=- University of C...
1999 Mar 07
0
coplot has me stumped
..., no matter what I do I get the message,
Error: Object "b.levels" not found.
Here is the section of code:
c.ranges <- co.intervals(schses, number=4, overlap=0)
a.ranges <- co.intervals(as.factor(aa94), number=2, overlap=0)
PredAA <- as.factor(aa94)
coplot(Adj.Math.Productivity ~ size94|schses * PredAA, panel=points.lines,
given.values=list(c.ranges, a.ranges ), rows=2, columns=4 )
Instead of 'a.ranges' in the coplot statement, I have also tried c(0,1), and
lots of other variations, but no matter what I do, I always get the same
message. There must be something fundamenta...