mfrow function not found

Error in mfrow(2, 2) : could not find function "mfrow"

Is there a certain package I need to import? It cannot find the function.
here is my code:

par(mfrow(2,2)) # your error message
#> Error in mfrow(2, 2): could not find function "mfrow"
fit <- lm(mpg~drat,data=mtcars)
par(mfrow = c(2,2)) # your code example

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.