Skip to content

Commit

Permalink
Fix typo and format a couple bits of code
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaulrich committed Mar 20, 2023
1 parent 77544d6 commit 112e2b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions man/has.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ has.Trade(x, which = FALSE)
%- maybe also 'usage' for other objects documented here.
\arguments{
\item{x}{ data object }
\item{which}{ disply position of match }
\item{which}{ display position of match }
}
\details{
Mostly used internally by \pkg{quantmod}, they can be useful
Expand All @@ -68,7 +68,7 @@ can be used in OHLC requiring functions like \code{Op},

Columns names must contain the full description of data,
that is, Open, High, Low, Close, Volume or Adjusted. Abbreviations
will return \code{FALSE} (or \code{NA} when which=TRUE). See
will return \code{FALSE} (or \code{NA} when \code{which = TRUE}). See
\code{\link{quantmod.OHLC}} for details of \pkg{quantmod}
naming conventions.

Expand All @@ -85,7 +85,7 @@ Any additional columns in the object does not affect the return value.
\value{
A logical value indicating success or failure by default.

If which=TRUE, a numeric value representing the column position
If \code{which = TRUE}, a numeric value representing the column position
will be returned.

\code{is.OHLC}, \code{is.HL}, and \code{is.HLC} return a single logical value,
Expand Down

0 comments on commit 112e2b1

Please sign in to comment.