I am going through chapt 3 tutorial and was trying to replicate the examples. I copied pasted the code and got the following results below. Where is the error?
strength <- c(167,185,119,142)
name <- c("adam","jamal","linda","sriti")
group <- factor( c( "treatment","control","treatment","control" ) )
plot( strength, col="blue", ... )
plot( strength, col=group, ... )
plot( strength, col="blue", ... )
Error: '...' used in an incorrect context
plot( strength, col=group, ... )
Error: '...' used in an incorrect context
I am going through chapt 3 tutorial and was trying to replicate the examples. I copied pasted the code and got the following results below. Where is the error?
strength <- c(167,185,119,142) name <- c("adam","jamal","linda","sriti") group <- factor( c( "treatment","control","treatment","control" ) )
plot( strength, col="blue", ... )
plot( strength, col=group, ... )