Learn R Programming

AgroReg (version 1.2.10)

coloredit_arrange: Change the colors of a graph from the plot_arrange function

Description

Change the colors of a graph from the plot_arrange function

Usage

coloredit_arrange(graphs, color = NA)

Value

The function changes the colors of a graph coming from the plot_arrange function

Arguments

graphs

object from a plot_arrange function

color

color curve and point

Author

Gabriel Danilo Shimizu

Examples

Run this code
library(AgroReg)
data("aristolochia")
attach(aristolochia)
graph1=LM(trat,resp)
graph2=LL(trat,resp,npar = "LL.3")
graph=plot_arrange(list(graph1,graph2))
coloredit_arrange(graph,color=c("red","blue"))

Run the code above in your browser using DataLab