This file contains hidden or 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
| library(sp) | |
| library(ggmap) | |
| library(RColorBrewer) | |
| ## Get data from OpenPV. Open this URL: | |
| ## https://openpv.nrel.gov/search?&state=CA&minsize=100&maxsize=30600&pagenum=1&nppage=25 | |
| ## and export the results as a CSV file named "californiaOpenPV.csv" | |
| caPV <- read.csv('californiaOpenPV.csv') | |
| ## Longitude and Latitude are the names of columns where the spatial information is stored. | |
| ## With the coordinates<- method caPV is now an SpatialPointsDataFrame |
This file contains hidden or 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
| ######################################## | |
| ######################################## | |
| # | |
| # Conducting t-tests in R | |
| # | |
| ######################################## | |
| ######################################## | |
| ######################################## | |
| # One-sample t-tests |
This file contains hidden or 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
| #File created 1/31/13 | |
| #contains R code to | |
| #-read in Kaggle Competition Titanic Data csv file | |
| #-create a simple logistic regression model | |
| #-make predictions on training and test data | |
| #-write out test predictions to csv file | |
| # | |
| #Replace the <your path here> with the full path to your copy of train and test csv files. | |
| ################################################################################### |