Comments

tbates's picture

TextMate 2 snippet to create this header

Textmate 2 with dropdown select support attached to make this trivial (just type demo and tab)

remove the .txt extension (added to trick the upload filter)

# -----------------------------------------------------------------------------
# Program: ${1:ExampleDemo}.R
# Author: ${2:$TM_FULLNAME}
# Date: `date +%Y-%m-%d`
#
# ModelType: ${3:CFA,EFA,ACE,Multilevel,Mixture,Growth Curve,Growth Mixture,Saturated,Locus Likelihood,Log-odds,Joint,Ordinal,Continuous}
# DataType: ${4|Time Series,Likert,Twin,Count,Frequencies,Log-odds,Binary,Survey,Personality,Family,Joint,Ordinal,Continuous,Simulated,Clustered|}
# Field: ${5|Path model,Behavior Genetics,Genetic Epidemiology,Functional Magnetic Resonance Imaging (FMRI)|}
#
# Purpose:
# ${6:One Factor model to demonstrate style header for demos.}
#
# RevisionHistory:
# $2 -- `date +%Y-%m-%d` initial creation
# -----------------------------------------------------------------------------

AttachmentSize
demo script.tmSnippet.txt 1.2 KB