max.achievement: Function for calculating the max value that should be...

Description Usage Arguments Examples

View source: R/max_achievement_function.r

Description

Function for calculating the max value that should be included in the lookup table based on the max school curriculum and the point at which the home growth rate falls below some negligible threshold called by ZPDGrowthTrajectories() function

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'achievement'
max(
  ZPD.width,
  ZPD.offset,
  curriculum.start.points,
  curriculum.widths,
  slope2,
  rate,
  threshold,
  integration.points
)

Arguments

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 of curriculum starting locations

curriculum.widths

matrix of curriculum widths

slope2

matrix of slopes of the upper leg of the school curriculum

rate

exponential decay rate for the home curriculum function

threshold

the threshold growth rate for finding the effective maximum possible achievement

integration.points

integration points for numerical integration

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
curriculum.start.points <- matrix(c(.1, .2, .3), ncol=1)
curriculum.widths <- matrix(rep(.11, 3), ncol=1)
slope2 <- matrix(rep(10, 3), ncol=1)

max.achievement(ZPD.width=.05, ZPD.offset=.02,
                curriculum.start.points=curriculum.start.points,
                curriculum.widths=curriculum.widths,
                slope2=slope2, rate=6, threshold=.00001,
                integration.points=2000)

## End(Not run)

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