Learn R Programming

AgroReg (version 1.2.10)

adjust_scale_x: Utils: Adjust x scale

Description

Adjust x scale for chart or charts

Usage

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

Value

Returns the scaled graph

Arguments

plots

Object of analysis or plot_arrange

scale

x-axis scale (use vector)

limits

limits in x-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_x(a,scale = seq(10,40,5),limits = c(10,40))

Run the code above in your browser using DataLab