school.growth.rate: Function for calculating growth resulting from school at...

Description Usage Arguments Examples

View source: R/school_growth_rate_function.r

Description

Function for calculating growth resulting from school at every possible achievement level, given a level of achievement, ZPD parameters, and school curriculum parameters. This is used to populate the lookup table for school growth. Called by build.school.lookup()

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
school.growth.rate(
  achievement,
  ZPD.offset,
  ZPD.width,
  slope1,
  slope2,
  start,
  end,
  integration.points
)

Arguments

achievement

a vector of achievement levels

ZPD.offset

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

ZPD.width

the radius of the student's ZPD

slope1

the slope of the lower leg of the school curriculum

slope2

the slope of the upper leg of the school curriculum

start

the curriculum starting location

end

the curriculum ending location

integration.points

integration points for numerical integration

Examples

1
2
3
4
5
## Not run: 
school.growth.rate(achievement=seq(0,1, .1), integration.points=200, ZPD.offset=.05,
  ZPD.width=.04, slope1=10, slope2=20, start=.1, end=.2)
  
## End(Not run)

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