Hi Bruno,
The interaction.plot function plots the _levels_ of the x.factor
argument, not the values of the variable that is coerced to a factor.
This means that the temperature locations on the x axis are c(1,2),
not c(12,17). The code below works for me:
readscaphfileNEW<-read.table(text="EXPERIM
Dear Bruno,
There are (at least) two errors here:
(1) I think that you misunderstand how interaction.plot(), and more
generally R base graphics, work. interaction.plot() doesn't return a
graphics object, but rather draws on a graphics device as a side effect.
Of course, interaction.plot() is
Hi all,
I'm trying to add error bars to an existing line graph in base R.
The basic line graph comes up just fine, but it does not show my error
bars...
Data frame = readscaphfileNEW
Plot name = SCAPHLINEGRAPHNEW
x axis = TEMP
y axis = SCAPH.BPM
Tracer = Year (SAME AS 'EXPERIMENT)
Scaphmeans =
3 matches
Mail list logo