Description Usage Arguments Value License See Also

Calculates weighted R2 of a univariate weighted linear model with
`dateNm`

as x and `myVar`

as y using the workhorse `lm.fit`

and `lm.wfit`

functions.

1 |

`myVar` |
Name of variable to model. |

`dataFl` |
A |

`dateNm` |
Name of column containing the date variable (to be modeled as numeric); this date column must not have NA's. |

`weightNm` |
Name of column containing row weights. If weights equal one,
then the |

`imputeValue` |
Either |

A numeric value of R2.

Copyright 2017 Capital One Services, LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Functions depend on this function:
`OrderByR2`

.

This function depends on:
`PrepData`

.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.