QuickSEMPlot: Quick SEM Plot

View source: R/Source_StatsPlotsandTesting.R

QuickSEMPlotR Documentation

Quick SEM Plot

Description

A method that plots whatever data was saved in the path location. It takes the column averages, so it works for Basic, Light, and Insult Sims, but not for Invasion Sims. For trait plots, black lines are the average, dark grey is the inner 50

Usage

QuickSEMPlot(P, path, rep = TRUE, acc = P$SAcc, lrnThsh = P$SLrn,
  match = P$SMat, chanceInv = P$SCtI, chanceFor = P$SCtF,
  age = P$SAge, mSong = P$SMSng, fSong = P$SFSng,
  autoLayout = TRUE, xlab = "Time Steps", thin = 10)

Arguments

P

a list of parameters

path

location of a folder with simulation data

rep

whether to plot repertoire size data

acc

whether to plot accuracy data

lrnThsh

whether to plot learning threshold data

match

whether to plot matching data

chanceInv

whether to plot chance to invent data

chanceFor

whether to plot chance to forget data

age

whether to plot age data

mSong

whether to plot male song data

fSong

whether to plot female song data

autoLayout

whether to allow the function to figure out the layout (TRUE) or not (FALSE)

xlab

x-axis label for plot()

thin

how often to sample a step of song data for the SongEvolve() plots; This is graphically intensive when there are a lot of syllables (default is 500), so ideally do not plot more than 100-200 time steps.


NeuroBio/SEM_R_Package documentation built on April 24, 2022, 5:54 p.m.