% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fsar.R
\name{fsar}
\alias{fsar}
\title{Forward Stepwise Spatial Auto-Regressive Model}
\usage{
fsar(
  x,
  y,
  w,
  selectFun = logLik,
  stopFun = "EBIC",
  keep = NULL,
  maxK = NULL,
  verbose = FALSE
)
}
\arguments{
\item{x}{Matrix of covariates.}

\item{y}{Vector of response.}

\item{w}{Weight matrix (row-sum scaled being one).}

\item{selectFun}{Parameter passed to \link{frs}.}

\item{stopFun}{Parameter passed to \link{frs}.}

\item{keep}{Parameter passed to \link{frs}.}

\item{maxK}{Parameter passed to \link{frs}.}

\item{verbose}{Parameter passed to \link{frs}.}
}
\value{
Model object fitted on the selected features.
}
\description{
Forward stepwise strategy for spatial auto-regressive model.
}
