Skip to content

loops #3

@philingranville

Description

@philingranville

I am very new to R. How do I loop a long number of variables into an equation. For example, the formula for m1 has a variable i. How do I run "fitted.values(m1) for hundreds of values of i? I have watched many videos, but have not found how to do this exact loop. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions