-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patching map to handle multiple linear models and do search and replace with a more elegant grep style that hopefully doesn't replace embedded strings in other symbols
- Loading branch information
Richard McElreath
committed
Dec 20, 2013
1 parent
1e8e629
commit 809693c
Showing
4 changed files
with
83 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Package: rethinking | ||
Type: Package | ||
Title: Statistical Rethinking book package | ||
Version: 1.25 | ||
Version: 1.26 | ||
Date: 2013-12-13 | ||
Author: Richard McElreath | ||
Maintainer: Richard McElreath <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
\name{Trolley} | ||
\alias{Trolley} | ||
%- Also NEED an '\alias' for EACH other topic documented here. | ||
\title{Experimental data on ethical dilemmas} | ||
\description{ | ||
These data comprise outcomes of experimental ethical dilemmas that are often called 'trolley' problems. Data kindly provided by Fiery Cushman. | ||
} | ||
\usage{ | ||
data(Trolley) | ||
} | ||
%- maybe also 'usage' for other objects documented here. | ||
\arguments{ | ||
} | ||
\format{ | ||
\enumerate{ | ||
\item case: a code that combines treatment and story labels | ||
\item response: participant's rating of appropriateness of action in story | ||
\item order: integer order story appeared, within participant | ||
\item id: participant id (factor) | ||
\item age: participant's age in years | ||
\item male: participant's gender; 1 for male, 0 for female | ||
\item edu: participant's highest educational level | ||
\item action: treatment code for story with action (1) or inaction (0) | ||
\item intention: treatment code for intent (1) or lack of intent (0) | ||
\item contact: treatmetn code for contact action (1) or lack of contact (0) | ||
\item story: factor label for basic scenario modified by treatments | ||
\item action2: alternative coding of action that is union of action and contact variables | ||
} | ||
} | ||
\value{ | ||
} | ||
\references{Cushman et al. 2006. Psychological Science 17:1082--1089.} | ||
\seealso{} | ||
\examples{ | ||
} | ||
% Add one or more standard keywords, see file 'KEYWORDS' in the | ||
% R documentation directory. | ||
\keyword{ } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters