Learn R Programming

seedreg (version 1.0.3)

lineplot: Graph: line chart

Description

Returns a graph with the frequencies of germinated or emerged seeds

Usage

lineplot(
  dados,
  trat,
  nrep,
  time,
  ylab = "Emergence",
  xlab = "Time (days)",
  nt = NA,
  percentage = FALSE,
  legend.position = c(0.2, 0.8)
)

Value

Returns a graph with the frequencies of germinated or emerged seeds.

Arguments

dados

data.frame containing the responses of the evaluations in separate columns side by side and without the columns with the identification of the factors

trat

vector of treatments with n repetitions

nrep

Number of repetitions

time

vector containing time

ylab

y-axis name

xlab

x-axis name

nt

total seeds per repetition

percentage

y scale in percentage

legend.position

Legend position

Examples

Run this code
data("substrate")
lineplot(substrate[,c(3:18)],
      trat = substrate$Trat,
      nrep = 4,
      time = 1:16)

Run the code above in your browser using DataLab