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
77272144d21534a6e4839e53d7d6bf88550840bd
05b5b6430374ef292e9ae18c4b4ed455af85248c
/R/womenWork.R
0a7bada18028b774aba355714e3da960165852de
[]
no_license
tanetpongc/BayesLearnSU
1a7aa580709694776db05afd290f5fe12fc27468
ea8546c14a4cd951a3e43522a1813067b9935cc8
refs/heads/master
2023-03-27T03:53:46.270172
2021-03-26T18:30:31
2021-03-26T18:30:31
null
0
0
null
null
null
null
UTF-8
R
false
false
698
r
womenWork.R
#' Data on working status #' #' A dataset on the working status (works or does not work) for 200 women. #' #' @format A data frame with 200 rows and 9 variables: #' \describe{ #' \item{work}{Whether or not the woman works.} #' \item{constant}{Constant/intercept.} #' \item{husbandInc}{Husband's income.} #' \item...
2be3185a8ea3dc51507d803024f3dbfbf6ab872a
0701bed484ef0ba4a10914161fc33e85c480052c
/code/08-suit-expanded-results-tableS2.R
38d680584712235c1a86f088d687e6bc23e2f243
[]
no_license
mmw590/rubberxbiodiversityCB
c762f6b50bd592aef2cfdc91cb47318658161539
6e4ae3c11e8281a813667fd835ecf941cbac7f2f
refs/heads/master
2022-11-11T19:08:39.075313
2020-06-30T09:50:37
2020-06-30T09:50:37
267,854,292
0
0
null
null
null
null
UTF-8
R
false
false
9,587
r
08-suit-expanded-results-tableS2.R
#### rubberxbiodiversityCB #### 08-suit-expanded-results-tableS2.R #### rm(list=ls()) library(raster) library(dplyr) library(tidyr) library(data.table) library(scales) #for hue_pal library(ggplot2) library(cowplot) ###### DF of cells with suit, rich/vuln suit_vuln_vals3 ####### ### Africa list.files('output/afr/bi...
121372e48006c58a2ac4b91e4d78dbbd12969e0e
4ececcb5166ef1c848a22a54961aa7341f8bc8fa
/analyze_data.R
a4f376fd2332ceb5cebff740f7c7807ab6d5e97a
[]
no_license
pgrimm52/Math-640-Final-Project
f595ed07e60843960c32856023c0101d0bf6f589
478397466141d26c058858bbed24cfa1c0a0dbc2
refs/heads/master
2020-03-14T09:50:37.906525
2018-05-10T06:05:59
2018-05-10T06:05:59
131,553,523
0
0
null
null
null
null
UTF-8
R
false
false
14,697
r
analyze_data.R
######################## # File: analyze_data.R # Purpose: to conduct core sampling and analysis # Output: console, graphs ######################## ############### # A. Setup ############### rm(list=ls()) # Load packages and helper functions source("helper_functions.R") # Load data tweet_storms <- readRDS("tweet_...
4df015addbd7c6ea29b25bb512de75773297c600
d17f6fda2c41536d3eb7e60c3429f9630cb7697f
/man/dim.DGEobj.Rd
4384be1d626b2746bad216231c0c89b6934cdd8e
[]
no_license
klmedeiros-ag/DGEobj
049ba274ab76b31eaf2c178467e18b3af39871fc
fd68063215058b50ab0c12e7dd018abf15b5aa73
refs/heads/develop
2023-01-10T07:09:38.089778
2020-11-03T03:25:42
2020-11-03T03:25:42
304,167,313
0
0
null
2020-11-03T03:25:43
2020-10-15T00:25:22
R
UTF-8
R
false
true
469
rd
dim.DGEobj.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{dim.DGEobj} \alias{dim.DGEobj} \title{DGEobj dimensions} \usage{ \method{dim}{DGEobj}(x) } \arguments{ \item{x}{A class DGEobj created by function initDGEobj()} } \value{ An integer vector [r,c] with a length of 2. } \descriptio...
006dd1a30ad6a2c9a5e88f4f17f2cbcc836b815e
729078c88d61973a94248bed6896648f95bc2fdb
/run_analysis.R
c57872af0c3400ffc73a42918d1c860a594b43cc
[]
no_license
jmscarrillo/Getting-and-Cleaning-Data-Course-Project
3180f22131112344e4897c2b78e14f1586e4e75a
743ed4bdcb55dbea0aed90b76137edce218dcc3a
refs/heads/master
2021-09-03T09:54:15.347846
2018-01-08T06:26:52
2018-01-08T06:26:52
115,909,744
0
0
null
null
null
null
UTF-8
R
false
false
4,874
r
run_analysis.R
## Coursera - Data Science - Universidad Johns Hopkins ## Getting and Cleaning Data - Week 4 ## Course Project ## José Mª Sebastián Carrillo ########## ## Step 0A.- Check libraries in the current system. ########## if (!require('dplyr')) { stop('The package dplyr was not installed!') } library(dplyr) ##########...
b25b575afad6eb86f097e36f670d0192d65cedc6
5ffe62a29eec525f568d2e71b854d3ce442e98ef
/Genotyping/Analysis/APCL/090313/Wright1969 neighborhood 090402.R
9910571e54523c1104c2e8a3dd3e812245abeadc
[ "MIT" ]
permissive
pinskylab/PhilippinesAnemonefish2008
df3ac238f4db30d90cd564f68a23a2bf8eff86f6
4b21bc01c6be794181feff95b44f7e0295ecf061
refs/heads/main
2023-08-11T06:47:06.704422
2021-09-30T17:27:36
2021-09-30T17:27:36
307,220,641
0
0
null
null
null
null
UTF-8
R
false
false
633
r
Wright1969 neighborhood 090402.R
# recreating figures on p. 304 in Wright 1969 Evolution and the Genetics of Populations Vol 2 The Theory of Gene Frequencies x= seq(0, 10, by=0.1) sigma=1 ynorm=(1/(sigma*sqrt(2*pi)))*exp(-x^2/(2*sigma^2)) a = 1/1 b= .5 b^(-2*a)*gamma(3*a)/gamma(a) # sigma2 y0 = (b^a)/(2*gamma(a+1)) ylepto = y0*exp(-b*x^(1/a)) plo...
c28866a1136dc016926424454349f8b1322f5a6b
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/tm/examples/removePunctuation.Rd.R
fa1e621b5885a40e083d59b8358cb2984873ff7b
[]
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
464
r
removePunctuation.Rd.R
library(tm) ### Name: removePunctuation ### Title: Remove Punctuation Marks from a Text Document ### Aliases: removePunctuation removePunctuation.character ### removePunctuation.PlainTextDocument ### ** Examples data("crude") inspect(crude[[14]]) inspect(removePunctuation(crude[[14]])) inspect(removePunctuation(c...
4b0f3f76f97e83fe34601a7e9fc9371447e6ff1a
332698c619dee288b4aa016119adea1910c4b3b5
/man/Schumaker.Rd
bd1023045cdc554e8235043cedf566dfe7e9a89d
[]
no_license
cran/schumaker
7226c538c6b233bec3be1699d0c1e0e33eb840a7
95741199393695b602b1f38891dbc282df9fe40c
refs/heads/master
2021-09-25T18:08:32.832453
2021-09-09T21:00:03
2021-09-09T21:00:03
40,399,779
0
0
null
null
null
null
UTF-8
R
false
true
2,532
rd
Schumaker.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Schumaker.R \name{Schumaker} \alias{Schumaker} \title{Create a Schumaker spline} \usage{ Schumaker( x, y, gradients = NA, Vectorised = TRUE, Extrapolation = c("Curve", "Constant", "Linear"), edgeGradients = c(NA, NA) ...
7acc94712b10defbee90211fde67c3053b711791
e3dc7bc2d94d4c37044298658b6f023b27a73986
/04_Codes/VBP/01_Readin_Data.R
073d1bceff6dc31eadd231632aa97721bf6e949f
[]
no_license
Zaphiroth/Bluebook_2021
83083aeddb9d77997ff62453e86dd62de28da28d
3478927c75b19a25f76265d9322d5b6ecf5a7da5
refs/heads/main
2023-03-25T06:51:30.107261
2021-03-22T09:53:02
2021-03-22T09:53:02
346,550,509
0
0
null
null
null
null
UTF-8
R
false
false
4,033
r
01_Readin_Data.R
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # ProjectName: Bluebook 2021-VBP # Purpose: Readin # programmer: Zhe Liu # Date: 2021-03-11 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # ##---- Readin raw data ---- ## PCHC cod...
8530deb9cc421e5f87eb8664414e3feaf59590f4
f81ac43a1d02013a9cb9eebc2a7d92da4cae9169
/R/xl_write.R
4dd8b447099bfbf44b06e9d883a64b51e42fd4b4
[]
no_license
gdemin/expss
67d7df59bd4dad2287f49403741840598e01f4a6
668d7bace676b555cb34d5e0d633fad516c0f19b
refs/heads/master
2023-08-31T03:27:40.220828
2023-07-16T21:41:53
2023-07-16T21:41:53
31,271,628
83
15
null
2022-11-02T18:53:17
2015-02-24T17:16:42
R
UTF-8
R
false
false
34,574
r
xl_write.R
#' Write tables and other objects to an xlsx file with formatting #' #' Note that \code{openxlsx} package is required for these functions. It can be #' install by printing \code{install.packages('openxlsx')} in the console. On #' Windows system you also may need to #' install \href{https://cran.r-project.org/bin/windo...
6fd8b4f0860695f9508222cc2705748d427c53a8
0574e86c20d46f2cdc14481da00ebb75d6a23f6d
/plot_location/rbind data.R
aef11721b61eaf0323de8092a18c48a3ba8a2cd5
[]
no_license
andy400400/FB_insights_crawler_2
b2361dfae4f479209308f8237bb878d1d4ab8dde
7feefc60a12079837747057595e68f9308344069
refs/heads/master
2021-01-01T05:11:05.689134
2016-04-26T01:43:03
2016-04-26T01:43:03
56,816,259
0
0
null
null
null
null
UTF-8
R
false
false
1,126
r
rbind data.R
#chiao,ilan,lotung,suao,toucheng #dongshan,jhuangwei,sanxing,wujie,yuanshan city_all<-c("chiao","ilan","lotung","suao","toucheng","dongshan","jhuangwei","sanxing","wujie","yuanshan") all_data_total<-NULL for (z in 1:10) { city<-city_all[z] al<-dir('C:/pro/plot/8_season_data') al_length<-length(al) al_choose<-...
7ba4be6728d5eb52cada6ec5855ae8fbbba9e013
edd6a9dd0f4ddb95b5c7f43226b775aa83b12dca
/LinReg/man/LinReg-package.Rd
861901615942ca53f502c8e534d78a2000d61b90
[ "MIT" ]
permissive
aleka769/A94Lab4
0d63a254c9af704f19863165db67ccce0053f98d
b77bb436222adf12bb762deaaaa5a7da0020b4e4
refs/heads/master
2020-03-28T22:45:48.557157
2018-09-24T09:23:21
2018-09-24T09:23:21
149,256,127
0
0
null
null
null
null
UTF-8
R
false
false
572
rd
LinReg-package.Rd
\name{LinReg-package} \alias{LinReg-package} \alias{LinReg} \docType{package} \title{ \packageTitle{LinReg} } \description{ \packageDescription{LinReg} } \details{ The DESCRIPTION file: \packageDESCRIPTION{LinReg} \packageIndices{LinReg} ~~ An overview of how to use the package, including ~~ ~~ the most important func...
b1d0e25caa3a938a911aeb0c05fd85f6f0179bdd
fdab02d7da7d230cf6a47d02e382af3d9143eb51
/Plot1.R
32582bacfb9d67679e933acf1add7e90acd65c6b
[]
no_license
Koketa13/ExData_Plotting1
0c921c697892d9addd97801ecd735517022e4ff2
6e8449733683bc52383163dbdd1f3ccc9fcfe723
refs/heads/master
2022-11-22T23:21:21.817555
2020-07-28T17:59:39
2020-07-28T17:59:39
283,276,316
0
0
null
2020-07-28T17:03:29
2020-07-28T17:03:28
null
UTF-8
R
false
false
626
r
Plot1.R
#Load data.table package library("data.table") #Read Data and Store as Variable PowerCon PowerCon <- data.table::fread(input = "household_power_consumption.txt", na.strings="?") #Change Date Column to Date Type PowerCon[, Date := lapply(.SD, as.Date, "%d/%m/%Y"), .SDcols = c("Date")] #Filter to Desired Dates 02/01/2007...
aafdf0ae43b13ea30aa566cdc28680f2bb0bd3c4
cc5db289ea31cd38d8b59dd8f76b18bff6af32d1
/starList.R
0ae491a933d9c76b05a7f3c1ccf598b8d5f0d6b7
[]
no_license
hoarika727/CSP571_Movie_Profits_Project
e6b55262a98948a091a70d56e01d09493faca5f8
e864dabcddfe1c9cc9e767451f7eebe8d1fde4c7
refs/heads/master
2022-05-27T14:42:20.167776
2020-05-03T13:45:44
2020-05-03T13:45:44
null
0
0
null
null
null
null
UTF-8
R
false
false
492
r
starList.R
library(stringr) dfA <- read.csv("A-Listers of Hollywood.csv" , header = TRUE) dfB <- read.csv("B-Listers Celebrities.csv" , header = TRUE) dfA <- as.data.frame(dfA) dfB <- as.data.frame(dfB) dfA['Rank'] <- 1 dfB['Rank'] <- 2 df <- rbind(dfA[c('Name', 'Rank')], dfB[c('Name', 'Rank')]) te...
bef169cf2d17d2b2d6d8f90585414484ce71092e
d1da1616ec40038d486348b8a1aea22cc171118d
/man/get_oldest_article.Rd
c793e17ff962c7a86200281765ee6c5bb9e35d55
[]
no_license
RILAB/scholar
f0b6283d299a01c6af18a7cf6c55103931af2718
2f288a58ed3bc4798d1341db044a390464e64e20
refs/heads/master
2021-01-17T22:57:52.186525
2015-04-24T22:50:50
2015-04-24T22:50:50
34,545,748
1
1
null
2015-04-24T22:49:57
2015-04-24T22:49:57
null
UTF-8
R
false
false
394
rd
get_oldest_article.Rd
% Generated by roxygen2 (4.0.1): do not edit by hand \name{get_oldest_article} \alias{get_oldest_article} \title{Gets the year of the oldest article for a scholar} \usage{ get_oldest_article(id) } \arguments{ \item{id}{a character string giving the Google Scholar ID} } \value{ the year of the oldest article } \descript...
cfdd7bab92e2bf36f150f908a432e0b198f6a53d
29585dff702209dd446c0ab52ceea046c58e384e
/varhandle/R/check.numeric.R
147a7a763d6893545a3b0841fee063178d99de9d
[]
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
1,447
r
check.numeric.R
## Function Description: ## A function to assess if a vector can be interpreted as numbers # * it can get a parameter to trim white space # * it can get a parameter to return the numeric vector or just one simple TRUE or FALSE check.numeric <- function(v=NULL, rm.na=TRUE){ #----[ checking the input ]----# ...
7f9d6fd25146918a34e58dac6eea0d322b0cd9ed
39e15d93f848ab782e6b7e5703633d83ad201594
/UI.R
b92ca9dff27f9588896ec51e5785f883e9a573d4
[]
no_license
SaiSurve/ShinyApp
45d0da3c3e169a30cd47920fd46f3dcec31649c6
48c2495e7739ba1cef7cbb3a8c0738e5e5f55a51
refs/heads/master
2020-05-05T03:15:48.565510
2014-09-04T11:53:23
2014-09-04T11:53:23
null
0
0
null
null
null
null
UTF-8
R
false
false
5,573
r
UI.R
#HML Query -- Shiny implementation #User Interface #Load relevant libraries library(shiny) library(stringr) shinyUI( navbarPage("Retail Analytics Interface", tabPanel("HML Segments" ,titlePanel(HTML('<p><img src="logo.png"/></p>')) ...
e4434f3579d5fab586b88b4cfe93301aa319c367
576d4312d705f8c410c02925c9e54d1bd09a3a4c
/2_add_layouts/support_scripts/layout_handling.R
de26e7055db7e602b7f74be155e171dfb0a59064
[]
no_license
mronzetti/dsfworld
d512383472a7f6b89ba7b48e64152b108faab0d6
7a5d5714d3a1696af39494bdf58ba38527f244dc
refs/heads/master
2022-06-22T05:03:46.552146
2020-05-09T00:44:22
2020-05-09T00:44:22
274,525,085
0
0
null
2020-06-23T22:55:07
2020-06-23T22:55:07
null
UTF-8
R
false
false
4,717
r
layout_handling.R
# # new daughter layout function df_to_layout <- function(df, layout_type) { df_m <- set_names( df , c("type","row",as.numeric( df [1,-c(1,2)]))) %>% . [ -1 , -1] %>% reshape2::melt( . ,id.vars = "row") %>% mutate( . , well = as_vector(map2( . $row, . $variable, paste0)) ) %>% set_names( . , c("ro...
3d4385092da88d9e4a85c2349dc628eeac3e3a32
154f590295a74e1ca8cdde49ecbb9cbb0992147e
/R/dh8.R
f8490813aba76bd62e20847b99f36b3b478f6e25
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain-disclaimer", "CC0-1.0" ]
permissive
klingerf2/EflowStats
2e57df72e154581de2df3d5de3ebd94c3da0dedf
73891ea7da73a274227212a2ca829084149a2906
refs/heads/master
2017-12-07T10:47:25.943426
2016-12-28T20:52:42
2016-12-28T20:52:42
null
0
0
null
null
null
null
UTF-8
R
false
false
1,253
r
dh8.R
#' Function to return the DH8 hydrologic indicator statistic for a given data frame #' #' This function accepts a data frame that contains a column named "discharge" and calculates #' DH8; Variability of annual maximum of 7-day moving average flows. Compute the standard deviation for the #' maximum 7-day moving aver...
ac57f42818cebf868f39bda80afabfe834b21848
9aafde089eb3d8bba05aec912e61fbd9fb84bd49
/codeml_files/newick_trees_processed/8820_2/rinput.R
35facd5035e72b7c38addf53030d13bc2332bc0a
[]
no_license
DaniBoo/cyanobacteria_project
6a816bb0ccf285842b61bfd3612c176f5877a1fb
be08ff723284b0c38f9c758d3e250c664bbfbf3b
refs/heads/master
2021-01-25T05:28:00.686474
2013-03-23T15:09:39
2013-03-23T15:09:39
null
0
0
null
null
null
null
UTF-8
R
false
false
135
r
rinput.R
library(ape) testtree <- read.tree("8820_2.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="8820_2_unrooted.txt")
de9e4847e882d1e20c91c14f1b9dc1f98bea04d2
558e72eb5e4e6f0014e5ae5fcd17583df5c18aa7
/binary_data_to_pairwise_distance.R
b696bb9f210386da11955736bd3773fccbb3f560
[]
no_license
woodlaur189/HGT_identification_in_evol_exps
2f9acd3f01e1b335693df1d3aa105034ea6c3477
758b4262fa52219e78d2816e66313383fc36fa35
refs/heads/main
2023-06-12T10:50:39.482245
2021-07-08T03:52:41
2021-07-08T03:52:41
348,955,586
0
0
null
null
null
null
UTF-8
R
false
false
648
r
binary_data_to_pairwise_distance.R
#install.packages("proxy") #install.packages("spaa") library(proxy) bin_data_file='/Users/lwoo0005/Documents/Laura_stuff/H_py_An/Concatanated_maxHGT_p12_genomes/numberup_pangenomes/22-8-20_roary_90_evolved_50up_w_parents_split/gene_presence_absence.Rtab' a<-read.table(bin_data_file, header=TRUE) b<-as.data.frame.matrix...
2645d5acd59e678d6897e04c3d4f94b5720784ba
fac5f5c0c0a66f44d4da97cad8914715104f0b8e
/man/minosse.data.Rd
861f5459675aaf96fd2391a8f31f8f491a339e0e
[]
no_license
carotenuto79/PaleoCore
33831ae48a8bfd5620e155a8c0d3ceae17c434a8
6809e03a0e279fa8964297c07a0f21cde263f539
refs/heads/master
2020-06-24T05:40:42.052684
2019-08-28T12:12:32
2019-08-28T12:12:32
null
0
0
null
null
null
null
UTF-8
R
false
true
7,695
rd
minosse.data.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/minosse.data.R \name{minosse.data} \alias{minosse.data} \title{Creates model's predictors} \usage{ minosse.data(obj,species_name,domain,coc.by="locality",min.occs=3, abiotic.covs=NULL,combine.covs=TRUE,reduce_covs_by="pca",covs_th=0.95...
17655c838f4be6ca67a1715cf424d1ed59a0fcbb
8a27a13d8e2839958d408671414dea775f3700e9
/man/get_official_observed_seasonal_quantities.Rd
09da0692656ccadc2ecd6b16203c80b54c915554
[]
no_license
reichlab/2017-2018-cdc-flu-contest
a0a59cabb65ce374d3e2313248ca98fbf247b33c
dcb99465bccbe1167e196878182b2e84749b6d87
refs/heads/master
2021-03-22T03:32:05.682003
2018-09-19T19:28:48
2018-09-19T19:28:48
90,150,606
2
3
null
2018-03-06T19:57:54
2017-05-03T13:13:00
R
UTF-8
R
false
true
1,214
rd
get_official_observed_seasonal_quantities.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{get_official_observed_seasonal_quantities} \alias{get_official_observed_seasonal_quantities} \title{Compute season onset, peak week, and peak incidence} \usage{ get_official_observed_seasonal_quantities(data, season, incidence_v...
4244a79eddb6415abe974d1cd85e02ca523c1998
aef1475c158fb5b1f8689a8c975453e16e012d92
/make_data.R
f241b28e7f679df38b6913d3b2958cdf190a30ca
[]
no_license
haututu/fear_of_covid_validation
726703e2ff8866ee91a7ec3e61d55b1a538a53e8
f710217c51f80ff4cb3d4f6e6b11bc4bf15a151e
refs/heads/master
2022-07-19T06:13:44.052073
2020-05-24T07:04:29
2020-05-24T07:04:29
264,552,410
0
0
null
null
null
null
UTF-8
R
false
false
5,643
r
make_data.R
library(tidyverse) library(lavaan) library(haven) library(brms) library(eRm) # Load data covid_dat <- bind_rows( read_sav("data/L3Clean.sav") %>% select(Gender, Age, Ethnicity, starts_with("FofCOVID_"), starts_with("PVD_"), starts_with("Lockdown"), starts_with("Behaviour_C"), Political_Beliefs, FearCovid) %>% mutate...
d0d762dcdfd6882e285ad612ef854d534fc324d9
c13c41582b93e1ec4df4d3fd15c9b461ba926d72
/R/makeqtl.R
f793397f92610908871774c1c47ffa6ca002abe3
[]
no_license
pjotrp/rqtl
834979ea3e6453637dee4b7a53432b3c61b26f44
d7f377b50771d9f0862d1590bf05add06982cb35
refs/heads/master
2020-06-02T06:57:46.392621
2009-06-26T21:27:15
2009-06-26T21:27:15
127,591
3
0
null
null
null
null
UTF-8
R
false
false
19,356
r
makeqtl.R
###################################################################### # # makeqtl.R # # copyright (c) 2002-9, Hao Wu and Karl W. Broman # last modified Feb, 2009 # first written Apr, 2002 # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public Lic...
be9b2cf0cbedf898fdaaba0e01c5675e35fb506c
88ceb298e0147b3f2ff4e9c13e4d65ad4723fb2e
/R/handleContribution.R
23543a0d42a2fd26077feea9e75f840f3f3da9c8
[]
no_license
Sage-Bionetworks/rSCR
43edda65c1a4a265aebcef7846d2474618a2067f
17a4297acc96bc3c32a96475f0d03b209c53024e
refs/heads/master
2020-05-17T09:14:56.287852
2013-01-22T21:56:02
2013-01-22T21:56:02
5,533,164
0
0
null
null
null
null
UTF-8
R
false
false
4,353
r
handleContribution.R
# # These functions handle the work associated with # gathering the information about the contributed # dataset(s). # setMethod( f = "handleContribution", signature = signature("Project", "list","character"), definition = function(project, contribution, logFile) { # First remove any annotations set to NA ...
4b60eccda6ce8ba7a25b98622aef24ec16305796
b0dc3cd68fbfdc23a614c05841656c624a7a1c4d
/R_en_VisualStudio.r
3fb5f855c6999901574d95a725640885bba42ad5
[]
no_license
iJosepe/R-q-R
8c944daee531f5faa222fa8b2d08a83d65f6936c
841b5c1005a1a7219a4878bec901340c0e6d6c2e
refs/heads/main
2023-03-23T01:35:29.882453
2021-03-20T09:54:38
2021-03-20T09:54:38
345,773,219
0
0
null
null
null
null
UTF-8
R
false
false
3,582
r
R_en_VisualStudio.r
v <- c(4,2,-8) print(v) frutas <- c(15, 100, 2, 30) names(frutas) <- c("naranja", "pera", "manzana", "durazno") print(frutas) frutas["manzana"] <- 8 print(frutas) u <- 2:33 v <- c(4, 5, 6) w <- c(u, v) print(u,v,w) # CONSTRUCCION DE MATRICES (m <- 11:30) # Un vector con 20 números # Para convertirla en...
596279a76d224f7c47a73e637c8f74ef9887df1d
7622e144ac5196eab93a451b7178de4097b21c3d
/tests/testthat/test_sentiment_computation.R
f09261ab167f84a00546f0a4d2e2dd06ee9b638f
[]
no_license
kbenoit/sentometrics
6ed0d4bbeddc1732528e3c6e6d9157e252de0f3f
41a4806911da38a799b23218918935dc09ef39a6
refs/heads/master
2021-06-13T22:17:04.756279
2021-03-03T16:34:54
2021-03-03T16:34:54
171,403,511
1
0
null
2019-02-19T04:12:49
2019-02-19T04:12:49
null
UTF-8
R
false
false
10,127
r
test_sentiment_computation.R
# test_file("tests/testthat/test_sentiment_computation.R") context("Sentiment computation") library("data.table") library("quanteda") library("tm") library("stringi") set.seed(123) # sento_corpus creation data("usnews") corpus <- sento_corpus(corpusdf = usnews[1:250, ]) # SimpleCorpus creation txt <- system.file(...
4bd7693634a136b690b1742364d8ca0ee85a3f76
2429f45453e4a19b2a32c03916dff8da073bedec
/PartyVoteLoyalty.R
13925806e3b4cdf15cc28bf92f0a61a89c511a2f
[]
no_license
scottcame/wa-leg-harvester
f595d42929e246f1b75efc7bfb5f1f67435f33f6
120a706a98e83b7cf2d0873eafe65538272f5e2a
refs/heads/master
2020-04-21T11:13:50.691596
2020-01-19T20:14:30
2020-01-19T20:14:30
169,516,373
1
0
null
null
null
null
UTF-8
R
false
false
6,528
r
PartyVoteLoyalty.R
# Party loyalty in legislative votes library(ggrepel) library(ggthemes) library(scales) library(sf) downloadData() LoyaltyDf <- RollCalls %>% group_by(Chamber, MemberName, District, Position, Party) %>% summarize(Loyalty=mean(WithPartyMajority)) %>% group_by(Chamber) %>% arrange(Chamber, Loyalty) %>% ungroup...
ca8bfd55bd6bc6798ad4031b5aee9021a7c0eaee
faa067ff528a08fc6622988f9619f3389636107f
/EvaluationStats/main.R
6039d2e7ccc9363a0769724f11e2852d85745f6d
[]
no_license
donairo/90percent
d33d895e465d655ec8d2649291e35e2ef6eb13f0
2e677cd04d21ec93bb975bcc73c06f424315b5aa
refs/heads/master
2020-04-28T13:25:34.565949
2019-04-09T01:46:31
2019-04-09T01:46:31
175,306,499
0
1
null
null
null
null
UTF-8
R
false
false
7,481
r
main.R
mydata <- read.csv("../data/loginData.csv") attach(mydata) print(mydata) print("for TEXT21") print("Mean for total login") print(mean(Logins.Total[scheme=="testtextrandom"])) print("Mean for successful login") print(mean(Logins.success[scheme=="testtextrandom"])) print("Mean for Failed login") print(mean(Logins.Failur...
cb08d2260ab684fdc4d48a4d8fec3ffd086b86f9
fd595e4213f4857e26ec3bf937caa2ef95b20dd2
/server.R
7fdc5bf0477973e3d994ae24850b52b721f4265d
[]
no_license
EarnestlyFrank/SCCounties
7daa46d947f208d708f27eff4e10fc101d0fd05d
9e883092a51f2c7a5ebab4ea22f2363527c353e2
refs/heads/master
2020-03-12T16:53:14.101305
2019-02-11T23:17:55
2019-02-11T23:17:55
130,725,442
0
0
null
null
null
null
UTF-8
R
false
false
7,898
r
server.R
require(leaflet) require(RColorBrewer) require(scales) require(lattice) require(dplyr) require(rgdal) require(rgeos) function(input, output, session) { ##Data import inputs <- read.delim("Extracted DataNoError.txt") names <- c( "Number of self-employed adults", "Percent of working adults who are self-...
048b7c3c46de0c6a5562b9b8ae678036ac53d9f2
0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb
/cran/paws.database/R/dynamodb_interfaces.R
02dca9a603c590df49fc9e8842b0bd2d690fe02b
[ "Apache-2.0" ]
permissive
paws-r/paws
196d42a2b9aca0e551a51ea5e6f34daca739591b
a689da2aee079391e100060524f6b973130f4e40
refs/heads/main
2023-08-18T00:33:48.538539
2023-08-09T09:31:24
2023-08-09T09:31:24
154,419,943
293
45
NOASSERTION
2023-09-14T15:31:32
2018-10-24T01:28:47
R
UTF-8
R
false
false
227,856
r
dynamodb_interfaces.R
# This file is generated by make.paws. Please do not edit here. #' @importFrom paws.common populate #' @include dynamodb_service.R NULL .dynamodb$batch_execute_statement_input <- function(...) { args <- c(as.list(environment()), list(...)) shape <- structure(list(Statements = structure(list(structure(list(Statemen...
13f786418a273afeeee093fa55e9d0e13bebc5ba
7e02e90d63b317ce890145788f512a5f0aa022d9
/inst/examples/examples_pars.R
453e18f0c228157e7c8c6d44a5d8962bc76b2e7f
[]
no_license
mrjoh3/d3wordcloud
86cfaccd5314c6c132f3732fd9c27762c18dbcad
81c52a2e5249dc8f96a63e59d88bd7085e0ed7f0
refs/heads/master
2021-01-18T07:15:07.803195
2016-04-28T09:44:25
2016-04-28T09:44:25
56,191,178
1
0
null
2016-04-13T22:49:47
2016-04-13T22:49:47
null
UTF-8
R
false
false
2,805
r
examples_pars.R
#' --- #' title: "R package: d3wordcloud" #' author: "Joshua Kunst" #' output: #' html_document: #' theme: journal #' toc: yes #' --- #' # Installation #+ echo=FALSE #' devtools::install_github("jbkunst/d3wordcloud") #' # First Use library("d3wordcloud") words <- c("I", "love", "this", "package", "but"...
c9c9511e1f00c3978176e6a50d57c171115cfc0f
b8fc18056d960ddeb3861d961f5534f05400261d
/functions/GMfreq_updated.R
3bda0b6e3dd7c9058a4c7ae9ed943b0c8a0dafed
[]
no_license
jpmtavares/vaRiants-annotation
8532599a9a8390e3e9e7fa0e80697aa1e9eb39cb
fc58d61ed31c4a4a6511fb75107a51da8d6bc374
refs/heads/master
2021-01-20T09:19:57.972829
2018-12-13T13:14:19
2018-12-13T13:14:19
90,236,524
2
0
null
null
null
null
UTF-8
R
false
false
3,323
r
GMfreq_updated.R
########################################################## # # # GenoMed Frequency # # # ########################################################## GMfrequency<-function(GM_...
c0db9ce595f948659c315d4f8d8b1c3a652ce8f0
07448c8fc0a594be3b1ed086a87e63c8499b5353
/plot3.R
0f47c890d7661ee9a35f8b1563daf4ec5b44c1a9
[]
no_license
davidliziyi/ExData_Plotting1
2752a3743a91cb1bf98e0d48fd95238680ef1081
8e27faf429d15ea484001172c0c5efbbb7b90071
refs/heads/master
2020-03-07T03:02:22.001258
2018-03-30T08:52:12
2018-03-30T08:52:12
127,224,250
0
0
null
2018-03-29T02:15:02
2018-03-29T02:15:01
null
UTF-8
R
false
false
983
r
plot3.R
library(data.table) data <- fread("household_power_consumption.txt", sep = ";", na.strings = "?")[ , Date := as.Date(Date, "%d/%m/%Y")][ Date >= as.Date("2007-02-01") & Date <= as.Date("2007-02-02")][ , "DateTime" := as.POSIXct(paste(Date, Time), format = "%Y-%m-%d %H:%M:%S", ...
63cafd410107dd8a4d780a92d09d8be03006fc44
962e4bb67effdb987626e91017c8aa8d45b9128a
/cachematrix.R
8aede38024eb79d7f36bb9e6ee67fd6ebcd6cdd9
[]
no_license
ABHAY2000/ProgrammingAssignment2
ba9396edd868623006e7064a840de1c04cd10496
abf1e016c62b3dee0266a5042d3a3651d5f27aa0
refs/heads/master
2021-05-23T08:51:23.201445
2020-04-05T10:46:14
2020-04-05T10:46:14
253,207,404
0
0
null
2020-04-05T10:22:16
2020-04-05T10:22:15
null
UTF-8
R
false
false
510
r
cachematrix.R
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function ## This function creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { matrix(x) } ## Write a short comment describing this functi...
e3c7a0f11eaceed5dfaa46dae335bb56c7662848
9e01415c74ccf8ff485b20dc44bb85ad98ab3cd8
/man/exp.loss.k.Rd
8382c456a4c86b6cfb2bbf86774c1df1310640ba
[]
no_license
mst1g15/biasedcoin
4846ca74b277f442026dd9a74008eae6cd4fb18c
0728c0c9ec43075c0e965a73128c0066bd677c4b
refs/heads/master
2020-04-22T03:54:41.755315
2019-11-25T21:58:08
2019-11-25T21:58:08
170,105,256
1
0
null
null
null
null
UTF-8
R
false
true
1,351
rd
exp.loss.k.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/linear_nonmyop.R \name{exp.loss.k} \alias{exp.loss.k} \title{Break down the expected future objective function by cases for every combination of: 1) future possible covariate 2) future possible treatment Find a weighted average across ...
bdabd2175e4f07f0eb6043db001eac9631b9f8a3
258917ad60335fcf744a7ece7b1f220e420c7050
/scripts/R/algo_tests/sam_quantitative.R
8bfd6077045699bb2b9f869d74416aed6ac780d9
[]
no_license
whtbowers/TCGA-SARC_graphs
67d5b3f99a581d41061de1f34fac698a626a0b34
0def2a5b80f65e3cc9172a3d7507023fd402f2eb
refs/heads/master
2020-04-21T01:11:23.761625
2019-03-08T09:39:00
2019-03-08T09:39:00
169,216,606
0
0
null
null
null
null
UTF-8
R
false
false
195
r
sam_quantitative.R
setwd("C:/Users/wbowers/Documents/tcga_replication_2/data") library(samr) #Quantitative example quant.data <- read.csv(paste(path.package("samr"), "/excel/Quantitative.csv", sep = ""))
b69ec717360115a142e1aac24ca99ea523894998
a68a3cf38cc6f08462bfa30f99f7c838af432743
/plot-clmx01-firm-count.R
5561957a2f08e48b07f023276ff360603b871e10
[]
no_license
alexchinco/clmx01
32f540b57666c1e981f183f5f9398d23d081be1c
33c76e76ad2f4d78082caba568681280b7a924c9
refs/heads/master
2021-01-13T01:45:36.106313
2013-05-04T16:09:57
2013-05-04T16:09:57
9,856,188
3
3
null
null
null
null
UTF-8
R
false
false
4,149
r
plot-clmx01-firm-count.R
## Prep workspace rm(list=ls()) library(foreign) library(grid) library(plyr) library(ggplot2) library(tikzDevice) library(reshape) library(vars) scl.str.DAT_DIR <- "~/Dropbox/research/trading_on_coincidences/data/" scl.str.DAT_NAME <- "clmx01-observations-per-month.csv" scl.str.FIG_DIR <- "~/Dropbox/research/tradi...
7a27446f7784c9727fa25831153b632a9d60189f
f7546999748d00b74db8551ed65e02cc564f7f4f
/R/plotIdentifiableZone.R
22ae93f3c4d161bc489bfb8bfa78c494113351ea
[]
no_license
cran/CHAT
b5887ac9eb97d1deace91cd638477e5d7bf56319
1819354a80335e6d92384002b90899b70c60719f
refs/heads/master
2021-01-19T08:15:18.756721
2014-02-10T00:00:00
2014-02-10T00:00:00
19,303,604
1
0
null
null
null
null
UTF-8
R
false
false
2,318
r
plotIdentifiableZone.R
plotIdentifiableZone <- function(nt,nb,add=FALSE,legend=TRUE,title=TRUE){ ps<-seq(0,1,by=0.002) n<-length(ps) na<-nt-nb Nt<-nt*ps+2*(1-ps) fla<-na*ps/Nt ## low limit of major allele, early fha<-(na*ps+1-ps)/Nt ## high limit major allele, early flb<-nb*ps/Nt ## low limit of minor allele, early fhb<-(nb*ps+...
043dcefd674b2b6db79fba259da19a61b16bce0e
efb670f72cb42c1e3a62c0e9c22db5a037e4ba48
/plot1.R
baa12752e6467c4a0b94b31d6dfbf077729f1b33
[]
no_license
nargis-parween/ExData_Plotting1
4de3241a1f44135bd79c97e127e375bde6d767a2
7a60df64d8bcfb5776dcdf424494f1ea36c41800
refs/heads/master
2020-04-18T12:07:41.491768
2019-01-25T10:10:55
2019-01-25T10:10:55
167,510,515
0
0
null
2019-01-25T08:12:54
2019-01-25T08:12:54
null
UTF-8
R
false
false
383
r
plot1.R
data<-read.table("./household_power_consumption.txt", header=TRUE, sep=";", stringsAsFactors = F, dec=".") subsetData<-data[data$Date %in% c("1/2/2007","2/2/2007"),] globalActivePower<-as.numeric(subsetData$Global_active_power) png("plot1.png", width = 480, height = 480) hist(globalActivePower,col="red",main="Global A...
a4ac9798596b5875024671bbf120cbb3fa6c63d3
6b3ca6134352e6692069d0a7e57c3a7ba14e21ae
/man/IsFixedRandomization.Rd
949914d06907917b9e8adf583d0845df5c7b6afe
[ "Apache-2.0" ]
permissive
ovative-group/GeoexperimentsResearch
fe5baeec316ecc19c99fc621cd3f56e960ad2849
c50a1d6f4b21ea7624c27cec5374f4a3a3d76c0e
refs/heads/master
2020-07-05T08:07:57.434144
2019-08-15T17:29:42
2019-08-15T17:29:42
202,583,766
0
0
null
2019-08-15T17:27:12
2019-08-15T17:27:11
null
UTF-8
R
false
false
562
rd
IsFixedRandomization.Rd
% Copyright (C) 2017 Google, Inc. % Generated by roxygen2: do not edit by hand % Please edit documentation in R/geostrata.R \name{IsFixedRandomization} \alias{IsFixedRandomization} \title{Test if randomizing the geostrata can lead only to a single outcome.} \usage{ IsFixedRandomization(geostrata) } \arguments{ \item{g...
1304a5b0384bb4da482cbb0ea39151c9bd63be18
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/RMark/examples/get.real.Rd.R
d3ff3db1bd2c8444383b34819636e2bd9ccc0f4e
[]
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
1,156
r
get.real.Rd.R
library(RMark) ### Name: get.real ### Title: Extract or compute sets of real parameters ### Aliases: get.real ### Keywords: utility ### ** Examples data(example.data) pregion=list(formula=~region) PhiAge=list(formula=~Age) mod=mark(example.data,model.parameters=list(p=pregion,Phi=PhiAge), groups=c("sex","age","re...
d064696770740697cf85b19ff55de06e1ec8667c
563f6e7cdf6916d8cd9a86c7affa4295dcac0695
/some_setup_for_benchtestr.R
8e578f1ca12e5d31c737bcb5a1a6156f7b4762fb
[]
no_license
igorgeyn/benchtestr
1a80b489e738cdfd0ec3ef0cdb7d477aa960f43c
ed9604b859a9568d788068c07cb7ab78ec34fc37
refs/heads/main
2023-05-30T15:00:41.948710
2021-06-11T22:10:33
2021-06-11T22:10:33
366,471,076
0
0
null
null
null
null
UTF-8
R
false
false
2,268
r
some_setup_for_benchtestr.R
##### # This file is to set up some of the things that are going to end up in the `benchtestr` packcage # but which need a bit of TLC. ##### library(haven) library(foreign) library(readstata13) library(dplyr) ### dehejia and wahba data from here: ### https://users.nber.org/~rdehejia/data/.nswdata3.html ## make sure ...
932047ea01bd1ca70d3e829936b46b49f0c66bdc
a6876c8263c51762ff796eeb0a2fee454d81be5c
/playground/sim1_legacy.R
8657b1035c6ac0554d4830225e31f7b68a4d6f56
[]
no_license
jinhao-luo/stat440-project
212df513f2f7cc14f7ae54ca2038ae75bcc869dc
c8c5eb725db4497b2b69f69d2be02ae965ea8ed1
refs/heads/master
2022-12-21T04:19:38.901484
2020-09-26T01:34:09
2020-09-26T01:34:09
249,228,125
0
0
null
null
null
null
UTF-8
R
false
false
2,873
r
sim1_legacy.R
require("TMB") source("smfret-functions.R") gr_mod <- "builtin" # gr_mod <- "main" dyn.load(dynlib(gr_mod)) #' simulation 1 #' #' @param beta0 the value of beta0 #' @param beta1 the value of beta1 #' @param gamma Scalar mean reversion parameter #' @param mu Scalar mean parameter #' @param sigma Scalar diffusion param...
633491a5652e3373c0a9891237c427deb5198fef
44de14d4766f804955ff82adcb7b05c6eb99befd
/inst/SHINYstan/server.R
93febed7171fc57f89403a63cbe802802f75d2bc
[ "MIT" ]
permissive
bibliophiledd/SHINYstan
e9d761750d9e9312b58d89e183a6d2519653f1df
615bff0088de21962011e0c6aa2a92c47b1a11b5
refs/heads/master
2020-12-26T00:46:17.614197
2014-10-19T02:41:18
2014-10-19T02:41:22
null
0
0
null
null
null
null
UTF-8
R
false
false
4,927
r
server.R
library(shiny) # load the helper functions source("functions/SHINYstan_helpers.R", local=TRUE) # Extract the content of the shiny_stan_object slots object <- shiny_stan_object samps_all <- object@samps_all samps_post_warmup <- object@samps_post_warmup sampler_params <- object@sampler_params nIter <- object@nIter war...
2331cd624b06c7e74b1a7ae08bcecf3ac2f3d6a1
cf75f57c49e44070bfb93e04b28e9386a2d2783a
/man/summary.isolationForest.Rd
ea228ae6aca433d157cdded6fb66511c410bd3f0
[]
no_license
ficol/ZUM
f7975b259f2991a56fe4fd14cff5278051ed9953
7e9d3ce484ff47e6246f2c5e6719668c66385114
refs/heads/main
2023-08-17T08:12:40.055435
2021-08-08T03:48:17
2021-08-08T03:48:17
null
0
0
null
null
null
null
UTF-8
R
false
true
374
rd
summary.isolationForest.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/iforest.R \name{summary.isolationForest} \alias{summary.isolationForest} \title{Prints summary information of isolation forest} \usage{ \method{summary}{isolationForest}(X, ...) } \arguments{ \item{X}{Isolation forest object} } \description{ ...
507b1a3b8f0b9da0d806443ca795ebd0909c0d90
6bd40decfeb72585c4497f0acb8c1de4c01d4bfe
/get_vst_crs.R
12d3c5653c182b6f7611c21366b19a95f60de6c1
[]
no_license
mbjoseph/neon-veg
5051deed3f90607448d239886417411f033ff191
68a68f6d1b9cb7aed9b2cf31f7ef80cd580bbfe6
refs/heads/master
2020-03-13T07:14:21.108134
2018-04-25T19:56:06
2018-04-25T19:56:06
131,021,537
0
0
null
2018-04-25T19:56:23
2018-04-25T14:46:52
R
UTF-8
R
false
false
617
r
get_vst_crs.R
get_vst_crs <- function(woody_path){ print("Retrieving CRS...") # define path to vst_plotperyear table, # which contains geodetic datum and UTM zone vst_path <- paste(woody_path, list.files(path = woody_path, pattern = "plotperyear"), ...
23299b164a895fb86a89738ae07decc7ac299470
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/MARX/examples/selection.lag.lead.Rd.R
5d72aa91f3ea8f372ca1ca4ef95b914ad5fc0b72
[]
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
290
r
selection.lag.lead.Rd.R
library(MARX) ### Name: selection.lag.lead ### Title: The lag-lead model selection for MARX function ### Aliases: selection.lag.lead ### Keywords: causal-noncausal selection ### ** Examples data <- sim.marx(c('t',3,1), c('t',3,1),100,0.5,0.4,0.3) selection.lag.lead(data$y,data$x,2)
1138902931d634f397a7ffe8a2a7babfe57433ae
1fe3f749bc6daa62a16f3a263ba4f03845340cc9
/Whale foraging energetics.R
753cd406fda66a05265f761273dbb6dcf0fd8325
[]
no_license
mssavoca/Whale-futures-project
73cbca73ff38c9a54174777b9a68383def9e98e1
2827cafed878bfd5af893b7cbd5556af7862c610
refs/heads/master
2020-04-18T04:28:48.204550
2019-05-09T15:56:54
2019-05-09T15:56:54
167,240,114
0
0
null
null
null
null
UTF-8
R
false
false
11,980
r
Whale foraging energetics.R
############################################# # Preliminary figures for whale futures paper ############################################# # load packages library(ggplot2) library(dplyr) library(readxl) library(ggsci) library(tidyverse) library(mgcv) library(lme4) # formula for standard error SE = function(x){sd(x)/sq...
6bc2fe7650d58d845f2b04135ca0a89a0927627c
ccb34867e8a558f8c32dbd49d4a5a41fbd837c32
/man/add_forecast_dates.Rd
7eb8e016a86d8969a8639cafc98cdc2cece1f866
[]
no_license
cran/dateutils
5e828b7daed410a5149b270f3e204a42f7214620
85960aa5ef9e3b21f1e5ac7184b7b863774da510
refs/heads/master
2023-09-06T03:22:32.461198
2021-11-10T14:50:10
2021-11-10T14:50:10
426,859,304
0
0
null
null
null
null
UTF-8
R
false
true
830
rd
add_forecast_dates.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{add_forecast_dates} \alias{add_forecast_dates} \title{Add NA values to the tail of a wide data.table} \usage{ add_forecast_dates( dt, horizon = 1, frq = c("month", "week", "quarter", "year"), date_name = "ref_d...
b45949bf93729b9debc37918eb84ce858b6b75c4
26b7a8eee606fb480b62c4c958249e40ee52e5a9
/Data_Fusion_Functions.R
3d1e0584eef4fc96bce21bf9575d59df7681a69e
[ "Apache-2.0" ]
permissive
eleafeit/data_fusion
c9269a643b4ce039066268bad0ce322a4d74bc5a
604e03e09ee0b66988adec505e9216e9fbbfcc66
refs/heads/master
2020-03-25T12:07:00.546162
2019-03-01T18:02:00
2019-03-01T18:02:00
143,760,838
1
3
null
null
null
null
UTF-8
R
false
false
2,432
r
Data_Fusion_Functions.R
# Functions for data fusion # Elea McDonnell Feit, eleafeit@gmail.com # 11 March 2016 data.mvn.split <- function(K1=2, K2=2, Kb=3, N1=100, N2=100, mu=rep(0, K1+K2+Kb), Sigma=diag(1, K1+K2+Kb)) { y <- mvrnorm(n=N1+N2, mu=mu, Sigma=Sigma) list(data=list(K1=K1, K2=K2, Kb=Kb, N1=N1, N2=N2, ...
7cbf352294dfafee3bf3ae45a1d98834ea3f75bf
fca98fdbd1e4d7d5c9db53e4f275b61454d4a9df
/Homework1/Homework1-Exercise4.R
e3f1a3d656c1e83ac9f86bc2e94494429828a963
[]
no_license
buzduganalex1/Special-Chapters-on-Artificial-Intelligence
bad231a3773557ad9c31c38169f3c45b87816e3b
74802f6470f2f8e58e59570ff2e0f1164f807d26
refs/heads/master
2020-04-01T21:58:26.875613
2019-01-18T20:26:04
2019-01-18T20:26:04
153,684,480
0
0
null
null
null
null
UTF-8
R
false
false
402
r
Homework1-Exercise4.R
source("Functions.R") x <- readinteger() length(x) print(x) maxValue <- max(x) minValue <- min(x) meanValue <- mean(x) medianValue <- median(x) standardDeviation <- sd(x) standardization <- scale(x) sort(x, FALSE) print(maxValue) print(minValue) print(meanValue) print(medianValue)1 print(stan...
24edd807236546817d417f9e0acc3609e791440a
710db2115cc82992be5419d9f1379faecd32f6cb
/getdata/run_analysis.R
bd9829b376fdce5281bd502a8ab7ccf042b5d715
[]
no_license
asmolich/datasciencecoursera
836c1508f249c886a388ee67c9e9211466a7b2df
d95478923557ceae1001a77e2b4da61464f339ea
refs/heads/master
2020-04-06T06:41:26.959012
2014-08-25T08:22:21
2014-08-25T08:22:21
null
0
0
null
null
null
null
UTF-8
R
false
false
3,012
r
run_analysis.R
data.file <- 'https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip' local.data.file <- './data/UCI_HAR_Dataset.zip' local.data.dir <- './data/UCI HAR Dataset' tidy.data.file <- './tidy-UCI-HAR-dataset.txt' tidy.avgs.data.file <- './tidy-UCI-HAR-avgs-dataset.txt' # Make sure the origin...
868a97b937d45936bb5d599a5d42fcc3fbc7d08f
7a95abd73d1ab9826e7f2bd7762f31c98bd0274f
/meteor/inst/testfiles/ET0_PenmanMonteith/AFL_ET0_PenmanMonteith/ET0_PenmanMonteith_valgrind_files/1615842159-test.R
0a1ec9f972d6367029e22d6f5b7cff943a92ad60
[]
no_license
akhikolla/updatedatatype-list3
536d4e126d14ffb84bb655b8551ed5bc9b16d2c5
d1505cabc5bea8badb599bf1ed44efad5306636c
refs/heads/master
2023-03-25T09:44:15.112369
2021-03-20T15:57:10
2021-03-20T15:57:10
349,770,001
0
0
null
null
null
null
UTF-8
R
false
false
988
r
1615842159-test.R
testlist <- list(G = numeric(0), Rn = numeric(0), atmp = numeric(0), ra = numeric(0), relh = c(-6.87353716589742e-83, 179.214603488924, -6.67707850404722e+133, 5.32948612168953e-320, 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, ...
859ec6f518f617440297dc01d28c5b7d95d94355
e54953d5d7a5ffc1ac2e30b83644e77800a37c68
/cachematrix.R
2ff46fe236957e82fe361b71171c6f2300c18ea5
[]
no_license
gnupate/ProgrammingAssignment2
ec77077fe691f2dbea77cd04c08a323bf3688e2d
c62ddb66a0515686de0290e2252b1ca1968c8262
refs/heads/master
2020-12-26T04:38:50.385893
2015-05-22T17:36:36
2015-05-22T17:36:36
36,083,291
0
0
null
2015-05-22T16:38:14
2015-05-22T16:38:14
null
UTF-8
R
false
false
1,715
r
cachematrix.R
## makeCacheMatrix - creates a new matrix that can keep cached copies of it's inverse ## cacheSolve - finds the inverse of a CacheMatrix, checking for a cached inverse first ## solution by Pat Eyler, based on makeVector and cachemean from assignment ## makeCacheMatrix creates a new version of a matrix with set, get, ...
95ba656acd9fef1a47216d61e729672ef2913c55
cbd70b829a3dffc23bffe01929d7732f2df815f5
/exploratory/detrended_visualization.R
fe691168ae99968cf49e47a72ab1628dbdaf431c
[]
no_license
kimberlyroche/ROL
603ac7a71a0487b1ff999a14cc34681090e299fc
d33c8f63c692a55cdca9c551b718f1c04929d6f8
refs/heads/master
2021-02-18T23:58:43.631388
2020-12-08T23:47:55
2020-12-08T23:47:55
245,254,434
1
0
null
null
null
null
UTF-8
R
false
false
2,739
r
detrended_visualization.R
library(phyloseq) library(ROL) library(ggplot2) # to do: (1) run this for many different individuals # (2) incorporate their lagged AC # (3) ribbon plot for Lambda, Lambda_detrended tax_level <- "ASV" data <- load_data(tax_level = tax_level, host_sample_min = 75, count_threshold = 5, sample_threshold = ...
e88a4b532cae62224dca90e72c9d9c3a821ca642
5f73594e48bc6913ece984b713f227762b00aa94
/tfa-package/man/world_pop.Rd
08446f5d835bd296dea1d011d30b5db1c4bb2061
[]
no_license
raquelsimoes/tfa
962eb8bc29f94448d68348da0a94ad39546869f3
2debe0c04ceee03f383331a1001ba94f6438fcd1
refs/heads/master
2023-09-02T22:51:50.623832
2021-11-23T08:57:26
2021-11-23T08:57:26
null
0
0
null
null
null
null
UTF-8
R
false
true
488
rd
world_pop.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{world_pop} \alias{world_pop} \title{World population} \format{ A data frame with 376 rows and 2 variables: \itemize{ \item \strong{Zip} Zip code. \item \strong{Area} Name of area. } } \source{ Gapminder project (ht...
56c1be9c75d5ef963fcc141956c4994f1825e0f6
619c4321ffc122fa0333a7e35e6fba16d1f9368b
/man/FarmerB_N_sec35middle_2016.Rd
63d44b3c4c8a317b305c1b59cf096bf120ae2b2c
[ "MIT" ]
permissive
paulhegedus/OFPEDATA
4a6c3add78208f0250139c55d061f31775d56789
ae70c5d8ad4fe154fd4b746a7ec43f3031a6e0a9
refs/heads/master
2022-12-22T21:51:29.566593
2020-09-14T00:14:19
2020-09-14T00:14:19
278,233,610
0
0
null
null
null
null
UTF-8
R
false
true
1,290
rd
FarmerB_N_sec35middle_2016.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/FarmerB_N_sec35middle_2016.R \docType{data} \name{FarmerB_N_sec35middle_2016} \alias{FarmerB_N_sec35middle_2016} \title{FarmerB_N_sec35middle_2016} \format{ A data frame with 5802 rows and 10 variables: \describe{ \item{\code{id}}{integer ID ...
864be1b8cc589fcdeff104e9abf7641793deeed8
e3d8bbcc3424296f5d3e0cc3b516b31173776c2f
/R/Day 1 - Data generation solution.R
5e30dc136a36b1a0ce3dff9355391e364d3c65ec
[]
no_license
gbisschoff/grad-training
5ed911f5d8e14ff02caf34e57f688aa4b132ef07
586db2156ee787841c109b1668d750c981f11535
refs/heads/master
2021-05-14T11:43:35.395413
2018-01-24T13:10:56
2018-01-24T13:10:56
116,390,664
0
1
null
null
null
null
UTF-8
R
false
false
1,429
r
Day 1 - Data generation solution.R
# Day 1 - Data generation solution PD<-dlnorm(seq(0.05,3,by = 0.05), meanlog = 0, sdlog = 1, log = FALSE)/6 generate_account<-function(id,PD){ id<-paste("account",id,sep = "-") segment<-sample(LETTERS[1:3],1) start_balance<-runif(1,5000,6000) interest_rate<-runif(1,0.05,0.20)/12 n<-60 pmt<-start_ba...
8457a611f119666463295d72012c01365618907f
83900fae385d232cc5d84b18d3fa9bdaf5a05432
/KnnProject.R
cd44f1dc1aa24ac79c209e44e3efe47963ce08a7
[]
no_license
vinaysheelwagh/machine-Learning-model-evaluation
5eca7f93acae0ea6500b74fd0b1463160a16fca1
23f6b6e967b3273538ce1e673441606e81f4c33b
refs/heads/master
2020-12-15T17:15:21.069015
2020-01-20T20:33:20
2020-01-20T20:33:20
235,191,396
0
0
null
null
null
null
UTF-8
R
false
false
2,558
r
KnnProject.R
# Load packages packages <- c("dummies","descr","ROSE","ggplot2", "dplyr", "MASS" ,"pROC","caret","e1071","corrplot","data.table","Amelia","arm","ModelMetrics","class") lapply(packages, library, character.only = TRUE) knnShoppersData <- read.csv("C:\\Users\\Vinaysheel Wagh\\Downloads\\online_shoppers_intention.csv",h...
fc9a94aaeaa02ff2c226c84f5ecc7f5fa1f74757
0575a2c951639cfe77812dd33f8f024898b4a932
/man/make_labels_quarters.Rd
aaf048dcc2817f3f559e7b4fbd3c4933a4837b4f
[ "MIT" ]
permissive
bayesiandemography/demprep
8f400672fbbee9d92f852056d4ff7cb31a7fc87a
3aa270ff261ab13570f3ba261629031d38773713
refs/heads/master
2021-12-29T04:00:24.929536
2021-12-16T22:15:01
2021-12-16T22:15:01
204,109,024
0
0
null
null
null
null
UTF-8
R
false
true
1,752
rd
make_labels_quarters.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/make_labels.R \name{make_labels_quarters} \alias{make_labels_quarters} \title{Make Quarters labels} \usage{ make_labels_quarters(x) } \arguments{ \item{x}{A list of Date vectors.} } \value{ A character vector } \description{ Make labels with ...
5fa1de807098c63f56f2b86b8f60079bc9394f23
b9c02efd9d459a64beb87a7d459f128e9365d18b
/R/filter_trace_length_percentile.R
a19aa2d164691e9cd9fa457612c13693e686e8bb
[]
no_license
cran/edeaR
0cc89ba53b436438f2ef21904605ae68ee91f039
4a77e919794ac7e6c65fdac4bb015a7e0c5562ea
refs/heads/master
2023-05-14T01:22:27.650585
2023-04-27T07:33:06
2023-04-27T07:33:06
54,409,808
0
0
null
null
null
null
UTF-8
R
false
false
266
r
filter_trace_length_percentile.R
filter_trace_length_percentile <- function(eventlog, percentage, reverse) { eventlog %>% trace_length("case") %>% slice(1:ceiling(n()*percentage)) %>% pull(1) -> case_selection filter_case(eventlog, case_selection, reverse) }
c9c6864605f4e8564ffb31781d829b205fe3bf84
3c78721fd0fe8fcf8b058a734f84157b5d2a0b55
/man/cigarFromMSA.Rd
c6a93392aa64ae56ae29d8f9d8d1fd085787f8cd
[]
no_license
HLindsay/AlignmentTools
424acc8b2695a8ce77dcca41d05805e72719f41c
4eea239de9593829560b02a41eef359eac6afac6
refs/heads/master
2021-08-19T04:06:39.511149
2017-11-24T17:55:15
2017-11-24T17:55:15
111,944,363
0
0
null
null
null
null
UTF-8
R
false
true
1,024
rd
cigarFromMSA.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cigarFromMSA.R \docType{methods} \name{cigarFromMSA} \alias{cigarFromMSA} \alias{cigarFromMSA,MsaDNAMultipleAlignment-method} \alias{cigarFromMSA,DNAStringSet-method} \title{CIGAR from Multiple Sequence Alignment} \usage{ cigarFromMSA(aln, .....
bc240847c4da9196cb4122958dec6ed446683e6a
b2f61fde194bfcb362b2266da124138efd27d867
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1+A1/Database/Miller-Marin/trafficlight-controller/tlc02-nonuniform-depth-11/tlc02-nonuniform-depth-11.R
c4d4bac12f781f85c09d488b1b1234203d4fc389
[]
no_license
arey0pushpa/dcnf-autarky
e95fddba85c035e8b229f5fe9ac540b692a4d5c0
a6c9a52236af11d7f7e165a4b25b32c538da1c98
refs/heads/master
2021-06-09T00:56:32.937250
2021-02-19T15:15:23
2021-02-19T15:15:23
136,440,042
0
0
null
null
null
null
UTF-8
R
false
false
76
r
tlc02-nonuniform-depth-11.R
97c52f06a567f0fcdfb0944fe72bc6cd tlc02-nonuniform-depth-11.qdimacs 2749 7240
3e2b8ccc136a1f90ae3fa6229ee8678c2dd2eaae
a5e0580feef4a95e17d90f032ed610d1056eb5a2
/plot3.R
699110202a4e8bf42a0a091dd467bf026a65ca34
[]
no_license
aloha6131/exploratory-data-analysis
8d8d9c7be3d48310e1e4883eb897e1e137ebc146
a18c9600ca5e5752552ebee70cdb97f5467e83b6
refs/heads/master
2021-01-01T04:03:54.672870
2017-07-24T16:35:13
2017-07-24T16:35:13
97,117,013
0
0
null
null
null
null
UTF-8
R
false
false
1,183
r
plot3.R
#### plot3.R #### Sys.setlocale(category = "LC_ALL", "en_US.UTF-8") if(!file.exists("PowerData.zip")) { fileURL<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" download.file(fileURL,"PowerData.zip") unzip("PowerData.zip") } data <- read.csv("household_power_consumption.t...
4652b1037659c94abec363cf928d7c73c89ffe99
795007f0a113ff47068bfa5207cb627f4a354b77
/R/cleanQ.R
a7e895b850c6fc4b9dd37dac6aa6bc1f072afd26
[]
no_license
soohyuna/tidyQ
d6cacbf5ff28931d1aac58268c20503db28a9a14
f84c8359b1279d8e0da1ff6b7cbe9542e8cb5a7f
refs/heads/master
2021-05-26T04:51:26.794845
2020-09-03T15:42:15
2020-09-03T15:42:15
127,472,337
1
2
null
2019-07-31T20:31:22
2018-03-30T20:56:26
R
UTF-8
R
false
false
889
r
cleanQ.R
#' A function to clean a xls imported data frame #' #' @param df A data frame. #' @param sep_samp Separate sample column into individual columns. #' @param sep_var Variables of variables to be separated. #' @return Data frame suitable for downstream tidyQ analysis. #' @keywords clean, tidy, import #' @export cleanQ <...
2e4e8cb2ae58d2aea97db001ec7e7d14ddb2573a
99278dd1a2fb43892203f02ec4ae0f1f373d557b
/man/l_ccmaps.Rd
844baec9dde7f6dc4cca171749b85f02069b697d
[]
no_license
z267xu/loon.micromaps
d7b09e328d76f064f1a1bdd2e5cee6a728cb6ce3
e61d45e14fafae1cbd9ea52f3cf00b552e29652d
refs/heads/master
2020-03-28T21:09:46.880675
2018-09-23T15:14:18
2018-09-23T15:14:18
149,134,122
0
0
null
2018-09-17T14:01:46
2018-09-17T14:01:46
null
UTF-8
R
false
true
4,609
rd
l_ccmaps.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/l_ccmaps.R \name{l_ccmaps} \alias{l_ccmaps} \title{Conditioned Choropleth Maps (Conditioned Micromaps) in loon} \usage{ l_ccmaps(tt = tktoplevel(), cc_inspector = TRUE, title = "CCmaps", spdf, respvar, respvar.lab = NULL, cond1var, cond1var...
1b7a902e81ef0d2f09f2129a736cc53fa888810f
007c8de3044306dcdab75eec267541d986d83203
/R/get_data.R
ced982acf5fcd8065230595a7f7a14a83c90ddf2
[]
no_license
patperu/refpal
69e92999b4a7d47d8b2edb765517d4863a3054c2
78dfcd71a3689f4674235fa28808c441e0367894
refs/heads/master
2021-01-01T03:36:33.447705
2016-05-01T16:28:25
2016-05-01T16:28:25
56,458,166
0
0
null
null
null
null
UTF-8
R
false
false
439
r
get_data.R
#' get results #' #' @export #' @param url An URL get_refdata <- function(url) { # url <- "http://referendum2016.comune.palermo.it/AFFLSEZ_1_82053_R1.xml" x <- xml2::read_xml(url) %>% rvest::xml_nodes('SV') %>% rvest::html_attrs() x <- data.frame(do.call("rbind", x), stringsAsFactors = FALSE) x$...
6d90ffff9b170d197655099980f0f652e14d3049
eae65f35c5096b07b944b15a28d598b3e4879cb7
/gwmodel_final.R
8802c267703c3123c13d7fd5dc2eb684c23d5f87
[ "MIT" ]
permissive
ptjacobsen/Spatial-MN-Lakes
d8973eda2292ebd39e3e951b591afc4c8feb6912
99bfed23091e4525b86ef0259401b717d705b8d4
refs/heads/master
2020-03-22T14:19:28.863897
2018-08-27T16:24:43
2018-08-27T16:24:43
140,170,076
0
0
null
null
null
null
UTF-8
R
false
false
4,703
r
gwmodel_final.R
setwd('/home/ptjacobsen/Geocomputation/Dissertation/MN Lakes/') library(GWmodel) library(sp) library(rgdal) source('P/gwmodel_plotting.R') read_lc_file <- function(ring_size,year) { lc <- read.csv(paste0('D/Land Cover/Land Cover Surrounding Lakes ',ring_size,'ring ',year,'.csv')) lc$wet <- (lc$OW.share + lc$WW.sh...
aae00a2dea01a05919522f47bf4a69d9ca7d5a8e
a3768945aa97c3e226fceaa1cdd5ec4ae79ecd3e
/tm_overall_scraper.R
5e1c7a33ffe2656993abb021a054a5508ac90aa7
[]
no_license
Rahminatti/useful_nba_datasets
89c2d1799130dbdfd4e8ce527e840b0e6061f8dc
ce78ef0ff888a9d99daf6cbe2acf4c92ffca0570
refs/heads/master
2022-12-06T02:15:19.202488
2020-08-19T13:14:38
2020-08-19T13:14:38
null
0
0
null
null
null
null
UTF-8
R
false
false
1,018
r
tm_overall_scraper.R
#################################################### # This script simply scraped the team stats for each # team from 2005 to 2018 form bball reference. #################################################### setwd("~/Desktop/Threes and Layups Articles/Useful Things") source('tm_table_scrape.R') years <- seq(2005, 2020,...
1127b2e43b89db5987f40d5bccc3b2442a7ef156
a3b4006dd6b77ff0818c751d9c6ae6d32c8a0377
/tests/testthat/test-compatibility.R
cc41a49103124c628112c6964e287909eb7ac1c5
[ "BSD-2-Clause", "MIT" ]
permissive
tidyverse/readxl
98a61dbb111848100783d5c977becee6cf3cd749
3aa8c2ddf9f1d8921f2a8b42ae0bdfa69a22ed9b
refs/heads/main
2023-07-20T16:12:41.510109
2023-07-07T02:58:27
2023-07-07T02:58:27
32,161,666
432
130
NOASSERTION
2023-02-08T23:07:26
2015-03-13T14:50:20
C++
UTF-8
R
false
false
3,196
r
test-compatibility.R
test_that("can read document from google doc", { iris_1 <- read_excel(test_sheet("iris-excel-xlsx.xlsx")) iris_2 <- read_excel(test_sheet("iris-google-doc.xlsx")) expect_equal(iris_1, iris_2) }) ## #180, #152, #99 ## Some 3rd-party s/w writes xls where lastcol is 0-indexed, like lastrow ## Changed an inequality...
eac2d2d677d605426296600ae6602bf7046fdf4b
c998dd2344823de1b36045f5a940e116401414c0
/vector.R
e68d7338339ebd15f596efae7262370588d32291
[]
no_license
shivangg99/analytics
f77b040ef2c9ff39682649056fa13fb86f9a8e80
183e5e43e275c4dd609003707d64fd9db7a27127
refs/heads/master
2020-03-28T15:22:30.651594
2018-09-16T11:54:05
2018-09-16T11:54:05
148,586,231
0
0
null
null
null
null
UTF-8
R
false
false
1,417
r
vector.R
#vector---- a<-1:10 a x=c(1,2,3) x1=1:1000000 length(x1) x2=seq(10,100,2) x2 ?seq x3=seq(from=10,to=100,by=4) x3 #numeric vector---- (marks=rnorm(30,mean=60,sd=10)) mean(marks) median(marks) mode(marks) #no mode sd(marks) var(marks) summary(marks) boxplot(marks) length(marks) range(marks) str(marks) class(marks) his...
55787a8e4b99ce80dc0e33316a13d212a25b83fb
c7e56ac69989a3668fa2d97cac45a15792ebe982
/NSFgrants/newgraphs.R
a12447eed6087186781e66ce173a0d94fe9d58d6
[]
no_license
kaleidopop/NSFgrants
641662970b194008d24084f280fe0431dcff2758
2ad1892785997ceb4830bad6cc59c5d3acf24d52
refs/heads/master
2021-01-10T09:37:25.890298
2015-12-21T23:46:34
2015-12-21T23:46:34
48,297,812
0
0
null
null
null
null
UTF-8
R
false
false
4,977
r
newgraphs.R
############################################################################################### INTRO ### Idenitfy the gap ggplot(schoolsall,aes(x=obligation_action_date, y = logcost)) + geom_point(aes(color= action_type )) ggplot(schoolsall,aes(x=obligation_action_date, y = fed_funding_amount/100000)) + geom_p...
1ccab7209a6de6115b38c5892b441bdb11537ac5
d2bccceacfb75e84c076a53725ce0f2cc42c89a5
/R/Essay 1/tmp2.R
f87e8d79000219fe5754f92154e74e40cf26be3e
[]
no_license
DawnGnius/Nonparameter
596f9caf7ba3eede694ca709489c049871a9d1b8
b323eeffa5791b3fa9f4a94507f0422a2f763612
refs/heads/master
2020-07-24T15:11:44.302449
2019-12-16T05:21:22
2019-12-16T05:21:22
207,965,123
0
0
null
null
null
null
UTF-8
R
false
false
1,008
r
tmp2.R
# check if Z is decreasing with h set.seed(111) n <- 200 Num.Cmp <- 8 pro <- rep(1/8, Num.Cmp) multi <- sample(1:Num.Cmp, n, replace = T, prob=pro) mu <- 3*((2/3)^(1:Num.Cmp)-1) sigma <- (2/3)^(1:Num.Cmp) x <- NULL for (ii in 1:Num.Cmp) { com_txt <- paste("com", ii, " <- rnorm(length(which(multi==", ii, ")), mean=", ...
0a3f6052fa9a9f0f2b3078ef5480b68942db1029
e39d5cdbf492b38b7e0fe310aff51c78fa09a557
/R/getSampleSimilarity.R
07da76f8631df7386793134bcacf355c875998e1
[ "MIT" ]
permissive
quevedor2/WadingPool
4589c991e2421af5e860f55a37f3069995a6465c
29790a79d7826b64fadc627cba115d7880e295e0
refs/heads/master
2023-05-04T15:28:09.913925
2021-05-21T12:50:04
2021-05-21T12:50:04
339,831,237
1
1
MIT
2021-03-16T23:45:42
2021-02-17T19:19:40
R
UTF-8
R
false
false
7,681
r
getSampleSimilarity.R
#' Generates a similarity matrix #' @description Takes a path to a directory that contains #' the [CHR]_filt.snps files and processes each to generate #' a similarity matrix using a given similarityFun. If no #' similarityFun is given, it generates one using the default #' Jaccard metric. #' #' @param similarityFun ...
69eeb07364acfb2125f5a39f35d943aee0054c0f
7b08112912ba3ee4dc20488b687c817d2134798c
/geo_data_preprocessing.R
ab5883dcf8246f97574e66c2a87b3ff9594503c6
[]
no_license
heonedream/geo_learn
ef1efbd0db3c91aa44c986d9459756d2db90306b
0489923b548cceb0fdec4b58d1aa48b85a879fbc
refs/heads/master
2020-05-22T18:12:10.329945
2017-03-18T06:05:09
2017-03-18T06:05:09
84,713,068
2
0
null
null
null
null
UTF-8
R
false
false
2,149
r
geo_data_preprocessing.R
source("http://bioconductor.org/biocLite.R") biocLite("affy") biocLite("affyPLM") biocLite("RColorBrewer") biocLite("limma") biocLite("pheatmap") ########################### #set the working directiory setwd("E:\\geo_learn\\T") setwd("E:/geo_learn/T") library(affy) Data<-ReadAffy() sampleNames(Data) image(Data[,1]) lib...
e98f6188a2cb17773fd5adf6c15ff0df52d44600
16787859609e486c6e32ceaadbe683c235f27c28
/R/initExtension.R
70c56722144cdf0c4631f54413957ad317ae0c9a
[]
no_license
duncantl/RSQLiteUDF
f5be24d291794c05e8a493717154f5ab475bb1e9
facde807e1403157d08df578a81d2f4828e09bc0
refs/heads/master
2021-01-10T12:21:15.928711
2021-01-02T03:25:48
2021-01-02T03:25:48
46,583,707
6
0
null
null
null
null
UTF-8
R
false
false
431
r
initExtension.R
initExtension = sqliteExtension = function(db, dll = getLoadedDLLs()[[pkg]][["path"]], pkg = "RSQLite") { if (!db@loadable.extensions) stop("Loadable extensions are not enabled for this db connection", call. = FALSE) dll = path.expand(dll) if(!file.exists(dll)) stop("Cannot f...
d60741a430e0e60d579f71daf3dd6da636faf21c
22d901378a2b4a0c40f1e245ac8409b0ffdddfd0
/actresses/sridevi.R
583aff623a5d2f31b94e74737fe3b770aa4f7ad0
[]
no_license
puneeth019/Bollywoodata
af494b0f235e27c8b7428049d2cb2d90082df876
ab42780776920a8e9bd412a41acdc1ad899759f7
refs/heads/master
2020-05-21T23:55:29.807646
2017-03-27T09:01:21
2017-03-27T09:01:21
65,877,598
4
0
null
null
null
null
UTF-8
R
false
false
6,902
r
sridevi.R
# Sample script to scrape table from webpage library(rvest) # Load `rvest` package library(dplyr) # Load `dplyr` pacakge library(stringr) # Load `stringr` package setwd("~/Documents/DA/Projects/Project1/actresses/") # Set Working directory file_url <- "https://en.wikipedia.org/wiki/Sridevi_filmography" # Assig...
a095268d29e84195332411653b1ad12d1fe08339
91f820de113ba22fabcf3ba10ed650229381d24a
/untap.1.0.R
bc5af1915a4b81088f623f9a4a3b208a7d0e02ed
[ "MIT" ]
permissive
wsupko/ontap
421d1156de855d5c1316ca08bbff28efcafa86a8
b5517c9f7f1ab901a9e27b0a297ad529427f934b
refs/heads/master
2021-05-04T14:45:38.725112
2018-02-15T15:49:16
2018-02-15T15:49:16
120,211,205
0
0
null
null
null
null
UTF-8
R
false
false
1,882
r
untap.1.0.R
#'--- #'title: "Ontap" #'author: "Wojciech Supko" #'date: "4 lutego 2018" #'output: github_document #'--- #+ r setup, include=FALSE knitr::opts_chunk$set(echo = TRUE) ### Install (if not available already) required libraries ### if (!'data.table' %in% installed.packages()) {install.packages('data.table')} if (!'RPo...
54c96e0763a435dd85843492f551aa37dc8a95ce
c3352c6e4471c5e7c8682825b84dd8270b31507d
/man/triangulate_quads.Rd
f21cd4c7dff19c06534e0078f51b3920fdc4083c
[]
no_license
MilesMcBain/quadmesh
2f6f7a17276a55ffb74fc2fdfa39d12a41dd54b3
712dfa1d9c05d936222c0e5768866ed118690623
refs/heads/master
2020-04-07T04:44:14.081500
2018-11-18T09:57:59
2018-11-18T09:57:59
158,069,412
1
0
null
2018-11-18T09:49:24
2018-11-18T09:49:24
null
UTF-8
R
false
true
1,374
rd
triangulate_quads.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/primitives.R \name{triangulate_quads} \alias{triangulate_quads} \title{Triangles from quads} \usage{ triangulate_quads(quad_index, clockwise = FALSE) } \arguments{ \item{quad_index}{the 'ib' index of quads from 'quadmesh'} \item{clockwise}{i...
47868ece1b257e6e16d2c0057da95d57a8ab8b3d
0a906cf8b1b7da2aea87de958e3662870df49727
/ggforce/inst/testfiles/enclose_points/libFuzzer_enclose_points/enclose_points_valgrind_files/1609956110-test.R
56b322269a52575726fe4f30481a3eea0fb9df85
[]
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
116
r
1609956110-test.R
testlist <- list(id = -1L, x = numeric(0), y = NaN) result <- do.call(ggforce:::enclose_points,testlist) str(result)
c3702fef92a0de52afb6ef6e7e5f35db4ef99c2d
f55448b4b0e3c848c4f6904a27df040b6023d3e5
/R/ttt_fs.R
7f3e0cfd6d9595b4ca0a2c4e79ce466312222949
[ "MIT" ]
permissive
rich-iannone/ttt
dcb2308871b3b636de2fb3d6e24ecfdec15c6232
507b1fcb1bbe95bed55dd2aeeafbd4232a0ebe1f
refs/heads/main
2023-06-22T21:14:43.835098
2018-05-28T16:14:17
2018-05-28T16:14:17
126,098,267
5
0
null
null
null
null
UTF-8
R
false
false
929
r
ttt_fs.R
#' Get location of the ttt_dir #' #' Get the directory path for the hidden ttt directory. #' @export where_ttt_dir <- function() { path.expand("~/Documents/.ttt/") } #' Get a vector of files in ttt_dir #' #' Get a vector of all files in the ttt directory. #' @param full_names an option for showing the #' directory...
4135d6768f76dd9b4db9488821e186dd2f3544d4
82ab2c8f0a83950560bc22803cc38cd816c0527c
/man/get_routes_by_search_text.Rd
f6800fe67dc769b9408aa5a1524bb51e915ad287
[ "MIT" ]
permissive
Tina-ye112/kiaora
ae65a496617f40f26543db0b2936dde9a2d3ac4c
dad037e2e26d0ad937634fb925a5bafb15ec5de5
refs/heads/master
2023-03-07T22:18:22.779104
2021-02-22T20:27:30
2021-02-22T20:27:30
318,342,410
0
0
null
null
null
null
UTF-8
R
false
true
473
rd
get_routes_by_search_text.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/akl_transport.R \name{get_routes_by_search_text} \alias{get_routes_by_search_text} \title{Get routes by search text} \usage{ get_routes_by_search_text(search_text = NULL) } \arguments{ \item{search_text}{string text to search} } \value{ A tib...
68f353af534cb7451da19323ab4bdfbf6c204cc2
93286036db17d0a5d6f49031ff109e48ee4688d0
/scrabble-score/scrabble-score.R
bc3782476c66a2f0820fcd9a6b652d046e35c21f
[ "MIT" ]
permissive
stephenfeagin/exercism-r
378dbf2f1c89e1d0703a48cbb2ab52df37f40056
0ac8a5b4a0e726fa97dce2b7e9ae9ffaa77e08f0
refs/heads/master
2020-04-11T19:02:55.171832
2018-12-17T01:23:32
2018-12-17T01:23:32
162,020,200
0
0
null
null
null
null
UTF-8
R
false
false
584
r
scrabble-score.R
scrabble_score <- function(input){ # Split the input into lowercase characters chars <- strsplit(tolower(input), "")[[1]] # Make a lookup list for the scores lookup <- list( "aeioulnrst" = 1, "dg" = 2, "bcmp" = 3, "fhvwy" = 4, "k" = 5, "jx" = 8, "...
356fb8ac30422f501067114dd28c5de60bb9759e
801b67f78c8f78cb40ce641e4282c73a9b34d634
/XOR Neural Net Expanded Example.R
71b45dfe7c405cec4c2f53a45cb6c08cfbcda754
[]
no_license
NerdParker/SVM-Xor-Neural_Network_Machine_Learning
c0ee43e0a13e42b31244332880c2f676ca4a0568
b2c5291952f689bcb27ce510a00ff4a69ab583de
refs/heads/master
2020-06-01T15:14:53.375197
2020-02-28T01:08:47
2020-02-28T01:08:47
190,829,727
0
0
null
null
null
null
UTF-8
R
false
false
2,942
r
XOR Neural Net Expanded Example.R
install.packages("neuralnet") install.packages("ggplot2") # Sample multivariate Gaussian distributions library(MASS) # R neural networks package library(neuralnet) covariance_matrix <- matrix(c(0.05, 0, 0, 0.05), 2, 2) covariance_matrix # Number of points in each row points_row <- 4000 # Rows 1-4 one ...
a8c689fca5438ba81db81e0e468b68e0a20fd7d6
195c2364d6cbf6031e13e4aa5afa37a14b541e4b
/assessent3.r
f8e4a3e67454f8cbcc9740b4180a20746ed50999
[]
no_license
Dulan-A/Learning-0
8170fbac50eaf946b321ad0b049c4223c74e18ed
5f822c720a243138d35730dd164c719d7a3bbe64
refs/heads/master
2023-01-14T09:30:53.729378
2020-11-07T12:06:46
2020-11-07T12:06:46
289,175,709
0
0
null
null
null
null
UTF-8
R
false
false
696
r
assessent3.r
library(Lahman) top <- Batting %>% filter(yearID == 2016) %>% arrange(desc(HR)) %>% # arrange by descending HR count slice(1:10) # take entries 1-10 top %>% as_tibble() Master %>% as_tibble() top_names <- top %>% left_join(Master) %>% select(playerID, nameFirst, nameLast, HR) top_names top_salary <- Sa...
be37bcd14301c5edbb290031490c32620bc8ddc2
7f72ac13d08fa64bfd8ac00f44784fef6060fec3
/RGtk2/man/gtkWidgetGetAllocation.Rd
f714c62811d8b3c61dbad79ce640168cafa8649f
[]
no_license
lawremi/RGtk2
d2412ccedf2d2bc12888618b42486f7e9cceee43
eb315232f75c3bed73bae9584510018293ba6b83
refs/heads/master
2023-03-05T01:13:14.484107
2023-02-25T15:19:06
2023-02-25T15:20:41
2,554,865
14
9
null
2023-02-06T21:28:56
2011-10-11T11:50:22
R
UTF-8
R
false
false
492
rd
gtkWidgetGetAllocation.Rd
\alias{gtkWidgetGetAllocation} \name{gtkWidgetGetAllocation} \title{gtkWidgetGetAllocation} \description{Retrieves the widget's allocation.} \usage{gtkWidgetGetAllocation(object)} \arguments{\item{\verb{object}}{a \code{\link{GtkWidget}}}} \details{Since 2.18} \value{ A list containing the following elements: \item{\ve...
7bbdb99fcc9e9e87c47dd05241bd1ea18718b11a
6f9c463239c2150428f2cc3079d1768dbb885634
/calibration/explore_hydro_params_using_response_curve.r
da8e756bf5acbf2abb4d750564fbb02f3af91321
[]
no_license
Dave-Evans/wisconsinRiverTMDL
ebd1bb43a6c37a79bbed848dcd7da41fb263d634
3f6b8f91c59db4056944454ed466a2ac8a1e44bb
refs/heads/master
2021-01-14T11:25:48.196968
2014-12-10T19:41:58
2014-12-10T19:41:58
27,941,509
2
0
null
null
null
null
UTF-8
R
false
false
3,674
r
explore_hydro_params_using_response_curve.r
# run SWAT for different crops using a range of bio E # This should be run with MONTHLY output (code 0) wd = "H:\\WRB\\Scenarios\\Default\\TxtInOut" setwd(wd) dir_out = "H:/sim_flow/hyd_params" source("C:/Users/evansdm/Documents/Code/validation/functions_query_output.r") file_obs_flow_lu = "T:/Projects/Wisconsin_R...
6e61129fafb2eb724729a5c1c3c0c34c13aa512b
81ee39303513c84cc83ca7751bcc35bbc90087d8
/man/E.MTAB.386.Rd
4619aee9dcdf53b856736ca2352928c4992460c5
[]
no_license
bhklab/MetaGxData
547531d9fa5fd80d04e75a094332143786b0ab4c
0d253edc56cf74b299bed618cd0d5cbc94dd08fe
refs/heads/master
2021-01-15T12:10:38.309031
2020-12-03T14:38:38
2020-12-03T14:38:38
43,975,358
2
3
null
null
null
null
UTF-8
R
false
false
204,744
rd
E.MTAB.386.Rd
\name{ E.MTAB.386_eset } \alias{ E.MTAB.386_eset } \docType{data} \title{ Angiogenic mRNA and microRNA gene expression signature predicts a novel subtype of serous ovarian cancer. } \description{ Ovarian cancer is the fifth leading cause of cancer death for women in the U.S. and the seventh most fatal worldwide. Althou...
f61136a654921cf7abb2dcc6f2af73e4bea173df
e089b43cad0c3b820ca64fc3fc9a52c690cd428d
/man/theme_soe.Rd
a97b4c6369ab5623360192f44ee8be97850a7677
[ "LicenseRef-scancode-proprietary-license", "OGL-Canada-2.0", "Apache-2.0" ]
permissive
bcgov/envreportutils
d4f2149a57a5c05c3d1313ba81b8cd8dde25247d
65371ee1cd6a9f35dd761ac9be582eb01a77cca7
refs/heads/master
2022-11-04T16:34:25.314578
2022-08-23T21:31:10
2022-08-23T21:31:10
34,545,077
13
4
Apache-2.0
2022-11-03T22:41:29
2015-04-24T22:29:40
R
UTF-8
R
false
true
490
rd
theme_soe.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/theme_soe.r \name{theme_soe} \alias{theme_soe} \title{Default theme for EnvReportBC graphs and plots} \usage{ theme_soe(base_size = 12, base_family = "Verdana") } \arguments{ \item{base_size}{base font size (default = 12)} \item{base_family}...
a9be94cb6d8c2b32f1a7e46a6759f85bfdb4bdd7
2d02b08eb66d83596e238bc1eeb3a7f24d23cfff
/cooccurence.R
0d1464de3395c0b0a1dba2626443678531345cdc
[ "MIT" ]
permissive
coreyabshire/ivmooc-gtap
a8b9339055578dc61bc2db6a05f2b655650ae6f4
886f954b56054b5fa6a79c3ed1038effacd898f0
refs/heads/master
2021-01-01T18:42:53.711835
2015-05-02T17:51:32
2015-05-02T17:51:32
32,621,491
0
0
null
null
null
null
UTF-8
R
false
false
2,738
r
cooccurence.R
## Co-occurence network # Inspired by: http://stackoverflow.com/questions/13281303/creating-co-occurrence-matrix # # co-occurrence of exported commodities # load("trade.clean") ctrade = subset(trade, value > 10000) ctr1995 = subset(ctrade, year == 2009) dim(ctr1995) colnames(ctr1995) head(ctr1995) ctr1995$imp = N...
7f9fdd7f227f246290656189d5ef986d8442dcca
0c925dc2d7aa2461f20b42d86fd66619a3bd31e0
/man/filter_for_loinc.Rd
0da6f7605a0f10a72ca22e0002d5d689fd785d59
[]
no_license
meerapatelmd/metaoriteSQL
cfc69887ed06c552ac67256fc95b530263b29c65
932cc16b3dace2319fc8373cab82e5d8a8facc52
refs/heads/master
2023-01-29T07:09:09.547666
2020-11-29T21:31:03
2020-11-29T21:31:03
299,144,522
0
0
null
null
null
null
UTF-8
R
false
true
273
rd
filter_for_loinc.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/filter_for_loinc.R \name{filter_for_loinc} \alias{filter_for_loinc} \title{Filter MRCONSO output for LOINC} \usage{ filter_for_loinc(mrconso_df) } \description{ Filter MRCONSO output for LOINC }
6baa9d73795effd30e39725caef2d1c87cf35f80
55f7894436bc7b3b6e51631daa9a0bf11a91debb
/R/onlineCPD-internal.R
09d2f8889bce09e841273df0e3e7c59c0f7cfdc6
[]
no_license
cran/onlineCPD
fe2c0a36a7618c3cfb69eebd372a8e48c6738533
721bda0483a9f8e5737ca8b24ea1ddad1eeb0d8e
refs/heads/master
2020-12-08T06:37:31.528416
2016-08-23T20:00:17
2016-08-23T20:00:17
66,390,808
1
0
null
null
null
null
UTF-8
R
false
false
8,246
r
onlineCPD-internal.R
.Random.seed <- c(403L, 10L, -507304177L, 642976325L, -288277508L, 797049426L, -1208983603L, -832022137L, -1484927890L, 182596680L, -2102653365L, -917904471L, -2064831752L, -738968026L, 819722049L, 1823325395L, 216375426L, -526295372L, 513301047L, 1584275757L, -1305628092L, -1799655574L, -1127506987L, -299803281L, ...
66f5b6fd575396fbed055d4bbc403069c1d56db0
1a604107dfff182200e5438a4fd5d90a8dc1f377
/pred_find_exact_string_match.R
d1a4207b9f1d88f7da4c087444b1b39cba7647e4
[]
no_license
Bixi81/R-ml
5ef025de1612b5589641d315857d79e6ea29aca4
1a4a478d3f005a29f75d5d8280ddc287c7a5be1e
refs/heads/master
2021-07-03T08:17:14.218404
2020-11-16T08:56:10
2020-11-16T08:56:10
194,518,570
2
0
null
null
null
null
UTF-8
R
false
false
206
r
pred_find_exact_string_match.R
mylist = list("rm", "ff", "ffu", "fkw") mylist[1] # Find the position of an exact match # Use word boundaries grep("\\bff\\b", mylist) mylist[grep("\\bff\\b", mylist)+1] # Or which which(mylist == "ff")
711f882acee54d08681f75527a74bb2f7dcc6609
0a906cf8b1b7da2aea87de958e3662870df49727
/ggforce/inst/testfiles/enclose_points/libFuzzer_enclose_points/enclose_points_valgrind_files/1609955648-test.R
6561814f2aa6e71cd1334c0873c760107f194e38
[]
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
1,257
r
1609955648-test.R
testlist <- list(id = integer(0), x = c(0, 0, NaN, NaN, 1.08646184497373e-311, NaN, 3.08608224361818e-319, 9.61235670663551e+281, 3.96573944649364e-317, 0, 4.53801546776667e+279, 9.80104716176339e+281, 2.88109526018606e+284, 7.06327445644536e-304, 7.1071553048134e-15, 6.8181059126092e-322, 0, -3.27585619210153e+221...
c1f3fad5f8484b7d7b18cf72fdf3c6159cbbe511
6cb3879ab6685ca0812185d61dc7c88f2cb29e7a
/Problem 30/Problem 30.R
d02c8498fc8a1182ed46b3fa2193817884b9e3b5
[]
no_license
samuelweller21/Project-Euler
d471d7002ec2af45bcdd5299441f97eabfe5232f
0b301ab818449265212a353b3c2b2d21bf039c31
refs/heads/main
2023-03-29T00:07:04.335150
2021-04-05T19:22:22
2021-04-05T19:22:22
354,944,630
1
0
null
null
null
null
UTF-8
R
false
false
365
r
Problem 30.R
max = 200000 return.sum = function(x, p) { sum = 0 for (j in 1:nchar(toString(i))) { l = as.integer(substr(toString(i), j,j))^p sum = sum + l } return (sum) } big.sum = 0 for (i in 1:max) { sum = return.sum(i,5) if (sum == i) { cat(i, "\n") big.sum = big.sum + sum } }...
3049068a12953364c58bdaddad39a13fc31af346
aebca85114388224fc24481fdfce04be048110db
/man/renamecols.Rd
6dd72c8988756426b69864675f9bd5c91aa55ea1
[]
no_license
mssm-msf-2019/BiostatsALL
4f79f2fbb823db8a0cbe60172b3dcd54eac58539
0623dd13db576b2501783b31d08ae43340f2080b
refs/heads/master
2020-05-25T15:16:01.949307
2019-05-21T18:11:12
2019-05-21T18:11:12
187,864,190
2
0
null
null
null
null
UTF-8
R
false
false
473
rd
renamecols.Rd
% Generated by roxygen2 (4.1.0.9001): do not edit by hand % Please edit documentation in R/renamecols.R \name{renamecols} \alias{renamecols} \title{A function that changes the names of a dataframe columns} \usage{ renamecols(db, suffix) } \arguments{ \item{db}{dataframe} \item{suffixb}{dataframe} } \descr...
011574b0564c97c62add2901f54ce38a592d1607
e8b72b3d1ddc401b3afcfdb539698a61ca03511a
/random forest of compay sales.r
6e4bdb4be24eb3abbe965c790a413db063f82c54
[]
no_license
lalitha2997/Random-Forest
4df705ae2ecab86198de38705175523b6d287377
5b6ec7cf916e7150500834e3b2f69567f6155d18
refs/heads/main
2023-04-23T15:30:59.232971
2021-05-08T13:18:43
2021-05-08T13:18:43
365,516,572
0
0
null
null
null
null
UTF-8
R
false
false
5,188
r
random forest of compay sales.r
##importing company data set company=read.csv(file.choose()) View(company) company$Sales=cut(company$Sales,c(0,5,10,15),labels = c('low','avg','high')) View(company) ##performing some EDA tequnics table(company$Sales) summary(company) plot(company) boxplot(company) sum(is.na(company)) ##visuvalization using ...
ffeb08c4f2459cae3d0733127f820c95589b1ceb
b6a204dd6f659d91a371ae79bd86fe646ee86169
/unique_rank.R
55b312581e6e62c977e1363e774cd6496f4087cf
[]
no_license
LIUXXiaotong/simulation_ranks-of-the-subjective-likelihoods
dbb3a45d1a95605b240f26de5c2f8f7fd4328014
5b65f731b4692407a4e5b8ef21925bd5c0be2b35
refs/heads/master
2022-11-30T09:25:48.734364
2020-08-17T12:57:21
2020-08-17T12:57:21
253,451,047
0
0
null
null
null
null
UTF-8
R
false
false
2,471
r
unique_rank.R
library(tidyverse) options(digits = 4) ### reason: the after the mathmatical operations, the maximum digit we have is four ### rank function myRank <- function(x) { rank(-x, ties.method = "average") } ranking <- function (b, a_b, a_B) { ##input: P(B) & P(A|B) & P(A|¬B) a = a_b * b + a_B * (1-b) ## P(A) = P(A...