build.school.lookup: Function to build the school growth lookup table called by...

Description Usage Arguments Examples

View source: R/build_school_lookup_function.r

Description

Function to build the school growth lookup table called by ZPDGrowthTrajectories() function

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
build.school.lookup(
  integration.points,
  ZPD.width,
  ZPD.offset,
  curriculum.start.points,
  curriculum.widths,
  slope1,
  slope2,
  maxachievement
)

Arguments

integration.points

integration points for numerical integration

ZPD.width

the radius of the student's ZPD

ZPD.offset

offset of the student's ZPD from the current level of achievement

curriculum.start.points

matrix or list of matrices of curriculum starting locations

curriculum.widths

matrix or list of matrices of curriculum widths

slope1

matrix of the slopes of the lower leg of the school curriculum

slope2

matrix of the slopes of the upper leg of the school curriculum

maxachievement

the maximum achieveable level of achievement

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
curriculum.start.points <- matrix(c(.1, .2, .3), ncol=1)
curriculum.widths <- matrx(rep(.11, 3), ncol=1)
slope1 <- matrix(rep(20, 3), ncol=1)
slope2 <- matrix(rep(50, 3), ncol=1)
build.school.lookup(integration.points=20, ZPD.width=.05, ZPD.offset=.02,
                      curriculum.start.points=curriculum.start.points,
                      curriculum.widths=curriculum.widths,
                      slope1=slope1, slope2=slope2, maxachievement=1.5)
 
## End(Not run)

mcbeem/ZPDGrowthTrajectories documentation built on May 18, 2020, 2:04 p.m.