adjust_scale {AgroReg}R Documentation

Utils: Adjust y and x scale

Description

Adjust y and x scale for chart or charts

Usage

adjust_scale(
  plots,
  scale.x = "default",
  limits.x = "default",
  scale.y = "default",
  limits.y = "default"
)

Arguments

plots

Object of analysis or plot_arrange

scale.x

x-axis scale (use vector)

limits.x

limits in x-axis (use vector)

scale.y

y-axis scale (use vector)

limits.y

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(a,scale.y = seq(0,100,10),limits.y = c(0,100))

[Package AgroReg version 1.2.10 Index]