# NOT RUN {
# latent variables
attack = latent("ATTACK", x=0.35, y=0.7, rx=0.08, ry=0.06)
defense = latent("DEFENSE", x=0.35, y=0.3, rx=0.08, ry=0.06)
success = latent("SUCCESS", x=0.65, y=0.5, rx=0.08, ry=0.06)
# opwn wall
wall()
title("Drawing three latent variables", col.main="gray20")
# draw variables
draw(attack)
draw(defense)
draw(success)
# }
Run the code above in your browser using DataLab