adjust_scale_y {AgroReg}R Documentation

Utils: Adjust y scale

Description

Adjust y scale for chart or charts

Usage

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

Arguments

plots

Object of analysis or plot_arrange

scale

y-axis scale (use vector)

limits

limits in y-axis (use vector)

Value

Returns the scaled graph

Examples

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))

[Package AgroReg version 1.2.10 Index]