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
9e602b3ce4559c818f1ec3d078c19526065e0b43
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/speedglm/examples/speedlm.Rd.R
a1af60c1b98c935f3abd7e0983b7dc68e0223b06
[]
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,880
r
speedlm.Rd.R
library(speedglm) ### Name: speedlm ### Title: Fitting Linear Models to Large Data Sets ### Aliases: speedlm speedlm.fit speedlm.wfit update.speedlm ### updateWithMoreData ### Keywords: models ### ** Examples ## Not run: ##D n <- 1000 ##D k <- 3 ##D y <- rnorm(n) ##D x <- round(matrix(rnorm(n * k), n, k), digits...
20504aad3cf6ad2e3409cb12ad5ef4d6e43f49fa
942b499a16ff485928e6a005ce641a204bab251a
/man/generate.excitation.Rd
c50db3334a5a6faf01897593fca7a871a78c5ffc
[]
no_license
dcourvoisier/doremi
c16032fbfd8254f03d52643ebd01df1e1ce63d84
f2adc5037fef7e621eec4c32990896f3279e67ab
refs/heads/master
2022-01-26T21:38:26.947001
2022-01-13T09:42:00
2022-01-13T09:42:00
175,785,185
0
0
null
null
null
null
UTF-8
R
false
true
3,214
rd
generate.excitation.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/doremi.R \name{generate.excitation} \alias{generate.excitation} \title{Excitation signal generation} \usage{ generate.excitation( amplitude = 1, nexc = 1, duration = 2, deltatf = 0.1, tmax = 10, minspacing = 1 ) } \arguments{ \ite...
e63789b7ae6327a762dc837ec723959ad3d3dab5
b21426c84a4e69c69b14c983e7c5fa050b627e71
/R/pdl_report_td_df.R
723668ce0bb6dc89dd049a81aad0a2f68fdbd4c8
[ "MIT" ]
permissive
rmsharp/snprcspf
ca32e15b14ba0e1bfd818f90b98755ea26f44a58
154ef8face204fd24e15899c2f5ac8ac908e9961
refs/heads/master
2021-03-22T08:04:36.009143
2020-06-14T02:49:26
2020-06-14T02:49:26
92,219,026
0
2
MIT
2020-04-02T23:33:59
2017-05-23T20:49:40
HTML
UTF-8
R
false
false
2,102
r
pdl_report_td_df.R
#' Returns dataframe with parsed content of pdl_report #' #' @param pdl_report list containing $content and $meta that make up the #' complete data from PDF PDL report file. #' @import stringi #' @export pdl_report_to_df <- function(pdl_report) { file_name <- get_pdl_report_file_name(pdl_report) order_pk <- get_pdl...
c1a1a0e3344f782551580a004a598801c476b0af
9aafde089eb3d8bba05aec912e61fbd9fb84bd49
/codeml_files/newick_trees_processed/5815_0/rinput.R
c90fd517c2642f8fa89b7c434bd0aeda9117bf9e
[]
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("5815_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="5815_0_unrooted.txt")
dd172aa600e2873014fe31bba1ed490c2875f6e7
421366a39299a1a82bd0f2a42e667da7fc602b62
/man/MergeRfandEnetPredictions.Rd
d4ea8a9f0b27f9e110f9a22caba264d519a5afde
[]
no_license
thomasferte/PredictCovidOpen
363ef4cc9006696d5fa16c2ac4bdf9b58882a476
2468b0006a6f19310a9f8c7de6aa46979f19d627
refs/heads/main
2023-03-17T19:28:52.863817
2023-01-26T09:51:38
2023-01-26T09:51:38
496,952,863
0
0
null
null
null
null
UTF-8
R
false
true
639
rd
MergeRfandEnetPredictions.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/MergeRfandEnetPredictions.R \name{MergeRfandEnetPredictions} \alias{MergeRfandEnetPredictions} \title{MergeRfandEnetPredictions} \usage{ MergeRfandEnetPredictions(df_test, lsmodelEnet, lsmodelRf, OUTCOME, FORECAST) } \arguments{ \item{df_test...
b25721b0dc4b946bc6557cbba6a2fca73d9ec84e
527ce6da569f9a58334b0c91877950a53ebc29e1
/R/0_ff_simulate.R
ffce64f971ba2d07bf450819a94ee82f3d6c33d2
[ "MIT" ]
permissive
mrcaseb/ffsimulator
7967a637be2ec9d06ab4f18f285acf10f7c5c881
4747b37544f7339bb841d4da4a10e38df01828f3
refs/heads/main
2023-06-10T07:01:02.987403
2021-07-04T19:43:02
2021-07-04T19:43:02
383,100,971
2
0
NOASSERTION
2021-07-05T10:25:48
2021-07-05T10:25:47
null
UTF-8
R
false
false
4,222
r
0_ff_simulate.R
#' Simulate Fantasy Seasons #' #' The main function of the package #' #' @param conn an connection to a league made with `ff_connect()` and friends (required) #' @param n_seasons number of seasons to simulate, default = 100 #' @param weeks_per_season number of weeks per season, default = 14 #' @param best_ball a logica...
1876ce9414a9c8a37e25969b72c4de673859edea
5aaa149e2fad457ff61928a609a9d106d486cffd
/man/get_event_rsvps.Rd
04dd986ddc8931d435353486fe4570cb3de207ae
[ "MIT" ]
permissive
decktools/meetupr
4df6031dc73f97f5f63f1e4b14b3ced595e537b2
113986e9361f0bfc48d9255c31987d9ba8071af0
refs/heads/master
2023-02-04T14:30:13.184976
2020-12-19T17:24:05
2020-12-19T17:24:05
321,782,654
0
0
NOASSERTION
2020-12-16T14:55:59
2020-12-15T20:34:40
null
UTF-8
R
false
true
1,426
rd
get_event_rsvps.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_event_rsvps.R \name{get_event_rsvps} \alias{get_event_rsvps} \title{Get the RSVPs for a specified event} \usage{ get_event_rsvps(urlname, event_id, api_key = NULL) } \arguments{ \item{urlname}{Character. The name of the group as indicated...
d2983edcd8e2c7a469cef1238020ce7fc5e70ece
aed99786f997fabe16404351480bb801cde4b56f
/RecommendationSystem/RecommendationSystem.R
8eb43115f08aa46655058c73e74d7e6861787870
[]
no_license
JaivalBhup/RDataScienceProjects
b333f96edd02fcc0d8962af04569094f02a6c03d
ed1ac2593c74d64986d908641f76fde4eb5a0b8a
refs/heads/master
2022-12-04T20:30:54.840710
2020-08-20T05:23:48
2020-08-20T05:23:48
288,914,171
0
0
null
null
null
null
UTF-8
R
false
false
2,468
r
RecommendationSystem.R
library(dslabs) library(tidyverse) data("movielens") library(caret) set.seed(755) test_index <- createDataPartition(y = movielens$rating, times = 1, p = 0.2, list = FALSE) train_set <- movielens[-test_index,] test_set <- movielens[test_index,] test_set <- test_set %>% semi_join(tra...
108d4c89d6ce00ce8ad2f9fb109bccbe71548e46
100145ba710bf41813800aff99d4748bd902fe51
/SourceCode.R
89cabfe8967b031576d504726e2a832db0697d9e
[]
no_license
iportnoy1/General-Skills-Test-Dataset-and-Source-Code
6b4cd308cac124c3284739ecce28f6c34f4b6da1
7b07aced6c58be5d506ef3344fe9b62c00dde4a2
refs/heads/main
2023-05-08T18:48:18.775436
2021-06-01T03:15:43
2021-06-01T03:15:43
370,750,348
0
0
null
null
null
null
UTF-8
R
false
false
3,998
r
SourceCode.R
library(vegan) library(mdatools) library(psych) library(resample) library(igraph) library(reshape2) library(qgraph) library(psych) library(corrr) library(ggplot2) library(dplyr) library(GGally) library(stats) library(dgof) setwd("C:/Users/idpdl/Desktop/Paper Jessica") #Loading Data X <- read.csv('Deid...
a88d58055e00af6c214ba53138139bf214b7fdff
736873b12d3d5e3b3c4314a0aa1b9a029d4875c2
/Performing_clustering_and_evaluation_of_clusters.R
b28fb17932c17135c0dc4b4f5a3293700b0c804e
[]
no_license
pushkarmittal1996/Similarities-of-World-trade-networks
29ca113c0bdb29abc6a0d4a7c699f4f971cedf13
188c2069c96ef6a01f881c19062f116c96341285
refs/heads/master
2020-07-16T03:19:44.675037
2019-09-01T21:37:50
2019-09-01T21:37:50
205,707,767
0
0
null
null
null
null
UTF-8
R
false
false
4,673
r
Performing_clustering_and_evaluation_of_clusters.R
rescale <- function(x) (x-min(x))/(max(x) - min(x)) * 100 dat <- rescale(dat) library(dplyr) library(tidyr) library(ggplot2) ## method 1. WSS :compute the total within sum square error, this measures how close # are the points in a cluster to each other # [Distance] : calculates the sum squared distance of a given ...
689f56816820413da601be00e5f035f37cff477f
6a11d7abcaf6fded7f7d0b423be0dd9aa12bbc99
/man/validate.Rd
b3dd741f8230dda14de070c62af263455a838fbc
[]
no_license
cran/spacesRGB
e312a05e70e1b760ec8619113015f9e6ed223f31
93c0fd64db8a873d3b7da9f0eb15f2dfde3a86be
refs/heads/master
2021-12-09T08:39:59.256040
2021-12-06T04:30:02
2021-12-06T04:30:02
135,997,194
0
0
null
null
null
null
UTF-8
R
false
false
1,847
rd
validate.Rd
% File validate.Rd \name{validate} \title{Validate a TransferFunction by applying some simple Tests} \alias{validate} \alias{validate.TransferFunction} \description{ Each \code{TransferFunction} object is actually a list of so-called \emph{elementary} transfer functions; for details on this see \code{\link...
c09e9435f55123b1fc360c65e23a52802160e9e5
80d82a839691562bc2f76903c1435d48ad137e2b
/run_analysis.R
4d37b41825a9598adb4157015f050d4578545510
[]
no_license
grimli/gettingCleaningProject
8b64e9e00ee94401842aeea1b1380f36b93e3858
f1f9a0ee387bb44fb109c1ce68ce9781940b1631
refs/heads/master
2020-03-30T14:06:52.011463
2015-05-19T20:20:21
2015-05-19T20:20:21
35,772,426
0
0
null
null
null
null
UTF-8
R
false
false
4,333
r
run_analysis.R
#this scripts expect the data uncompressed in a directory named "UCI HAR Dataset" under the working directory #as first step load plyr library to be used later library(plyr) # Read all the required data into data frame from the files # the data frame will be named as the files # general interst data activity_labels ...
99e568e0cc9196b83fa9b6abefe2f19b991760b7
d4993f92e71c70ca13cde160565fbdbb165251a7
/example_model.r
190fe11f3c6fbb15ba8867e643a15628509c30ba
[]
no_license
Frjo0083/example-scripts
3604dcac5f5e803ff0614b389b2daaca326aa080
233ca3582685342c2ab9f3d736ae80327ed87d37
refs/heads/master
2022-12-02T04:35:49.326605
2020-08-17T17:42:30
2020-08-17T17:42:30
288,244,426
0
0
null
2020-08-17T17:32:58
2020-08-17T17:32:58
null
UTF-8
R
false
false
12,547
r
example_model.r
#Tutorial and Tips for Numerai #*** #The stock market is the hardest data science problem in the world. #If it seems easy, you're doing it wrong. #We don't know how to solve this problem. But here is what we know. #We need your help. You take it from here. #*** library(magrittr) library(tidyverse) library(...
06220cf4884bac0ee33bcc1fa5a321edf4d1dc2f
c32a17abe0b8838ce0625b1272f840f0d220b9e1
/cachematrix.R
122b51d82e7f02ca6b6e209380c1376b0a2414fe
[]
no_license
sokhals/ProgrammingAssignment2
9630fc93851ffe5c6dd295f4aa592b804aa1bd83
664f6081aabfd9abbba5691e946441d2170c044d
refs/heads/master
2021-01-18T09:39:48.136129
2014-12-20T06:30:42
2014-12-20T06:30:42
null
0
0
null
null
null
null
UTF-8
R
false
false
2,756
r
cachematrix.R
## This program set the value of the given matrix and find the ## inverse of the matrix. If inverse already exists then it returns ## the inverse else it returns the inverse for the given matrix. ##GIVEN: The matrix ##FUNCTION: It creates a list that has function which serves following ## purposes. ## 1. It...
2cf286a720999f99f14a8129d41f0ec63aca041f
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/rbhl/examples/bhl_namecount.Rd.R
8199222f4581183644681b44167028b4f984671d
[]
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
332
r
bhl_namecount.Rd.R
library(rbhl) ### Name: bhl_namecount ### Title: Return the number of unique names found on pages in BHL. ### Aliases: bhl_namecount ### ** Examples ## Not run: ##D bhl_namecount(startdate = '12/25/2009', enddate = '12/27/2009') ##D bhl_namecount(startdate = '10/15/2009', enddate = '10/17/2009', as='json') ## End(...
4560b39377f5302147371dae4946917038a637f4
c527b9fd330ad3284230bfdbcd791acabd0d618e
/predictZOO.R
6373e2b442f29b7fcae6ad044209399f649a7d8a
[]
no_license
RMORSEcode/NEhabitat
c1aa66d7e37899d080fa58d775b56e3e764bb1f1
b7622199b77d4fbc86ee14a21ba691a1db5edd66
refs/heads/master
2022-10-14T12:50:39.882458
2022-09-21T15:00:02
2022-09-21T15:00:02
206,566,972
0
0
null
null
null
null
UTF-8
R
false
false
11,984
r
predictZOO.R
# Choose slctseason="FALL"; fishseas="Fall"; SEASON='Fall' slctseason="SPRING"; fishseas="Spr"; SEASON='Spr' # Testing GAMs on zooplankton abundance zoo=FData.abn %>% dplyr::select(YEAR, SEASON, LAT:BOTSALIN, calfin_100m3:rug) zoo$MONTH=month(FData.abn$EST_TOWDATE) zoo=zoo[complete.cases(zoo),] zoo2=zoo[which(zoo$SEAS...
b30fbd3103e6b9c3d528d09a5aac74140f5667ff
b5c1b6ddcd5bbee3fa72d31f3bae261cadc3268f
/R/Utils.R
d26ac9c06de0058d14b321ab74be2d11fc5c0399
[]
no_license
APCC21/rAPEX
2835ee59d2287efb6b5140858a726365558ee2ae
5c771ddbf38233308876b1553c15371f991fd36c
refs/heads/master
2021-05-13T20:33:08.075946
2018-01-10T05:58:09
2018-01-10T05:58:09
116,914,242
0
0
null
null
null
null
UTF-8
R
false
false
4,153
r
Utils.R
# ctrldir <- NewEnvList$ctrldir # ctrlfile <- NewEnvList$ctrlfile # rundir <- NewEnvList$rundir # soldir <- NewEnvList$soldir # wnddir <- NewEnvList$wnddir # wp1dir <- NewEnvList$wp1dir # dlydir <- NewEnvList$dlydir # opsdir <- NewEnvList$opsdir # RunNo <- 1 #############################################################...
02d4f1c6f9c56f8102129c9b17261301d4b4f185
2c46f227e81ceec714b4a0170ae39bb0b74bfd5d
/R/extra.R
e88c125cdbf13514e531c9638877874791d1079d
[]
no_license
tengfei/chromatoplots
f25d95a521ca09eceb79498588df9b1f93047ae6
858cec990aafbf58b8e95bbdc37414a7ac6b833c
refs/heads/master
2021-01-02T09:33:06.358088
2013-07-12T07:03:15
2013-07-12T07:03:15
926,471
0
0
null
null
null
null
UTF-8
R
false
false
2,691
r
extra.R
## cplotViewBL2 by basic graphci, so could be easy to embed into animation ## cplotViewBL2 <- function(object,protocal,raw,mz,xlim=NULL,ylim=NULL,type='l',subtract=T){ ## time <- raw@scantime ## mzmin <- raw@mzrange[1] ## rawint <- raw@env$profile[mz-mzmin+1,] ## corint <- object@env$profile[mz-mzmin+1,] ## i...
38056487972abd1744d48cdfa7c934e2c3524255
76b146e6530e98a8fcd15a93ac821ca09fad22e7
/gt-compare.r
c66ab8adc93757236461369063f637c75cfc30ae
[]
no_license
ctan2020/test
af8e4ce8aca05979b2f49cdeba7bd1d9c1d2f6f0
28e093ed4a4dee31b0fd73ef1d126d54a51068aa
refs/heads/master
2020-09-08T12:12:03.068436
2019-11-13T07:33:55
2019-11-13T07:33:55
221,129,575
1
0
null
null
null
null
UTF-8
R
false
false
844
r
gt-compare.r
argv <- commandArgs(T) df <- read.table(argv[1],header=F,sep="\t") vt <- c("Commander","Fleet","Hindmash","La_Trobe","Scope","Vlamingh","WI4304") diff <- matrix(0,ncol=7,nrow=7) rownames(diff) <- vt colnames(diff) <- vt comm <- matrix(0,ncol=7,nrow=7) rownames(diff) <- vt self <- numeric(7) names(self) <- vt fo...
8f043d9616333abb1d0c23ce038694db54c897ca
92626a21f23ab35e82cb439255e10cde2a7047c1
/man/Tsoil.Rd
99f3bc11e8ed0a51814d3e977ca4beae42859c16
[ "MIT" ]
permissive
ArchiYujie/TrenchR
04630ddd078eca187a517c0c98e59065b3054a74
f45c2f0b54eab4ce578c0b3b631f9d93058ba731
refs/heads/master
2023-07-16T22:25:21.419072
2021-08-26T21:30:12
2021-08-26T21:30:12
null
0
0
null
null
null
null
UTF-8
R
false
true
2,451
rd
Tsoil.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/energybalance_functions.R \name{Tsoil} \alias{Tsoil} \title{Statistical approximation of soil temperature} \usage{ Tsoil(Tg_max, Tg_min, hour, depth) } \arguments{ \item{Tg_max}{daily maximum soil surface temperature (°C)} \item{Tg_min}{dail...
7ac058d2908eed38aa28fe8f127a13edec5164ee
8c1daa6967fd693652dd1eac38a9f666fc65c8ee
/man/classify.variant.Rd
16f8139c847c80345c20790d11fcc83287c74029
[]
no_license
cran/varitas
ae90d05e61f5004a07d09ec5861724218215fdcd
603e4ec1d6d90678eb54486f7a0faf6a76a14114
refs/heads/master
2021-01-13T21:42:36.802682
2020-11-13T23:30:03
2020-11-13T23:30:03
242,504,094
0
0
null
null
null
null
UTF-8
R
false
true
454
rd
classify.variant.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/helper_functions.R \name{classify.variant} \alias{classify.variant} \title{classify.variant} \usage{ classify.variant(ref, alt) } \arguments{ \item{ref}{Vector of reference bases} \item{alt}{Vector of alternate bases} } \value{ Character vec...
211f1bcd9d974e1541d6bb6d4a332dc601021e77
4359d75816ac645b6b80e72b75068f1d4ffc5164
/man/stacked_bar_ses.Rd
fe867e9c480a28a2f224ef14275ebac2dceba990
[]
no_license
Changing-Cities-Research-Lab/seattleViz
04e5e3cfad30a57b632614fed310729ebc2b0a7b
fbcb42776e3dbf74153f24d509801d7b5cfb288d
refs/heads/main
2023-04-13T15:55:07.183707
2021-04-12T23:06:48
2021-04-12T23:06:48
337,885,525
0
2
null
2021-02-25T06:54:14
2021-02-10T23:48:54
null
UTF-8
R
false
true
980
rd
stacked_bar_ses.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/stacked_bar_ses.R \name{stacked_bar_ses} \alias{stacked_bar_ses} \title{Produce panel of stacked bar charts of SES by a 'periods' column} \usage{ stacked_bar_ses( dat, var, y_title = NULL, save = F, savename = "plot.png", title = ...
961875b02af9dd8ef170f34f7d6e558fe1df1b99
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/MASS/examples/rnegbin.Rd.R
4d67ac4a3d6bfedb0b35831209625fe3917c0264
[]
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
288
r
rnegbin.Rd.R
library(MASS) ### Name: rnegbin ### Title: Simulate Negative Binomial Variates ### Aliases: rnegbin ### Keywords: distribution ### ** Examples # Negative Binomials with means fitted(fm) and theta = 4.5 fm <- glm.nb(Days ~ ., data = quine) dummy <- rnegbin(fitted(fm), theta = 4.5)
f47382068f5738174d16982ef2b127765e08fb21
ea1f64b248492c2ade00097b7de4e63880965f0f
/man/summary.textmodel_wordshoal_fitted.Rd
1d441d6d4952751d5cb9e9cbf500f04766adfc30
[]
no_license
amatsuo/wordshoal
e485e4b90ff4c00d5479d9c43c70998ffbe85666
951a57671ab536921435167e756599d4b98effce
refs/heads/master
2021-05-10T13:38:52.497458
2017-12-27T19:23:14
2017-12-27T19:23:14
118,483,291
0
0
null
2018-01-22T16:27:17
2018-01-22T16:27:17
null
UTF-8
R
false
true
549
rd
summary.textmodel_wordshoal_fitted.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/textmodel_wordshoal.R \name{summary.textmodel_wordshoal_fitted} \alias{summary.textmodel_wordshoal_fitted} \title{Summarize a fitted textmodel_wordshoal object.} \usage{ \method{summary}{textmodel_wordshoal_fitted}(object, ...) } \arguments{ ...
3d1cf1e18b00bd747d4a19cb15cd1fe6efae8ee7
37220ae10e03d433b9574d92671958f3efc3e18f
/R/AllClasses.R
992b2a8049757625f2f571c9919c48f95ddd4ea6
[]
no_license
ge11232002/JASPAR2016
20ca180b3d842baa8274b497e50f022a5a1e8a9a
2a2354b063e4e3170b2ffca1b47a618509e5e47c
refs/heads/master
2021-01-10T11:20:24.971892
2015-12-31T15:10:53
2015-12-31T15:10:53
48,853,136
2
0
null
null
null
null
UTF-8
R
false
false
103
r
AllClasses.R
setClass("JASPAR2016", slots=c( db="character" ) )
45963a82152760aa7f395034a76cdf11fd0ab8b1
e4c1423e571869c1247a40c90dae0615adc62bcf
/parse_aux/aux_results.R
95d43c57c12d66c0a319391a43dbe9f50d2a6295
[ "MIT" ]
permissive
dquesadacr/Rep_SDDL
23621c8ba7d3af41966f061a6922f48fdfdf2954
1c77a1809f119b1247d4345127f7012a4374309a
refs/heads/main
2023-04-09T15:23:40.729104
2022-01-16T13:53:34
2022-01-16T13:53:34
448,561,119
0
0
null
null
null
null
UTF-8
R
false
false
25,302
r
aux_results.R
# Written by Dánnell Quesada-Chacón # Collection of functions to parse and plot the validation metrics fix_index <- function(x, models) { index <- (x %>% redim(drop = TRUE))$Data if (length(dim(index)) == 2) { dim(index) <- c(1, prod(dim(index)[1:2])) } else { dim(index) <- c(nrow(index), prod(dim(index...
2afc1f300d06b9b499d5076732768fb7497d60a3
fdf19c5e406df9d9f52409a18bd77e4b120eb87f
/R/tmt_transformer.R
138d2151e7ef710a6f57fd0d8fbde8e334111f80
[ "MIT" ]
permissive
MassDynamics/lfq_processing
d2325cabb0d50779d9ea5beb8596fefb815e0bca
5480744fbdfc4aea014dec6589e86b3dc2b0f632
refs/heads/main
2023-05-12T02:28:48.982754
2023-05-04T03:28:00
2023-05-04T03:28:00
341,805,035
4
0
null
null
null
null
UTF-8
R
false
false
2,995
r
tmt_transformer.R
#' Run Pairwise Protein Quantification on each level of TMT Maxquant output #' #' @param mq_folder A maxquant txt output folder. #' @param output_folder An output folder to store produced files. #' @param imputStDev The Standard Deviation parameter for MNAR Imputation #' @param imputePosition The Position parameter for...
c31b56905194221cb2f02b4f8964d962ef53c9e8
c910ef2f737ae2b109e35d5c483f18a686d42baf
/R/juveniles_BioEnObservedRates.R
8c464e26ba1f1fa4722d3c9fd5272b74b21a26a6
[ "MIT" ]
permissive
wStockhausen/rPacificCod
132318a9d0961c1ce487b2edecd44a2e7f00c6b0
a2339cd1d0a5af6ed94e7ef11e7e64c8ff4473a6
refs/heads/master
2021-08-07T14:20:52.672997
2021-03-19T16:55:37
2021-03-19T16:55:37
246,152,660
0
1
null
null
null
null
UTF-8
R
false
false
2,297
r
juveniles_BioEnObservedRates.R
#' #' @title Calculate observed growth (J/g fish/day) of a (nominally) 6.8 g fish as function of temperature #' #' @description Function to calculate observed growth rate (J/g fish/day) of a (nominally) 6.8 g fish as a function of temperature. #' #' @param T - temperature (deg C) #' @param EDc - energy density of Pacif...
96b2e3d6a17da9174e7ae2818f8dd2f45b9e4102
2e3acb734fb139d33619cae6f7dab9da22ab98e5
/tests/testthat/test_adjacent_thresholds.R
c3ac05953f6e59d36855dcf15bb9328ebe21bb75
[]
no_license
avalcarcel9/rtapas
72e5b4dd0416809438be19b39949cc102cbb4327
f1968a5962d82f10c776a01c4103be3caa443eac
refs/heads/master
2020-04-14T21:38:08.361861
2020-03-27T13:37:34
2020-03-27T13:37:34
164,134,749
1
8
null
2020-03-25T14:45:49
2019-01-04T17:13:30
R
UTF-8
R
false
false
1,624
r
test_adjacent_thresholds.R
########################### # Alessandra Valcarcel # Tests for adjacent threshold detection in training # Created: November 14, 2019 # Updated: November 14, 2019 ########################### # Non-adjacent thresholds are detected and error out testthat::test_that("Test non-adjacent tied thresholds during tapas_train er...
bba21f168c4192d00fe915b73c8470938be9097f
2c4a048e0b3063f003fc5179690cda49ea182f40
/tests/testthat.R
4ffc6c6e4e4f0e9178fea3653eb29eaf66a0c8e6
[]
no_license
md0u80c9/SSNAPInterface
ec2782a1be700cb8bb2112148dbe620b35d804ff
ddd3d46ca080d8d677c459ac8c398375b99c0a86
refs/heads/master
2020-09-07T01:51:30.652250
2019-11-09T09:40:29
2019-11-09T09:40:29
220,620,861
0
0
null
null
null
null
UTF-8
R
false
false
72
r
testthat.R
library(testthat) library(ssnapinterface) test_check("ssnapinterface")
cd5ecbca53811c743595825f07389a616a04efbd
4ae8357183a22e92625b11541af76a2c0ebb9d8e
/R/shiny.R
531f6daf8079fbd865ccd1f0251cb93809204eff
[ "MIT" ]
permissive
ropensci/iheatmapr
795a25a6f772e59fcb23bcc1e51901651546c654
2fc34790d5af20e9fe99e7752c958ef8f470e2ad
refs/heads/main
2023-08-13T15:40:10.593628
2023-07-25T05:07:22
2023-07-25T05:07:22
85,225,301
202
33
NOASSERTION
2023-07-25T05:13:46
2017-03-16T17:44:27
R
UTF-8
R
false
false
3,243
r
shiny.R
#' Shiny bindings for iheatmapr #' #' Output and render functions for using iheatmapr within Shiny #' #' @param outputId output variable to read from #' @param width,height Must be a valid CSS unit (like \code{"100\%"}, #' \code{"400px"}, \code{"auto"}) or a number, which will be coerced to a #' string and have ...
c9d5a95d77efd2267b66e04f43ec9ef0468a5331
ac9c0d6dff162a23018ad56fcbca468703ad051c
/introduction.R
2885f7e2d5c2ed478f785885a1246544d0b4e5c1
[]
no_license
WL-Biol185-ShinyProjects/COVID-and-Race-analysis
ae59f5e9f91cd2f6bc5681711ab779a64bacd934
8e271173905823a8324e9fb472840eb028b7be35
refs/heads/main
2023-01-23T00:04:36.592230
2020-11-20T20:06:07
2020-11-20T20:06:07
300,344,672
0
0
null
null
null
null
UTF-8
R
false
false
4,439
r
introduction.R
library(shiny) library(shinydashboard) library(markdown) introductiontext <- fluidPage( titlePanel("The Coronavirus Disease 2019 in the United States"), column(width = 6, box( title = "Background on the COVID-19 Pandemic", width = NULL, background = "purple", "Since the i...
7cbafaea68c1a951192f42d96bb51ff99cd8030e
abd91368a4e3842af3fe15bc7aad78fc8c96a81e
/tests/testthat.R
c545e23b04561b58aed98b696f38b3eaa19661a2
[ "MIT" ]
permissive
RMHogervorst/nsapi
5d5df709ebbf576f58d8be5a1fe8cdb1a9d2fab4
9b97dc6c71557892093f616fc51facdf24542646
refs/heads/master
2023-03-18T00:37:19.422575
2023-03-06T16:21:18
2023-03-06T16:21:18
141,177,406
2
0
null
null
null
null
UTF-8
R
false
false
54
r
testthat.R
library(testthat) library(nsapi) test_check("nsapi")
4081caabafd0910ecf1b64a9afd2bd310924a4be
49d99fe88067e9e0db38fcd4058df6dc722d6886
/man/slice.eventlog.Rd
11adf39891e18d7b29ead5db1b46c5ec4ebe57dd
[]
no_license
marijkeswennen/bupaR
e7616ae191f21bccfb7f0494b090f750d054e0c1
568f6d882f5babe68afc1e00101353e7eab4e045
refs/heads/master
2021-08-11T10:18:48.674592
2017-09-04T20:12:26
2017-09-04T20:12:26
110,561,508
0
0
null
2017-11-13T14:54:02
2017-11-13T14:54:02
null
UTF-8
R
false
true
349
rd
slice.eventlog.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/slice.eventlog.R \name{slice.eventlog} \alias{slice.eventlog} \title{Slice function for event log} \usage{ \method{slice}{eventlog}(.data, ...) } \arguments{ \item{.data}{Eventlog} \item{...}{Additional Arguments} } \description{ Return a sl...
d7d743790d5ff3d7850adc771c9e99ed594abfef
a4359fa2784abb2b619d1e74b8b989e02bc19d0f
/R/deprecated.R
133b365028bbae90143799ba859cccd61c3bb1b1
[ "MIT" ]
permissive
syncrosim/rsyncrosim
2decddd287399b388838e80f1e0f1caf401dbcd6
cd0a5853c3e3beed5216087c03f60a73a1dd5dca
refs/heads/dev
2023-08-31T23:35:57.073921
2023-08-31T22:45:46
2023-08-31T22:45:46
169,151,965
8
8
NOASSERTION
2023-08-17T13:40:51
2019-02-04T21:23:14
R
UTF-8
R
false
false
6,221
r
deprecated.R
#' Add module #' #' `r lifecycle::badge("deprecated")` #' Please use \code{\link{addPackage}} instead. #' #' @param filename character string or vector of these. The path to an .ssimpkg #' file on disk, or a vector of filepaths. #' @param session \code{\link{Session}} object #' #' @keywords internal #' #' @export ad...
7d348354277f33a50684f92671ef1a424afff0a5
4e99758fd592b1cdf575c3fbb6177c26bb006af4
/code/proprotional test.R
50e1df29b2d79483a8127e8a4af30a601d3603de
[]
no_license
kyle810828/advancedatascience
e731c059e038d1984782d1dfbbec52a3c278fe41
5d2eba090b657350b41f5487531b8044cfb1a818
refs/heads/master
2021-01-21T13:29:39.153796
2017-10-24T23:13:45
2017-10-24T23:13:45
102,121,004
0
0
null
null
null
null
UTF-8
R
false
false
659
r
proprotional test.R
setwd("~/Desktop/DS1001/Data/Indeed") Indeed<-read.csv("Indeed.csv") Indeed<-as.data.frame(Indeed) setwd("~/Desktop/DS1001/Data/Glassdoor") GlassDoor<-read.csv("GlassDoor.csv") GlassDoor<-as.data.frame(GlassDoor) testG<-GlassDoor[,c('R','Python','Math','C++','Statistics')] testI<-Indeed[,c('R','Python','Math','C++','S...
4be4f44ccdd100240f00a841899bf3973a24e6e5
7c5caeca7735d7909c29ee3ed6074ad008320cf0
/man/osd.Rd
fe67bcea7f34ad9c8983d33633bfc86209c40e50
[]
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
true
441
rd
osd.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data-documentation.R \docType{data} \name{osd} \alias{osd} \title{Example Output from soilDB::fetchOSD()} \format{ A \code{SoilProfileCollection} } \usage{ data(osd) } \description{ An example \code{SoilProfileCollection} object created by \c...
58091cbdab2536f685233fc2a7dd227839544270
d39b8ee4f436043101f576a57bc70f72b3719145
/OLD/Readability_test(02.26.13).R
5225cae5b9c767e2f867cab385b015aff4589dfc
[]
no_license
sbraddaughdrill/Mutual_Fund_Strategy
4200c202ff1807559c323968722a53b7f957cda3
e42547517a999d3e2680c32ee4a6a982fb79149c
refs/heads/master
2020-04-06T04:58:58.424803
2015-02-05T20:15:23
2015-02-05T20:15:23
29,552,028
0
0
null
null
null
null
UTF-8
R
false
false
41,212
r
Readability_test(02.26.13).R
#==============================================================================; #PROGRAM DETAILS; #==============================================================================; #Program: Readability_test.R; #Version: 1.0; #Author: S. Brad Daughdrill; #Date: 02.17.2013; #Purpose: Orange Model of underl...
6914c1e16b9d55eaf444b17d65b0fa0832fb651a
deb8293b706ba213c330d43ee2e547227c5365a2
/BSCOV/R/RcppExports.R
89115dd07b0db6433de1b2ede3156dbb46bf464b
[]
no_license
markov10000/BSCOV
c6c9acea1bb091e16435159c781548fa0c5d8ddb
87cc5e2c914b0b3528274a9585a2aa1ac9dfae00
refs/heads/master
2023-08-23T17:54:23.949831
2021-10-23T22:14:09
2021-10-23T22:14:09
277,444,752
5
1
null
null
null
null
UTF-8
R
false
false
628
r
RcppExports.R
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 func_dc <- function(z) { .Call('_BSCOV_func_dc', PACKAGE = 'BSCOV', z) } func_dc_by <- function(z, dmby, dtby) { .Call('_BSCOV_func_dc_by', PACKAGE = 'BSCOV', z, dmby, dtby) }...
1a62951298c036e295a7b63648263e01b3088054
519b45c11d428a9440b62ab89f20c43341a08419
/scripts/3_1_atributos_candidatos.R
989671c6a01fd8a1c0d8b55287d0768afaed6a13
[ "MIT" ]
permissive
elateneoac/ponencia-saap-2021
7cc3ce3cfcb6723cec8fba6247f2f0e913992e1e
b75535b0412b893cc6cb1c4a8c22da1d742e4a45
refs/heads/main
2023-08-16T01:02:49.126403
2021-10-13T00:13:53
2021-10-13T00:13:53
412,637,913
0
0
null
null
null
null
UTF-8
R
false
false
2,165
r
3_1_atributos_candidatos.R
library(data.table) library(jsonlite) library(stringr) library(ggplot2) library(ggpubr) library(ggthemes) library(ggExtra) library(treemap) # 1. General paleta = 'Dark2' path_data = '~/repos/elateneoac/ponencia-saap-2021/data/' # path a la carpeta 'ponencia-unl/data' oraciones = fread(paste0(path_data,'/oraciones_cl...
297aa719c11616f25648792dfd4809f698c60b01
1ee90109eb327d979b228174d4c310022439ed0b
/app.R
59175f4b2447e2639071b08fb0d469e39c961865
[]
no_license
jakubsob/plants
d66346d7360c44d95fb8c49edb57287b234f3cb9
bef449f4d62f23250256d2474ceb8ab719f7b8d3
refs/heads/master
2023-04-30T16:41:25.054063
2021-05-13T15:49:42
2021-05-13T15:49:42
365,287,241
0
0
null
null
null
null
UTF-8
R
false
false
2,534
r
app.R
library(shiny) library(shiny.fluent) library(shiny.react) library(shiny.router) library(shinyjs) library(sass) library(R6) library(owmr) library(purrr) library(DT) library(glue) library(pool) library(dplyr) library(dbplyr) library(leaflet) library(promises) library(future) library(showtext) library(ggplot2) library(ggr...
0f58d7a0efd4fad695a0060805aff91b5b85b540
9972106e39f5cc87ec7c85a3c890d09a253de6bb
/man/mhor.rd
fcbb5b5b44ddf2ea010da865b3965cc26e335c82
[]
no_license
cran/epiDisplay
ed688f06f5f7101d851a28857930dd43748b51ee
e90693c88a54fe1ecb7c64638de43c3992375de9
refs/heads/master
2022-05-28T12:16:44.261031
2022-05-18T13:20:02
2022-05-18T13:20:02
38,376,568
1
0
null
null
null
null
UTF-8
R
false
false
1,209
rd
mhor.rd
\name{mhor} \alias{mhor} \title{Mantel-Haenszel odds ratio} \description{Mantel-Haenszel odds ratio calculation and graphing from a stratified case-control study} \usage{ mhor(..., mhtable = NULL, decimal=2, graph = TRUE, design = "cohort") } \arguments{ \item{...}{Three variables viz. 'outcome', 'exposure' a...
4839b2afbad2fb918e4a65c919c414e5669e1387
c2d1de906b14c5b1f5574d731bc9fc21fcdeecb0
/man/varianceBasedfilter.Rd
9f6642bcd69f295ecf62f0b94b61a1c6ab707ba3
[]
no_license
cran/DSviaDRM
b251e0ff6961dc37f2817da4af7571b351e26ed8
b81e818ee47dc09206c6dac9d64027e297b89cff
refs/heads/master
2021-01-01T06:50:55.109878
2015-05-12T00:00:00
2015-05-12T00:00:00
35,482,433
0
0
null
null
null
null
UTF-8
R
false
false
1,351
rd
varianceBasedfilter.Rd
\name{varianceBasedfilter} \alias{varianceBasedfilter} \title{To filter genes according to expression variability} \description{ Those genes not significantly more variable than the median gene are filtered out. } \usage{ varianceBasedfilter(exprs,p) } \arguments{ \item{exprs}{a data frame or matrix with ...
f4d6251eba669ba4228e0e9f9cc67867da627286
814c9360135107b70a1099ee585b2a5010b2a88e
/man/selectionTray.Rd
45d8842faee88c93cca54901a7284be4baecfbac
[]
no_license
wjawaid/bglab
bb5f7844cb956cd184847be8396063e4ae8551f1
9c04f65ae15887ba64d5b635f97c84f27a087ec7
refs/heads/master
2021-01-09T06:18:17.675740
2017-04-09T21:39:54
2017-04-09T21:39:54
80,956,007
1
2
null
null
null
null
UTF-8
R
false
true
646
rd
selectionTray.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/heatmap.R \name{selectionTray} \alias{selectionTray} \title{Selection Heatmap} \usage{ selectionTray(scd, retHeat, pdf = FALSE, data = NULL) } \arguments{ \item{scd}{Single Cell Dataset object.} \item{retHeat}{List returned from heatmap orig...
be4b0730fd5feb3be1816c21a603a3ae9fbe0364
19969ee90b110cb0e183ae88239be7b277dea257
/R several/R_lemon_folder/brkdn.R
dc7828e08aff7f06d27c5bd13c2ed11426327b51
[]
no_license
atom-box/notes
ffcd333dbb151c93d2a77c3e291431855867654d
5cd3675d57c8098ab7f702d741b2e34151505e0f
refs/heads/master
2021-04-06T20:27:55.801962
2021-01-09T20:10:47
2021-01-09T20:10:47
125,290,458
0
0
null
null
null
null
UTF-8
R
false
false
2,902
r
brkdn.R
# brkdn is a function that attempts to calculate and display means, # variances and valid ns for the variable that appears on the left # side of the formula. # It expects the variables on the right side of the formula to be # factors, or at worst integers with a very small range. # It returns a list of "dstat" object...
46eaa65903996244a3674203b14f1e4c05c58543
b60300a6092ae0aea077033b7a57811900a0e970
/plot2.R
076ca973706c46f4c9ac3df578ccfd43f060e440
[]
no_license
iramosp/ExData_Plotting1
ebef9a294430db126a91ec4e2360726c76bb87d0
703c68e0ac2ff7ce20761f6b1f76cf053b262781
refs/heads/master
2021-01-09T08:02:52.975416
2015-05-10T22:35:15
2015-05-10T22:35:15
null
0
0
null
null
null
null
UTF-8
R
false
false
761
r
plot2.R
# Read data data <- read.table("household_power_consumption.txt", nrows = 173000, sep = ";", header = TRUE) s <- split(data, data$Date) data <- rbind(s[[2]], s[[46]]) # These are the two dates we need rm(s) # We no longer need s # Convert Date and Time columns...
d87c5ad3be073dd4aace26e96f5e0ebafcee0ecf
d8859d0a38e3faa79c72471e4e189e027b7cd096
/collate_extra_data.R
6159a3f7c47e9d990f319903052b6639fb01666d
[]
no_license
m20ty/decoupling_emt_stroma
306110017aad4213167951e1a6f575cf0f4da31d
00ac33849ccb67e4494817671d67a544f0864b5f
refs/heads/master
2023-03-09T20:58:17.538150
2021-01-05T10:26:05
2021-01-05T10:26:05
319,970,323
7
2
null
null
null
null
UTF-8
R
false
false
2,148
r
collate_extra_data.R
library(data.table) library(plyr) sc_metadata <- list( breast_qian = quote( fread('../data_and_figures/qian_breast_2020_reclassified.csv')[ cell_type != 'ambiguous' & id != 'sc5rJUQ064_CCATGTCCATCCCATC', -c('patient', 'cell_type_author', 'cell_type_lenient') ] ), crc_lee_smc = quote( fread('../data_and_...
68b9245120be4729ccc5a811079921c9bebfba13
6b36aa4957c3d0a6a25113a55a2480e37bd7d537
/bigmemory.R
885f45aedc2d86a4f54cf1c2d59c6f16e83a6c35
[]
no_license
TotallyBullshit/Large-R
159ceb0e80f09d55a7838a4a0c0a0ab88a917455
b4804090df7f061c4a71ae6fa639daaccfe3b350
refs/heads/master
2021-01-16T20:58:05.256743
2014-05-26T15:23:19
2014-05-26T15:23:19
20,217,827
1
0
null
null
null
null
UTF-8
R
false
false
2,687
r
bigmemory.R
# install.packages('bigmemory') library(bigmemory) n0 = 2^15 m0 = 2^15 # Check vector (Norm) # Ram drive (Jason) # bigmemory - shared and file based # library use (David) # Time difference of 59.30802 secs (MacAir) # Time difference of 58.14366 secs (Ledger) t0=Sys.time(); a.matrix = matrix(nrow=2^16,ncol=2^16); Sy...
d807923313043a03ed0ddd989d5de68be74fd0eb
9d178498df8dcdecac074ba9d392f7a922c08f11
/man/add_datetime_columns.Rd
587c27b3dd9e311398edb297e6d567e718ad2f2d
[]
no_license
Keegan-Evans/pitDataR
6b5e7d6c7409810e656fb7d049991e62e768eea0
0b6880329c2adac538cb9087271d750e9e035109
refs/heads/master
2020-04-21T11:30:43.989883
2019-07-08T20:41:50
2019-07-08T20:41:50
169,528,070
0
0
null
2019-07-08T20:41:51
2019-02-07T06:19:19
R
UTF-8
R
false
true
676
rd
add_datetime_columns.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read_in.R \name{add_datetime_columns} \alias{add_datetime_columns} \title{add_datetime_columns Adds columns that allow for easier temporal deliniation} \usage{ add_datetime_columns(detection_dataframe) } \arguments{ \item{detection_d...
09f08afc915ef4ef57e2b24c9194a379237bdd23
763e4186462dc996df083d78d99630204d48ecd6
/database/db_interface.R
ad78a38024cd336d4f0cea19ab812304483c8b4a
[]
no_license
ccagrawal/folio
0bd8fab15c12a4a955541c2c8073e9eaf35d6f2a
34d62fb8bac4b8ae0bc0aa995ff81f6468d242bd
refs/heads/master
2021-03-12T20:37:22.205724
2015-08-22T23:02:06
2015-08-22T23:02:06
40,704,765
0
1
null
null
null
null
UTF-8
R
false
false
13,476
r
db_interface.R
library(quantmod) source('./database/db_management.R') GetStocks <- function(ticker, name, quantity, volume, notes) { sql <- "SELECT * FROM Stocks" # Conditions will contain each WHERE clause conditions <- c() # Go through each parameter and add a clause if necessary if (!missing(ticker)) { cond...
007d171c75298f07e2d80e7605d72cad3db813fd
a3c78700a65f10714471a0d307ab984e8a71644d
/modules/assim.sequential/inst/sda_backup/bmorrison/extract_lai_agb_data.R
8b6b7754ea2f8b5382588fb71382f31e96cc5229
[ "NCSA", "LicenseRef-scancode-unknown-license-reference" ]
permissive
PecanProject/pecan
e42a8a6a0fc9c0bb624e0743ab891f6cf131ed3f
ce327b92bf14498fa32fcf4ef500a7a5db5c9c6c
refs/heads/develop
2023-08-31T23:30:32.388665
2023-08-28T13:53:32
2023-08-28T13:53:32
6,857,384
187
217
NOASSERTION
2023-09-14T01:40:24
2012-11-25T23:48:26
R
UTF-8
R
false
false
11,364
r
extract_lai_agb_data.R
rm(list=ls(all=TRUE)) # clear workspace graphics.off() # close any open graphics closeAllConnections() # close any open connections to files #--------------------------------------------------------------------------------------------------# #---------------- Load required libraries ---------------------...
ed74b3d55fec6163419986fcbe9f59b2cf24cf88
f75602bd6cce18930a1e04a50208df19140c4d98
/man/langcog.Rd
fb79e3723bbe7dbe7306dd2f7b416d1ad94c736c
[]
no_license
langcog/langcog-package
951bde3325ca24a73e5217717f2baac83e911d85
947511e68759386d3a55d43f0721326abca123d3
refs/heads/master
2021-07-01T08:31:28.454157
2017-09-20T20:41:27
2017-09-20T20:41:27
37,636,200
6
2
null
null
null
null
UTF-8
R
false
true
568
rd
langcog.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/langcog.R \docType{package} \name{langcog} \alias{langcog} \alias{langcog-package} \title{langcog: Language and Cognition Lab Things} \description{ The langcog package provides several different components: \describe{ \item{solarized_palet...
e32d8b0582168c29c44f931855984be079d76662
1efc1f24f77e19192e4dc25e621d5bd8dc08b372
/R/versionr.R
51cc5524ed2a4adc645e6e8ffaa51326490c6731
[]
no_license
zsigmas/versionr
8f57def4e615534513630c35d4690ff1faf7e5c0
c044d483d99ebcc5662f7a5402477ff955c68b92
refs/heads/master
2023-02-07T11:35:18.974742
2020-11-19T19:09:08
2020-11-19T19:09:08
303,978,982
1
0
null
null
null
null
UTF-8
R
false
false
3,968
r
versionr.R
update_version <- function(path='.', print_output=F) { con <- file('DESCRIPTION') on.exit(close(con)) desc_content <- readLines(con) version_idx <- which(startsWith(desc_content, 'Version:')) date_idx <- which(startsWith(desc_content, 'Date:')) branch_idx <- which(startsWith(desc_content, 'Branch:')) ...
89c1d1bcc5e365ce4823a4746cbe0d317770c0f4
efb67b529095add05d77312f981305690655b45a
/ggplot2/Layers/Geoms/geom_violin/example7.R
2b5591ab0de79768796f783a213c0463ea3615db
[]
no_license
plotly/ssim_baselines
6d705b8346604004ae16efdf94e425a2989b2401
9d7bec64fc286fb69c76d8be5dc0899f6070773b
refs/heads/main
2023-08-14T23:31:06.802931
2021-09-17T07:19:01
2021-09-17T07:19:01
396,965,062
0
0
null
null
null
null
UTF-8
R
false
false
77
r
example7.R
p <- ggplot(mtcars, aes(factor(cyl), mpg)) p <- p + geom_violin(adjust = .5)
7528a9c7400f8bbae8ba44f01284cf759c052ee7
0e92c0b362b230341f9cc31207df8139dbc3ac18
/R/dropLayer.R
f4a0451c028d8a108b1df9cea2396810712ef17b
[]
no_license
cran/raster
b08740e15a19ad3af5e0ec128d656853e3f4d3c6
dec20262815cf92b3124e8973aeb9ccf1a1a2fda
refs/heads/master
2023-07-09T20:03:45.126382
2023-07-04T10:40:02
2023-07-04T10:40:02
17,699,044
29
35
null
2015-12-05T19:06:17
2014-03-13T06:02:19
R
UTF-8
R
false
false
1,084
r
dropLayer.R
# Author: Robert J. Hijmans # Date : June 2008 # Version 0.9 # Licence GPL v3 if (!isGeneric("dropLayer")) { setGeneric("dropLayer", function(x, i, ...) standardGeneric("dropLayer")) } ...nameToIndex <- function(name, allnames) { # this is the same as match, I think k = NULL for (i in 1:leng...
55d584fec584d7d5eb672b3791186fd7313b1543
b8ca52003cd634c3e2d5ff77fd01d0811efd15e5
/Plot2.R
94157bddc30a3d7f607cadd6a8c6022f1e8060ac
[]
no_license
gholler/ExData_Plotting1
925d4ada4086db425477466c20c4d97a810f7071
2e9b754598bf9c80faed26975bde6d51a567a419
refs/heads/master
2021-01-24T07:18:12.482525
2017-06-04T20:21:53
2017-06-04T20:21:53
93,338,881
0
0
null
2017-06-04T20:14:50
2017-06-04T20:14:50
null
UTF-8
R
false
false
460
r
Plot2.R
#load common functions source("common_functions.R") # load the dataset if (!exists("hpc")) { hpc <- read_data() } #construct the plot2.png plot # this is a line plot that shows # evolution of Global Active Power with time do_plot(hpc, "Plot2.png", function(hpc) { with( hpc, ...
48979f0cf40b5453ebc8c956cc183dd038124b12
04d0a997364ad1bab775fb920edfe5b60cf6d740
/man/SpearmanRho.Rd
175b3766f98a49794fa7853c7d9a0ba6cacfbca6
[]
no_license
mainwaringb/DescTools
a2dd23ca1f727e8bbfc0e069ba46f44567e4be24
004f80118d463c3cb8fc2c6b3e934534049e8619
refs/heads/master
2020-12-22T15:12:41.335523
2020-03-21T17:30:52
2020-03-21T17:30:52
236,836,652
0
0
null
2020-01-28T20:40:03
2020-01-28T20:40:02
null
UTF-8
R
false
false
2,505
rd
SpearmanRho.Rd
\name{SpearmanRho} \alias{SpearmanRho} %- Also NEED an '\alias' for EACH other topic documented here. \title{Spearman Rank Correlation %% ~~function to do ... ~~ } \description{Calculate Spearman correlation coefficient and it's confidence interval. %% ~~ A concise (1-5 lines) description of what the function does. ~...
4f9c0698909247742996f2b5a179ef1f25a30f04
4a7718b5618d75bdcfb3fb71324569d0d11ac749
/R/C_log_exp.R
76bf960782047b2afce2a3b77829afaeb53af1de
[]
no_license
EwaMarek/FindReference
859676f1744ea2333714634fd420d6b91b367956
eedc8c80809b6f3e4439999bac4cb09ec2b228f2
refs/heads/master
2018-08-01T08:39:05.326467
2018-06-02T17:05:06
2018-06-02T17:05:06
104,148,930
0
0
null
null
null
null
UTF-8
R
false
false
627
r
C_log_exp.R
# na wejście z-scores oraz info o tym, która kontrola zostaął użyta do którego eksperymentu # na wyjście z-score jedynie kontroli C_log_exp = function(data_z, C_for_IR){ if(class(data_z) == 'matrix'){ wh_samples = which(C_for_IR[1,] %in% colnames(data_z)) C_exp = data_z[, C_for_IR[2, wh_samples]] ...
5a4196e50ea695c1148b2cf12bf554d14458e6a8
8ff5342585cdebd98e697be6982c582aa3d92fe8
/list_to_matrix_to_list_function.v2.R
06a9866bfd998e9e52cab4ca2b34168d57356b5e
[]
no_license
ialves19/SingleCellProject
739ae65105c79f3e231f9603aa4ad38866497660
8fe40377d20ef05263db00de0e4323063635efeb
refs/heads/master
2022-12-21T07:02:32.478826
2020-09-14T09:06:37
2020-09-14T09:06:37
275,119,767
0
0
null
null
null
null
UTF-8
R
false
false
4,552
r
list_to_matrix_to_list_function.v2.R
#creating a list with HQ haplotypes creatingHQhapList <- function(l_counts_order) { #it takes subMatrix and subOrder and return a matrix with all haplotypes #l_counts_order <- listHQ[[2]] for (col in 1:nrow(l_counts_order[[1]])) { vectorList <- list() focalPosFirst <- as.character(l_counts_order[...
105206e1ecbfc8954a2f5d94e081c917032aabe6
51250726e0ce12a81f75572be193d0b6742554cf
/tests/testthat/test-exists.R
75e51dc5a911ecd25f99de21956532ab7707e60c
[]
no_license
dpastoor/pacman
6ead1b9913e7d2a6b018fc2e6390fd2d86ff4673
3b4c2c7f47f2d7faf7563f7b76a92953da47f884
refs/heads/master
2021-01-23T22:01:25.517006
2014-11-04T00:00:09
2014-11-04T00:00:09
26,233,734
1
0
null
null
null
null
UTF-8
R
false
false
638
r
test-exists.R
context("Checking p_exists") test_that("p_exists works for local packages",{ expect_true(p_exists(pacman, local = TRUE)) expect_false(p_exists(thisisnotarealpackage235asdkjlakl3lkj, local = TRUE)) }) test_that("p_exists works for packages on CRAN",{ expect_true(p_exists(ggplot2, local = FALSE)) expec...
ecf107d9eff6070c0af023f2ef5f25316c4f51be
d21fe3466e1c9e25d5bc1a599400fcfc9edbac2d
/R/decimalLength.R
e717af60ce675e9ac42ab84dc3a6f8dd2f96c4f3
[]
no_license
ctloftin/NBADraft
8a98dafd353d7dad821f547b545bb521bd6ceaaa
8ea0b8442f994709b0c6b12a9db5b6aee7748602
refs/heads/master
2021-03-27T18:53:56.049422
2018-03-10T02:37:05
2018-03-10T02:37:05
61,965,789
0
0
null
null
null
null
UTF-8
R
false
false
356
r
decimalLength.R
#' @export decimalLength <- function(length) { length <- stri_trim(length) length <- gsub("\\\"", "", length) # length <- length[which(length != "NA")] feet <- as.numeric(unlist(lapply(strsplit(length, "-"), head, 1))) inches <- round(as.numeric(unlist(lapply(strsplit(length, "-"), tail, 1)))/12, 2) length...
cffe9f2597bbe23e5afadac30a95176370534dbd
46b2a0410724f8414ee7ae4fb97b5fb4b1d8ed9d
/mask.R
9e5a0b0096c48a944b09012df2d5b7489a9e9fed
[]
no_license
dsidavis/RFundamentals
07c7dccdcce58ef0054eb83f571e3e130b06d4c6
a7a426d18a8a9461b5791e31c02f8a886a3a7feb
refs/heads/master
2020-06-28T00:52:49.992751
2020-03-07T23:26:00
2020-03-07T23:26:00
97,078,032
10
6
null
null
null
null
UTF-8
R
false
false
1,016
r
mask.R
par(mar = rep(0, 4)) png("vec.png", 500, 200, bg = "transparent") plot(0, type = "n", axes = FALSE, xlab = "", ylab = "", xlim = c(0, 1), ylim = c(0, 1)) x = seq(0, 1, length = 10) rect(x[- length(x)], .25, x[-1], .75) text((x[-length(x)] + x[-1])/2, .5, 1:9) dev.off() png("logicalMask.png", 500, 200, bg = "transpar...
e9e9adf13ee1da640e27642c376aa81f1fe60582
f855ffb8b52577950381b78bcfa31d87b39dc6b3
/docs/R/cellDensity.R
2248c4043604eb7538e5c4b91324204ee06b3c7d
[]
no_license
PhillipMogensen/SmB-I-2020
0d4cd559b46981d3187be8c02f72228258d0360d
2c3a0bd7048e66541b23d637296d0bf495fb28ba
refs/heads/master
2023-02-14T17:52:28.790584
2021-01-02T15:25:15
2021-01-02T15:25:15
318,582,116
0
0
null
null
null
null
UTF-8
R
false
false
614
r
cellDensity.R
# ------------------------------------------------------------- # Applied Statistics / Statistical methods in the Biosciences # Day 2 # Example on density of nerve cells # Bo Markussen # November 22, 2018 # ------------------------------------------------------------- # Hard code data into two vectors mid <- c(50.6,39...
b992cc909b6b21114ff69a6a7069e10c4dbcf8dd
863dc57a25d91d5206ac652176d6e16f82e847df
/Analysis/RScripts/rq14-cases-for-manual- analysis.R
d3e08dd2063a559eed4cbc637955c31420afc949
[ "Apache-2.0" ]
permissive
STAMP-project/Botsing-model-seeding-application
17ce2907e62398621655e6d0f1fd366c6dcb1e33
3be2df5627d544aef76f9cc5c900ab5a0bd34b15
refs/heads/master
2020-08-20T17:43:25.905477
2020-02-13T12:43:37
2020-02-13T12:43:37
216,042,346
0
1
null
null
null
null
UTF-8
R
false
false
744
r
rq14-cases-for-manual- analysis.R
# R script # # author: Pouria Derakhshanfar library(ggplot2) library(dplyr) source('dataclean.r') source('graphs.r') source('tables.r') Configs<- c("test s. 0.2", "test s. 0.5", "test s. 0.8", "test s. 1.0") noseeding <- getNoSeedingResults() testseeding <- getTestSeedingResults() # Restrict to frames that are in b...
534d4cd1816fe9f7f8e22d502200c9aa08653b07
789dd3039ae8c7a1b29582e563c66f2f3b573e9b
/ML/stocks.r
42746838f7e0bacd66e76ba2e4a4d6c3c885bd99
[]
no_license
Aurametrix/R
44ecb2969e0eb39120176692761304adae7a3539
affb2b2e06b94ff8a1c8d552aa3b996b0158911f
refs/heads/master
2023-01-31T22:28:15.893079
2023-01-27T01:17:57
2023-01-27T01:17:57
16,440,534
4
3
null
null
null
null
UTF-8
R
false
false
7,282
r
stocks.r
##Install and load required packages ##install.packages("quantmod") library(quantmod) library(reshape2) ##Merge the NASDAQ and NYSE csv files. Files found at http://www.nasdaq.com/screening/companies-by-name.aspx?letter=0&exchange=nasdaq&render=download ##and http://www.nasdaq.com/screening/companies-by-name.aspx?let...
0fcdccd33c80a62bca3a3bec1e57775194370c59
a48797beca55474d7b39676389f77f8f1af76875
/man/graph_plusone.Rd
70695d4b78ba8b17d4d1b9c8c1761908680df4cf
[]
no_license
uqrmaie1/admixtools
1efd48d8ad431f4a325a4ac5b160b2eea9411829
26759d87349a3b14495a7ef4ef3a593ee4d0e670
refs/heads/master
2023-09-04T02:56:48.052802
2023-08-21T21:15:27
2023-08-21T21:15:27
229,330,187
62
11
null
2023-01-23T12:19:57
2019-12-20T20:15:32
R
UTF-8
R
false
true
770
rd
graph_plusone.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/toposearch.R \name{graph_plusone} \alias{graph_plusone} \title{Find all graphs which result from adding one admixture edge} \usage{ graph_plusone(graph, ntry = Inf) } \arguments{ \item{graph}{Admixture graph in \code{igraph} format} \item{nt...
f4b24e69f1c4c9f121af8974585ada5c59617c84
903a04d3b2ad601eac56531a6b81692d96d40b2d
/man/AIC.secr.Rd
0d2649663e3b072d23f1eb676944dc91326b1483
[]
no_license
cran/secr
a2b058587a4655e4688c912d3fecb5fa7838dca8
50b315739c723f61bcd82bbbb5c6770973fcb132
refs/heads/master
2023-07-20T04:45:01.190001
2023-07-10T23:40:02
2023-07-11T07:34:31
17,699,535
1
0
null
null
null
null
UTF-8
R
false
false
6,924
rd
AIC.secr.Rd
\name{AIC.secr} \alias{AIC.secr} \alias{logLik.secr} \alias{AIC.secrlist} \alias{secrlist} \alias{[.secrlist} \title{ Compare SECR Models } \description{ Terse report on the fit of one or more spatially explicit capture--recapture models. Models with smaller values of AIC (Akaike's Information Criterio...
36e9d420183424809a6e138a91e48b510cc2d4df
530474c7537d174c797f8be66da1087bf7cf1c59
/R/siteAgeSummary_PSP.R
63d135af7abf28f96fd2e7c089480802d023937a
[ "Apache-2.0" ]
permissive
bcgov/FAIBCompiler
409d88e9444ca26847b62e43668b41eb945f84e0
3baf38a21c5493b7d7cf0f4695e1cc6322eeabe3
refs/heads/master
2023-08-05T08:47:43.934344
2023-08-02T21:35:23
2023-08-02T21:35:23
195,121,227
0
0
Apache-2.0
2020-02-12T18:00:30
2019-07-03T20:19:19
R
UTF-8
R
false
false
31,533
r
siteAgeSummary_PSP.R
#' Summarize site age data by cluster and cluster/species for PSP data #' #' #' @description This function takes compiled site age tree data, an output of \code{\link{siteAgeCompiler}}, to #' derive mean age and height results. The compiled data must have breast height age, #' total age, and s...
4435935bbb4f9771986fce7ea522942259358a7d
5e37ee5e60def89a5eb4c9e938994a88c15c55d8
/Project3-MachineLearning/aull_dobbins_ganemccalla_schott/ganemccalla/kaggle EDA.R
20e6a52af8ae379becd3ee8f1731aa018f824f9c
[]
no_license
xiyuansun/bootcamp009_project
2c079c94d2339a61397d5ea8765bf4bbc7a5f5b7
53bad9ea33d665db222bfa4a38a92580d811b53d
refs/heads/master
2020-05-02T18:08:48.813998
2017-06-02T15:30:42
2017-06-02T15:30:42
178,120,031
1
0
null
2019-03-28T03:33:46
2019-03-28T03:33:45
null
UTF-8
R
false
false
1,382
r
kaggle EDA.R
#change this! fileLoc = "C:/Users/Robin/Desktop/Kaggle Competition/train.csv" library(dplyr) testFileLoc = "C:/Users/Robin/Desktop/Kaggle Competition/test.csv" trainData = read.csv(fileLoc) testData = read.csv(testFileLoc) #these 13 columns are most relevant #the rest contain information about the raion(region), this c...
57791a9e79e0b5c66b7cce0ad80cb02e6841f2ee
ceef8f6f738da7d8cb2148f250d750872b0b9378
/Cheat Sheet Quizz2.R
d2b8307ef7e14110fdcd497e36f06919e216f49e
[]
no_license
amarques09/R
e6f02678eab5a9dd3051661f5d57e406d0b9e1d9
65e076b4f5e0f64d9a311027f6895fe9cc8a7a53
refs/heads/master
2021-02-03T21:25:26.603969
2020-02-27T15:04:03
2020-02-27T15:04:03
243,543,405
0
0
null
null
null
null
UTF-8
R
false
false
17,860
r
Cheat Sheet Quizz2.R
############Data.frame ##indexation #numeric ###########Loops #### Create a loop that iterates through all the positions of 'v' and, for each #### iteration, prints "FALSE value found" if the value of 'v' in that position #### is FALSE. Do this using both a for and a while loop. Each loop should contain a...
817f256f5267f92c190c75c8654755673ae098b0
71f0ab7e5f296645273dbf967a3500300036d32c
/R/mapalign.R
1079ffeae6a3ded6ef20671386515548a3428535
[]
no_license
tcgriffith/RNAmrf
c9eeb3f3732df045a379cf4ada23bad8d6f3cf8b
964d992f3fea5c5e90f613e7d3a591dc6a83c96d
refs/heads/master
2023-02-25T17:23:39.355326
2021-02-05T00:53:22
2021-02-05T00:53:22
252,070,631
1
0
null
null
null
null
UTF-8
R
false
false
12,206
r
mapalign.R
falign_R=function(score_mtx, rows,cols){ max_sco = 0; # sco[rows+1,cols+1]; gap_o=-1 sco=matrix(0, rows+1,cols+1) for (i in 2:(rows+1)){ for (j in 2:(cols+1)){ A = sco[i-1,j-1] + score_mtx[i-1,j-1] D = sco[i-1,j] R = sco[i,j-1] if (A >= R) { if (A >= D) { sco[i, ...
c2dc23456ba824a39e549f7f6ed2ceb5f444ea6a
2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0
/fuzzedpackages/blackbox/R/writeFinalInfo.R
695e2520d02c15cb0b2df6a4cab417008d425a24
[]
no_license
akhikolla/testpackages
62ccaeed866e2194652b65e7360987b3b20df7e7
01259c3543febc89955ea5b79f3a08d3afe57e95
refs/heads/master
2023-02-18T03:50:28.288006
2021-01-18T13:23:32
2021-01-18T13:23:32
329,981,898
7
1
null
null
null
null
UTF-8
R
false
false
4,391
r
writeFinalInfo.R
writeFinalInfo <- function(cleanResu="") { rosglobal <- blackbox.getOption("rosglobal") plotOptions <- blackbox.getOption("plotOptions") oneDimCIvars <- blackbox.getOption("oneDimCIvars") message.redef("...done.") message.redef("\n*** Final likelihood estimates, and predicted logL: ***") message.redef...
3605f8916fd0cf283094d01c6b87894a15c489b1
a0340fe520ed82859d7145605fba1aca5b21ad1b
/man/plot.pi.Rd
5fb54b7c684a568990e63ceaea334fc3c474324a
[]
no_license
vincentlomazzi/ptds2018hw4g5
314dd6592e6ef685be67505eaaa4991b52bf7a83
7563e5b754e4bee5af6f65186dd6f9533a699d9e
refs/heads/master
2020-04-08T12:08:05.502735
2018-12-02T17:29:53
2018-12-02T17:29:53
159,334,217
0
0
null
null
null
null
UTF-8
R
false
true
594
rd
plot.pi.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pi.R \name{plot.pi} \alias{plot.pi} \title{Plot objects of resulting from the estimate_pi function} \usage{ \method{plot}{pi}(x) } \arguments{ \item{x}{An output from the estimate_pi function} } \value{ A plot of the simulated points } \descr...
99eee8b4fa0500221511b80a36f88bb438352546
597f8d0728ee40f03680aaee00351a9ee0c38cb8
/R/cleanWdLogField.R
1d6a2f13b284d0dcd53c7aabfe3bdba3509a17e6
[]
no_license
michelk/logbuch.R
878b606ab233e676e3c8b626d09b0b6d5026189a
264021a8cdef715b8174c9c3e7735233863873d7
refs/heads/master
2021-01-25T00:22:37.774440
2017-11-30T18:48:20
2017-11-30T18:48:20
4,222,883
0
0
null
null
null
null
UTF-8
R
false
false
288
r
cleanWdLogField.R
cleanWdLogField <- function # ^ remove any whitespace or tab ( x # ^ character: a field of day-record-file ) { gsub( "\t+", "", gsub("\\s+", "", x)) } # ^ returns a cleaned character
039e0eea8d976fa3cafaa569d5542e679e9c99d4
dd8132404e8c7b028cb13cba904c50aace01c6a7
/swt/src/spc/vcg.u/src/otg$uii.r
02b159355eb8b582de085a39bec6fb985afed04e
[]
no_license
arnoldrobbins/gt-swt
d0784d058fab9b8b587f850aeccede0305d5b2f8
2922b9d14b396ccd8947d0a9a535a368bec1d6ae
refs/heads/master
2020-07-29T09:41:19.362530
2019-10-04T11:36:01
2019-10-04T11:36:01
209,741,739
15
0
null
null
null
null
UTF-8
R
false
false
293
r
otg$uii.r
# otg$uii --- generate a uii request group subroutine otg$uii (def) integer def integer group_data (2) DB call print (ERROUT, "otg$uii: hardware def = *,-8i*n"s, def) group_data (1) = UIIREQ_GROUP * BIT8 + 1 group_data (2) = def call group (group_data) return end
f0899bd3db1044d76c590fcdd8f1349a0bca50a2
814c9360135107b70a1099ee585b2a5010b2a88e
/R/bglab.R
97acfd51edd3381afedbbdc222d366fb8322758a
[]
no_license
wjawaid/bglab
bb5f7844cb956cd184847be8396063e4ae8551f1
9c04f65ae15887ba64d5b635f97c84f27a087ec7
refs/heads/master
2021-01-09T06:18:17.675740
2017-04-09T21:39:54
2017-04-09T21:39:54
80,956,007
1
2
null
null
null
null
UTF-8
R
false
false
223
r
bglab.R
##' @name bglab ##' @title Gottgens Lab Toolkit ##' @description Package of scripts frequently used in Berthold Gottgen's lab for ##' processing scRNA-seq data. ##' @author Wajid Jawaid NULL globalVariables("heatmapCols")
e880e73fe1beaaffe9631caef00c3a9a342fe33e
29585dff702209dd446c0ab52ceea046c58e384e
/conting/R/print.modprobs.R
eb1e913bfe007834714c5a71857e5fe07a24e5f6
[]
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
258
r
print.modprobs.R
print.modprobs <- function(x,digits = max(3, getOption("digits") - 3),...){ cat("Posterior model probabilities:\n") print(x$table,right=FALSE,digits=digits) cat("\n") cat("Total number of models visited = ",round(x$totmodsvisit,digits=digits),"\n")}
566f48fd5b182784b5d48e35c64dd7db0a4c25a0
ec29146e9381661afdc8ae329db4576319862271
/R/performMultipleRegression.R
7dc5773d48ae5ce36a1b330d0a489cbc2a6dfa39
[]
no_license
imkrishsub/VisiStat
b49f77ae3d59b5448a591b3a50af192103fe6e92
019a3f6f0f0fd8b763358b6c0a1665ebb48bd6e9
refs/heads/master
2021-05-01T07:56:15.327519
2017-06-30T13:04:31
2017-06-30T13:04:31
14,532,263
4
3
null
null
null
null
UTF-8
R
false
false
1,313
r
performMultipleRegression.R
performMultipleRegression <- function(outcomeVariable, explanatoryVariables, dataset) { table <- as.data.frame(dataset) explanatoryVariables = c(explanatoryVariables); print(explanatoryVariables); pretext = paste("lm(",outcomeVariable,"~",sep=""); for(i in 1:length(explanatoryVariable...
da7191b298deff574e3b882960781f0655304bbf
4a292e34ae6a0fdca63ab07b7b0ccc3f57bdc566
/man/findNLCD.Rd
d4ea2c8ec03a0fffbcd01c1a8c33cf760d8c36c6
[ "MIT" ]
permissive
mikejohnson51/HydroData
c122ba9d559e46bf2c58db609cff43411d7922d9
6b7f08656d7299bca3a544652cb69ae064049d41
refs/heads/master
2021-07-09T13:51:37.180796
2019-01-17T06:36:21
2019-01-17T06:36:21
112,221,493
38
9
MIT
2018-11-29T14:50:59
2017-11-27T16:39:08
R
UTF-8
R
false
true
1,195
rd
findNLCD.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/findNLCD.R \name{findNLCD} \alias{findNLCD} \title{Find National Land Cover Products (NLCD)} \usage{ findNLCD(AOI = NULL, year = 2011, type = "landcover") } \arguments{ \item{AOI}{A Spatial* or simple features geometry, can be piped from \lin...
16029cd00ff8152e24a99dac5cb08a346040c55b
2bec5a52ce1fb3266e72f8fbeb5226b025584a16
/lsbclust/man/ClustMeans.Rd
6d1123834133781941917a92bf387ae4453ce574
[]
no_license
akhikolla/InformationHouse
4e45b11df18dee47519e917fcf0a869a77661fce
c0daab1e3f2827fd08aa5c31127fadae3f001948
refs/heads/master
2023-02-12T19:00:20.752555
2020-12-31T20:59:23
2020-12-31T20:59:23
325,589,503
9
2
null
null
null
null
UTF-8
R
false
true
582
rd
ClustMeans.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{ClustMeans} \alias{ClustMeans} \title{C++ Function for Cluster Means} \usage{ ClustMeans(nclust, start, data) } \arguments{ \item{nclust}{The number of clusters.} \item{start}{The current clustering vector.} \item{data}{...
4952be3e7dd95c6eca0a4614984e05ecd5c549af
3c2f772f9facb95517f23a9e481aa9787016aa6f
/man/estimate_tongfen_correspondence.Rd
ca05445113ee7249f8282f1f507e59d0582e21dc
[ "MIT" ]
permissive
cgauvi/tongfen
c8a53ba8c6bee02406d3263ba00a443d9e7f7bbc
fc32292fb18a749f78d6a67c2c5719cb2d1d6612
refs/heads/master
2022-12-02T13:58:06.283156
2020-08-21T22:06:14
2020-08-21T22:06:14
null
0
0
null
null
null
null
UTF-8
R
false
true
1,571
rd
estimate_tongfen_correspondence.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tongfen.R \name{estimate_tongfen_correspondence} \alias{estimate_tongfen_correspondence} \title{Generate togfen correspondence for list of geographies} \usage{ estimate_tongfen_correspondence( data, geo_identifiers, method = "estimate",...
c39bfcb2c25528335814db3756d953eedcde4679
cfbda84beab0d0710a688363278d7c2354541d39
/plot1.R
f39a42e9bf2302f817df25b7f61502fdfaaa3e86
[]
no_license
VivianeSan/ExData_Plotting1
761987ecee4b217f8dc4582ca3c3fc511e8d9737
6aeb2a645ee4bff21ecaeb353e2952f787fd48a5
refs/heads/master
2021-01-09T06:52:14.238771
2015-01-12T00:19:15
2015-01-12T00:19:15
29,110,262
0
0
null
2015-01-11T23:36:09
2015-01-11T23:36:09
null
UTF-8
R
false
false
349
r
plot1.R
require('sqldf') query <- "SELECT * from file WHERE Date IN('1/2/2007', '2/2/2007')" data <- read.csv.sql("./household_power_consumption.txt", sql = query, sep=";") png('plot1.png', width = 480, height = 480) hist( data$Global_active_power, col = 'red', xlab = 'Global Active Power (kilowatts)', main = 'Glo...
1bd3c8a161af5cb3199b4a19fec2a9ed1887aca5
a5bbcb2b8c60e803c0bc6c5f3b6acd6f76f608cd
/R/bsNavBarInputs.R
70043c1640504cb5ea53f02029d2f0ddcf3f6007
[]
no_license
DataXujing/shinyBS
fdfaf0784b40c3693e43ade945bec22efa411bd1
6bfa2a44b6d05cebd251d7470b039878510fce3d
refs/heads/master
2021-07-05T21:12:42.048441
2015-01-23T15:12:03
2015-01-23T15:12:03
null
0
0
null
null
null
null
UTF-8
R
false
false
4,988
r
bsNavBarInputs.R
# Create a link input for a navbar that acts like an actionButton bsNavLink <- function(inputId, label, href="#") { if(!inherits(label, "shiny.tag")) label <- HTML(label) tags$li(tags$a(id = inputId, type="button", href = href, class="action-button", label)) } # Create a link input for a navbar that acts ...
42ee5a95403ce0eb5329e0f7731192abcf305ce2
fc9e46acb47b9cf444746941c46cc1471988a750
/R/ErrorCheck.R
fad465ce5c0eafd5739dff7733d2ec6ce51968bf
[]
no_license
SharonLutz/Umediation
63c70d5ac27a95ea746b8241a3957bd6ebbc4874
b1d5c234d5c2b43044f059cadf6a6b9a0d7c2086
refs/heads/master
2022-06-13T12:12:30.164593
2021-05-25T16:04:05
2021-05-25T16:04:05
95,026,761
2
3
null
2019-09-26T13:54:02
2017-06-21T16:59:13
R
UTF-8
R
false
false
5,586
r
ErrorCheck.R
ErrorCheck<-function(n=1000,Atype="D",Mtype="C",Ytype="C",Ctype="C",Utype="C",interact=FALSE,muC=0,varC=1,muU=0,varU=1,gamma0=0,gammaC=0,gammaU=0,varA=1,alpha0=0,alphaA=0,alphaC=0,alphaU=0,varM=1,beta0=0,betaA=0,betaM=0,betaI=0,betaC=0,betaU=0,varY=1,alpha=0.05,nSim=300,nBoot=500,seed=1,atreat=1,acontrol=0){ ...
8233d701e8702dc2141a6a6a5264022f5f616e8e
dbfe5ce272e204a8e1663ced35c9d48ef4870496
/R/graphics.R
15ab1c048c05034c54a18be2c54db8eb86000b8f
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hmito/hmRLib
fac91a4e2ddfcd899283ec0b63c87c31965fb17f
f2cfd54ea491ee79d64f7dd976a94086092b8ef5
refs/heads/master
2023-08-31T07:21:31.825394
2023-08-28T10:02:07
2023-08-28T10:02:07
41,907,654
0
0
null
null
null
null
UTF-8
R
false
false
6,744
r
graphics.R
#' Draw plot without any data #' @description This function just call plot function with parameter type = "n". #' @param ... Arguments are passed to function plot. #' @importFrom graphics plot #' @export plot.null=function(...){plot(0,0,type="n",...)} #' Add polygon on image #' @description Drow polygon on image wher...
385c77916a7c3a7abffa886fd6cfe809105a81df
e78ae3fdd458fc4b8bee318025614d5d6fd2af8f
/R/cdtFilterCDTdata_dlgBox.R
05d65cdb84ea2a2cb74398f25c0a1d7c4044f4ce
[]
no_license
rijaf-iri/CDT
b42fd670adfad59c08dcf990a95f9f1ebea9a9e4
e1bb6deac6e814656bf5ed13b8d4af4d09475c9d
refs/heads/master
2023-07-27T09:16:15.407835
2023-07-21T02:16:42
2023-07-21T02:16:42
136,133,394
10
12
null
2018-09-28T03:56:51
2018-06-05T06:53:11
R
UTF-8
R
false
false
10,664
r
cdtFilterCDTdata_dlgBox.R
filterCDTData_getParams <- function(){ listOpenFiles <- openFile_ttkcomboList() if(WindowsOS()){ largeur1 <- 47 largeur2 <- 45 largeur3 <- 20 }else{ largeur1 <- 42 largeur2 <- 40 largeur3 <- 21 } ############################################ tt <-...
408514e75d75d585c0b732a20c1903b30ab08c60
cd31134688875ecd83c993efb70cfc75d0022c57
/tests/testthat/test_force_of_inf.R
23b1c5adc525ea9361315492e7167ac6f4e344df
[]
no_license
caleb-easterly/msid
ba703d82193fc08b9b15b0d29818803df7ed9d47
cafb17ae76b577914adcdfe6f78ac78b0ebb034c
refs/heads/master
2021-07-22T23:31:18.734314
2021-07-07T02:05:49
2021-07-07T02:05:49
168,190,386
0
0
null
null
null
null
UTF-8
R
false
false
676
r
test_force_of_inf.R
context("foi") test_that("force of infection is calculated properly", { suff_contact <- matrix(c(5, 1, 4, 2), nrow = 2, byrow = TRUE) prev <- c(1, 0.5) exp_foi <- c(5.5, 5) calc_foi <- calculate_force_of_inf(suff_contact, prev) expect_equal(exp_foi, calc_foi) suff_contact2 <- matrix(1:9, nrow ...
e782b3911e122b1b7516b684765ef735b5ba14d0
03818820f3088fd53fd6f7ae14b3aad40c210560
/Feed Forward Neural Network.R
27ddf357808e11794ffd79cd166b0c0024e5bee3
[]
no_license
jyoungeconomics/feedforwardneuralnetwork
83dea631d958d6ffcb4f6d76b8c608b192850cbf
1eb3d2db8a42b397675c726a8412524381e884ff
refs/heads/master
2021-10-22T09:44:22.698220
2019-03-09T17:33:54
2019-03-09T17:33:54
null
0
0
null
null
null
null
UTF-8
R
false
false
5,620
r
Feed Forward Neural Network.R
#JEFFREY YOUNG, 2017 #there are 4 options for activation functions, 3 with a derivative sigmoid <- function(x,dx){ if(dx==FALSE) temp <- (1/(1+exp(-x))) else temp <- (1/(1+exp(-x)))*(1-(1/(1+exp(-x)))) return(temp) } tootoo <- function(x,dx){ if(dx==FALSE) temp <- (tanh(x)) else temp <- (1/(cosh(x))^2)...
ee4523a9fec9efb545016c391b806652444ecab9
3e86297a031840551385109cc588f859865be2ed
/change_analysis/change_analysis.R
369cc56ed0f93419867bb00df61ef31f7171a972
[ "MIT" ]
permissive
shmh40/detectreeRGB
692d386009f532822f2d3eac97aa6be7703e74e1
4335fc168729ddb96f1cd655fcdf721f3476804d
refs/heads/main
2023-05-23T16:51:20.670558
2021-11-29T14:53:24
2021-11-29T14:53:24
382,028,803
24
9
null
null
null
null
UTF-8
R
false
false
16,848
r
change_analysis.R
# Load up some packages! rm(list=ls()) install.packages('bbplot') library(bbplot) library(reshape2) library(raster) library(dplyr); library(tidyr); library(magrittr) library(ggplot2); library(RColorBrewer); library(rgdal) # LiDAR packages library(raster); library(sf); library(spatialEco) library(raste...
2c0cda1bcbe9ab164a6085733d57b530f3015d3f
cfd5ed592da9c7bbf7e4590070c60e09e98d4e8b
/dashboard/6 Dashboard-Rush hour.R
778862e65946f537d23934917e14f978073c9c14
[]
no_license
ThoffyLi/LA-Metro-Bike-Share-Analysis
a010ff2fd2021857055e2eb36e6da624d6cfcb5c
87c44a9ffa97ae9b964e4c6a8a238c2b3d58a604
refs/heads/master
2020-05-15T23:56:11.558074
2019-04-22T17:20:34
2019-04-22T17:20:34
182,565,274
0
0
null
null
null
null
UTF-8
R
false
false
4,755
r
6 Dashboard-Rush hour.R
# Shiny dashboard of rush hour~year/quarter/region library(ggplot2) library(dplyr) library(lubridate) library(shiny) dataset = read.csv("LA_metro.csv") # The User Interface ui = fluidPage( sidebarLayout( # for input sidebarPanel( textInput(inputId = "title1", label = "Title1"), textInput(inpu...
b1b1bbacc6956ef059a37ddb589657fa2221555a
51c1bbe2355aa47cf52016c24413c9f7b0c57972
/hw1-1.R
19322a0b4043303801c1dcf1786a7c09b41c3c42
[]
no_license
yujunkuo/Business-Analytics-with-R
cfe6f875dc29f5e2a3d251c9e55cb96b277f660f
5d7bc0d03091a80ab4b82cf97ac94c010d28c95a
refs/heads/master
2022-12-16T02:15:12.074743
2020-09-09T11:00:57
2020-09-09T11:00:57
294,084,163
2
0
null
null
null
null
UTF-8
R
false
false
556
r
hw1-1.R
#solution 1 data(iris) data <- iris[,-5] dis_matrix <- matrix(data = 0,nrow = 150,ncol = 150) for(i in 2:150){ for(j in 1:(i-1)){ dis_matrix[i,j] <- sum((data[i,]-data[j,])^2)^0.5 dis_matrix[j,i] <- dis_matrix[i,j] } } #solution 2 dis_matrix2 <- matrix(data = NA,nrow = 150,ncol = 150) com_dis...
5b47cbcd91ef1969bd00138da81280eb78f215e4
244393a89b3f8a836ee5afdd2ec9c91f5e52a6cd
/Machine_Learning/knn_overtraining_and_oversmoothing.R
80fb7cc5fb779cbd0fdc6562551d9aa342195e25
[]
no_license
mjchenko/R_for_Data_Science
c33e470bb7b054ba5255df99aa06f60c2940976d
a2d228b738400a80fa2ab6fbf9df7af40a2ad83e
refs/heads/main
2023-02-01T13:39:57.324999
2020-12-18T20:27:20
2020-12-18T20:27:20
322,691,962
0
0
null
null
null
null
UTF-8
R
false
false
3,305
r
knn_overtraining_and_oversmoothing.R
library(tidyverse) library(dslabs) library(caret) data("mnist_27") #showing all the data mnist_27$test %>% ggplot(aes(x_1, x_2, color = y)) + geom_point() #logistic regression as the baseline we are trying to beat fit_glm <- glm(y~x_1+x_2, data=mnist_27$train, family="binomial") p_hat_logistic <- predict(fit_glm, mn...
d28097ab38a0f80f14d8d674d4f904e1fa9d3180
1c5baab48957be97c27b82676e66681a7b8e5742
/data/make_heatmap_data.R
be66e0987464ed281eef8fa423cd647296509a85
[]
no_license
eduardobsg/intraday-fx-seasonality-app
50ce69cb37969db180ea00c200ae0c7013757a57
5e2b6de947dd0cb89c14f8ee886f124c6c10baf3
refs/heads/master
2022-11-17T14:19:29.233611
2020-07-13T05:29:28
2020-07-13T05:29:28
null
0
0
null
null
null
null
UTF-8
R
false
false
1,804
r
make_heatmap_data.R
library(tidyverse) library(here) # get list of performance files, calculate lengths of filenames temp <- list.files(path = here::here("data", "perf_logs"), pattern = "*.csv") map_dbl(temp, ~length(flatten_chr(str_split(.x, "_")))) # length == 8: detrended, length == 7: not detrended # read in and process each file pr...
701a1f90115ead61b4a4eb905fa9189eccb55718
3db305c9b6f9f791d2668f88e9f42c0cbfbaf4cf
/argosTrack/man/DCRW-class.Rd
bd8be6c78bcb96060557b6413a9ebb98bafe03d3
[]
no_license
calbertsen/argosTrack
4789f170f0b53cf2afa83195c55d57c25d3bd591
d09d54082bcf03c555f3553ff444bb5dc2246b34
refs/heads/master
2022-09-02T05:37:29.760935
2020-11-25T12:59:55
2020-11-25T12:59:55
24,145,844
10
7
null
null
null
null
UTF-8
R
false
true
1,695
rd
DCRW-class.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Movement_DCRW.R \docType{class} \name{DCRW-class} \alias{DCRW-class} \title{A Reference Class for fitting a discrete time first Difference Correlated Random Walk model.} \description{ The reference class implements a discrete time first Diffe...
21274af6acd676bea0dbe82ed99457d1c33d42af
a978a2a95d989b6df0941dc3cce8c691ccd1151f
/results/assignments/assignment2.R
3c864b581917c118cc911ac7c698d57ce66e835d
[]
no_license
Denis-png/eda_rhine
11f85aeaf6c8a5da8b8399987cbc5c984eb70d40
8092e866d5cfad28b0c50df909b34391ca05ec21
refs/heads/master
2021-05-23T19:12:22.028155
2020-04-13T11:53:12
2020-04-13T11:53:12
253,431,201
0
0
null
2020-04-06T07:53:04
2020-04-06T07:53:03
null
UTF-8
R
false
false
1,262
r
assignment2.R
#Task 1-3 library(data.table) library(ggplot2) runoff_stations <- fread('./data/raw/runoff_stations.csv') runoff_stations[, sname := factor(abbreviate(station))] runoff_stations[, id := factor(id)] runoff_stations[, altitude := round(altitude, 0)] runoff_stations_new <- runoff_stations[,.(sname, area, altitude)] ru...
1556414bde3619b4ca5582c4b06e5364a89e99b1
54e47fa6756bab639986dc3c1f3c2d8964f79d09
/run_analysis.R
71ed42b102f8c00053ab637f65579a1a54e5db67
[]
no_license
pleap/ExDataProject
63068b8b30ec956c577ef7065604b9ae975bc176
5a1a8a32ed65b95eb6045c9b92746b99333deba2
refs/heads/master
2021-01-20T07:03:24.086069
2014-12-18T04:13:56
2014-12-18T04:13:56
null
0
0
null
null
null
null
UTF-8
R
false
false
2,605
r
run_analysis.R
library(dplyr) ## STEP 1 (Includes STEP 4) Merges the training and the test sets to create one data set ## Create the variable name list from features.txt tmpfeatures<-read.table("./UCI HAR Dataset-2/features.txt") features<-tmpfeatures[2] features<-gsub( "[^[:alnum:][:space:]']" , "", features[,1]) features<-data.f...
d19d3016621bd05a3025e49131648378fb69402a
b29e2cd95341baf97f21a665d7298bf9b88121a7
/man/select_door.Rd
fee2dc9dca23c34c8bc4b8d6ce40872000ba421d
[]
no_license
radwan-a/montyhall
7f038e0c5f56756945a3c3b14967f71a553cec45
286e77b860608ca6754edd418e6d00e4fc7630a7
refs/heads/main
2023-08-11T01:41:51.671390
2021-10-07T06:35:52
2021-10-07T06:35:52
414,487,265
0
1
null
null
null
null
UTF-8
R
false
true
668
rd
select_door.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/monty-hall-problem.R \name{select_door} \alias{select_door} \title{Contestant selects a door.} \usage{ select_door() } \arguments{ \item{...}{no arguments are used by the function.} } \value{ The function returns a numeric vector of length on...
a9f5868ca75d80061358b7873b3d3bdfa843db37
26f5865f149e0e7f87c074c035ebb10fc1bf3800
/R/kriga.R
8e97a3ae5920398235b0b6ded840156302bff4f7
[]
no_license
elpidiofilho/labgeo
bfa3580b67f0f777f1c28e82dd826ee6ae89da32
aebd001557b18832a2a6080c54892a3262a45162
refs/heads/master
2021-01-22T12:38:39.902086
2018-08-11T13:42:37
2018-08-11T13:42:37
102,354,346
1
1
null
null
null
null
UTF-8
R
false
false
2,932
r
kriga.R
#' kriga - Automatric krige #' @param df dataframe with targer variable, coordinate x and coordinate y #' @param target_var Name of column with target_var #' @param nrep Number of repetitions #' @param name_px names of column with coordinate x #' @param name_py names of column with coordinate y #' @param p propor...
6ee99770942935f50940d52c05ac4132da36d874
cf37901bf9a214d3f68c699ab8c8aa5b88528a0b
/Football/football_functions.R
1f9ae450a6937e31b234dbd1294f472b7389759b
[]
no_license
tcampbell8/sports_projects
ab3f372f9b20ca7c4e4ba91568ae1f960ca0e377
e428cdfc4b50a5563674ec7b3c8639bb7e32e70f
refs/heads/master
2021-01-10T02:47:58.265126
2015-10-29T17:08:22
2015-10-29T17:08:22
43,761,425
0
0
null
null
null
null
UTF-8
R
false
false
2,280
r
football_functions.R
#random sampling for fantasy football teams using aggregated week 1 data week1 <- read.csv(file.choose()) week1$Index <- 1:length(week1$Name) #names(week1)[6] <- "Index" rbs = subset(week1, week1$Position =="RB", 1:7) dst = subset(week1, Position =="DST", 1:7) qbs = subset(week1, Position =="QB", 1:7) tes = subset(wee...
152cd49d94b3abe63b1d1d60788c1a2cc60f34cf
087898ec4573a2a0fbe3c62aa4d2dea9fec2e301
/HW3_group8/hw3-2.R
ecdd242872acf198373d2040b9e1956a0043b8b0
[]
no_license
405520002/R-Business-analytics
8af4eb26e7b85a094bc65ebd20362a6d4b73d727
851212e9c503686300de3e8a06afd8a5e5144992
refs/heads/master
2023-03-09T13:45:20.776236
2021-02-25T14:29:06
2021-02-25T14:29:06
342,250,328
0
0
null
null
null
null
BIG5
R
false
false
4,768
r
hw3-2.R
cost=10#每件衣服的價錢 before_price=25#比賽開打前衣服的售價 win_price=before_price#雄鷹贏球衣服的售價 lose_price=12.5#雄鷹輸球衣服的售價 n=1000#模擬1000場比賽 win_prob=0.4#雄鷹贏球機率 # mean 2000 and standard deviation of 1000 #ex=shape*scale,varx=shape*scale^2 scale=(1000**2)/2000#gamma的scale參數計算(var/mean) sh=2000/scale#gamma的shape參數計算(mean/scale) supply=s...