Learn R Programming

seedreg (version 1.0.3)

N_model: Analysis: Graph for not significant trend

Description

Graph for non-significant trend. Can be used within the multicurve command

Usage

N_model(
  trat,
  resp,
  ylab = "Germination (%)",
  error = "SE",
  legend = "not~signifcant",
  xlab = expression("Temperature ("^"o" * "C)"),
  theme = theme_classic(),
  width.bar = NA,
  legend.position = "top",
  textsize = 12,
  pointsize = 4.5,
  linesize = 0.8,
  pointshape = 21,
  font.family = "sans"
)

Value

The function returns an exploratory graph of segments

Arguments

trat

Numerical vector with treatments (Declare as numeric)

resp

Numerical vector containing the response of the experiment.

ylab

Dependent variable name (Accepts the expression() function)

error

Error bar (It can be SE - default, SD or FALSE)

legend

Add the legend

xlab

Independent variable name (Accepts the expression() function)

theme

ggplot2 theme (default is theme_classic())

width.bar

Bar width

legend.position

Legend position (default is "top")

textsize

Font size

pointsize

shape size

linesize

line size

pointshape

format point (default is 21)

font.family

Font family (default is sans)

Author

Gabriel Danilo Shimizu

Leandro Simoes Azeredo Goncalves

Examples

Run this code
library(seedreg)
data("aristolochia")
attach(aristolochia)

#================================
# Germination
#================================
N_model(trat,germ)

#================================
# Germination speed
#================================
N_model(trat, vel, ylab=expression("v"~(dias^-1)))

Run the code above in your browser using DataLab