plot_per_mod: Plotting function for periodic curves model

Description Usage Arguments

Description

Plots graph of periodic curves with confidence intervals. Data should be included in the model.

Usage

1
2
3
4
5
plot_per_mod(Model, XvarName, Ylab = "Response", Xlab = "Covariate",
  Ylim = NULL, Xlim = NULL, Xmin = NULL, Xmax = NULL, Knots = NULL,
  Title = NULL, Vlines = NULL, Hlines = NULL, Cex.lab = NULL,
  Cex.main = NULL, Cex.axis = NULL, Axes = TRUE, Add = FALSE,
  Col = "black", PlotCI = TRUE, nPoints = 100)

Arguments

Model

The built model

XvarName

Name of the x variable in the dataset (column name)

Ylab

Label on vertical (y) axis

Xlab

Label on horizontal (x) axis

Ylim

Limits of y axis

Xlim

Limits of x axis

Xmin

The min X of data to be predicted

Xmax

The max X of data to be predicted

Knots

Locations of knots of the splines

Title

Title of the plot

Vlines

Where to plot vertical lines

Hlines

Where to plot horizontal lines

Cex.lab

Character expansion (aka "size of font") for the labels

Cex.main

Character expansion for main text

Cex.axis

Character expansion for the axis text

Axes

Plot axes

Add

Add to existing plot

Col

Color of the plotted lines

PlotCI

Plot confidence intervals

nPoints

Number of points to use on the x axis


crtahlin/peRiodic documentation built on May 14, 2019, 12:05 p.m.