inst/sampleCode/ifScript.R

cond = TRUE
x = 1
y = 2
N = 1000

if(TRUE) {
    z = 3
    foo(x, z)
}

d = rnorm(N)
hist(d)
rug(d)

if(FALSE) {
    z = 101
    bar(y, z)
}

plot(1:10)

if(cond) {

}
duncantl/CodeAnalysis documentation built on April 28, 2024, 6:01 p.m.