blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
327
content_id
stringlengths
40
40
detected_licenses
listlengths
0
91
license_type
stringclasses
2 values
repo_name
stringlengths
5
134
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
46 values
visit_date
timestamp[us]date
2016-08-02 22:44:29
2023-09-06 08:39:28
revision_date
timestamp[us]date
1977-08-08 00:00:00
2023-09-05 12:13:49
committer_date
timestamp[us]date
1977-08-08 00:00:00
2023-09-05 12:13:49
github_id
int64
19.4k
671M
⌀
star_events_count
int64
0
40k
fork_events_count
int64
0
32.4k
gha_license_id
stringclasses
14 values
gha_event_created_at
timestamp[us]date
2012-06-21 16:39:19
2023-09-14 21:52:42
⌀
gha_created_at
timestamp[us]date
2008-05-25 01:21:32
2023-06-28 13:19:12
⌀
gha_language
stringclasses
60 values
src_encoding
stringclasses
24 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
9.18M
extension
stringclasses
20 values
filename
stringlengths
1
141
content
stringlengths
7
9.18M
56fd93750cf0b3c1671ccf18ab6400d3ec9df323
771d9236b852638924858f6f38bbadb496e10426
/R/ExtractFixations.R
4045f760398b4474b337e4c202060b2ffd19fade
[]
no_license
sascha2schroeder/popEye
e8c8de1de72d0c5f937c2710b8b03e9834ea7435
ef6cfca89e71f324cbb7970061cdf23ece7b63b4
refs/heads/master
2023-05-24T14:11:35.312441
2022-09-08T10:17:15
2022-09-08T10:17:15
173,056,807
17
4
null
null
null
null
UTF-8
R
false
false
189
r
ExtractFixations.R
ExtractFixations <- function(dat) { for (trial in 1:length(dat$item)) { dat <- RetrieveFixations(dat, trial) dat <- ComputeDur(dat, trial) } return(dat) }
fb46299dac79c6ea5e8ce1b46b4ef24493c2673a
9f645cdeecffe321b9e66ee6f7d3e5fafcb9d1a0
/scripts/centroid_lavielle_adults_2017.R
0854c9e72441ddd1cccdf680c22bd860f71e5d27
[]
no_license
dwwolfson/ch2_crane_movement
b64ecabf13b28f4bd869295048e641df2a76bc7b
373492c6dced0fd9821e53b06700ad8b11fcc3d6
refs/heads/master
2021-09-28T22:56:51.829061
2018-11-21T06:16:16
2018-11-21T06:16:16
111,363,181
0
0
null
null
null
null
UTF-8
R
false
false
17,666
r
centroid_lavielle_adults_2017.R
library(dplyr) library(sp) library(lubridate) library(tlocoh) library(adehabitatLT) rm(list=ls()) source("Scripts/distance_to_centroid_function.R") setwd("C:/Users/David/Documents/R/CraneMovement/scripts/t-locoh") #Import csv of all locations from Movebank for April 1-August 31, 2017 df<-read.csv("Data/a...
971bdf69e7b23ffaf10254dea9f9ea9bafdb00e8
d4ded4d8fd0d430bf09e98b6f41c53ddff85d6d8
/StandardAnalysis/summaryfunctions.R
3ee8bea32906c3a669debe2636429ee1772464ee
[]
no_license
nklange/PrimingSourcePaper
287a198d266236ad880324a606c1a859f017cced
528ec2d956b30212124aaed1e1c1953159d07a48
refs/heads/main
2023-01-06T20:14:34.908035
2020-11-03T16:04:08
2020-11-03T16:04:08
307,328,654
0
0
null
null
null
null
UTF-8
R
false
false
29,111
r
summaryfunctions.R
init <- function(need) { ip <- .packages(all.available = T) if (any((need %in% ip) == F)) { install.packages(need[!(need %in% ip)]) } ok <- sapply(1:length(need), function(p) require(need[[p]], character.only = T)) } serror <- function(x) sd(x,na.rm=T)/sq...
0537f61771f16ffe1ad4930c25aef9ff67303e05
849a6932f5e298d6f6b68a27d74608c36b663c39
/scripts/writePsims.r
f05ad69fa62661c0e0c9ca057fcdac9dbadd3d3c
[]
no_license
RDCEP/nldas
4e0aaedfbd01346a9a1421822d16900a7f24d6c9
44769f2057812670c1afa041d4834de00190f26b
refs/heads/master
2021-01-01T19:06:22.962860
2013-12-03T21:57:42
2013-12-03T21:57:42
12,471,543
1
0
null
null
null
null
UTF-8
R
false
false
7,684
r
writePsims.r
#!/home/nbest/local/bin/r ## --interactive stripe <- as.integer( argv[ 1]) ## stripe <- 14 degreesPerStripe <- 0.5 ##startYear <- as.Date( argv[ 1]) ##endYear <- as.Date( argv[ 2]) startYear <- 1979 endYear <- 2013 years <- startYear:endYear library( ncdf4) library( raster) library( abind) ## library( a...
b1f0b5678e9e9d6567b2cc24b7293047ee5d263e
1308fdc1702986e9f02b1d2c8dc9a545008eee00
/R/stop_quietly.R
83c129be67398e10198c95cb78d13176abe4905a
[]
no_license
raphidoc/lighthouse
62c2a15dd2a52069e2fbad90045db9c028b341be
bacba1366dbc13eb384c84e79d46976d4433cc6d
refs/heads/main
2022-06-16T08:53:02.969512
2022-06-08T13:29:18
2022-06-08T13:29:18
213,687,674
0
1
null
null
null
null
UTF-8
R
false
false
138
r
stop_quietly.R
stop_quietly <- function() { opt <- options(show.error.messages = FALSE) on.exit(options(opt)) stop("QC files produced, Terminated") }
b85c734a39f40f0dfc9ac4748028ed196a0aef5a
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/splitstackshape/examples/Reshape.Rd.R
cfe9c86c1eead3f07e246475dece4d21bf760f11
[]
no_license
surayaaramli/typeRrh
d257ac8905c49123f4ccd4e377ee3dfc84d1636c
66e6996f31961bc8b9aafe1a6a6098327b66bf71
refs/heads/master
2023-05-05T04:05:31.617869
2019-04-25T22:10:06
2019-04-25T22:10:06
null
0
0
null
null
null
null
UTF-8
R
false
false
723
r
Reshape.Rd.R
library(splitstackshape) ### Name: Reshape ### Title: Reshape Wide Data Into a Semi-long Form ### Aliases: Reshape ### ** Examples set.seed(1) mydf <- data.frame(id_1 = 1:6, id_2 = c("A", "B"), varA.1 = sample(letters, 6), varA.2 = sample(letters, 6), varA.3 = sample(letters, 6), ...
74bed2d55d8604eaa9ea71a815bc70b17935bce4
7cd8b7c0cd60c18c366d8d6c027df8077c81789e
/Schedules/Original/Virginia/_TASL/extract.R
71985a7c6b5e7a670c2c840586a5096a32634e3e
[]
no_license
tyler-richardett/virginia_competitive_youth_soccer
5c6c99378c888b4f03a2794b9c49a59924d32a9f
022ad240bbe29ff7677e09efdb5438677d291911
refs/heads/master
2021-04-12T11:59:01.294354
2018-07-11T01:45:28
2018-07-11T01:45:28
126,563,080
2
0
null
null
null
null
UTF-8
R
false
false
2,182
r
extract.R
library(dplyr) library(rvest) filenames <- list.files() filenames <- filenames[-grep("extract.R", filenames)] filenames <- filenames[-grep("csv$", filenames)] schedule <- data.frame() for (i in 1:length(filenames)) { tmp.teams.1 <- read_html(filenames[i]) %>% html_nodes("tr.trstyle1 td.trstyleGame") %>% html...
5d54c9c4d544b1aa5d249283d9e712794d78de44
f3ca0a4a2391f3e226b14b54f367a9797fe2d275
/man/ask_question.Rd
ca4ce964beda47a078542b6ecc2dde635323e925
[ "MIT" ]
permissive
Rukshani/r2vr
a8b9903f5876f9d679824b27e3376a514695a26c
8d5e9630eb7538121f01951045e174ec235b043c
refs/heads/master
2023-07-10T12:43:30.438378
2021-03-28T07:22:43
2021-03-28T07:22:43
null
0
0
null
null
null
null
UTF-8
R
false
true
1,215
rd
ask_question.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/testing_ask_question.R \name{ask_question} \alias{ask_question} \title{Ask the user a question or multiple questions} \usage{ ask_question( index = NA, visible = TRUE, question_and_responses = QUESTIONS_AND_RESPONSES ) } \arguments{ \it...
af730c0378c8348dd4b62af527f4b25db245b0a8
768a5e8713ed0751fdea1fc0512dc5e87c1c06b0
/man/AtmosphericEmissivity.Rd
93d82b2ed6a34fbbbf392db935dc1b3e83bafe87
[]
no_license
cran/EcoHydRology
c854757a7f70f91b3d33d6f7c5313752bf2819e3
d152909c12e6bb0c1f16b987aa7f49737cdcf3d3
refs/heads/master
2020-05-16T21:01:18.881492
2018-09-24T11:52:33
2018-09-24T11:52:33
17,691,749
6
6
null
2018-08-29T19:54:05
2014-03-13T02:26:21
R
UTF-8
R
false
false
1,206
rd
AtmosphericEmissivity.Rd
\name{AtmosphericEmissivity} \alias{AtmosphericEmissivity} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Atmospheric Emissivity } \description{ The emissivity of the atmsophere [-] } \usage{ AtmosphericEmissivity(airtemp, cloudiness, vp=NULL, opt="linear") } %- maybe also 'usage' for other obje...
f10f777f11ff706e36314c742daa114ac4f99c50
114a56f459152b345fd4d34c427da8d81c2e8f1f
/R/prepare_data.R
d339f6e2afc4c8bc6911000bc432fb3b2c065578
[]
no_license
ModelOriented/FairPAN
2e512744e43b1053cab03753581dc1f15b8ef90d
139f0bd82a055dad92e1e41a64ec60ff57676ce1
refs/heads/master
2023-08-24T23:16:53.590628
2021-10-04T16:41:30
2021-10-04T16:41:30
394,198,426
5
2
null
null
null
null
UTF-8
R
false
false
12,240
r
prepare_data.R
#' Creates datasets and dataloaders #' #' Creates two torch datasets, from given train_x, test_x matrices and train_y, #' test_y vectors and converts them into torch dataloaders with provided batch #' size. It is used for both classifier and adversarial. During the initialization #' NAs are ommited. #' #' @param train_...
534d300f53dbfb9d89d40ae7006ee30edd75e4a7
29585dff702209dd446c0ab52ceea046c58e384e
/multinomRob/R/genoudRob.R
e000f2939b680abcfa02dc566f5e930a9e16f519
[]
no_license
ingted/R-Examples
825440ce468ce608c4d73e2af4c0a0213b81c0fe
d0917dbaf698cb8bc0789db0c3ab07453016eab9
refs/heads/master
2020-04-14T12:29:22.336088
2016-07-21T14:01:14
2016-07-21T14:01:14
null
0
0
null
null
null
null
UTF-8
R
false
false
6,179
r
genoudRob.R
# # multinomRob # # Walter R. Mebane, Jr. # University of Michigan # http://www-personal.umich.edu/~wmebane # <wmebane@umich.edu> # # Jasjeet Singh Sekhon # UC Berkeley # http://sekhon.polisci.berkeley.edu # sekhon@berkeley.edu # # ################################### #New Front End for Genoud, with tuned defa...
af1e314bac1a7e258e8a7be091e384df38978086
791ad46939643528dcb2b5de5f3bd809366d7a5b
/R/ild2.R
0f0faf2470d582a610a579bca206cdee571e8cbe
[]
no_license
trinhdangmau/lmorph
0ae4c175bc38ae6e4f43ec2b251e4c1e7d347461
4c2069a9c687e2f90c416eccf5a1d565bca11c4c
refs/heads/master
2022-07-26T10:09:52.212779
2020-05-22T03:44:31
2020-05-22T03:44:31
266,010,129
0
0
null
null
null
null
UTF-8
R
false
false
55
r
ild2.R
ild2<-function(M1, M2){sqrt(apply((M1-M2)^2, 1, sum))}
3fee6279a301f709827a2711844acc7ed1700c93
404b5b7112dee522f61a7e357ff815d8f52a7623
/UST_SubIDInvestigation_SETO_v2.R
e6997828690e4bce1973c941f940191d2cf7a67a
[]
no_license
robmill/UST
630af8985e2ef2c35772dc513fd74a041d1dc9e6
67ac320bef55618c7963c5dcc9923fdf43032d43
refs/heads/master
2021-01-20T19:53:02.879625
2016-08-08T18:17:19
2016-08-08T18:17:19
63,387,829
0
0
null
null
null
null
UTF-8
R
false
false
13,024
r
UST_SubIDInvestigation_SETO_v2.R
library(forecast); library(fpp); library(xts) library(tseries) library(CosmosToR) library(zoo) library(plyr) library(dplyr) library(reshape2) library(lubridate) library(sqldf) # Connect to CSDFENG COSMOS VC # vc <- vc_connection('https://cosmos11.osdinfra.net/cosmos/CSDFENG/') SETO_Compute_RAW<-submit_iscope(vc, 'SELE...
516b74f2e817ebcc367fdb53334f7c70ac960508
777015d3dd7f5a2524ca376ed1c59be3c093428b
/SPID-function.R
d956361d01305b85e0dd63b48e0889c09480a451
[]
no_license
sshonosuke/SPID
843caf14a5352d7645fb04767b08c70f6f0fb0b1
fb9feb045ee3662f0d2df7c9756e4c0288ec9c62
refs/heads/master
2021-06-24T05:43:30.589511
2021-03-29T07:44:26
2021-03-29T07:44:26
211,786,136
0
0
null
null
null
null
UTF-8
R
false
false
10,532
r
SPID-function.R
library(MASS) library(MCMCpack) library(SparseM) library(statmod) ####### PWD: Pair-wise Difference Prior ####### # W is (non-scaled) adjacent matrix PWD=function(Data,Z,W,mcmc=12000,burn=2000,family="LN",print=F){ m=dim(Data)[1] N=length(Z)-1 # Distributions if(family=="LN"){ p=2 Dist=function(...
e5c1c0b12ee501b8f8288c9c809134fc93d4a446
6277f517285925aaa02843655a7788c6fd495963
/week1/summerR_w1.R
23e0f364d45b8fe35aaef8b54e064f2cdd72ef62
[]
no_license
ayatsko/summerR
2033c8e9fbcb7f6bec1d78d04f79353fd06e00f0
37ecbf8a12a53a5923b4a30f79ba2b5d6a4b99d7
refs/heads/main
2023-06-20T03:31:04.038810
2021-07-12T20:37:53
2021-07-12T20:37:53
376,075,144
0
0
null
null
null
null
UTF-8
R
false
false
7,673
r
summerR_w1.R
## INTRODUCTION ---- # welcome to your first R script! this is where you can write code to run as well as notes # to record your thoughts / directions for whatever you're coding. some basics: using the # '#' indicates non-executable code, i.e. notes to yourself. using the 'hashtag' on a new # line will be your frien...
e014e8443ed637488265a2adfe89456859d761da
30d21f7163d8a0382e05566a48c0b042dc96ced6
/Hydro Functions/Joint_Prob.R
493c1e95a41028a0dcc93592d2a3818b29cce5ce
[]
no_license
mchernos/R-Hydro-Library
123ad54592aa5e9b1fbb17d5dbe9a5e609c6b3d7
402c333918fb71736fc269667f4094f24d5881c2
refs/heads/master
2020-05-21T13:35:17.496809
2018-02-20T16:32:59
2018-02-20T16:32:59
45,942,745
4
1
null
null
null
null
UTF-8
R
false
false
5,929
r
Joint_Prob.R
# JOINT PROBABILITIES rm(list = ls()) # Mid- Sites (Lethbridge, Calgary, Drumheller) read.water.data = function(x, name = 'MaxQ'){ data = read.csv(paste('annualextremes/',x,'_AnnualExtremes.csv', sep = '')) data = data[data$PARAM == 1 & is.na(data$MAX) == F,] # remove level data (param = 2) data = data.frame(data$...
0ec932528d761232acbddb1351e5d12da2623208
617bd80da2f7f605ab580dfc54465c2a83c84f8e
/vale_cambio_custo.R
7a704647010460dbb5baec99c2c77f7140f1a0b0
[]
no_license
wemigliari/governance
65997565f0aca84dc1f61bb2075dffc390ad0a52
ebb58e6ccfe27f981cf7c0d6a06ce304452f3c4c
refs/heads/master
2023-07-05T11:57:48.998839
2021-08-13T21:13:20
2021-08-13T21:13:20
263,469,120
1
0
null
2021-01-13T23:22:21
2020-05-12T22:46:13
R
UTF-8
R
false
false
1,875
r
vale_cambio_custo.R
library(readxl) library(dplyr) library(ggplot2) library(zoo) cambio_custo <- read_xlsx("/Users/wemigliari/Documents/R/tabelas/vale_cambio_custo.xlsx") cambio_custo <- data.frame(cambio_custo) cambio_custo2 <- as.Date(cambio_custo$Data, format = "%m/%d/%Y", tryFormats = c("%m-%d-%Y", "%Y/%m/%d")) cambio_custo <- cbind...
b095d3fa3c2496ab79331841787d799e1d63f5d5
f48e25ade098aef7aa6f9fde4927bbf2b2092d14
/man/dasl.nightmares.Rd
815b192f4368f31ba2d4bbaf84bf5fa9ba731a9a
[]
no_license
sigbertklinke/mmstat.data
23fa7000d5a3f776daec8b96e54010d85515dc7d
90f698e09b4aac87329b0254db28d835014c5ecb
refs/heads/master
2020-08-18T04:29:05.613265
2019-10-17T11:44:57
2019-10-17T11:44:57
215,747,280
0
0
null
null
null
null
UTF-8
R
false
true
1,090
rd
dasl.nightmares.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dasl.R \docType{data} \name{dasl.nightmares} \alias{dasl.nightmares} \title{Nightmares} \format{63 observations} \source{ DASL – The Data And Story Library: \href{https://dasl.datadescription.com/datafile/nightmares/?sf_paged=28}{Nightmares} ...
6a29bab2493e65af5f031d6373b9a1712b7b0b60
3430916a9c1ce99802d8c0afc0f063b9fccd4542
/Assignment2/Storm2.R
d641a7bbfacadc78c4c81646c9ca16ee486ab015
[]
no_license
Fbarangan/Reproducible_Research
f0b3ed4cc809c0bc32604195d75e93727aff1609
191cc5d39bd3541980533f9e6235092320e10dd3
refs/heads/master
2020-12-24T18:55:54.787436
2016-05-28T16:20:31
2016-05-28T16:20:31
56,559,020
0
0
null
null
null
null
UTF-8
R
false
false
21,569
r
Storm2.R
# Course Assignment 2 # data is from https://d396qusza40orc.cloudfront.net/repdata%2Fdata%2FStormData.csv.bz2 # # info https://d396qusza40orc.cloudfront.net/repdata%2Fpeer2_doc%2Fpd01016005curr.pdf # # FAQ https://d396qusza40orc.cloudfront.net/repdata%2Fpeer2_doc%2FNCDC%20Storm%20Events-FAQ%20Page.pdf # # Title # ins...
95293d97859646a9ff831f230b5acd868cf5e305
1a7ca7e8718daf545ac7c19804a1c814504dec28
/app/assault-weapons.R
bf116ec621095c95712cf99c313ebe906911105f
[ "MIT" ]
permissive
diegovalle/Assault-Weapons
f933bd8d4a010ea0ca914e4904c383e29b9b1b08
4147a5a96f8cb94eba8ff8435f9b1ae8d992b905
refs/heads/master
2021-01-01T05:34:04.062048
2010-11-12T01:03:00
2010-11-12T01:03:00
null
0
0
null
null
null
null
UTF-8
R
false
false
20,550
r
assault-weapons.R
######################################################## ##### Author: Diego Valle Jones ##### Website: www.diegovalle.net ##### Date Created: Fri Jun 11 12:22:27 2010 ######################################################## #The effect of the assault weapons ban on the proportion of Firearms #u...
010e9293a521f9fb96dc0d2b5362d3fc6fc60b09
99b5eff4ec20e62f531f7f1aa9429ce311fbac6b
/R/cols.R
9cc047b86eb565b3b6c209de94302fdf5c3fad7e
[]
no_license
Binary117736/RNAdecay
1e84079da8b54be04224b0ded528a7bb6edfbf72
5eef364514cb76f59ac8af1718b3bd0fd9b125ec
refs/heads/master
2023-07-10T22:43:08.887802
2020-04-20T15:54:52
2020-04-20T15:54:52
null
0
0
null
null
null
null
UTF-8
R
false
false
1,324
r
cols.R
#' Indexes column names of a data.frame matching multiple patterns (i.e., multigrep) #' #' Identifies dataframe column names that have all of the pattern arguments . #' #' Be aware that column data labels that are part of another data label are not advisable (e.g. mut1, mut2, mut1.mut2; cols(df,'mut1') will return ind...
3e1a1eef1362ef352289215f7a881e625a6404c3
d661fcf03bf858e856c175898c4c7ca60b655763
/correlation.R
ce467baff008b7ed7ca06b3b0d2c566d87848f6c
[]
no_license
saifraider/R-programming
4d1c1cdb1857ee9f666000481410545bace822e8
c903df061dd34ba24fcdb8824b29541c54003462
refs/heads/master
2021-01-09T20:57:24.069511
2016-07-05T03:41:05
2016-07-05T03:41:05
62,603,953
0
0
null
null
null
null
UTF-8
R
false
false
867
r
correlation.R
correlation <- function(directory, threshold = 100, id = 1:332){ filenames <- list.files(directory, pattern="*.csv", full.names=TRUE) count <- 1 corr_vector <- c() for (i in id){ mydata <- read.csv(file = filenames[i], header = TRUE) clean_array <- complete.cases(mydata) total <- length(cle...
4e154bbdd51ec89e65725b0e425ab8ce53f5040a
7183bc44b60bb14b23869560c7937f765e62bb06
/man/cimiss_get_obs_latest_time.Rd
68e95a3ea5fb2f6a56e10db979fcf84756eb8d1b
[ "MIT" ]
permissive
nmcdev/nmcMetIO
f0f025d52f6b84cfcc035788fd3fa9c35530e8b2
6e549f61049cc09f1ab4bfe37a9e8d1a5608b7f3
refs/heads/master
2022-02-05T23:24:41.219260
2022-01-29T09:14:26
2022-01-29T09:14:26
207,302,340
1
4
null
null
null
null
UTF-8
R
false
true
769
rd
cimiss_get_obs_latest_time.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/retrieve_cimiss_server.R \name{cimiss_get_obs_latest_time} \alias{cimiss_get_obs_latest_time} \title{Get the observation latest time.} \usage{ cimiss_get_obs_latest_time(dataCode = "SURF_CHN_MUL_HOR", latestTime = 6) } \arguments{ \item{dataC...
308c41caf591fb1cb7de3b5ad88bea8b72d8514a
eef234939eeebc2e5dcf2ad9cfd1888ce36259df
/stat312/project2/zheng001/man/new_gaussian.Rd
edb4c1f5b2edf081c596dea2fb85a0e47c5f5cd8
[]
no_license
snarles/misc
5d4e138cbb17bfd08143fc4c097fb84417446990
246f9fac0130340e44837b528a2f59e9256f2711
refs/heads/master
2023-06-26T06:53:53.933752
2023-06-12T13:29:17
2023-06-12T13:29:17
18,860,939
2
2
null
null
null
null
UTF-8
R
false
false
456
rd
new_gaussian.Rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/gauss_class_initialize.R \name{new_gaussian} \alias{new_gaussian} \title{Create an instance of the gaussian dist} \usage{ new_gaussian(covariance) } \arguments{ \item{covariance}{The covariance matrix} } \description{ Create an instan...
93e78d71278b2b008d9c1c3ad580e9a981c7e679
aa102054184db05b3d59fc6247776158eb3e6596
/plot3.R
22b74a8bd5a077a93dc91642db67ddd27b480e98
[ "MIT" ]
permissive
pparacch/ExData_Plotting2
c5ba8ffd9e0b31316d9d500a1215602af5c9dab4
fc84975422d7694246a337eae544da628239cd19
refs/heads/master
2020-06-20T17:51:31.609236
2016-11-26T21:36:16
2016-11-26T21:36:16
74,851,553
0
0
null
null
null
null
UTF-8
R
false
false
1,809
r
plot3.R
library(ggplot2) #load ggplot2 package for the plotting ## Read the datasource #Assumption: #the files are located in the current workind directory together with the script NEI <- readRDS("summarySCC_PM25.rds") #Relevant Question (Question 3) #Of the four types of sources indicated by the type (point, nonpoint, onro...
adbdab955668bfe367f55ec066780156a5b19c9b
1b5e359af6dd0cdc3435fd968c3476d0d4f88945
/man/print_table.Rd
dff5fb0c22b7afc0ec93cf831d78bf7e106bd9da
[]
no_license
sirh-hug/outilsSIRH
8ab8945a1af4ba7cbf292cd331f3860b7c36132c
1c0045e866f63e74311cb387284c59952aa0a6ec
refs/heads/master
2020-12-05T09:43:40.675525
2020-04-26T09:09:10
2020-04-26T09:09:10
232,071,677
0
0
null
null
null
null
UTF-8
R
false
true
416
rd
print_table.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/print_table.R \name{print_table} \alias{print_table} \title{Formater un tableau croise} \usage{ print_table(data, bg.col = "#a0d0ab", title = NULL, caption = "") } \arguments{ \item{bg.col}{color. Background color} \item{title}{character.} ...
bb5cf56a9b1a316caef1eb5679784b2272ce10a5
184180d341d2928ab7c5a626d94f2a9863726c65
/valgrind_test_dir/integrate-test.R
be3fdf92ea19105e3044cc588c049a85238b156b
[]
no_license
akhikolla/RcppDeepStateTest
f102ddf03a22b0fc05e02239d53405c8977cbc2b
97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5
refs/heads/master
2023-03-03T12:19:31.725234
2021-02-12T21:50:12
2021-02-12T21:50:12
254,214,504
2
1
null
null
null
null
UTF-8
R
false
false
180
r
integrate-test.R
function (x, fx) { e <- get("data.env", .GlobalEnv) e[["integrate"]][[length(e[["integrate"]]) + 1]] <- list(x = x, fx = fx) .Call("_irt_integrate", x, fx) }
0c073a3774789aa96e3b088367cba5b7f7f8a29c
4f522d2d8d9d0a54ec6340f94ee66f74b1022050
/man/MicrobenchmarkSparseMatrixKernel.Rd
dd887e3a1bdf9289b8fcb7edff09c009987e7588
[ "Apache-2.0" ]
permissive
cran/RHPCBenchmark
2b69e57b644651eb3034b23bd8ff9df5a1ca1c84
c1335a4fcb14e6b871d73e3929f188a92a273308
refs/heads/master
2021-01-21T20:11:16.606699
2017-05-23T16:26:28
2017-05-23T16:26:28
92,201,283
0
0
null
null
null
null
UTF-8
R
false
true
2,893
rd
MicrobenchmarkSparseMatrixKernel.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/microbenchmark_sparse_matrix_kernel.R \name{MicrobenchmarkSparseMatrixKernel} \alias{MicrobenchmarkSparseMatrixKernel} \title{Performs microbenchmarking of a sparse matrix linear algebra kernel} \usage{ MicrobenchmarkSparseMatrixKernel(benchm...
adb920e9806658237914938cafb479a696067a96
5e8036a92450788ed33cf05a59463eb7e69fea99
/20131030/getFileName.r
da9a111d40c0fc5dd893cefc7ea9ac29dac0c2c5
[]
no_license
Chillangri/QCData
42f7a41c98efc7784b99363d0ea3e55743050b8f
d67f999158d0aa815ac38662aca8e31486188605
refs/heads/master
2021-01-20T05:04:48.540686
2015-04-28T03:36:52
2015-04-28T03:36:52
34,706,407
0
0
null
null
null
null
UTF-8
R
false
false
489
r
getFileName.r
getFileName <- function() { #setwd("/Volumes/JHBae-Data/Dropbox/QCData") #setwd("/Volumes/JHBae-Data/Dropbox/QCData/SJ20131018") currentWD <- getwd() cat("Your DATA file must be at ", currentWD, "\n", sep="") ANS <- readline("Is it right? (Y/y or N/n): ") if ((substr(ANS, 1, 1)=="n") || (substr(ANS, 1, 1...
edfa1fd8b6868d7b0c7d1c72dc5c89abc34a613d
83ae0b50fcbda4bdf17f4bad11070f759f903e69
/man/hackint_lm.Rd
29d85968ec34b56d4778d30e9cd2960852521426
[ "MIT" ]
permissive
beauCoker/hacking
d7fee8d0d412eb2f3d17049fdf31b09d9ba4492d
57b76dd127f1b4cd2cfcd19fe464246eb8e3ee1e
refs/heads/master
2020-06-25T14:45:55.412973
2019-09-09T02:20:12
2019-09-09T02:20:12
199,341,352
1
0
null
null
null
null
UTF-8
R
false
true
1,572
rd
hackint_lm.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hackint.R \name{hackint_lm} \alias{hackint_lm} \title{Hacking intervals for linear models} \usage{ hackint_lm(mdl, data, treatment, theta = 0.1, frac_remove_obs = 1, verbose = TRUE) } \arguments{ \item{mdl}{\code{lm} object representing the...
d18559ca4696b11c446cfcb1855aba2beafccf17
b13e7df0f6829c0b5cb880abfb02376f833152e8
/R/utils.R
7213d1bb4e6f189d0800d0ee4ffe452da55c98d2
[]
no_license
randrescastaneda/mld_simulation
828f0ece8b7e1b850d5d6bad05f112cf2bea11bd
4f5c224677f885d2f4b145403dc8e3a31360ddce
refs/heads/master
2023-03-11T23:06:49.181725
2021-03-04T18:50:26
2021-03-04T18:50:26
344,145,187
0
0
null
null
null
null
UTF-8
R
false
false
973
r
utils.R
new_mld <- function(welfare, weight, sh, sc, rp) { ln <- length(welfare) wf <- welfare wf <- wf*sc if (rp == "ignore") { wf[1:round(ln*sh)] <- 0 } else if (rp == "1") { wf[1:round(ln*sh)] <- 1 } else if (rp == "min") { wf_min <- fmin(wf[wf>0]) wf[1:round(ln*sh)] <- wf_min } els...
0d35bfdccae9097483bf62eef2ca85617440cacf
e7708dd3d11b442a39848719fb03e420196b3f0c
/02-consolidate-after-openrefine.R
00ac5c3d02be3e5e7ba3ddae75c8e773857de0e0
[ "MIT" ]
permissive
jmcastagnetto/sunedu-licenciamiento
ca6d5c965d1981aea4048f73dc0112b0afc5b6d1
5e5ffadf1d37794f8b669627dce78aead6558c31
refs/heads/main
2023-02-12T00:53:25.380741
2021-01-14T21:40:16
2021-01-14T21:40:16
329,703,191
0
0
null
null
null
null
UTF-8
R
false
false
1,186
r
02-consolidate-after-openrefine.R
library(tidyverse) raw_df <- read_csv("proc/sunedu-datos-combinados-crudo-csv-openrefine-editado.csv") df <- raw_df %>% mutate( Estado = str_replace(Estado, "LICENCIADA", "LICENCIA OTORGADA"), TIPO_GESTION = str_replace_all(TIPO_GESTION, c("DO" = "DA", "CO$" = "CA")), ...
04dfe60641626021d9e9d4f4aff79741550715f7
702b9b9133319efabe3d78cfc54e51ed2da8e879
/in-class/8-3 Class Material/app08 ext- answer (for and geoms).R
528f2e5138b002b506eb0d0316c5ee3d3e45b104
[]
no_license
QFCatMSU/GGPlot-Class-Material
b7280ad76fcbba6418741cea4d60bfbcfde2fd95
5dcb3ccabda5dbb2dfb04fe65d08edfd8642557b
refs/heads/master
2022-03-25T11:18:23.218395
2022-03-09T21:35:33
2022-03-09T21:35:33
238,790,531
1
3
null
null
null
null
UTF-8
R
false
false
4,419
r
app08 ext- answer (for and geoms).R
{ source( file="scripts/reference.R" ); library(reshape); weatherData = read.csv( file="data/LansingNOAA2016-3.csv", stringsAsFactors = FALSE ); # format the dateYr column as a date with just the abbreviated month (%b) months = format.Date(weatherData$dateYr, format="%b"); wea...
0851f8aaa5474d67379bb611a1d689666b4fcfe3
3307c40d08b8d82f526a4ce69317b8b45562299a
/R/gdls.R
d9298e8d4bd10d8aae0349d2563b27018ba49d68
[]
no_license
helixcn/cmna
d2f725124fa46879e87be947c3034dfd99b07339
4ea309bd2edac241e23c94ba4176b0724cf3b57f
refs/heads/master
2020-03-25T18:33:43.747394
2017-06-13T12:26:47
2017-06-13T12:26:47
144,037,107
1
0
null
2018-08-08T15:59:47
2018-08-08T15:59:47
null
UTF-8
R
false
false
2,604
r
gdls.R
## Copyright (c) 2016, James P. Howard, II <jh@jameshoward.us> ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## ## Redistributions of source code must retain the above copyright ## notice, this list of c...
619bb5d1403655d3a1fb1fa52b6e9792647ffbdc
dbad5cd8845d3972efea526ddee80b0a052716e4
/R_Start.r
e620166e92763b12682c22b59863480b0ccf28a3
[]
no_license
zzeddo/work
6cb10e7adb871b2f530358c77e2b979c8378d093
a283a78b985ec784642ac32e27d2fb0f61ecf7cb
refs/heads/master
2021-01-21T12:53:32.714733
2016-05-22T08:51:30
2016-05-22T08:51:30
35,747,962
0
0
null
null
null
null
UTF-8
R
false
false
1,805
r
R_Start.r
#---------------- # <I-5> #---------------- mean(abs(rnorm(100))) rnorn(10) setwd("d:\\Work") pdf("aa.pdf") hist(rnorm(100)) dev.off() rnorm(10) # 표준정규 분포하에서 생성 data() # R에서 기본 제공하는 데이터 #---------------- # <I-8> #---------------- help.start() # 도움말(공식 사이트) help(seq) # seq 함수에 대한 도움말(수열 생성) ?seq # help(seq) 동일한 기능 help...
c95bfae8eaa35b7908d0c6a99d4f94ef8ced6128
e40c1a68216ba0bbec58448694a55b1267771b7a
/man/removeNonBin.Rd
f35b3d284bd855825cd98167a5378fa4ffb3d919
[]
no_license
cran/motmot.2.0
a97817dee6def95a73e0a441bf54a54e7fa32267
6d279d2a3382011d8438e53dfa4eb39afc1c83c3
refs/heads/master
2021-05-12T16:02:16.675411
2018-01-10T17:51:44
2018-01-10T17:51:44
116,998,092
0
0
null
null
null
null
UTF-8
R
false
true
934
rd
removeNonBin.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/removeNonBin.R \name{removeNonBin} \alias{removeNonBin} \title{remove species occuring before time in the past (internal function)} \usage{ removeNonBin(phy, traitData, keepByTime = 0, tol = 1e-08) } \arguments{ \item{phy}{An object of class ...
27ec75e9a1b02d091f1ac9ae9e75b91e34411e7e
c842ad249301396870d26039aea09fa7cebcb0f9
/R/func-NA.R
8e31621468431335130550a411cfe5af0d30cdd7
[]
no_license
bkkkk/creditScorer
9517b2a4e1ef44f4a5b96f3598bba6959268e1f1
cb346ccb7fcc7e9d06e290c9f64c28f3a9e3193c
refs/heads/master
2021-07-07T18:07:00.957275
2020-06-19T04:05:59
2020-06-19T04:05:59
71,555,074
0
0
null
null
null
null
UTF-8
R
false
false
1,333
r
func-NA.R
#' Returns a vector of whether a column in a dataframe contains #' NAs or not #' #' @param df data frame #' #' @return named vector with boolean values #' @export nacols <- function(df) { unlist(lapply(df, function(x) any(is.na(x)))) } #' Names of columns in dataframe which contain NA elements #' #' @param df a dat...
16a6827aa5aee293e8d9d6cf5bd02cd7174dc608
5984ceda2dec1d78ab7dd7112085534c6493668d
/R/ls_param.R
7f73236ee9c799450130efe384e452ee64dde1a2
[]
no_license
dpastoor/sinew
596bc547708925d8a4c2fc101eda0631089b38ae
cc363a508f009c22730c942e05eb006e153d5d61
refs/heads/master
2021-06-23T02:59:34.371814
2017-07-19T23:08:49
2017-07-19T23:08:49
null
0
0
null
null
null
null
UTF-8
R
false
false
1,344
r
ls_param.R
#' @title Return roxygen2 parameter calls from parameter dictionary #' @description Return roxygen2 parameter calls from the intersection of the parameters listed in #' the package dictionary and the formals of a function #' @param obj function or name of function #' @param dictionary character, path_to_dictionary, De...
b43dfe8b4d29f629d19b755c0cdc001e85bbc219
9d59520955aec6e0d572d737900da5464f9c1cc6
/man/print_file_loading_info.Rd
d5918080e953181f19eae820e3919cb6c6070284
[]
no_license
LisaHopcroft/CTutils
f4d40692364431d8a4c8183f8faf712564c83790
f8c052f3e4d54038da644446fb3d8909cf64df49
refs/heads/master
2023-09-01T15:43:54.850949
2021-10-04T07:35:36
2021-10-04T07:35:36
294,407,600
1
0
null
null
null
null
UTF-8
R
false
true
400
rd
print_file_loading_info.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/print_file_loading_info.R \name{print_file_loading_info} \alias{print_file_loading_info} \title{Print information about which files were loaded.} \usage{ print_file_loading_info(file_list) } \arguments{ \item{file_list}{A list of files that w...
95359142d4dc588339bd70be5f6059bed622d092
fb7655e2bcfc5ee8c228eed0684e7516eee432f8
/02_build/03e_elevation_ruggedness_block.R
3f6b2d79fe558919cfe4a52b4dd78a81a472b8d3
[]
no_license
galsk223/tribalclimate
738e7ea2e4c74b142d84f3e00f4eb7575e8f89dd
bced46be1953ae06b54a1b7a9bda48523b98fff8
refs/heads/main
2023-07-24T07:12:27.477008
2021-08-30T20:16:10
2021-08-30T20:16:10
null
0
0
null
null
null
null
UTF-8
R
false
false
2,835
r
03e_elevation_ruggedness_block.R
setwd("/home/sambk223/tribalclimate") library(raster) library(tidyverse) library(data.table) library(conflicted) library(lubridate) library(sf) library(tigris) library(RPostgreSQL) library(dbplyr) library(RcppRoll) library(scales) library(broom) library(dotwhisker) library(janitor) library(directlabels) library(googl...
5feede52219dfe5bf9f5f273139b7e86b66bd57d
f95aadca2d622ccfdd593396a91bae330931f81d
/negbin/code/analyze_result.R
b4048becb3de6f2118c921db20c22fc098e01b7a
[]
no_license
blayes/location-scatter-wasp
9948c14e188db5a098a0cb7b6b46fa9c84d2043a
04f9ac0cf100fc1809abe18b5876278e1a3944a9
refs/heads/master
2022-12-01T17:17:07.275272
2020-08-09T17:08:49
2020-08-09T17:08:49
286,288,779
0
0
null
null
null
null
UTF-8
R
false
false
4,309
r
analyze_result.R
setwd("~/negbin/code/") rm(list = ls()) library(expm) library(matrixStats) library(xtable) calcAccuracy <- function (fullSamps, approxSamps) { library(expm) fullMean <- colMeans(fullSamps) approxMean <- colMeans(approxSamps) fullCov <- cov(fullSamps) approxCov <- cov(approxSamps) trm1 <- sum(...
ad429c7bf1a5d88ee4b7db40570ba13684707f93
5e2fba91bcb5074f731160ad6771552d8f6e2c67
/WorkingWithDates.R
9a055253e2155454103de336049c4e167d2244a7
[]
no_license
TheMrCSC/GettingAndCleaningData-Wk4
11b052ec3e230fae3e4e21db07c5a224327c0219
28dcc0cba4596381b5018f4bce81a8a9db509bd5
refs/heads/master
2022-04-28T03:19:01.886009
2020-04-13T16:46:08
2020-04-13T16:46:08
255,264,576
0
0
null
null
null
null
UTF-8
R
false
false
615
r
WorkingWithDates.R
#starting simple d1 = date() class(d1) #Date class d2 = Sys.Date() class(d2) #formatting dates format(d2, "%a %b %d %Y") #creating dates x = c("1jan1960","2jan1960", "31mar1960", "30jul1960") z = as.Date(x, "%d%b%Y") z[1]-z[2] as.numeric((z[1]-z[2])) #converting to julian weekdays(d2) months(d2) julian(d2) #l...
df1bbbe8d146a3646234ddc8f367ef7333865973
c1034eb8f34b18105acf3244bf9a0b0339d6ca8d
/man/getVIPScores.pls.Rd
87ad047813e0a94651eda8eba08b93997ae836a8
[ "MIT" ]
permissive
svkucheryavski/mdatools
f8d4eafbb34d57283ee753eceea1584aed6da3b9
2e3d262e8ac272c254325a0a56e067ebf02beb59
refs/heads/master
2023-08-17T16:11:14.122769
2023-08-12T16:58:49
2023-08-12T16:58:49
11,718,739
31
11
NOASSERTION
2020-07-23T18:50:22
2013-07-28T11:10:36
R
UTF-8
R
false
true
586
rd
getVIPScores.pls.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pls.R \name{getVIPScores.pls} \alias{getVIPScores.pls} \title{VIP scores for PLS model} \usage{ \method{getVIPScores}{pls}(obj, ncomp = obj$ncomp.selected, ...) } \arguments{ \item{obj}{a PLS model (object of class \code{pls})} \item{ncomp}{...
710866b2ad2f0f34693b2589679b019fcd13a3e4
6ae53579a4fb61221365e75ee31c9b2f75369c98
/server.R
5bf227cf878588b86d2ed9377105eed780d4d065
[]
no_license
kaiqiong/predictionShinyApp
8139aa8de7a91661d5af0c81bd9f5e875153be3f
a0014755c67087575041b0830bf1376ebf6afa4b
refs/heads/master
2023-01-24T11:37:06.673063
2020-12-05T01:47:58
2020-12-05T01:47:58
318,674,250
0
0
null
null
null
null
UTF-8
R
false
false
9,064
r
server.R
library(ggeffects) library(sjPlot) # pacman::p_load(sjPlot) # pacman::p_load(cowplot) library(ggplot2) #library(plogr) fit <- readRDS("data/Pred_Model.rds") #load packages and data, although i could be missing some shinyServer(function(input, output, session) { predicted_prob <- reactive({ req(input$Age, ...
92341e8921ebe90a5290b6835d6378ef45c34327
ca8dd4c043368c43cc42aafcba8bf8f3a6ac77b5
/R/byrnes.R
77b6f1c442ff28afd2b4861e277214d27220125c
[]
no_license
gudaleon/semeco
47a01d82df04b88a740e4d4c9195e5aea7632292
1b2491ffe83c18303d8df91b1628ffecf0479d7d
refs/heads/master
2020-03-20T05:34:54.292407
2016-09-23T11:09:49
2016-09-23T11:09:49
null
0
0
null
null
null
null
UTF-8
R
false
false
647
r
byrnes.R
#' Effects of storm frequency on kelp forest community structure and food web #' complexity #' #' @docType data #' @format Model specification and data frame with 253 observations of 15 variables #' @aliases byrnes byrnes.model #' @usage #' data(byrnes) #' byrnes #' byrnes.model #' @name byrnes #' @source #' Article: #...
90a6f23ca9b8808b399be7c49b1b96aabe6c0846
8bcdf49de7b0a84de66ab21d4e05d1be5a8e1a95
/SWing MCD CA.R
cc37d29485abfd832cff341fb765b3e28cb178c6
[]
no_license
crystalptacek/SouthPavilionWing
89a467d439291d701297688cadcff027e78ca6c9
7be59db5b6da0ebbce44d30c2ac85386bd956c86
refs/heads/master
2020-04-20T21:18:13.557140
2020-02-03T14:13:52
2020-02-03T14:13:52
169,105,267
0
0
null
null
null
null
UTF-8
R
false
false
21,973
r
SWing MCD CA.R
# wareTypeCAandMCD.R # Establish a DBI connection to DAACS PostgreSQL database and submnit SQL queries # Created by: FDN 8.5.2014 # Previous update: EAB 3.24.2015 To add MCDs and TPQs by Phase # Last update: LAB 9.5.2017 to add List of Contexts with Phase Assignments for database updates # Updated to South Win...
6e6e179dc78f86eeb7fc04055ac7cee30b47793f
26080c27d35e63e7b2ac501f65d3f606806b34a6
/R/kma_lifeIndex_type_check.R
dabcf6d1bc2d7474c98d2916760cd4c0388054ae
[ "MIT" ]
permissive
lawine90/datagokR
1fb953a1a2ef91ee0300a3787c0903e3acf9695f
b4026238ab7b307c9d079f117c9412f3bbd12985
refs/heads/master
2021-07-03T23:33:50.207804
2020-09-23T07:46:11
2020-09-23T07:46:11
180,745,810
2
0
null
null
null
null
UTF-8
R
false
false
375
r
kma_lifeIndex_type_check.R
#' Data for kmaLifeIndex function. #' #' A matrix containing TRUE or FALSE which means the availability of indeces for each month. #' #' @docType data #' #' @usage data(kma_lifeIndex_type_check) #' #' @format A matrix of 8 by 12 #' #' @keywords datasets #' #' @name kma_lifeIndex_type_check #' #' @examples #' dat...
b6e0a79280573a8f1082d787ed1653d32796d784
17521e848af63657da5f5c23cd1066513e8e5e2a
/R/plotManhattan.R
00e0d74f4fbf6e8839a2968ae355edf8ca4d6f9d
[ "MIT" ]
permissive
oncogenetics/oncofunco
10730eec08498035162d235c8260367fab40e1dc
b17a663f0e207fd68f1a4365a14a40996b9f64a7
refs/heads/master
2022-07-25T13:07:37.996277
2020-10-27T12:54:15
2020-10-27T12:54:15
57,195,181
3
1
MIT
2022-07-05T07:29:01
2016-04-27T08:00:35
R
UTF-8
R
false
false
10,267
r
plotManhattan.R
#' LocusExplorer - Manhattan plot #' #' Manhattan plot for LocusExplorer. #' @param assoc SNP association results, data.frame object with c("SNP","BP","P") columns. Required. #' @param LD plink LD output format, data.frame object with c("BP_A","SNP_A","BP_B","SNP_B","R2") columns. Optional/recommended. #' @param geneti...
f5aed75e43454041f0aeb158c15f5775f23c4dd7
7c5caeca7735d7909c29ee3ed6074ad008320cf0
/misc/aqp2/man_deprecated/SPC-unique-methods.Rd
0bfc22bcf1326fdb31be6952ab18b0ae0e2f3d4a
[]
no_license
ncss-tech/aqp
8063e800ed55458cfa7e74bc7e2ef60ac3b1e6f5
c80591ee6fe6f4f08b9ea1a5cd011fc6d02b5c4a
refs/heads/master
2023-09-02T07:45:34.769566
2023-08-31T00:14:22
2023-08-31T00:27:14
54,595,349
47
12
null
2023-08-17T15:33:59
2016-03-23T21:48:50
R
UTF-8
R
false
false
1,759
rd
SPC-unique-methods.Rd
\name{unique-methods} \docType{methods} \alias{unique} \alias{uniqueSPC} \alias{unique,SoilProfileCollection-method} \title{Get Indices to Unique Soil Profiles Within a Collection} \description{This function returns a set of indices to a subset of profiles within a \code{SoilProfileCollection} object that are uniquely...
7f3ef41ddf6729bd46a5241f246c8ee2d9d75dce
b1723af1c77ef4a447ad970a43948673640f3281
/R 데이터 분석/3주차꺼.R
45c4d788b9aa05324ebda18c1fd0e7af6034bf70
[]
no_license
tjddms587/Portfolio
f25897177ff1736a9ab89b5c31aaade66e6d9456
365c53424a0c1ab21a9ce752c24d7efb6c544dc6
refs/heads/master
2020-12-15T21:34:29.041098
2020-01-21T05:59:38
2020-01-21T05:59:38
235,260,697
0
0
null
null
null
null
UHC
R
false
false
3,454
r
3주차꺼.R
# 3주차 정리 x <- data.frame(소득=c("1,000만 원","2,000만 원","3,000만 원","4,000만 원"), 성별=c("남자","남자","여자","여자"),학점=c(3.8,4.2,2.6,4.5)) x x <- cbind(x,국적=c("대한민국","대한민국","대한민국","대한민국")) x #c가 열이네 # 변수 생성 및 연산 var1=c(1,2,3,4,5) var2=c(1:6) var3=seq(1:5) var4=seq(1,5,by=1) var3 var4 var1+2...
2c61271d4a3ba832fcf39da19ab0e9494b5497e2
85999c77c90d12ce117f3b46c861d9d168ad1300
/timeseries/R/eggs.R
cae60a0ec081d1eb82bb21869ab9c7e157f4d62f
[]
no_license
somnath1077/ML
42d1d03048b8143daa75ce3cddaf8527d7ed587d
48c7619ed90f8efa36d5b46403d097e77b7f3dc3
refs/heads/master
2021-05-23T05:37:12.900681
2021-04-29T06:33:14
2021-04-29T06:33:14
95,074,970
0
0
null
null
null
null
UTF-8
R
false
false
1,124
r
eggs.R
#' Price of eggs #' #' Price of dozen eggs in US, 1900--1993, in constant dollars. #' #' #' @format Time series data #' @source Makridakis, Wheelwright and Hyndman (1998) \emph{Forecasting: #' methods and applications}, John Wiley & Sons: New York. Chapter 9. #' @keywords datasets #' @examples #' plot(egg...
2402c7cf4332c96ef7240d7fb2eab94a08e2bceb
849fa6771da77abee1629871e56ae010d7470501
/inst/doc/An_Introduction_to_excerptr.R
b3f08058ff4536c71ebb24e68bf8a4217803c19a
[]
no_license
cran/excerptr
87d50dbf5dab05c17c71d9478fa7aa4e97def685
3598c254ba6f49535cbcef82624aeba6bcd23012
refs/heads/master
2021-08-28T19:46:52.687910
2021-08-04T23:20:02
2021-08-04T23:20:02
89,372,104
0
0
null
null
null
null
UTF-8
R
false
false
2,490
r
An_Introduction_to_excerptr.R
## ----setup, include=FALSE----------------------------------------------------- # adapted from reticulate vignettes/python_packages.Rmd if (!reticulate::py_available(initialize = TRUE)) { knitr::opts_chunk$set(eval = FALSE) } else { inst <- tryCatch(reticulate::py_install("excerpts"), error = identity) if...
dad055bb616cdd5180cca62c4a55b6add32fc2e0
2bf9a12e1d07eb63d89a74df4659f9bb3cab5be6
/Boosting.R
faba0255a5817b80277e9b1ae4ef60550497f76d
[]
no_license
rdolia/All-my-codes
bac39b6f46ab5a4407cc3b9fc40bbc28485de0c8
30f5ded6f6d6a981798faf226879a94efaad578b
refs/heads/master
2020-04-09T18:01:17.598378
2019-03-12T09:50:07
2019-03-12T09:50:07
160,499,222
0
0
null
null
null
null
UTF-8
R
false
false
2,072
r
Boosting.R
#Boosting Algorithm library(xgboost) library(magrittr) library(Matrix) library(dplyr) #Data Appdata <- read.csv(file.choose(),header=T) str(Appdata) Appdata$rank <- as.factor(Appdata$rank) #Partitioning set.seed(1234) index <- sample(2,nrow(Appdata),replace = T,prob = c(0.8,0.2)) train <- Appdata[inde...
bcad26da8b106acda5c744544681eb015109d8fd
7eb4f4e8349622f2b318648d4e7aaf5cd02f1aed
/lab5/lab5.R
605100ecb6ed5d17618b06b879b4f3ddb7453960
[ "Unlicense" ]
permissive
SergeyMirvoda/da2016
fd0d61c7aae089e1133ce40e83ce26bef6707eff
95cb5c78b3f5b09584f01bbd2146845ec6b468b9
refs/heads/master
2022-05-01T02:08:49.469864
2022-04-06T14:11:06
2022-04-06T14:11:06
68,286,082
0
21
null
2016-12-09T12:21:46
2016-09-15T10:47:27
HTML
UTF-8
R
false
false
115
r
lab5.R
gamma.estimate <- function(data) { m <- mean(data) v <- var(data) s <- v/m a <- m/s return(c(a=a,s=s)) }
0876211ed49ea68f4af836facbcb20353b3b8fed
3bd38faaf5d3d55339da23a448ad93c56dedc432
/First Decision Trees 20200109.R
a97d6c67f538cf2195adfa7a3b1718b538c7fe66
[]
no_license
boxcarrovers/M2A2-R-Scripts
5fbd112bcd339cd12ba644d6381abb66176050b3
6474449df8fb4af4b531ef787b5d226b0a187812
refs/heads/master
2021-01-14T05:19:41.661792
2020-02-24T00:39:24
2020-02-24T00:39:24
242,610,625
0
0
null
2020-02-24T00:39:25
2020-02-23T23:53:27
R
UTF-8
R
false
false
1,538
r
First Decision Trees 20200109.R
# Jim's Notes on How to Build A Decision Tree # Machine Learning / Classification Problem # January 9 2020 # This example is from datacamp and uses the titanic dataset titanic <- datasets::Titanic # note - this will not work as is as the titanic dataset here is different than the one used # by datacamp.. dataca...
4e9512da0cbcd926303349f8307a63e1ba118ab1
d69ad2b566885772a7862fbdc830c9ff3ac5d684
/descriptive_stats.R
86d741e1d8864a92403e5078b0eaccfe9e48adf6
[]
no_license
mraess/diss_r
267db67d36921d5c18a63546a693df1df8b9e476
7a69cc704b17e59b8d1ed85a29661ef8e848fe9c
refs/heads/master
2021-09-09T16:14:06.204873
2018-03-17T20:30:12
2018-03-17T20:30:12
null
0
0
null
null
null
null
UTF-8
R
false
false
9,110
r
descriptive_stats.R
# Descriptive stats ------------------------------------------------------- diss_data %>% group_by(gender) %>% summarise(mean = mean(age), sd = sd(age)) sd(diss_data$age) # independent 2-group t-test t.test(diss_data$age~diss_data$gender, paired = FALSE) # where y is numeric and x is a binary factor library(effsi...
3e91f5ebad65e50addec535b476b92de3e3d86d1
c4310e70ab916777f23c392822cc5e0978ded772
/run_analysis.R
ec3af89cde0dd3e8400bf6f887daee33cde1eab5
[]
no_license
chiahsun/cousera-data-cleaning
152eca6b2f4f0d95339c053647c703f9e2877e27
2bcc06f0007e340cfc46266876ec7a657e1809dc
refs/heads/main
2023-05-06T05:03:50.233404
2021-05-18T09:03:20
2021-05-18T09:03:20
368,460,325
0
0
null
null
null
null
UTF-8
R
false
false
4,199
r
run_analysis.R
## Read data ### Read metadata features <- read.csv('./UCI\ HAR\ Dataset/features.txt', sep="", header=FALSE) dim(features) head(features) activity_labels <- read.csv('./UCI\ HAR\ Dataset/activity_labels.txt', sep="", header=FALSE) activity_labels ### Read train and test data # Define read function read_data <- fu...
87cf1bc869a24294b5ae34a97017cc522f233721
f6461fc0f967a7d302d08f2c05f4f112eca7ec51
/cachematrix.R
06e970a086eb110961ea0cef0ec706a0b976f34f
[]
no_license
jboludae/ProgrammingAssignment2
170ad80df91d337b968e229252736da815fc8223
6dac48a4e707b4aa96d7d4874ad3dd61317f8f8c
refs/heads/master
2021-01-18T06:20:49.604314
2015-02-22T21:27:56
2015-02-22T21:27:56
31,142,818
0
0
null
2015-02-21T22:04:03
2015-02-21T22:04:03
null
UTF-8
R
false
false
1,512
r
cachematrix.R
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function ## makeCacheMatrix creates a list of four functions ## it takes as input a matrix makeCacheMatrix <- function(x = matrix()) { # we set the inverse matrix to NULL. This is the case tha...
93100bb6b7e1b657cb6847c5c41367f8493420c6
df3144a971f165897af0cb3e14131e433e7cb397
/Week 4 assignment/rankhospital.R
1c1272535600d96160231f69b16b135db160f169
[]
no_license
mfelz/R-Programming
7ebe8c3657486d73210280042d353f93f035bffc
4e4f4771b54a47a47a97d348e620190cfdcee68e
refs/heads/master
2021-01-10T06:34:16.580303
2015-12-25T18:43:44
2015-12-25T18:43:44
48,588,463
0
0
null
null
null
null
UTF-8
R
false
false
948
r
rankhospital.R
rankhospital <- function(state,outcome, num = "best") { ## read outcome data ind <- c("heart attack" = 11, "heart failure" = 17, "pneumonia" = 23) col <- ind[outcome] data[, 11] <- as.numeric(data[, 11]) data[, 17] <- as.numeric(data[, 17]) data[, 23] <- as.numeric(data[, 23]) ## Check that state and outcome a...
1263cb1c33eab2cefcd96a8dbb34dec4b46270e5
08ef584027f0ebbc89e82ec3ff40e53e115293a7
/IFCanalysis/moran_global.r
11c91b6cc5d40473e39ebaf52ad0948c0863475c
[ "MIT" ]
permissive
bimgissql/R
50fc323756eabad0c837c9fd09072548c90d4a41
0c1cb5ca849d0efb222ebfca43b62966c82743b9
refs/heads/master
2020-05-23T10:12:31.794027
2017-03-07T11:26:37
2017-03-07T11:26:37
80,403,098
0
0
null
null
null
null
UTF-8
R
false
false
1,224
r
moran_global.r
# # Moran's test for spatial autocorrelation using a spatial weights matrix # # load PostgreSQL library library(RPostgreSQL) # connection parameters host = "127.0.0.1" port = 5432 dbname = "bimdb" user = "username" password = "password" # IFC tables tblSpaceGeometries = "ifc.spacegeometries" # con...
7003aa7c3ee7ec6b12874048c22cd78842e91bb0
aeaa9c7e195ffe48b03c99e2c0b75af4c000edd3
/Functions.R
1e0b02ec9bdefcd63762465ad8b7819c88b2a365
[]
no_license
RedArmy95/Database-Project
367cc2503f7d8f427e2978832bd91131a2fca374
a415dd716ab9d2c3dff2a88f9e57f223ef95c5eb
refs/heads/master
2020-12-14T21:40:33.326706
2020-01-19T09:54:38
2020-01-19T09:54:38
234,876,660
0
0
null
null
null
null
UTF-8
R
false
false
2,393
r
Functions.R
library(RODBC) library(dbconnect) library(DBI) library(gWidgets) library(RMySQL) library(stringr) library(dplyr) con = dbcon(RMySQL::MySQL(), dbname = "data_base",username = "root", password = "f129968890" ,host = "localhost", port = 3306) dbListTables(con) singer = dbGetQuery(con ,"select * from ...
fcf1b3e9b65e922bad5feb11f08a01a9c8fc816a
8050c1f20c57de8fc4e49d95e31cb220a3e9230b
/plot3.R
154085f43c815a814c68fece8b7a83fadc5fb9e1
[]
no_license
Ramlimab/ExData_Plotting1
1f319c23ea5637c0e347473b2ddcfa1fd662f349
82ecf5d07fb001d5c6db7ed84f3c29495f8394b4
refs/heads/master
2021-01-11T18:21:31.320839
2016-10-03T09:51:58
2016-10-03T09:51:58
69,627,898
0
0
null
2016-09-30T02:51:57
2016-09-30T02:51:57
null
UTF-8
R
false
false
880
r
plot3.R
rawdata<-read.csv('household_power_consumption.txt',sep=';',na.strings='?') #combine first two cols into datetime column rawdata$Datetime<-strptime(paste(rawdata$Date,rawdata$Time),format='%d/%m/%Y %H:%M:%S') #convert first col to Date format and filter out unused rows rawdata[[1]]<-as.Date(rawdata[[1]],format='%d/%m...
127691e74e0dd347c36ee7a9f9e73c0cdf8917d2
a1355acdd7419f9d0a844cf2524d68b9af0af193
/城市指标可视化/直接映射中国地图.R
7a45051c87c004ddf4e3dd28fca4259ef1366489
[]
no_license
ShydowLi/data-view--with-R
d9ededa91f167e5abb70234a8e6b53273db5cb66
41148b22b57eb376a1c19179c55d08f4bafa7d01
refs/heads/master
2020-04-09T01:26:11.890871
2018-12-01T03:13:41
2018-12-01T03:13:41
159,904,146
0
0
null
null
null
null
UTF-8
R
false
false
170
r
直接映射中国地图.R
#用maps包直接映射中国地图 library(mapdata) library(maps) library(ggplot2) china1<-map_data('china') p1<-ggplot(china1,aes(long,lat,group=group))+geom_polygon()
a1eb17a7b574fc2a0b81c7e620cc3428adf7d5fd
cf000e9056040d8087067cf61247a582218bffe5
/shinyApp_demo1/My_new_app/server.R
c661bf408284016cf3887a58dea3644f06c079ed
[]
no_license
abishekarun/Stat545
86c173786d088188469195313607cf7e8971173d
e2a3631fe51fae9038f50d57a02f1cba1fe5cd72
refs/heads/master
2021-08-14T06:06:43.237986
2017-11-14T18:52:33
2017-11-14T18:52:33
103,297,015
0
0
null
null
null
null
UTF-8
R
false
false
328
r
server.R
# Define server logic required to draw a histogram server <- function(input, output) { bcl_data <- read.csv("Data/bcl-data.csv") output$Hist_AlcCount <- renderPlot({ bcl_data %>% ggplot()+ aes(x = Alcohol_Content) + geom_histogram(binwidth = 5)...
b0ac527faf4729c9854620dc037b3de1a6ed72b0
4e751ea99ec33a74e76a691f81fd9b51090bb22c
/R/plot_histogram.R
a329f22b546b808dabdd1cf1cacdd48ed1a64f9a
[]
no_license
slkarkar/RGCCA
cd621a66b045bcc2a7f89ac065d0eb4effbd1bc6
0c4894e6805097459e1d8c1b083984c9845f65bc
refs/heads/master
2023-02-03T09:39:24.266270
2020-04-17T12:12:18
2020-04-17T12:12:18
null
0
0
null
null
null
null
UTF-8
R
false
false
2,299
r
plot_histogram.R
#' Histogram settings #' #' Default font for a vertical barplot. #' #' @inheritParams plot2D #' @param group A vector of character giving the group for the rows #' @param cex_axis An integer for the size of the axis text #' @param colors reoresenting a vector of colors plot_histogram <- function( p, df, ti...
6b6fdaf1b7894ba437fda94ff6723663564664a3
b3d92487c861dc5132d860f5ab6e7e58d752eb26
/lab5/lab5_mecon.R
04c2160281b48d6387246baedbcfbf4bbd69b20d
[]
no_license
codercola-mw/Computational-Stat
ccfca16bdb8ab2f5cd67a7cde379f8e99f21c276
7d8d513aa8167f38d5842fd4c38a4fcea6fe8d69
refs/heads/master
2022-04-08T12:17:10.046098
2020-03-06T16:03:58
2020-03-06T16:03:58
235,975,477
0
0
null
null
null
null
UTF-8
R
false
false
3,233
r
lab5_mecon.R
# Question 1 data1 =readxl::read_xls("~/Desktop/732A90_VT2020_Materials/lottery.xls") X = data1$Day_of_year Y = data1$Draft_No ### 1. plot(Y,X, "p") # Yes, it's so random ### 2. estimate_Y = loess(Y~X, data=data1) plot(Y,X, "p") lines(X, estimate_Y$fitted,col="red") #The line is slightly going downward, it migh...
89c18230f8ce0f8bd3ad76b18398c8dbe8944e3a
1372e37e4d022d254460d8c00b2077a983d7be1a
/pxlmatching.R
4bc1579ce3e0d03a48d7e43ec4fb563aec87ee39
[]
no_license
andriizayac/sagebrush_spacetime_nlcd
6963649e36b99002051af9904ec6470e8767cfd7
cee78f1d29693c116e8bdb87b920e53a4dc50404
refs/heads/master
2023-04-12T00:10:11.642216
2022-12-21T21:59:26
2022-12-21T21:59:26
283,573,577
0
0
null
null
null
null
UTF-8
R
false
false
2,906
r
pxlmatching.R
# === prior: raster_processing.R # === libraries + paths pkgs <- c("cluster", "raster", "rgdal", "dplyr", "sf") sapply(pkgs, require, character.only = T) years <- c(1985:2018) # === import data: these data represent wildfires that meet # the following criteria: single fire, no treatment fires <- readRDS("data/fpoly...
6afc016823b2433a2a6fea13dfa4bb1ce6215f26
a20245ad9c9f1956a0bfb97d8e0a2802a8d8408c
/man/markers_for_heatmap.Rd
395b923d7d2d1e423673736d05ad40336130bf6f
[]
no_license
brickyyyy/SC3min
881681954e93bfa4552dde9c793f110a66b2481d
b4c3d6dac5848ed93ba9eff209d8ffcea4c2438b
refs/heads/master
2020-04-07T19:44:36.417393
2019-03-06T18:45:17
2019-03-06T18:45:17
158,660,691
0
0
null
null
null
null
UTF-8
R
false
true
630
rd
markers_for_heatmap.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ShinyFunctions.R \name{markers_for_heatmap} \alias{markers_for_heatmap} \title{Reorder and subset gene markers for plotting on a heatmap} \usage{ markers_for_heatmap(markers) } \arguments{ \item{markers}{a \code{data.frame} object with the fo...
72337eb45295cd9b75b8b53e4ba3f78309615a28
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/storr/examples/storr_multistorr.Rd.R
f47a8282afae655befab0dd45c56b6c30b4b3189
[]
no_license
surayaaramli/typeRrh
d257ac8905c49123f4ccd4e377ee3dfc84d1636c
66e6996f31961bc8b9aafe1a6a6098327b66bf71
refs/heads/master
2023-05-05T04:05:31.617869
2019-04-25T22:10:06
2019-04-25T22:10:06
null
0
0
null
null
null
null
UTF-8
R
false
false
564
r
storr_multistorr.Rd.R
library(storr) ### Name: storr_multistorr ### Title: Storr with multiple storage drivers ### Aliases: storr_multistorr ### ** Examples # Create a storr that is stores keys in an environment and data in # an rds path <- tempfile() st <- storr::storr_multistorr(driver_environment(), driv...
933d92cc27ddd2b20ffdc843cb805ad32492379b
66002e6645ac0707ff6b704cf550849da0affbc2
/Density Estimation and Vine Copula Model/section1&2/section1.r
a6008303d25b22ac3414b982f6f6006420a20159
[]
no_license
relatecode/Revenue-Insurance
fef60050dcae93656af020a558dc31c6e85b5657
06786488caf537745531db36b9c083083b491f37
refs/heads/main
2023-08-14T20:12:11.061069
2021-09-25T00:59:11
2021-09-25T00:59:11
361,301,327
0
0
null
null
null
null
ISO-8859-13
R
false
false
4,008
r
section1.r
# R code for 'Calculation of Crop Insurance Premium:Based on a Density Ratio Model and Vine Copula”® # section 1 dat=read.delim("D:/Y/“ó¶¹/shandong.txt",header= TRUE,sep="\t", stringsAsFactors = FALSE) # load the following libraries and functions library('logspline') library('lme4') library('fBasics') ...
a3bbec7319c3a8a2eabdb97f0910c5b052342262
0a906cf8b1b7da2aea87de958e3662870df49727
/grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610051218-test.R
672294b313a71e05b3469a5d4c10d6b69044cdf0
[]
no_license
akhikolla/updated-only-Issues
a85c887f0e1aae8a8dc358717d55b21678d04660
7d74489dfc7ddfec3955ae7891f15e920cad2e0c
refs/heads/master
2023-04-13T08:22:15.699449
2021-04-21T16:25:35
2021-04-21T16:25:35
360,232,775
0
0
null
null
null
null
UTF-8
R
false
false
414
r
1610051218-test.R
testlist <- list(rates = numeric(0), thresholds = numeric(0), x = c(3.41641322410626e-312, 1.08601191821704e-306, 1.76611980003167e-279, -7.31409635508499e-310, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
828c09b0330d6dfcf21b637a37c073eac14529a2
2067ae0560a820f9a4af01bbfcfb8a4cc02fe129
/animate.R
32bda9b3ba310135eb4739d3717037bcaf3710d6
[ "MIT" ]
permissive
joelonsql/sir
4f1c9e6c8581ddc3218a96af13a2a00e79f8fea3
43afe8e204069295a2086ee9a2d0a2829533c1c1
refs/heads/master
2021-04-15T02:34:37.088052
2020-03-28T12:51:23
2020-03-28T12:51:23
249,287,564
1
0
null
null
null
null
UTF-8
R
false
false
3,589
r
animate.R
library(plotly) signif.num <- function(x) { symnum(x, corr = FALSE, na = FALSE, legend = FALSE, cutpoints = c(0, 0.001, 0.01, 0.05, 0.1, 1), symbols = c("***", "**", "*", ".", " ")) } data <- read_csv("time_series_covid19_deaths_global.csv") %>% rename(Province = "Province/State", Coun...
202065800d8ac87b68a47472f145d113f1cf9f85
187d170f88518defcceb303502419962b453fa71
/R/CriteriaManager.R
094efd4514b64853c3bd366e3e43c203691248fd
[]
no_license
vubiostat/wfccmr
8cec84461825caae45fa19fd2372ce3d7eb33bb6
9a1a340ac5e93133eec781418206d0d1fc9e460e
refs/heads/master
2020-06-01T06:57:12.552197
2009-02-23T22:29:08
2009-02-23T22:29:08
115,112
1
0
null
null
null
null
UTF-8
R
false
false
4,040
r
CriteriaManager.R
setClass("CriteriaManager", representation( criteria="Criteria", name="character", sign="character", wfccmfunction="character", prefilter="character", permutations="numeric", "VIRTUAL"), proto...
6d38712a542681f208698a466dac295733ecc728
3561c3366a49b37383987a706fd6efef9472a061
/T7 - Local Regression&GAM/spam_gam.R
e762b7fd26dbacbfa47980fc1217495ac7d4e47a
[]
no_license
zhuwzh/MATH4432-Tutorial
5a4ae2850f8e1e269baf2a24964fad353407b7b5
5637e49189ecc6b8e344befe5c02a3aa24fe3774
refs/heads/master
2018-09-06T18:55:48.572867
2018-06-04T17:15:25
2018-06-04T17:15:25
118,726,708
11
2
null
null
null
null
UTF-8
R
false
false
1,561
r
spam_gam.R
library(ElemStatLearn) library(gam) data(spam) spam_log = spam spam_log[,1:57] = log(spam_log[,1:57] + .1) tr_idx = sample(1:dim(spam)[1], round(2/3 * dim(spam)[1])) # 3067 ts_idx = setdiff(1:dim(spam)[1], tr_idx) # 1534 spam_tr = spam_log[tr_idx,] spam_ts = spam_log[ts_idx,] # construct formula using cubic smooth...
d8d0f57cd829862247b1cd9ce4e4fa8d521890ef
4bd57b8501d4326ecc06c1d1ea499935e1668d95
/MASH-dev/SeanWu/MBITES/man/Bionomics_vectorialCapacity.Rd
f46f293a6e7b4364d66d658a321996ea4ca00e1f
[]
no_license
aucarter/MASH-Main
0a97eac24df1f7e6c4e01ceb4778088b2f00c194
d4ea6e89a9f00aa6327bed4762cba66298bb6027
refs/heads/master
2020-12-07T09:05:52.814249
2019-12-12T19:53:24
2019-12-12T19:53:24
null
0
0
null
null
null
null
UTF-8
R
false
true
1,810
rd
Bionomics_vectorialCapacity.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/MBITES-Bionomics.R \name{Bionomics_vectorialCapacity} \alias{Bionomics_vectorialCapacity} \title{Bionomics: Compute Vectorial Capacity (Human-centric)} \usage{ Bionomics_vectorialCapacity(mosquitos, humans, EIP, spatial = FALSE) } \arguments{...
6e256fdc1405a77cb18aac54f3b32f5fbf10d848
a80c7ff6384c77d31f21b76377344d10c9b1efaa
/R/figures.R
23798ab99a27d4afae119a65d182e71ea2879f40
[ "MIT" ]
permissive
smwindecker/vic.carbon
379f4ea47747dc9f1d3f0adf3c086989d74086ed
1b28c38ab9973169172ffcdb72817e9153567aac
refs/heads/master
2021-07-24T13:52:59.268245
2019-10-11T04:42:59
2019-10-11T04:42:59
143,502,989
0
0
null
null
null
null
UTF-8
R
false
false
16,131
r
figures.R
get_pred_df <- function (depth, core, model) { df_core <- data.frame(core = core, SITE_CODE = substr(core, 1, 4), depth = seq(0, depth, length.out = 100)) pred_core <- predict.gam(model, df_core, se.fit = TRUE) pred_core <- cbind(df_core, ...
5501153ebdc3ec0b9f32d056c76db344b2a183d2
8c43d49923d146e6a842b11846c66ff83d41ae70
/script/제13장_1 연습문제.R
2122dfc1296851c2e0ef2e57138cddcb0c2eb658
[]
no_license
Sinhoon/rpro
ac5a9a6cc3ba8475581f3c59507e4c049876990d
1ffee9a42f4590d4ef4b59a0a6fabda9f97b046b
refs/heads/master
2020-11-30T13:07:26.763311
2020-01-13T08:24:02
2020-01-13T08:24:02
230,402,675
0
0
null
null
null
null
UTF-8
R
false
false
2,281
r
제13장_1 연습문제.R
################################# ## <제13장 연습문제> ################################# # 01. mpg 데이터 셋을 대상으로 7:3 비율로 학습데이터와 검정데이터로 각각 # 샘플링한 후 각 단계별로 분류분석을 수행하시오. # 조건) x,y 변수선택 # 독립변수(설명변수) : displ + cyl + year # 종속변수(반응변수) : cty library(rpart) library(ggplot2) data(mpg) str(mpg) # 단계1 : 학습데이터와 검정데이터...
e6ab6e31c74f24a35fb6a9202d0243efa4a4f47e
7d5c32d6e586cf4abba4aaf2174bdf6fef85e606
/R/plot.R
e1d9a47c4d20baf72ca0ac11850704dc8a19db9e
[]
no_license
thibautjombart/apex
68330ec4a58a4a04c6a05c2b528307e88340a955
588cb4f0561fb4aa47d11f8ce5179d5c1427edfb
refs/heads/master
2020-12-15T04:19:41.707765
2020-12-11T17:12:32
2020-12-11T17:12:32
32,546,406
5
8
null
2017-09-19T13:27:28
2015-03-19T21:11:43
R
UTF-8
R
false
false
1,428
r
plot.R
###################### #### PLOT METHOD #### ###################### #' Display multidna objects #' #' Default printing for multidna objects #' #' @export #' #' @author Thibaut Jombart \email{t.jombart@@imperial.ac.uk} #' #' @param x a multidna object #' @param y an integer vector indicating the genes to plot #' @para...
7cbed88428c539259dc9d5bbf9021710065f09dc
106009081664e68cab404c1dfdb68d1e0856ee0d
/man/cnc_pessoas_infos.Rd
22b7b88e15c065cec4f261f26ff50777edbdf586
[]
no_license
aassumpcao/cnc
c340880504652394c7b30372b237cc4b5ea307ef
616ad5d90ee7605549e5039cadd6a5d936f6782a
refs/heads/master
2020-04-02T10:42:10.276959
2018-10-25T20:03:52
2018-10-25T20:03:52
154,350,719
1
0
null
2018-10-23T15:17:01
2018-10-23T15:17:00
null
UTF-8
R
false
true
718
rd
cnc_pessoas_infos.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cnc.R \name{cnc_pessoas_infos} \alias{cnc_pessoas_infos} \title{Baixa infos de pessoas} \usage{ cnc_pessoas_infos(d_pessoas, path = "data-raw/pessoas_infos") } \arguments{ \item{d_pessoas}{retornados pela função \code{\link{parse_pessoas}}.} ...
f04a45cafaa62b7d9220d41988a40afa739205ec
c902d3bb683c8d473272192732eed2f05ae2d2cc
/man/multinewton.Rd
44cf8a71878136f8983d3c94d40df4d4bda81c21
[]
no_license
dkahle/kumerical
43210f99d5e4e2d733d2c9533bde28986912cf84
bb85c1eb777845ecddd1baf780a371528b4afa73
refs/heads/master
2020-03-21T03:55:20.270695
2018-06-22T01:17:36
2018-06-22T01:17:36
138,081,169
0
0
null
null
null
null
UTF-8
R
false
true
2,856
rd
multinewton.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/multinewton.R \name{multinewton} \alias{multinewton} \alias{simple_multinewton} \title{Multivariate Newton method} \usage{ multinewton(f, df, x0, tol = 10 * .Machine$double.eps, maxit = 100L) simple_multinewton(f, df, x0, tol = 10 * .Machine...
e6adf633162e3197b67f9e70237f87304ee10665
0458dbf12d50a2d1ae7ba3c4634a7147e7e538c6
/pathwayanalysis.R
f3128fd6432936ba57959f0546911a8284455200
[]
no_license
YulongNiu/smuSeqSongYing
d03ea0a7a90cc4936b25a21c96906f139ee3b6c3
e7c717ef0e69114e32d44c0c8367ce568e7d0bc9
refs/heads/master
2021-03-22T05:25:28.566453
2018-11-20T08:17:20
2018-11-20T08:17:20
84,801,003
0
0
null
null
null
null
UTF-8
R
false
false
5,159
r
pathwayanalysis.R
#####################KEGG#################################### setwd('/extDisk1/RESEARCH/smuSeqSongYing/kallisto_results') library('KEGGAPI') smuPathRaw <- getKEGGPathGenes('smu') smuPathRaw <- sapply(smuPathRaw, function(x) { eachID <- sapply(strsplit(x, split = ':', fixed = TRUE), '[[', 2) return(eachID) }) smu...
b4486e00a0709b5b26c3719132b81c05997b0a8d
40891dd2f3d0c050514050a4766d86a36a5aa0f9
/frankfunk.R
d083200bee23bd2c4149b557abcd318de44e46cf
[]
no_license
frankpopham/frankfunk
ac30760430f3d0bab16414e2dfdd057162564be7
ee3efdb8d92beff466f62a9985d936e3f49818bf
refs/heads/master
2023-05-25T09:04:49.217325
2021-06-10T08:33:48
2021-06-10T08:33:48
375,033,943
0
0
null
null
null
null
UTF-8
R
false
false
3,394
r
frankfunk.R
### statr_tabulate - replicates one way tabulate as in Stata requires tidyverse statr_tabulate <- function(data, var, miss=TRUE) { data %>% when(miss=="TRUE" ~ ., miss=="FALSE" ~ filter(., !is.na({{var}}))) %>% group_by({{var}}, .add=TRUE) %>% summarise(Freq.=n(), .groups="drop_last") %>% mut...
dbe0bbdee087a00890f9b9fee9441dcc481067e1
d560e276190e401e341f522f5fbc276cd1a98dc0
/man/metric.select.UI.Rd
38289c2fe66cd3ee9fb4a7fabef90a65ece3bf4e
[ "MIT" ]
permissive
p-schaefer/BenthicAnalysistesting
288a9093cb50abc512cea3b74278e8d0a8eae4e3
85a38ec40637ab1d6a0a77f0fd88825b973e6586
refs/heads/master
2023-05-26T00:31:29.222171
2023-05-01T13:59:42
2023-05-01T13:59:42
85,619,931
0
0
null
null
null
null
UTF-8
R
false
true
2,554
rd
metric.select.UI.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/metric.select.UI.R \name{metric.select.UI} \alias{metric.select.UI} \title{Indicator metric selection} \usage{ metric.select.UI(Test, Reference, outlier.rem = T, rank = F, outbound = 0.1) } \arguments{ \item{Test}{Vector containing metric s...
54a10d002a0613433f94f9f91195fcc86ff86e0a
e7adc9d2497308ad762fb9e78c192e68d16a1a88
/man/SocCMap.Rd
bd824119058127e005a962717e27355252c90bdd
[]
no_license
cran/cogmapr
dbf58edf7afb43f0abf2d8a3e18c93ab0f587e9a
abae44a6c2095302ca7204ec8f9e3d1d007db4bf
refs/heads/master
2022-01-09T10:21:02.221757
2022-01-04T14:40:07
2022-01-04T14:40:07
180,386,150
1
1
null
null
null
null
UTF-8
R
false
true
1,820
rd
SocCMap.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cogmapr.R \name{SocCMap} \alias{SocCMap} \title{Social Cognitive Mapping} \usage{ SocCMap( data.edges.soc, project, label = "num", minlen = 1, fontsize = 16, shape = "box" ) } \arguments{ \item{data.edges.soc}{A data.frame as prod...
7db892c2acdb03de7035624682e1874128502ed1
ae2e3d4df5fb6d2c431f47c186dc5cbf51beda47
/scripts/2_recovery_year_model.R
ef42135514d28eea9f7f9084d547f80ab8f82463
[]
no_license
jpwrobinson/coral-bleach-recovery
865140fa9cdf7a46ce5c4a68d09852b5f452fa85
7dcb0deed5f9bd8ea3f77faa6a14c1971e21c1c7
refs/heads/master
2020-03-26T16:37:59.353771
2019-06-18T09:25:55
2019-06-18T09:25:55
145,114,409
1
0
null
null
null
null
UTF-8
R
false
false
1,381
r
2_recovery_year_model.R
#!/bin/env Rscript library(rethinking) library(here) setwd(here()) source('scripts/scaling_function.R') ## ------- ------- ------- ------- ------- ------- ------- ## ### Fit model to estimate recovery year ### ## ------- ------- ------- ------- ------- ------- ------- ## ## load predictors (can be ...
b572d98899d4598addfdc4754901d8e78a330255
2d34708b03cdf802018f17d0ba150df6772b6897
/googlefirebaserulesv1.auto/man/TestRulesetRequest.Rd
ce28b0dd79ff9b1936aa65c1f7392e8f6b00c531
[ "MIT" ]
permissive
GVersteeg/autoGoogleAPI
8b3dda19fae2f012e11b3a18a330a4d0da474921
f4850822230ef2f5552c9a5f42e397d9ae027a18
refs/heads/master
2020-09-28T20:20:58.023495
2017-03-05T19:50:39
2017-03-05T19:50:39
null
0
0
null
null
null
null
UTF-8
R
false
true
585
rd
TestRulesetRequest.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/firebaserules_objects.R \name{TestRulesetRequest} \alias{TestRulesetRequest} \title{TestRulesetRequest Object} \usage{ TestRulesetRequest(source = NULL) } \arguments{ \item{source}{`Source` to be checked for correctness} } \value{ TestRuleset...
d79168fc677ed8510a8fb2009856363be1163d9f
374e89a23262a647aa2506c494d704024e2e9089
/ModelFitting/poiszeroinfl.R
4a192758bebe8babc1aa01e7defec80b289f0300
[]
no_license
carliedario/Miscellaneous-R-Code
e70cb2f38c6c8a9973feda97db0eb908624257d3
4c0fa04adfbd97b3ca62a49ca69a39ff31c6f61f
refs/heads/master
2023-01-19T11:32:00.198051
2020-11-25T22:08:35
2020-11-25T22:08:35
null
0
0
null
null
null
null
UTF-8
R
false
false
2,533
r
poiszeroinfl.R
#' --- #' title: "Zero-inflated Poisson Model" #' author: "Michael Clark" #' date: "" #' --- #' #' Log likelihood function to estimate parameters for a Zero-inflated Poisson model. With examples #' and comparison to pscl package output. Also includes approach based on Hilbe GLM text. #' see also: https://github.com/...
002694db3d6780da8fd70f00711ad65d813ccfce
eaed00793361c447c234c00825dfc52b562d9260
/ComplexityEntropy.R
a660a6f7b06497781aefec0a81e28f29d332e230
[]
no_license
OminiaVincit/SmartTabAno
633258895aaae60b2c34100119e461c87a2834c5
0d605cbb268ee115cd22c1026eff1aa273cabfbf
refs/heads/master
2021-01-20T12:37:31.979369
2014-07-05T17:59:43
2014-07-05T17:59:43
null
0
0
null
null
null
null
UTF-8
R
false
false
14,747
r
ComplexityEntropy.R
# Project: SmartTab Anonymization # Author: Tran Quoc Hoan # Start date: 2013-Nov-14 # File: ComplexityEntropy.R # Do: get complexity : ApEntropy and SaEntropy # Last edited on: 2014-January-01 library(ggplot2) library(tseriesChaos) library(scatterplot3d) #############################################################...
e60430f453a52ecc1e22b6c45b08d067fd26493f
0a206350604c3af56d089664576600ae1e7762b3
/man/portfolio.diversification.Rd
e554977bcfb22fb2a79506bd1a70ed5bc8986475
[]
no_license
cran/rportfolios
6728d5639684b8e95235791ebb10fcea75a5fc08
3b1a6b3b562e044d84c2d832e7a0e802d4fa3aa3
refs/heads/master
2020-04-28T23:24:24.367409
2016-08-19T13:37:41
2016-08-19T13:37:41
17,699,348
0
0
null
null
null
null
UTF-8
R
false
false
1,659
rd
portfolio.diversification.Rd
\name{portfolio.diversification} \alias{portfolio.diversification} \title{ Portfolio Diversification Measure } \description{ This function computes one of several portfolio diversification measures for a single portfolio or a collection of portfolios. } \usage{ portfolio.diversification(portfolios, method =...
18a34ad1d237efe0ee9783d56d90cad5b6775dbb
40a1d5d15a66717840fb0929bdb4e24dfbd42d75
/lib/replace.R
0ebd702b93da1a517cd02fb6fdff9acef0d69690
[]
no_license
jiayi-cui/Fall2018-Project4-sec2-grp2
60e8294dd16dbf56896b61a9998535c5229f435e
736659e98f518351d0095f6c52c575cd6d721c65
refs/heads/master
2020-04-11T10:54:40.393531
2018-12-03T16:42:21
2018-12-03T16:42:21
null
0
0
null
null
null
null
UTF-8
R
false
false
2,096
r
replace.R
# Original Replaces2():Replaces_ori # # Replaces1 <- function(word, range) { # N <- nchar(word) # out <- list() # for (letter in letters) { # out[[letter]] <- rep(word, N) # for (i in range) { # substr(out[[letter]][i], i, i) <- letter # } # } # out <- unique(unlist(out)) # re...
bb6c7f0e03a54b0172945bf7dd3de7762576b319
4f8aebafb84b9046bcf2a7ee38eabf6438e05ee1
/2021/Sub 5- 2-2-21 HBCU Enrollment/HBCU_Enrollment_Process.R
78cb9c84e1e062cc240e8773633969536a1b1da5
[]
no_license
geoffreymsmith/TidyTuesday
4459eebb7eae32f7d94041176ad4b8727861d276
da1afb8a037c18941a6ba3ee421d40c95eb65140
refs/heads/master
2023-09-02T15:40:11.654588
2021-10-27T11:41:43
2021-10-27T11:41:43
null
0
0
null
null
null
null
UTF-8
R
false
false
5,766
r
HBCU_Enrollment_Process.R
#===== Tidy Tuesday - HBCU - 2-2-21 =====# # Library Load-in==== `Required Packages` <- c("tidytuesdayR","knitr","ggplot2","tidyverse","extrafont","glue","ggtext","textclean","scales","gganimate", "magick") `New Packages` <- `Required Packages`[!(`Required Packages` %in% installed.packages()[,"Package"])] if(length(`...
dbf52a9ac92af34d6a688ffae671feb7cc56ebe7
042873fd08a8aa3f934ac3649cd28393d6409b78
/man/simfixoutbreak.Rd
8bbb160ccba0e5b67a0eeb61940fd7faa9501bee
[]
no_license
cran/seedy
4daeb506c8e247a12b8b834e1a03efd5fe3980f7
534000e6a1992a7fa78553281d7cc76e7663fbeb
refs/heads/master
2018-12-28T22:58:26.130196
2015-11-06T23:58:19
2015-11-06T23:58:19
21,715,650
1
1
null
null
null
null
UTF-8
R
false
false
4,993
rd
simfixoutbreak.Rd
\name{simfixoutbreak} \alias{simfixoutbreak} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Simulate evolutionary dynamics on a given transmission tree } \description{ Simulate within-host evolutionary dynamics on top of an existing transmission tree and generate genomic samples. } \usage{ s...
8d36eb8bed227baf19550ae4539f93116cde65a9
ca7f37df9f06afadc5522f9b289d09d2e20c3364
/ptcgo/tests/testthat/test_ordering.R
0aed1daff7051745f1dceecbf8a41f0118c5e872
[ "MIT" ]
permissive
linnykos/pokemon_decklist
fb1b0e3058e13bd4bd6e6d2c2207532280cb3763
45da459016a7867dda8e1d121721e6e089a772eb
refs/heads/master
2021-06-22T19:34:20.645125
2017-08-30T20:14:42
2017-08-30T20:14:42
101,420,628
1
0
null
null
null
null
UTF-8
R
false
false
1,943
r
test_ordering.R
context("Test ordering") ## .ordering_trainer is correct test_that(".ordering_trainer works", { deck_file = "../assets/greninja.txt" txt <- .file_reader(deck_file) txt <- txt[grep("^\\* ", txt)] txt_mat <- t(sapply(txt, .line_parser)); n <- nrow(txt_mat) txt_mat <- .format_information(txt_mat, db_path = ".....
c38803e33d22ab63991f7cbc0dc98ae70db51f4c
0ddaea2c0031ae8f8b6cf98bf693e700fe36e263
/Cachematrix.R
30a0ee3432b094d407264e44393d484680638da0
[]
no_license
surojeetsadhu/Programming_Assignment2
cfa21fec64b52fdd53082c7881063629a942c1a8
e00900b733c309f087401bba709a3140e06d2c95
refs/heads/master
2020-12-30T17:50:57.602226
2017-04-08T09:06:35
2017-04-08T09:06:35
87,619,222
0
0
null
null
null
null
UTF-8
R
false
false
1,624
r
Cachematrix.R
# Programming_Assignment2 #Function “makeCacheMatrix” creates a special “matrix” object that can cache its inverse. makeCacheMatrix #contains 4 functions: set, get, setinverse, getinverse. makeCacheMatrix <- function(x = matrix()) { + m <- NULL + set <- function(y) { + x <<- y + m <<- NULL + ...
635623f625679166cc47bcf262f5d1504a8f0f5e
fd0272f85cc81991dead59474fa1f39c3c6e8d50
/R/generation_genotype.R
aec754133ebdce6e91abb9e97c83210e694213db
[]
no_license
jyc7385/infolab7
2f614d4f56697777504d15ab21fac703e0f243f0
7259038f8472e6e7af93017762043606a2f566f9
refs/heads/master
2020-07-08T08:50:21.859802
2019-08-23T13:34:31
2019-08-23T13:34:31
203,624,176
0
0
null
null
null
null
UTF-8
R
false
false
338
r
generation_genotype.R
#' genotype data #' #' genotype data #' #' @export genotype <- function(n,samp,p) { geno <- matrix(data=1, nrow=n, ncol=samp) for(i in 1: n) geno[i,] <-sample(-1:1,samp, replace=TRUE,prob=c((1-p)*(1-p),2*p*(1-p),p*p)) write.table(geno, file="sample_genotype.txt", row.names=F, col.names=F, quote=F,sep="\t")...
76879a1264db5d74430f6a90cd3d28fb19284326
4e27985b0d0eaeb9c7188883309f5c01b08f0827
/man/get_comps.Rd
02aab2d51e353abab278996d46ecd71b168f8632
[]
no_license
nxskok/poistan
6064803d61785c7fb2ac2037ec602187d3766cc4
b352b66d79a16d305df6c3ba371874a7fc5c08f6
refs/heads/master
2020-06-01T07:19:27.814275
2015-05-17T17:26:10
2015-05-17T17:26:10
34,591,010
0
0
null
null
null
null
UTF-8
R
false
false
391
rd
get_comps.Rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/get_data.R \name{get_comps} \alias{get_comps} \title{get several comps and glue results into one data frame} \usage{ get_comps(v) } \arguments{ \item{v}{vector of competition IDs} } \value{ data frame of games like \code{get_comp} } \...
ab8db2667af3334678d5f85b9959b05b2718b704
7155051ae17b48d508236e2163243f99ea8ffc1c
/man/is.posint.Rd
da51350077356e312fa64d7e156e8bbf4afc70a1
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
RInterested/R-numtheory
d1679d59814fc79619a2477ffac2e7d06c590464
65158ebf3d5958887f0ac9e8250712de57df0719
refs/heads/master
2023-03-18T00:10:01.227526
2018-06-17T14:10:39
2018-06-17T14:10:39
null
0
0
null
null
null
null
UTF-8
R
false
false
274
rd
is.posint.Rd
\name{is.posint} \alias{is.posint} \title{Check for Positive Integer Number} \description{ Checks whether n is a positive integer number. } \usage{ is.posint(n) } \arguments{ \item{n}{Numeric} } \examples{ is.posint(2) # TRUE is.posint(2.5) # FALSE is.posint(-1) #FALSE }
2352c15abc4b987ea7abf65d7e90883cbe295c17
4d66fc0072249d922788405f6cde901601ad6ee8
/proyecto/dimensionFractal.R
39907e0c8917f99ccf70c681dcd76c7b37178be3
[]
no_license
eduardovaldesga/SimulacionSistemas
d2fc3cf2da7f5be0fee2ff1b8bd59a8a6805dde7
ef91a86ade3f02b4842274344373609dbc9d9edf
refs/heads/master
2021-01-15T10:58:00.480996
2017-12-12T06:05:52
2017-12-12T06:05:52
99,603,378
0
3
null
null
null
null
ISO-8859-1
R
false
false
3,270
r
dimensionFractal.R
require(parallel) require(data.table) cuantos.cubos=function(tab,grid.x,grid.y,grid.z){ paso.x=grid.x[2]-grid.x[1] paso.y=grid.y[2]-grid.y[1] paso.z=grid.z[2]-grid.z[1] eps=0.000001 cluster <- makeCluster(detectCores() - 1) clusterExport(cluster,c("tab","grid.y","grid.z","eps","paso.x","pa...
d200090455fc5bdfef314c3161d320424faee625
3bede8db604c126812924f6fd581df8e0de92a80
/R/datasets.R
a3c2b3ef6c1f7057cc80cc39c08afbb92b773344
[]
no_license
cran/rnaturalearth
6fdc30a296d8f1d090ac9106a861098ee78a6d58
e96cf44deb11aa52b9defa90d30875ad27def90e
refs/heads/master
2023-09-01T05:02:49.336943
2023-08-21T09:10:02
2023-08-21T10:32:49
85,758,297
0
0
null
null
null
null
UTF-8
R
false
false
925
r
datasets.R
#' world country polygons from Natural Earth #' #' at 1:110m scale (small). Other data and resolutions are in the packages #' rnaturalearthdata and rnaturalearthhires. #' #' @format A \code{SpatialPolygonsDataFrame} #' #' @slot data A data frame with country attributes #' #' @aliases countries110 #' #' @name countries ...
1887746d7e5fe5659db2c939c041d0cfafce163d
51b599c68b27793c1ab865f0c4ba1b2129dffbd0
/neural1.R
7c32eeda0758af68a3b03dc5807388083d19dfa1
[]
no_license
joancardonasa/twidiction
5b815a5ae1b973dd18b0a966d1be2ed242659573
d25569fbe19d59cf59ecd1f2cb7d8c71eb58c96d
refs/heads/master
2021-01-17T08:08:45.774475
2016-06-27T20:01:34
2016-06-27T20:01:34
62,075,230
0
0
null
null
null
null
WINDOWS-1250
R
false
false
1,560
r
neural1.R
# First neural net #library(neuralnet) setwd("C:/Users/Joan/Desktop/TFG") library(dplyr) data <- read.csv("dataset.csv") data <- select(data, positive, negative, neutral, Open, High, Low, Close)# SELECT TAMBE ES DE NEURAL NET!!!! y <- as.numeric(data$Close[2:length(data$Close)] > data$Close[1:(length(data$Close) - 1...