Question
par(mfrow=c(1,2)) plot(cpt.mean(na.omit(Cameroons$Cameroon..RETAIL..Yaound..Wheat..flour...USD.Kg), method = 'BinSeg'),cpt.col='blue', cpt.width = 4,main=blah, which=1) plot(cpt.mean(na.omit(Cameroons$Cameroon..RETAIL..Douala..Wheat..flour...USD.Kg), method = 'BinSeg'),cpt.col='blue', cpt.width = 4,main=blah, which=2) I tried running this code but get an
par(mfrow=c(1,2)) plot(cpt.mean(na.omit(Cameroons$Cameroon..RETAIL..Yaound..Wheat..flour...USD.Kg), method = 'BinSeg'),cpt.col='blue', cpt.width = 4,main="blah", which=1) plot(cpt.mean(na.omit(Cameroons$Cameroon..RETAIL..Douala..Wheat..flour...USD.Kg), method = 'BinSeg'),cpt.col='blue', cpt.width = 4,main="blah", which=2)
I tried running this code but get an error message saying... "Error in box(...) : invalid 'which' argument"
cpt is from the changepoint package in R.
I just want 2 plots to be in the same row
I tried assigning a plot to a variable but it returns a NULL object
What would you do?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started