This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Here below is a manual kruithof or ipf. It terates between targets in a loop using the scale.to.target function | |
| # There aren't very many checks in the function, so... | |
| # - Be sure the Targets don't have conflicting totals | |
| # - Be sure you don't include additional variables in the targets | |
| # - Check that it's converged | |
| for (i in 1:5) { | |
| EMP305$Employment <- scale.to.target(source=EMP305, target=Target2, dv="Employment") # Scale to CTRY | |
| EMP305$Employment <- scale.to.target(source=EMP305, target=Target3, dv="Employment") # Scale to IND | |
| EMP305$Employment <- scale.to.target(source=EMP305, target=Target5, dv="Employment") # Scale to Year |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="section"> | |
| <div class="sub-header"> | |
| <span>ALRIGHTY</span> | |
| </div> | |
| <div class="section-content"> | |
| <p>So off of your Gist that you sent me I'm gonna copy and paste the link that git hub has below this paragraph.</p> | |
| <p><script src="https://gist.github.com/JohnsonBrent/18bb3f693cfcf3336ef165adc9e33e57.js"></script></p> | |
| <p>AND WAZZAH!!! It worked! alright awesome!</p> | |
| </div> | |
| </div> |