File: Sacramento.Rd

package info (click to toggle)
r-cran-caret 7.0-1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,036 kB
  • sloc: ansic: 210; sh: 10; makefile: 2
file content (36 lines) | stat: -rw-r--r-- 1,125 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/caret-package.R
\docType{data}
\name{Sacramento}
\alias{Sacramento}
\title{Sacramento CA Home Prices}
\source{
SpatialKey website:
\url{https://support.spatialkey.com/spatialkey-sample-csv-data/}
}
\value{
\item{Sacramento}{a data frame with columns '\code{city}',
'\code{zip}', '\code{beds}', '\code{baths}', '\code{sqft}', '\code{type}',
'\code{price}', '\code{latitude}', and '\code{longitude}'}
}
\description{
This data frame contains house and sale price data for 932 homes in
Sacramento CA.  The original data were obtained from the website for the
SpatialKey software. From their website: "The Sacramento real estate
transactions file is a list of 985 real estate transactions in the
Sacramento area reported over a five-day period, as reported by the
Sacramento Bee." Google was used to fill in missing/incorrect data.
}
\examples{

data(Sacramento)

set.seed(955)
in_train <- createDataPartition(log10(Sacramento$price), p = .8, list = FALSE)

training <- Sacramento[ in_train,]
testing  <- Sacramento[-in_train,]


}
\keyword{datasets}