Learn R Programming

AgroReg (version 1.2.10)

adjust_scale_y: Utils: Adjust y scale

Description

Adjust y scale for chart or charts

Usage

adjust_scale_y(plots, scale = "default", limits = "default")

Value

Returns the scaled graph

Arguments

plots

Object of analysis or plot_arrange

scale

y-axis scale (use vector)

limits

limits in y-axis (use vector)

Examples

Run this code
library(AgroReg)
data("aristolochia")
attach(aristolochia)
a=LM(trat,resp)
b=LL(trat,resp,npar = "LL.3")
a=plot_arrange(list(a,b),gray = TRUE)
adjust_scale_y(a,scale = seq(0,100,10),limits = c(0,100))

Run the code above in your browser using DataLab