Learn R Programming

Omisc (version 0.1.5)

BarebonesBetas: BarebonesBetas

Description

Gives just the beta weights from a linear model.

Usage

BarebonesBetas(data, Y = NULL, RHS = NULL)

Value

A vector of beta coefficients

Arguments

data

Data to be analyzed. Dependent variable MUST BE THE FIRST VARIABLE.

Y

optional. The dependent variable

RHS

option. The right hand side of the model, in R's model formulation (i.e., ~ X1+X2+etc)

Examples

Run this code
Data<-TestData()
BarebonesBetas(Data)

Run the code above in your browser using DataLab