% Generated by roxygen2: do not edit by hand
\name{attr}
\alias{attr}
\title{Object Attributes}
\arguments{
  \item{x}{an object}
  \item{which}{which attribute to access
}
}

\details{
Get object attribute
\code{
A <- matrix(1:27, ncol = 3)
attr(A, "dim")
}

Set object attribute
\code{
attr(A, "dim") <- c(3, 3, 3)
}
}

