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
b3eeeb454d07771d7fd845e01822b44152f05ff0
51ce3d248c7e6dc9d0a12bb2cd7e8d8c0dd8b1af
/h2o-r/tests/testdir_misc/runit_quantile.R
3f8876c0a82f1c4453d7b1b7f61047ee15ae7728
[ "Apache-2.0" ]
permissive
KR8T3R/h2o-3
019336a122904c323cdb0043529ea681a0d90513
9adc6e35fb2771dbb86b7b147a840ef09be71ff2
refs/heads/master
2020-04-10T22:18:32.557475
2018-12-11T10:23:18
2018-12-11T10:38:33
161,320,436
2
0
Apache-2.0
2018-12-11T10:58:20
2018-12-11T10:58:20
null
UTF-8
R
false
false
1,564
r
runit_quantile.R
setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"f"))) source("../../scripts/h2o-r-test-setup.R") #This tests quantile and weighted quantile on synthetic data by comparing with R test.quantile <- function(conn){ # set random seed to generate random dataset set.seed(1234) N = 1000 x = rgamma(N, shap...
a2fb3ca032b1120889061f1c9b05252a33d2d2e8
f5dd1b06166bae7b674a4784d258c50784287359
/plot1.R
ec2b5e5ffac31c44ca935a36e5b8f1eebe7b9c05
[]
no_license
DawitHabtemariam/ExData_Plotting1
bfd4d65868ab0d3d9554838c5bee9da9b5f2cbe8
9ecb7a88a656cb5e146857df083b2bd7b11072b8
refs/heads/master
2021-01-09T05:41:00.031469
2014-08-06T15:06:45
2014-08-06T15:06:45
null
0
0
null
null
null
null
UTF-8
R
false
false
514
r
plot1.R
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip","power.csv") unzip("power.csv") power<-read.table("household_power_consumption.txt",sep=";",header=T,stringsAsFactors=F) data<-subset(power,Date=="1/2/2007" | Date=="2/2/2007") data$Date <- strptime(paste(data$Date,d...
84d7d0097317d98c58a9e58de824a2944afe2bfb
0e7cff005b3300f2e8bbfd1beabedf2ffc4e276c
/R/cat.R
a8964cb0b26068e0bf7ce8324723f67d136d8d9e
[]
no_license
gui11aume/vtrackR
afdda1958d7c88db87e707151410d365ee49c9c6
0d33c243708396cc52927a38e0195f1e402d153d
refs/heads/master
2020-05-01T00:59:16.834568
2015-03-02T22:30:17
2015-03-02T22:34:10
2,506,372
2
0
null
null
null
null
UTF-8
R
false
false
1,022
r
cat.R
cat <- function(x, file = "", sep = " ", fill = FALSE, labels = NULL, append = FALSE, ...) { # Extra paramters are passed to 'vheader(...)'. isroot <- Sys.info()[["user"]] == "root"; if (append || file == "" || isroot) { # Just an append, a screen display, or root user: # call 'base::write()'...
06c7e511c9014333eb3b4ef6d96076e41361bacb
bba58777bb8370709c297c5e400eab6601df92ff
/BasicFunctions.R
dfa447e4f7d08b84e647fc5e9ad4d024e7ea6621
[]
no_license
srivasrrahul/StatisticsFunction
2e2661672dec5659824f8ec6521464af8b1595d5
b36235bf793fb2bda5dd9e7e577854f5d124de3b
refs/heads/master
2021-01-01T06:17:20.344612
2015-05-10T06:44:41
2015-05-10T06:44:41
35,360,316
0
0
null
null
null
null
UTF-8
R
false
false
4,635
r
BasicFunctions.R
#Statistics basic tools tsquare <- function(x,y) { m1 <- mean(x) m2 <- mean(y) s1 <- sd(x) s2 <- sd(y) numerator <- (m1-m2) d1 <- sqrt((length(x)*s1*s1 + length(y)*s2*s2)/(length(x)+ length(y)-2)) d2 <- sqrt((length(x) + length(y))/(length(x)*length(y))) #print(d1*d2) retur...
fa4f3f441e6400a511807a0f534d6d19f6818646
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/europepmc/examples/epmc_profile.Rd.R
37d4221a17964f4a9b83df91a644c1681cd19e73
[]
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
345
r
epmc_profile.Rd.R
library(europepmc) ### Name: epmc_profile ### Title: Obtain a summary of hit counts ### Aliases: epmc_profile ### ** Examples ## Not run: ##D epmc_profile('malaria') ##D # use field search, e.g. query materials and reference section for ##D # mentions of "ropensci" ##D epmc_profile('(METHODS:"ropensci")') ...
4d404a17b10135ddcda9c8320beb2852b7db545e
0ea92a0e1eace26312972c5d2be22ae49b59c99c
/R/AnnualReporting/dup_wlg_2019_2020.R
9de38411532a6ad066c1019c155e03e081183871
[]
no_license
HARPgroup/vahydro
852425ccf9271ebe2ff95fb6b48d8b7eb23e473f
73ea02207eee96f574f24db95fad6a2f6a496e69
refs/heads/master
2023-09-04T00:11:29.732366
2023-09-01T18:13:46
2023-09-01T18:13:46
147,414,383
0
0
null
2023-09-08T13:52:26
2018-09-04T20:37:13
R
UTF-8
R
false
false
515
r
dup_wlg_2019_2020.R
library(sqldf) dup_wlg_2019_2020 <- read.csv("C:/Users/maf95834/Downloads/dup_wlg_2019-2020.csv", header = TRUE) dup_wlg <- sqldf("SELECT distinct a_featureid, a_tsvalue, b_tsvalue, to_timestamp FROM dup_wlg_2019_2020 ORDER BY a_featureid") dup_wlg2 <- sqldf("SELECT distinct a_featu...
df9ef3aa5b02fcee8310f537c6ecbdeaecda6ff7
eac3daa61e88a1c6d8a4681c021b03c59a5cc2ad
/man/coef.regimix.Rd
cdf0b9f01f3cd9b0b4d1cd75bc1e746aba1c80eb
[]
no_license
GrantDornan/RCPmod
10082ac51346ed216a669258dedc4fdbf4a49c1b
6c03f910c7f82c8afdd91cd68f83286e6874b699
refs/heads/master
2021-01-17T18:20:47.627051
2013-11-01T00:00:00
2013-11-01T00:00:00
null
0
0
null
null
null
null
UTF-8
R
false
false
645
rd
coef.regimix.Rd
\name{coef.regimix} \alias{coef.regimix} \title{A regimix objects coefficients.} \description{Returns coefficicients from a regimix object. } \section{Method}{ coef( object, \dots{}) } \arguments{ \item{ object}{an object obtained from fitting a regions of common profile mixture model. Such as that generated from a cal...
a8643f435a617961aa1a04a174ee833b9770ac69
4f43b8f323fcf9f902933a2500fea7689a14fc4e
/ui.R
c847c0631272d3d6b95c6d37546fb99e143abc67
[]
no_license
Rdfricker/NormalProbDemos
59b267908e2afce9bb90c695d8d544137043d52b
30e177d820bb3976390b7fe032f6c275de42aa1a
refs/heads/master
2016-09-06T15:05:42.292012
2013-08-20T23:54:00
2013-08-20T23:54:00
null
0
0
null
null
null
null
UTF-8
R
false
false
673
r
ui.R
library(shiny) tails <- list("F(y) or the 'left tail'"="left", "1-F(y) or the 'right tail'"="right") shinyUI(pageWithSidebar( # Application title headerPanel("Probabilities from Normal Distributions"), # Sidebar with a slider input for number of observations sidebarPanel( ...
9bffc254fafd3e16aa305e518bacfe88d1dd01f4
277dbb992966a549176e2b7f526715574b421440
/R_training/실습제출/권용진/10.29/(10.29)scraping.R
7fd06eb77116a682fb6ccdb880abbe46716bed35
[]
no_license
BaeYS-marketing/R
58bc7f448d7486510218035a3e09d1dd562bca4b
03b500cb428eded36d7c65bd8b2ee3437a7f5ef1
refs/heads/master
2020-12-11T04:30:28.034460
2020-01-17T08:47:38
2020-01-17T08:47:38
227,819,378
0
0
null
2019-12-13T12:06:33
2019-12-13T10:56:18
C++
UTF-8
R
false
false
967
r
(10.29)scraping.R
url = "http://unico2013.dothome.co.kr/crawling/exercise_bs.html" text = read_html(url) text html_text(html_nodes(text, "h1")) nodes = html_nodes(text, "a") nodes html_attr(html_nodes(text, "a"), "href") html_attr(html_nodes(text, "img"), "src") html_text(html_nodes(text, "h2:nth-of-type(1)")) html_text(html_node...
0ff8659358ba3a7c76a5cb5cd3cd6e503e3226d8
273e68a7608d20da07288085583983979146fde7
/R/loadMetaQ.R
b8cd7e2ec8598b06f4fb8bed09607dcbd575bb4c
[]
no_license
HCBravoLab/metagenomeSeq
cd3a36e82a508dc3ac44f37d20b713f9ea4c7abc
df8a28214fa9cb25870dee0e5cc909c160ce8da2
refs/heads/master
2023-04-08T19:09:04.362067
2020-06-10T13:41:35
2020-06-10T13:41:35
8,764,233
48
23
null
2023-03-27T18:39:38
2013-03-13T23:55:45
R
UTF-8
R
false
false
990
r
loadMetaQ.R
#' Load a count dataset associated with a study set up in a Qiime format. #' #' Load a matrix of OTUs in Qiime's format #' #' #' @aliases loadMetaQ qiimeLoader #' @param file Path and filename of the actual data file. #' @return An list with 'counts' containing the count data, 'taxa' containing the otu annotation, a...
507a908743cdcf0e8a1f1d3441348da85761109e
2c38fc71287efd16e70eb69cf44127a5f5604a81
/man/tar_runtime_object.Rd
a9ace11b1b6fad87d5c8c4c4f2a4bdff3dcb0eb6
[ "MIT", "Apache-2.0" ]
permissive
ropensci/targets
4ceef4b2a3cf7305972c171227852338dd4f7a09
a906886874bc891cfb71700397eb9c29a2e1859c
refs/heads/main
2023-09-04T02:27:37.366455
2023-09-01T15:18:21
2023-09-01T15:18:21
200,093,430
612
57
NOASSERTION
2023-08-28T16:24:07
2019-08-01T17:33:25
R
UTF-8
R
false
true
520
rd
tar_runtime_object.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/class_runtime.R \name{tar_runtime_object} \alias{tar_runtime_object} \title{Get the \code{tar_runtime} object.} \usage{ tar_runtime_object() } \value{ The internal \code{tar_runtime} object of class \code{"tar_runtime"}. } \description{ For i...
b20cbd3c939c844bb6b351dd58aa418beb2d9d74
06e566344a44b240870cd5455798634baf8a4fcd
/go_hyperG_entrez.R
e9f83faa73844fe915579e5df75ed320afa58b2d
[]
no_license
raagbtitl/bio_genomics
460895e71b03c1524cb1ac4ba12600806537fd55
9d6ff08a865829ab429b687e5cc596bf76fd416a
refs/heads/master
2020-05-29T08:49:45.582403
2018-10-13T04:04:30
2018-10-13T04:04:30
68,956,572
4
0
null
null
null
null
UTF-8
R
false
false
1,730
r
go_hyperG_entrez.R
library(GOstats) library( "org.Hs.eg.db" ) convertIDs <- function( ids, fromKey, toKey, db, ifMultiple=c( "putNA", "useFirst" ) ) { stopifnot( inherits( db, "AnnotationDb" ) ) ifMultiple <- match.arg( ifMultiple ) suppressWarnings( selRes <- AnnotationDbi::select( db, keys=ids, keytype=fromKey, cols=c(fromKe...
ecf3f602ad962399b9947a9049883b5999606f6c
450bd26d71984a23ff5412cf17026fa13cc33098
/R/mod_plot_settings.R
e4b465c0e6faf34d7565a5c1a4a4a65479b83dd8
[ "MIT" ]
permissive
cparsania/funomeView
e18e8424bd59fac63b6140b7695b5792f8fca6e5
dca6c8baab6018c4ee1bd5a29485c85f64579c9a
refs/heads/master
2021-01-04T07:00:55.222815
2020-02-24T13:27:57
2020-02-24T13:27:57
240,440,851
0
0
null
null
null
null
UTF-8
R
false
false
3,227
r
mod_plot_settings.R
# Module UI #' @title mod_plot_settings_ui and mod_plot_settings_server #' @description A shiny Module. #' #' @param id shiny id #' @param input internal #' @param output internal #' @param session internal #' #' @rdname mod_plot_settings #' #' @keywords internal #' @export #' @importFrom shiny NS tagList mod_p...
585e9a0fac0efa7a197a584e1b4ef457cb0886ca
ee531f00ad32845f124142f1c60ebc4b48846cf2
/cdfplots.R
bae5b4d4d8c3722909f779d1992738b2fd9e9dc3
[ "CC0-1.0" ]
permissive
kandarpRJ/epi_psych_metaanalysis
f27ff8b7d3df1a1531e2b79b128fcb438ae0546a
2218b676b78888b0499b17f2b1273e873eb1446d
refs/heads/main
2023-02-25T03:46:24.824405
2021-02-05T08:10:36
2021-02-05T08:10:36
333,604,718
1
0
null
null
null
null
UTF-8
R
false
false
4,961
r
cdfplots.R
library(plyr) library(dplyr) library(ggplot2) library(cowplot) ## Inputs cblm<-"human_cblm_m6a_containing_genes_with_m6a_counts.txt" crbm<-"human_crbm_m6a_containing_genes_with_m6a_counts.txt" ## Functions makeplot<-function (m6agl, fn, grp) { m6a_gl<-read.table(m6agl, header = FALSE, row.names = NULL) degl<-r...
4960d517ba31feb49c56d318cee0a00bf02724fe
f7aee635c39f4ab9cb7922263150e793e5361ab2
/JSON/Google-Geocode-Example-JSON.R
177428466d091830d6fab863b8e1af17153307f8
[]
no_license
EarlGlynn/google-geocode-json-xml
9f3dac1081b4010e61345bc412371716008f971b
e7dce0c2343886eccd1ccb3b374a1b2fad02cfa7
refs/heads/master
2021-01-23T13:53:07.688329
2015-01-06T16:06:37
2015-01-06T16:06:37
28,834,168
0
1
null
null
null
null
UTF-8
R
false
false
481
r
Google-Geocode-Example-JSON.R
# JSON Google Geocoding tests # efg, UMKC Center for Health Insights, 2014-01-05 setwd( "C:/2015/R/Geocoding-Google-JSON-XML/JSON/") sink("Google-Geocode-Example-JSON.txt", split=TRUE) source("Google-Geocode-JSON.R") # No ZIP d <- get.geocode("IDNumber", "2411 Holmes St", "Kansas City", "MO", "") d # With ZIP id ...
6434595722e18c3ea0aac3debceda937293ecfb4
10b73f8b17fbe3034da332815b08d816ba5aa60e
/server.R
61b500211fd9001a0dacb00288db1037080f17b9
[]
no_license
calefin/ShinyApp_Cell_count
d155bc0612bd6db181b2efd78986958740e37a2b
9da3be18f818477f8ff6fa91d3cc18750e1a7ac8
refs/heads/master
2021-01-22T02:53:55.443181
2015-08-20T13:57:52
2015-08-20T13:57:52
41,097,386
0
0
null
null
null
null
UTF-8
R
false
false
279
r
server.R
shinyServer( function(input, output) { output$valor <- renderText((input$num/input$num1)*input$num2*10000) output$count <- renderText((input$num3*1000)/((input$num/input$num1)*input$num2*10000)) } )
6ba9cb9c51c0424a31c2eef2adc67b1a3f80ff40
1d02eb4f73d255f39ef1ae97945e81259af4060b
/R/BALESTRIVOL2CAP7EXER13.R
5073a52ec87b1eb7f84cc08658b222a5d8bce882
[]
no_license
alexandrenovo/stats4eb
79416a0b8e8750c559f15ca6f3251c76048e9c88
ba3e9036d2449a89ef75bc6fdbb41858ebe9e981
refs/heads/main
2023-05-09T16:52:07.452491
2021-06-15T22:41:00
2021-06-15T22:41:00
368,988,889
1
0
null
null
null
null
UTF-8
R
false
false
287
r
BALESTRIVOL2CAP7EXER13.R
#' BALESTRIVOL2CAP7EXER13 #' #' IDADES DOS ALUNOS DO 1 ANO EM MATEMATICA EM 2016 #' #' @format A data frame with 7 rows and 2 variables: #' \describe{ #' \item{IDADE}{IDADES DOS ALUNOS EM ANOS} #' \item{FREQUENCIA}{FREQUENCIA DOS ALUNOS COM ESSA IDADE} #' } "BALESTRIVOL2CAP7EXER13"
bf7e59083cbedf4dc49a2366ea1b8f6df31118f7
15c9ccaadce922531f241d57c29d60d96d47286a
/man/trunc.Rd
9a7329e525a96ce3841736f1998849a22ffb3271
[]
no_license
walkabillylab/activityCounts
9b15db61216ca2ee35c5279ef1713dac9de3074b
12e9d782c51eef1f57cb4e21caccbe7bda1b96e1
refs/heads/master
2023-06-02T00:04:57.064561
2023-05-11T18:40:25
2023-05-11T18:40:25
187,262,813
5
2
null
2023-05-11T18:40:27
2019-05-17T18:21:36
R
UTF-8
R
false
true
451
rd
trunc.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/trunc.R \name{trunc} \alias{trunc} \title{trunc} \usage{ trunc(data, min_value) } \arguments{ \item{data}{The input variable which will be altered if less than the threshold} \item{min_value}{the threshold which the input below it will be se...
169a22eae20cf8920cfbe19916f9bc8bfb78d3dd
7441a5909020383eb5b328439c2025367c9375ae
/R/dualpathFusedL1X.R
a33897d79150c0db1c1fc9f24a1282531b7f2c12
[]
no_license
cran/genlasso
1c306ff866222fd38561173aa936de8fe64e4d47
c2367f08977cfcc615f3e0e33ad885ab3d72a94e
refs/heads/master
2022-08-29T09:01:57.881638
2022-08-22T07:10:10
2022-08-22T07:10:10
17,696,330
0
1
null
null
null
null
UTF-8
R
false
false
13,174
r
dualpathFusedL1X.R
# We compute a solution path of the sparse fused lasso dual problem: # # \hat{u}(\lambda) = # \argmin_u \|y - (X^+)^T D^T u\|_2^2 \rm{s.t.} \|\u\|_\infty \leq \lambda # # where D is (a multiple of) incidence matrix of a given graph, row- # binded with (a multiple of) the identity matrix, and X is a full column # rank p...
d7c08965ba79e6be4e5746b3aa6b75ee43227cb5
ec16d99b02295eb346af885cfe3cd21c9a827f01
/plot4.R
144fcb63afbaa9bbf52ec676657833aa1018affb
[]
no_license
lindalest/ExData_Plotting1
c96d570b9f33adf711d5ade5f53aaae4c7fc4cec
c36d48e03a04f555d31a1324ede73155a034f049
refs/heads/master
2021-01-17T20:26:09.885428
2015-04-11T21:03:07
2015-04-11T21:03:07
33,792,332
0
0
null
2015-04-11T20:58:56
2015-04-11T20:58:55
null
UTF-8
R
false
false
1,286
r
plot4.R
library(dplyr) library(lubridate) data <- read.csv("household_power_consumption.txt", header = T, sep =";", stringsAsFactors = F, na.strings= "?", dec=".") glimpse(data) spec_data<-filter(data, Date == "1/2/2007" | Date == "2/2/2007") spec_data$ssd_date <- paste(spec_data$Date, spec_data$Time, sep=" ")...
4e5ffcd5ab73e2193a12a233f733bfee7ca8bc0a
fa44e7a7a231c54078a56ead85da8cd26eef2e64
/Codici/CONSEGNA FINALE/Provincia di Venezia (caso puntuale)/Genera Triangolazione (per avere triangolazione più fitta)/Aumenta Triangolazioni.R
dddce3f4f945cf0c0e674522900d8c73a5805d56
[]
no_license
GabrieleMazza/TesiDiLaurea
1018d2d7aeaba3894f4042488a04f8923bb0a759
952e34355c2e718f180c4b79b55f1e48af33c887
refs/heads/master
2021-01-23T07:21:28.876038
2015-04-24T13:38:10
2015-04-24T13:38:10
26,230,512
0
0
null
null
null
null
UTF-8
R
false
false
1,670
r
Aumenta Triangolazioni.R
# This script is used to create the riangulation # INPUT FILES # Boundary.txt -> Boundary of Venice Province # CoordinateCovariate.txt -> Points of municipalities # OUTPUT FILES # TriangulationPoints.txt -> Spatial points of triangulation # Triangulation.txt -> Index of TriangulationPoints for...
a03981b2137a984b4f39d1af0d2ff6db3f924adb
8085d4fd6acc4a912c669e9b3cb67545ac90fc3d
/Experiments/PURSUIT.r
3e7cacdca861b0d18e850cb10709a252f13e8581
[]
no_license
jonscottstevens/Pursuit
9d523ede33045e1e496c0b187d729043da7bfa0f
dca3a8bf46935684ef881fbf31464c484ffc8e13
refs/heads/master
2021-01-09T20:45:06.228952
2016-06-02T15:22:25
2016-06-02T15:22:25
60,275,087
0
4
null
null
null
null
UTF-8
R
false
false
4,779
r
PURSUIT.r
#A REINFORCEMENT-BASED WORD LEARNING ALGORITHM library(plyr) ################ #preliminaries #MAKE SURE YOU HAVE GENERATED DATA BEFORE YOU LOAD THIS SCRIPT #initialize data structures words<-c() objects<-c() observed_words<-c() #construct an empty matrix for storing probability scores for(n in 1:length(uttere...
36b6c46ff0538df8cca0ac80c6cf4c7d2628f2e6
7a95abd73d1ab9826e7f2bd7762f31c98bd0274f
/meteor/inst/testfiles/ET0_PenmanMonteith/AFL_ET0_PenmanMonteith/ET0_PenmanMonteith_valgrind_files/1615842172-test.R
5cd16c3dd6750d0c3aedeb669b3ff4f3294ddd1f
[]
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
700
r
1615842172-test.R
testlist <- list(G = numeric(0), Rn = numeric(0), atmp = numeric(0), ra = numeric(0), relh = numeric(0), rs = numeric(0), temp = c(1.81037701089217e+87, -2.93112217825115e-158, 9.03412394302482e-46, 4.56997008477285e+255, -1.93925524631694e-68, -1.9689320904705e+208, 1.10818199152215e-09, 4.00294354...
78d97809bc9040f1d5fc7be63f78a357c4ab1e5d
edee4a9c4cf3c35a52dfc99ac53279ab23e069ab
/examples/Join/spatial_joins.R
227af7f2f1380a8af1d4a2b379a79450b9df4835
[ "Apache-2.0" ]
permissive
benardonyango/rgee
a8dd22a72f2c77a0d1e88f6177c740942fe2cfbc
e9e0f2fa7065e79c1c794bd7387fd0af633031ff
refs/heads/master
2022-04-09T18:10:23.689798
2020-03-31T10:56:00
2020-03-31T10:56:00
null
0
0
null
null
null
null
UTF-8
R
false
false
929
r
spatial_joins.R
library(rgee) # ee_reattach() # reattach ee as a reserved word ee_Initialize() # Load a primary 'collection': protected areas (Yosemite National Park). primary <- ee$FeatureCollection("WCMC/WDPA/current/polygons")$ filter(ee$Filter$eq("NAME", "Yosemite National Park")) # Load a secondary 'collection': power plants...
8ddca526344a06ab0d6236dcec8021dfd5c2342c
485f0a84c87e2cbd0f8ca91b3fe945dd8dc3de30
/src/data-prep/download-file.R
41e56c8456a2bcdd0035231a55f22c6331a1d439
[]
no_license
bramvdbemt/DPREP_teamproject_group14
65411cb72a3440c24d3079ff0f7191ce765bc833
cc6c8aa318d2407f80f3cdd1eb8ab6fd4dcc5d47
refs/heads/main
2023-08-30T18:16:06.056186
2021-10-08T12:41:30
2021-10-08T12:41:30
404,618,017
0
0
null
2021-09-09T06:55:39
2021-09-09T06:55:38
null
UTF-8
R
false
false
1,320
r
download-file.R
###################### ### DOWNLOAD DATA #### ###################### # all listings url_listings12.20 <- "http://data.insideairbnb.com/the-netherlands/north-holland/amsterdam/2020-12-12/data/listings.csv.gz" url_listings01.21 <- "http://data.insideairbnb.com/the-netherlands/north-holland/amsterdam/2021-01-09/dat...
85e0b7518262e73ca1e9c0083ef12aafeab898a2
a7c217ddf1e942f50829a5c85517b9461d65534e
/observational_metrics.R
c063d571382b7f281f4dc2a898ed71cb3768206c
[]
no_license
mandycoston/counterfactual
3d6a2a555de7c088a8d97999f98c5b4683f7c2eb
eaa4cad7d3f52ef633848c578954fc47f930f2d2
refs/heads/master
2021-12-14T00:40:34.869680
2021-12-01T16:35:36
2021-12-01T16:35:36
205,283,106
4
2
null
null
null
null
UTF-8
R
false
false
4,065
r
observational_metrics.R
# Compute fpr compute_fpr_obs <- function(t, pred, label) { pred_label <- ifelse(pred >= t, 1, 0) neg <- 1-label return(sum(pred_label*neg)/sum(neg)) } # Compute fnr compute_fnr_obs <- function(t, pred, label) { pred_label <- ifelse(pred >= t, 1, 0) return(sum((1-pred_label)*label)/sum(label)) } # Compute ...
f1b9b82d64c9252786cea973eed9630c8b0ad56c
2e2d277765b284c31083d967ea7b5a64d7005e99
/sampleScript.R
5559cbecf4eceb7c5770a9512c583b3e10d60d34
[]
no_license
mchikina/SIRageStratified
06f8ce2ee3cd009d552d8a5aa661221d09b6319b
657c19b421ebf6dd0f07cfb64fffb2bed16fcd90
refs/heads/master
2022-12-10T14:17:32.097686
2020-09-06T12:41:30
2020-09-06T12:41:30
279,653,102
4
1
null
null
null
null
UTF-8
R
false
false
1,750
r
sampleScript.R
source("simSIRmultiPopSingleIwithICUcomp.R") intMat=readRDS("interactMatsymmetric.RDS") popTable=readRDS("popParams.RDS") #crushing out=simulateSIRmultiPopICUcompartment( R0default = 2.7,R0init=0.9, popParams=popTable, restriction.effect = 1, interactionMat = intMat, free.bracket.fraction = 1, free.bracket=17, force...
bdf85fddd48f0fb99db8712f19f54f3465e046cb
257f253f9fd8fd6a385abaaaa9d9509409137631
/Figures/Figure - gs(w) (ESS).r
811a3041fcb6f8a2b7b859fbc3be545c4b2b5912
[]
no_license
YaojieLu/Optimal-model-with-cost
ee16d16e159687e0b7d06e132101422cd7f3a788
0a66573bc221034f02c0554c3ff63e371d025a85
refs/heads/master
2020-05-22T01:17:15.500934
2017-01-24T22:45:10
2017-01-24T22:45:10
50,156,177
0
0
null
null
null
null
UTF-8
R
false
false
6,225
r
Figure - gs(w) (ESS).r
# psf(w) psf <- function(w, pe=-1.58*10^-3, b=4.38)pe*w^(-b) # wf(ps) wf <- function(ps, pe=-1.58*10^-3, b=4.38)(ps/pe)^(-1/b) # PLC(px) PLCf <- function(px, c=2.64, d=3.54)1-exp(-(-px/d)^c) # xylem conductance function kxf <- function(px, kxmax=5, c=2.64, d=3.54)kxmax*exp(-(-px/d)^c) # minimum xylem water potent...
48fa3050b9b3b00700da0465f40b88e14fca41c4
321d64b8075c68a8472aa712114ea9f5131607d1
/plot6.R
6628afb23f647f150a70fd91be25630af62d545b
[]
no_license
fengkehh/Exploratory_Data_Final
9ac6a4239450a70cfec0be4373512346e2a3e6e3
c28fb065569451be4397e307f8c40f0a59a1618f
refs/heads/master
2021-01-19T11:18:30.936074
2017-02-18T22:19:54
2017-02-18T22:19:54
82,237,867
0
0
null
null
null
null
UTF-8
R
false
false
2,806
r
plot6.R
# Plot 6 # Load data if necessary data_load <- function() { # Check that both data files exist if (!prod(c('Source_Classification_Code.rds', 'summarySCC_PM25.rds') %in% dir())) { download.file('https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip', destfile = 'datas...
06eb181ae041e03b3357d22916481933e1ed1c10
5669abed76a620d6ceca9196df2f5aa5403f5d1e
/plot4.R
4eb40adccdc465295a8e35970847dd287af9d232
[]
no_license
katsai81/ExData_Plotting1
f681947e38ca51c870565ddcaad17546799fd919
9ff8a02e763153a7bee0b8907730872e6af7f12f
refs/heads/master
2021-01-21T06:02:10.947960
2016-01-11T04:56:07
2016-01-11T04:56:07
49,402,832
0
0
null
2016-01-11T04:51:39
2016-01-11T04:51:39
null
UTF-8
R
false
false
1,642
r
plot4.R
hpc<-read.table("household_power_consumption.txt",sep = ";",header = TRUE,fill = TRUE) hpc$Global_active_power <- as.numeric(as.vector(hpc$Global_active_power)) hpc$Sub_metering_1 <- as.numeric(as.vector(hpc$Sub_metering_1)) hpc$Sub_metering_2 <- as.numeric(as.vector(hpc$Sub_metering_2)) hpc$Sub_metering_3 <- as.numer...
2c547ef6d2c5b0869cd61ade82eafb934daba2db
68f98adc577eeb49af175e3b28ddff9d1c816181
/funfacts.R
3217ac38a1d661a6d812f5fa1ed846aadac89ec8
[]
no_license
AF2-Informagics/Final-Project
8fb1bfb52d71d28f844aa110b5cb9c00338283e5
b2ac4afe06e69b46f8cb447b443d614c0e5d7088
refs/heads/master
2020-12-30T11:52:49.063870
2017-06-02T02:20:29
2017-06-02T02:20:29
91,435,921
0
1
null
null
null
null
UTF-8
R
false
false
1,182
r
funfacts.R
library(dplyr) library(stringr) library(plotly) library(ggplot2) source("scripts/dataframe.R") improved.df <- df improved.df$new.additional <- substring(improved.df$Additional, 2) improved.df$new.additional <- ifelse(improved.df$new.additional != "", as.numeric(gsub(",", "", improved.df$new.additional)), 0) #Select ...
7d88ed6c4467a94c675fd5e67856020a8a790247
6ae2d6b27576cc8c75a7e02256db410e5007a8b2
/man/dev_copy2a4.Rd
7ee3e8b448b962ddb8ee2961a964a34543ebc308
[]
no_license
HughParsonage/hutils
3c2cec1b1a01179219deb47df0dc9e6a3a127435
11e6f828876bbc87a42d43a0ee8084ee6d9a6765
refs/heads/master
2023-02-20T04:27:01.996815
2023-02-10T05:18:04
2023-02-10T05:18:04
88,268,552
11
2
null
2022-04-13T08:31:57
2017-04-14T13:09:05
R
UTF-8
R
false
true
572
rd
dev_copy2a4.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dev_copy2a4.R \name{dev_copy2a4} \alias{dev_copy2a4} \title{Copy device to an A4 PDF} \usage{ dev_copy2a4(filename, ...) } \arguments{ \item{filename}{A string giving the name of the PDF file to write to, must end in \code{.pdf}.} \item{...}...
8dc9a7adf6cc29a9bcd389e4c0f9a0dc9f9fb21d
07c0538a8d869c175cd7dda2de462bf5b41295f9
/functions/basic/download_AWAP_vp3pm_data.R
6f2e0f83dba5f7282bcc53a68626c34784a66453
[]
no_license
mingkaijiang/Australia_drought_storm_risk
065d45fb13914f84ed1c24de8c0dbce58f966d2e
7c2a4aa37048041cbc14ee43a6cd2ab670314d40
refs/heads/master
2023-08-16T00:17:45.592504
2021-10-26T04:27:33
2021-10-26T04:27:33
269,794,353
1
0
null
null
null
null
UTF-8
R
false
false
884
r
download_AWAP_vp3pm_data.R
download_AWAP_vp3pm_data <- function(destDir) { ### remote url url1 <- "http://www.bom.gov.au/web03/ncc/www/awap/vprp/vprph15/daily/grid/0.05/history/nat/" ### file names day.list <- seq.Date(as.Date("2020/04/01"), as.Date("2020/11/30"), by=...
b489e49e2b734acaaf075d47578631ddae6b1bf6
8826ea55530c96aa11f5d66dd6ea4bb15c0feb5a
/man/set_model_library_path.Rd
92c5b2dfeb839c578c983d934329d78915acdd62
[ "MIT" ]
permissive
odaniel1/stanworkflowR
37a6d5f43d6803f7cf13db10c0579c0d88c12191
52fa15b371a7193128a9bea6b66850d909a4591c
refs/heads/master
2020-08-28T03:28:58.044736
2019-10-26T14:01:45
2019-10-26T14:01:45
217,564,146
0
0
null
null
null
null
UTF-8
R
false
true
385
rd
set_model_library_path.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/paths.R \name{set_model_library_path} \alias{set_model_library_path} \title{Fix a path in global options for stan models to be saved.} \usage{ set_model_library_path(path) } \arguments{ \item{path}{A file path} } \value{ Invisible } \descript...
9ac881f2034111fb81555620f3ec8f6912ac4ed0
1e2580d2b2771ea6f5d5c07827d9679507af1011
/R/nih.R
f47d731e8536de1f448da96283a6dae91416eed3
[]
no_license
louisahsmith/louisahstuff
5500e7476f62903059d357927e43550df0d5ce43
75ee938ce59551999e17145580de2aec33add646
refs/heads/master
2022-08-29T00:53:32.687843
2022-08-03T15:46:16
2022-08-03T15:46:16
170,620,522
0
0
null
null
null
null
UTF-8
R
false
false
1,148
r
nih.R
#' @title NIH grant template #' #' @description This function produces an R Markdown document corresponding approximately to what an NIH grant may look like #' @param metadata Extra yaml metadata to include. Defaults to NULL. #' @param type Either "pdf" or "word". Defaults to "pdf". #' @keywords template #' @export #' ...
2f6f3d0db258568d876cf7a9da915307bbbd6f6b
8a46fd6a2acd85260015a4ece2a12ed7fbcf14e4
/man/PDFtexp.Rd
ec5bf0d873e961a28a4cde741a2989c217e673bc
[]
no_license
petrkeil/spasm
3c85faee44b25dfd81cb9587a0214960aa036d71
bfda334b6870f3850936b07a0f363582c9cc8b2b
refs/heads/master
2021-06-22T01:44:52.548414
2021-01-11T09:17:45
2021-01-11T09:17:45
160,325,563
2
0
null
null
null
null
UTF-8
R
false
true
623
rd
PDFtexp.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/point_patterns_simulated_communities.R \name{PDFtexp} \alias{PDFtexp} \title{Truncated exponential probability density function} \usage{ PDFtexp(d, alpha, dlim = c(0, 1)) } \arguments{ \item{d}{a vector or scalar representing spatial distance...
8cade118acf2e2ae3ea35c05b4e85db3e66c8540
4e929f4a92a2533e713b87adb06f773748814126
/R/RProjects/HITHATStats/R/ml17.R
bb2bc695d9f54358dcf33d03b651e3341fc32bbf
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
jlthomps/EflowStats
f4fe56f17cb675bcc1d618bc838003c2f2e9f81b
016c9cb65a2f13a041af3eb87debb4f83793238a
refs/heads/master
2021-01-01T05:33:44.189671
2013-12-04T23:30:21
2013-12-04T23:30:21
null
0
0
null
null
null
null
UTF-8
R
false
false
1,024
r
ml17.R
#' Function to return the ML17 hydrologic indicator statistic for a given data frame #' #' This function accepts a data frame that contains a column named "discharge" and #' calculates the base flow. Compute the mean annual flows. Compute the minimum of a 7-day moving average #' flow for each year and divide them by...
a4769ac843eca27aa0ddc724b8a276ef5522e3af
09b2ffbd39efa3fc96449ce538d729b0a454fa33
/data-analytics-skills/scripts/src/RAM/sumcol.R
430f4244c9d63481b76d23c4f4a5c0b5c634c4bd
[]
no_license
sgelias/bacterial-16s-metabarcoding
9bdccf9ec089c471374ad7179388bc19e5dd3244
5b6162755871c3c7bebc88761d96bc4df35b30f4
refs/heads/main
2023-02-21T22:13:43.577038
2020-11-10T02:03:56
2020-11-10T02:03:56
310,366,424
2
0
null
null
null
null
UTF-8
R
false
false
113
r
sumcol.R
sumcol <- function(X) { ret = X X = as.matrix(X) if (dim(X)[1] > 1) ret = colSums(X) return(ret) }
00f7ae5fdea070fd78e857afc0b1fd9d53a1189c
6dc2d9ef6198ede44345bdea09aad12107e4d5d9
/cuantiAtr.R
467415644083ed5a39c29bef685700bcaefa3402
[]
no_license
laparcela/modelo_red_booleana_milpa_rafa
0785af645855f393712c69fb26ceb6b4447cd75f
2c593eebe211f9af2443e74b33446583a276e049
refs/heads/master
2021-07-17T01:28:33.787325
2017-10-23T21:12:18
2017-10-23T21:12:18
108,016,086
0
0
null
null
null
null
UTF-8
R
false
false
5,497
r
cuantiAtr.R
#Descripcion: funcion que cuantifica las frecuencias de los atractores a los que se llega a partir de una red logica (logica, multivaluada o infinitamente valuada) bajo distintos criterios cuantiAtr<-function(x){ require(MASS) svd<-function (x, nu = min(n, p), nv = min(n, p), LINPACK = FALSE)#Funcion que obtiene los ...
323109fe8723eaa966af19959f31fd1d0004bada
01b14f97b730f8a05c74d04c3779c7c21ee599de
/man/leave.Rd
e024e3b86144dda36f1d3d1b65c34b71b2983f7f
[]
no_license
sifuentesrigo/simmer
8fdbdc1dac485169a248cff4c5faff0e342154db
72e73591e4af1152706c43936294efd579d7b586
refs/heads/master
2021-01-21T23:21:00.594696
2017-06-05T15:45:42
2017-06-05T15:45:42
null
0
0
null
null
null
null
UTF-8
R
false
true
404
rd
leave.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/trajectory-activities.R \name{leave} \alias{leave} \title{Add a leave activity} \usage{ leave(.trj, prob) } \arguments{ \item{.trj}{the trajectory object.} \item{prob}{a probability or a function returning a probability.} } \value{ Returns t...
c921f88c4d03ba5b8c2067ae3406d8bcb6d55faa
f70b257d50e83ee8308398ca8ca6fa369316c5c5
/project_summary/r proj.R
cf7625d947d595d129bb806dc08e4e5c8273d81c
[]
no_license
MeilingDai/rmarkdown_template_stephen
2f2db1cea8c55beb617aeffad2b0d8f3f5c51b3c
04c774923e8cd5e0e10289b33d35475d5725cdca
refs/heads/master
2020-09-20T15:58:53.726612
2019-11-27T11:21:42
2019-11-27T11:21:42
224,101,353
0
0
null
null
null
null
UTF-8
R
false
false
3,095
r
r proj.R
library("tidyverse") read_csv("data/field_horses_metadata.csv") field_horses_metadata <- read_csv("data/field_horses_metadata.csv") field_horses_metadata read_csv("data/field_horses_raw_counts.csv") field_horses_raw_counts <- read_csv("data/field_horses_raw_counts.csv") field_horses_raw_counts field_horses_raw_counts...
d8976a343563de89945cb775b808f843e2afab2d
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/lqr/examples/best.lqr.Rd.R
bfa3575ad18a037f61530d8680dc3419ddd74d47
[]
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
612
r
best.lqr.Rd.R
library(lqr) ### Name: best.lqr ### Title: Best Fit in Robust Linear Quantile Regression ### Aliases: best.lqr ### Keywords: package quantile regression skew ### ** Examples ## Not run: ##D data(crabs,package = "MASS") ##D ##D crabs$sex <- as.character(crabs$sex) ##D crabs$sex[crabs$sex=="M"]=0 ##D crabs$sex[crab...
f7222773842e1bd14bd84057fb0ed965b2608578
a3018c84b625e2a15876509c21428e225fa02385
/Sepsis_Reports.R
24982dadaf031f270c213f6eb3055ecd5c96cb6c
[]
no_license
dhidru/ED_code
ab850e2fc4384ef6a1105e9ec06264f0c8d42edc
e32a67c4b6aaafaa74cec3f7eb08a890cf865805
refs/heads/master
2020-08-07T10:03:29.859837
2019-09-04T20:30:20
2019-09-04T20:30:20
null
0
0
null
null
null
null
UTF-8
R
false
false
12,244
r
Sepsis_Reports.R
library(plotROC) library(dplyr) require(gridExtra) library(pROC) library(lubridate) library(reshape2) library(scales) library(RColorBrewer) library(data.table) # load and process data path <- "./data/EPIC_DATA/" # ============ 1. Load Files ================= # # a. Get Nurses files RN_files = Sys.glob(paste0(path, "...
c1d11e3073c483b74a7eefc004230ce397e11284
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/CRPClustering/vignettes/CRPClustering-vignette.R
65d38e0d87be6f089e470628d20c84a81b0c67b9
[]
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
71
r
CRPClustering-vignette.R
### This is an R script tangled from 'CRPClustering-vignette.pdf.asis'
2764ae34c886b4302c9af3e47f14a6b8172c22f4
62351b2ae150595a926b379adf17c23aa4c44f56
/R/wool_weigth_needed.R
1dba487dea3c3589f7ed5d3a8b7b212fdd872d75
[]
no_license
Vaugoyeau/tricot
a3f0bb98200e9b73232c141794e7059ef27f2ef8
a4f3461fa08cfa4dfcf9b6ef66e9c4d7c2b7f1f6
refs/heads/master
2023-03-18T08:27:51.579653
2021-02-27T21:18:28
2021-02-27T21:18:28
335,958,095
0
0
null
null
null
null
UTF-8
R
false
false
1,957
r
wool_weigth_needed.R
#' Calculation of the wool quantity needed #' #' @param img_k ggplot image from knitting_image() #' @param rg Row number to have 10 cm #' @param m Stitch number to have 10 cm #' @param p Weight (g) to make the test square of 10*10 #' @inheritParams dplyr::arrange #' @inheritParams magick::image_raster #' @inheritPara...
56685db0927c8dcb4d09ae7404394b6ebcfac3cc
2948fc466c0935a4d4d07b8dfc79ee564034aac6
/replications/Rastogi_2016/R/rq3_time1-3.R
c0beae86e835b7f89153351ad6743eeb5d38e8d7
[ "MIT" ]
permissive
micheledinanni/Psychometric-tools-benchmark
5a0f8514e1a144787039c62f184a1af7d4fc5283
f9074c77c2a6151051a59853c19ce79ade276da7
refs/heads/master
2020-05-04T08:43:24.907430
2019-04-17T09:38:59
2019-04-17T09:38:59
179,052,341
1
1
null
2019-04-02T10:16:48
2019-04-02T10:16:48
null
UTF-8
R
false
false
2,014
r
rq3_time1-3.R
source(file="connectTodb.R") # Import the personality score data query="select * from year1_cc" year1_cc<-dbGetQuery(con,query) query="select * from year1_pr" year1_pr<-dbGetQuery(con,query) query="select * from year3_cc" year3_cc<-dbGetQuery(con,query) query="select * from year3_pr" year3_pr<-dbGetQuery(con,query)...
bcfee18fab210335e3afe6ee7a9131e063555182
5c5d9d2dc10df401a70e525a742755fde71ac646
/LD heatmap of Vole SNPs_before.R
59603cbc099dbcf45bc13f35a520019bd08abb49
[]
no_license
dcossyleon/Vole_Project
96ef5424f7c6907e11a43854d560a29348940ec1
b7e3566c2a0a719e5ea2eb74bbfb5b64ba334e14
refs/heads/master
2020-04-24T17:19:34.640061
2019-03-08T22:52:44
2019-03-08T22:52:44
172,139,598
0
0
null
null
null
null
UTF-8
R
false
false
733
r
LD heatmap of Vole SNPs_before.R
#Feb, 28, 2019 #LD heatmap of Vole SNPs #install package SnpStats in bioConductor # if (!requireNamespace("BiocManager", quietly = TRUE)) # install.packages("BiocManager") # BiocManager::install("snpStats", version = "3.8") install.packages("LDheatmap") library(LDheatmap) str(data(CEUData)) str(CEUSNP) CEUData ...
f3222063ffd41389ef67262cc1cc700118c8fdc7
c2c98c7973f7723f467f58d284f45b6126497e5b
/hmm/hist-length.r
fc8ac4a2413f2a976e31fcee35af320e4b17a815
[]
no_license
EnzymeFunctionInitiative/GNT
57e5123eda5d1c26e9c2bfbcde12d22d5105f302
c8edb13e30a17f6af8feb9d4c3962ca5ba90881b
refs/heads/master
2023-04-22T22:46:01.904171
2023-02-02T03:35:19
2023-02-02T03:35:19
91,615,525
0
0
null
null
null
null
UTF-8
R
false
false
1,005
r
hist-length.r
args <- commandArgs(trailingOnly = TRUE) type = args[1] arg_offset = 0 data_file = "" data_file = args[2] png_file = args[3] data_dir = "" start = 0 stop = 0 raw_data = read.delim(data_file, header=FALSE, sep="\t", check.names = FALSE) cols = raw_data[, 1] plot_data = t(raw_data[, -1]) arg_offset = 3 jobnum = "" e...
d31f1ca89288da8b9c9de11480fc95ca9c43628e
ea0d40c303a1a4597f1b507c9746d485c866738b
/scaping.R
dcfd8f88637bdd2204a4271e12bc8546605b7ea9
[]
no_license
venkatram64/rwork
38bdc7d399dc5bce113b807344ea78ae8d23a8f8
b6584b5356c9ca91581adb6cd71d30fd1aca19cc
refs/heads/master
2020-05-27T19:58:05.518963
2019-06-03T04:19:40
2019-06-03T04:19:40
188,770,228
0
0
null
null
null
null
UTF-8
R
false
false
110
r
scaping.R
#install.packages('rvest') library(rvest) #demo(package='rvest') demo(package='rvest', topic='tripadvisor')
c1cc88485807d86bf179c2d60aca1627887a3fc2
9faa3cfb92ff2cb58db8739fefffe4fd248bcf48
/lib/R/ema.R
8249a60919b255b302b03b540ed8cf0d21a8d305
[ "MIT" ]
permissive
joshterrell805-historic/StockPrediction
fd135e9b0d6f8033207511c2c5b6b2ba24cf150b
15795889d21421b2ab59c3a4669c36e0956a888d
refs/heads/master
2021-01-10T09:20:24.380517
2017-07-04T19:00:20
2017-07-04T19:00:20
49,034,347
0
0
null
null
null
null
UTF-8
R
false
false
377
r
ema.R
source('lib/sma.R'); ema = function(data, column, count) { multiplier = (2 / (count + 1)); prev = NA; return(sapply(1:nrow(data), function(i) { if (i < count) { prev <<- NA; } else if (i == count) { prev <<- sma(data[1:count,], column, count)[count]; } else { prev <<- (data[i, column...
ea4a9bdaeccb62fd31bde8434afe3d1d8de338c2
e5d5a917043fe280a2cfb1d058a800eefe2ce3d6
/man/pRojects.Rd
79d93ec1d464c30f211e336e43d72bc685f43cfc
[]
no_license
mdozmorov/pRojects
2ee8d3c715f57c9527b0d1c4757538963fdf24dc
8df07e9d1f5d506a73743a7d5019490a63d1a985
refs/heads/master
2021-01-19T08:59:09.906103
2017-04-25T01:22:40
2017-04-25T01:22:40
87,704,857
0
0
null
2017-04-09T11:53:18
2017-04-09T11:53:18
null
UTF-8
R
false
true
217
rd
pRojects.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pRojects-package.r \docType{package} \name{pRojects} \alias{pRojects} \alias{pRojects-package} \title{pRojects.} \description{ pRojects. }
51924545a3fa65853e9e2c8249ee81abaa3d7d4b
c09fa54a0adfeca7d21270960ccdd82ebb61a882
/lib/general_functions.R
78c09568fa6adb82fef87be6f7934e4f83c93eef
[]
no_license
eclarke/scid_tcrb_analysis
717741513a2c8a778365ee090350a0c5fd16b198
e0cdb3f314d185fcf07890b36ce6cb65c8a75ae5
refs/heads/master
2016-08-11T09:11:23.889170
2015-10-08T21:37:43
2015-10-08T21:37:43
43,841,572
0
0
null
null
null
null
UTF-8
R
false
false
415
r
general_functions.R
#' Reorders a factor's levels to match the order given by calling unique() on #' the factor itself. Useful for character vectors in data frames that are #' already ordered correctly, but when coerced to a factor, the levels are in #' alphabetical order. reorder_levels_by_uniq <- function(f) { if (!(is.factor(f))) f ...
799cf148fe81f8d88ac9959d71ebed9b4a820f0a
d8b128ac81ac68a78e8247e9f0027a62b62d5a3b
/STRING.db/man/getAllLinks.Rd
a683ae2a0df9e069192bca00ff84c652f4ce8b47
[]
no_license
stefanedwards/r-string
6e2c51c9cba9b9ac8a2fb700a254fc383f1d4fe0
2fa569174a2989c3eb129aec397936555f796847
refs/heads/master
2021-01-23T16:40:00.804970
2013-04-05T11:35:44
2013-04-05T11:35:44
32,138,809
0
0
null
null
null
null
UTF-8
R
false
false
729
rd
getAllLinks.Rd
\name{getAllLinks} \alias{getAllLinks} \alias{getAllLinks.0.2} \title{Generic function for getting all protein-protein links} \usage{ getAllLinks(conn, encoding, cutoff = 0) getAllLinks.0.2(conn, encoding, cutoff) } \arguments{ \item{conn}{Database connection to STRING.db-sqlite database.} \ite...
14e5764d8549e52a8f7a00acbce0551f590d5f44
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/itsmr/examples/deaths.Rd.R
bcbef1451236ac3ab7a66b0a46fd95a5a9b8b20e
[]
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
159
r
deaths.Rd.R
library(itsmr) ### Name: deaths ### Title: USA accidental deaths, 1973 to 1978 ### Aliases: deaths ### Keywords: datasets ### ** Examples plotc(deaths)
c72a6255b3f0e2f39ef44c8a5dea4505103f5861
e47a4995c1f02d90521f4cdb5a3becdba2520d49
/R/WriteStripeProp.R
66e776cd0425ee4a998eebd6c089c0ef0266178c
[]
no_license
SenguptaLab/MF.matR
9af3fbf77628250748af1a2a4a4515c09093e936
c64b0097131c6a2103e9489aa76692ae78085533
refs/heads/master
2023-01-24T22:06:28.450669
2023-01-12T22:19:19
2023-01-12T22:19:19
167,600,474
0
4
null
2023-01-12T22:19:20
2019-01-25T19:17:28
R
UTF-8
R
false
false
686
r
WriteStripeProp.R
#' using all_track_data.csv file, calculates proportion of worm tracks in (1) or out (0) of a stripe #' uses GetStripeProp to determine whether tracks are in or out #' Writes the proportion data to a csv within the same folder. #' @importFrom magrittr %>% #' @importFrom magrittr %<>% #' @export #' @examples #' WriteStr...
b34029f2ae0b4e2d8d69e1f6759dc95e8b08ea4a
4b871231c9007b3527198e9208243f2a78fd1cf1
/ThePlantGenome_Version/U_Calculations/U_Code_Calculation.R
0d9e95321787235b2a6117c591a3602d3158f132
[]
no_license
mdzievit/Genomic_Prediction
33c9a7be55bc99b22159cb3f6d62a8b6511f9bad
60d3b6aa1dfec35bb4344b0ade70e12846a8f61d
refs/heads/master
2021-12-28T10:49:32.186901
2021-12-21T19:05:40
2021-12-21T19:05:40
141,373,493
2
0
null
null
null
null
UTF-8
R
false
false
2,764
r
U_Code_Calculation.R
#### This script was setup to run on a server, you'll need to configure it for that accordingly. #lib_loc <- "~/R/x86_64-pc-linux-gnu-library/3.4/" ##Use this to run on desktop R studio #lib_loc <- NULL # library(MASS, lib.loc = (lib_loc)) # library(data.table, lib.loc = (lib_loc)) # library(doSNOW, lib.loc =...
dc830408c5ee74c46ebbf67afc0582d56d85fe67
dfea55706e15d6fded905df685f6b756b4052836
/R/mass.R
9e82e4d1975b7bf4bad2bfb89d8434a5f4785cac
[]
no_license
muschellij2/massr
d5691169a37b80a87da2d84ab02dfbeb0716f561
1cd6044e50a729671c65564249712bfb47790c0d
refs/heads/master
2021-01-22T21:18:00.296509
2015-03-23T17:00:25
2015-03-23T17:00:25
32,252,744
1
0
null
null
null
null
UTF-8
R
false
false
1,572
r
mass.R
#' @title Run MASS #' #' @description Runs MASS on source and target #' @param file Filename (or nifti) to match to target #' @param outdir Output directory for results #' @param nregs Number of registrations to do (default is 6) #' @param template_directory Directory #' @param retimg return nifti object versus output...
4c135c70e44948827db839828a047c44a7218063
7520bef4b0336f89b6d9706f3456ecd9894a3153
/RecruitPackage/recruitjapan/man/xgboost_predict.Rd
ccc3a0ecbbbddff93377af312871ee2539c75a40
[ "MIT" ]
permissive
ALaks96/Kaggle_competition_Restaurant_Visit_Forecast
fb918beea46132aca7be47072e0b671a7cb9d40e
6d3fc45aaebe722d8151f24aa92a46f9a9b98a34
refs/heads/master
2020-08-03T10:01:45.338795
2020-07-19T20:52:34
2020-07-19T20:52:34
211,711,943
0
0
MIT
2020-07-19T20:52:36
2019-09-29T19:04:02
R
UTF-8
R
false
true
454
rd
xgboost_predict.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/xgb_fcts.R \name{xgboost_predict} \alias{xgboost_predict} \title{xgboost_predict} \usage{ xgboost_predict(xgb1, dTEST) } \arguments{ \item{xgb1}{a classifier trained with xgboost} \item{dTEST}{a test matrix in the xgbboost_matrix format} } \...
70215fd23e6d76f06c5edca7203942394b719aaa
3112da48891821abba3ff40c7d1e7e40fdc80f0e
/code_notforpackage/Prior_sampling_plotting.R
16e49ef91b400181e8a6934a8b033aba60ba8b52
[]
no_license
TheoreticalEcology/NUCOMBog
a337d3d5177edef22d84ee4e4906dabf152c5c96
648c598c6823f343a84d174c197824abcd3e249d
refs/heads/master
2023-03-15T18:44:22.226411
2018-05-20T15:15:28
2018-05-20T15:15:28
null
0
0
null
null
null
null
UTF-8
R
false
false
3,288
r
Prior_sampling_plotting.R
rm(list=ls()) library(NUCOMBog) library(BayesianTools) # library(Rmpi) setwd("~/") setup_SMC<- setupNUCOM(mainDir = "/home/jeroen/MERBLEUE_decomp_JENKINSON/", climate = "MERBLEUE_RANDOM_soiltemp_1766_2013.txt",environment = "Env_Mer_Bleue.txt",inival = "Inival_Mer_Bleue.txt",start=1766,end=2013,type=c("NEE","WTD"),nu...
625a8aacd0830d17530c24b8f2df76de5eb8503b
e624cc888255935e3369a2236269ba12068e4892
/man/construct_yml_config.Rd
5e3a5baea8532f1d9ad189edc2909894b39e2fbb
[]
no_license
cran/DataPackageR
95e9a4005d070897a499c16a97c087ef07af830d
aada7b8e22af5b6c307844daca778a75b53d53ca
refs/heads/master
2021-06-09T19:09:11.147397
2021-03-17T08:50:03
2021-03-17T08:50:03
145,911,847
0
0
null
null
null
null
UTF-8
R
false
true
1,097
rd
construct_yml_config.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/yamlR.R \name{construct_yml_config} \alias{construct_yml_config} \title{Construct a datapackager.yml configuration} \usage{ construct_yml_config(code = NULL, data = NULL, render_root = NULL) } \arguments{ \item{code}{A vector of file...
c2b992cb24c59144be297ea51b0df4ff29eb966f
83c43061a32c1c899aefb564ba6c63c32f48b210
/General Code/CMcCode/man/reglines.Rd
5355f189e6bc3ec1213be194081088b95a3886ae
[]
no_license
chacemcneil/Personal
c694b71439d4884884a22a599f7dfd6e3549f49c
021c2f270f644654730c601b33458fad23185c26
refs/heads/master
2021-12-10T22:49:48.057640
2021-11-09T01:36:40
2021-11-09T01:36:40
45,845,740
0
0
null
null
null
null
UTF-8
R
false
true
2,227
rd
reglines.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Graphing.R \name{reglines} \alias{reglines} \title{Plot Regression Lines} \usage{ reglines(mod) } \arguments{ \item{mod}{Linear regression model as returned by \code{lm()}.} } \description{ Plots response variable against all explanatory vari...
0605f0625c2bbccaf092c5fb0c9455a7f529a388
7d2d4cdcea2e65e4d93ee7d052de1af938d3eaf3
/man/hor.Rd
324676dca851b56273636e8e0f85486781b3b167
[]
no_license
yangxhcaf/astsa
4b9472d9e2bab77d8e697d268c5d9e0d35014f0b
6a0ac28d5c2c31311421a089f19c02eec8f52cf4
refs/heads/master
2020-07-01T15:43:24.406600
2019-05-08T04:20:07
2019-05-08T04:20:07
null
0
0
null
null
null
null
UTF-8
R
false
false
685
rd
hor.Rd
\name{hor} \alias{hor} \docType{data} \title{Hawaiian occupancy rates} \description{Quarterly Hawaiian hotel occupancy rate (percent of rooms occupied) from 1982-I to 2015-IV } \format{ The format is: Time-Series [1:136] from 1982 to 2015: 79 65.9 70.9 66.7 ... } \source{\url{http://dbedt.hawaii.gov/...
d9a8b67710ebac805902a83ee52d766a125dcb0d
5a393f7931112161745cb0fd8b142de22432d54b
/SC.edgeR.perm.Pval.01.02.18.R
921b8074385504c1e3e8d406812c4b67325b7ecf
[]
no_license
bukhariabbas/stickleback-paternal-care
6de7adcc4b2260891358b3f00052e2af6ca469e2
a4cc41852b880303c98240d6f5686cad0193b918
refs/heads/master
2020-06-20T08:29:16.449781
2019-07-16T04:13:58
2019-07-16T04:13:58
197,059,308
0
0
null
null
null
null
UTF-8
R
false
false
2,696
r
SC.edgeR.perm.Pval.01.02.18.R
rm (list =ls()) setwd ("/home/n-z/sbukhar/eFDR/sc_counts/") stopifnot(require("edgeR")) stopifnot(require("plyr")) #### Parameters Brain_region = "D" #### targets = readTargets("Targets.txt") targets = targets[which(targets$BrainRegion == Brain_region),] get_DGE = function(targets) { Raw_DGE = readDGE(targets) ...
f589bcb73975f5f77aff42e8e36890b3481c1a02
a369ea4c55b65c57009fc6f8ac7930d54bd22bd2
/get_data.R
92529c1b64bad53dbc2b33ae8bcd5a1b92547a47
[]
no_license
vadimus202/PDT_2015
3af23fe4443a67793202fd85e9704b1482d5dfa4
8325fa793b775432a5c9738bddc3475d58e17d85
refs/heads/master
2021-01-25T06:40:08.673196
2015-07-09T02:26:51
2015-07-09T02:26:51
38,761,396
0
0
null
null
null
null
UTF-8
R
false
false
2,671
r
get_data.R
require(readxl) require(dplyr) raw <- read_excel('PDT2015 Attendee List for Sponsors_Exhibitors_v2.xlsx', sheet = 1) dat <- raw %>% mutate( name = paste0(FIRST_NAME, ' ', LAST_NAME), name = ifelse(is.na(DESIGNATION), name, paste0(name, ', ', DESIGNATION)), # clean up DC city =...
9c518f642705884d540066b04a0b171e70d35c0f
dc66fe1b9e4c21615711fc5513ebbf954f959da7
/Opportunities2.R
41a9223bb338574ea9c077559446f367f17965f2
[]
no_license
lyonslj/CTS
faaf1e7a77fcbca53e549c7ed064849297d5fbe7
79991cf56d59f0ec2efcc3dc0a30e619b1e2ca88
refs/heads/master
2021-01-19T10:14:25.418036
2020-11-12T07:29:47
2020-11-12T07:29:47
82,169,315
0
0
null
null
null
null
UTF-8
R
false
false
1,694
r
Opportunities2.R
Opportunities <- function(DaysAgo = 1 ) { #***************************************************************** # Find all instruments whose RSC(alsi40) > than its 24dma # #***************************************************************** library(reshape2) y <- NULL mydata <- head(y,0) #only need ...
d52215e41e5f379721fd6755d8f23cbd7e5174cb
9edbb0f6dab00623bd0b0042062e0201042090f0
/R/normalize.R
2b47736956c0b99f1b4d69eb52e9f08e43ff3a0c
[]
no_license
bozenne/butils
87161bb1e31570984f5a80e00d783f59297516fb
358a62cb656bf0b8ac335e71bf8b79102b458d8e
refs/heads/master
2023-07-23T10:19:58.756236
2023-07-18T13:00:10
2023-07-18T13:00:10
63,180,644
0
0
null
null
null
null
UTF-8
R
false
false
2,174
r
normalize.R
### normalize.R --- #---------------------------------------------------------------------- ## author: Brice Ozenne ## created: apr 25 2017 (14:13) ## Version: ## last-updated: maj 25 2017 (18:52) ## By: Brice Ozenne ## Update #: 17 #--------------------------------------------------------------------...
1fafaa56bd33e1627cf3083b75e0f83edb8b4a53
2e4174b0ac70ee8b0310fa5b03b9f7556e57c061
/port_fhs.R
d8bdd16abc6013fd689c95db760094ff0fe0c52c
[]
no_license
mathtester/fhs_index
5ef4b0ed185c5d70777fe5d4273d0aebf0488383
de282737ce1370c31b0dd7bcf37cb812076d6b12
refs/heads/main
2023-02-25T04:43:23.518195
2021-01-31T18:29:03
2021-01-31T18:29:03
328,405,403
0
0
null
null
null
null
UTF-8
R
false
false
6,152
r
port_fhs.R
library(fGarch) library(MASS) options(warn=-1) # The total run time is about 20 min on a PC. calc.var <- function(price.df, garch.period, corr.period, var.period, var.rank, idx.cnt) { # price.df is a data frame with dates as row names. # Each column is a series of historical prices. # idx.c...
a02b285ab79ad7210fb4b421ac6b85ead8dd2a5c
a0d07114ee4061ce98714c914a732dfa41f828ff
/Scripts/utilityRules/emptyEventsCollection.r
3d244072b75e5b83b6a1216b92d5ac987f8cf287
[ "Apache-2.0" ]
permissive
VEuPathDB/EuPathDBIrods
6459d2abf86102068c379dde1df03e8de9b77d36
750d75b7e06621274dbecfd870e7908a2b34ac6a
refs/heads/master
2023-07-22T10:50:52.205619
2023-03-07T18:24:43
2023-03-07T18:24:43
201,275,608
0
0
Apache-2.0
2023-02-24T15:35:30
2019-08-08T14:29:11
C++
UTF-8
R
false
false
523
r
emptyEventsCollection.r
# Flushes all event files from the events collection utilEmptyEventsCollection { writeLine("stdout", "Starting deletion of all events"); *results = SELECT DATA_NAME WHERE COLL_NAME == *eventCollection; foreach(*results) { *eventDataObject = *results.DATA_NAME; *eventDataObjectPath = "*eventCollection/*eve...
a9fa1ba2ffa7b16c1d6e80d1f180ceb0f985c197
61aec7bf3e3d5908151e3936daf35181f23b979a
/02_consulta_apis/01_intro_apis.R
5511e5adc76922455718e30fecc5a44af4ad0fba
[]
no_license
BlueRober/Rep_BlueRober
0149d5a06825ad7134d22ea302b842b10c2d6307
621a386b65fd46cb78b23edebf55766d011259c3
refs/heads/master
2021-08-23T12:47:44.428805
2017-12-04T23:58:03
2017-12-04T23:58:03
110,749,648
0
0
null
null
null
null
ISO-8859-1
R
false
false
668
r
01_intro_apis.R
#Instala la librería "httr" #Consulta la documentación y haz la siguiente petición: #URL: http://www.cartociudad.es/services/api/geocoder/reverseGeocode #Verbo: GET #Parámetros: lat=36.9003409 y lon=-3.4244838 #De la respuesta, imprime: #El cuerpo #El código HTTP de estado #Las cabeceras #La respuesta a este ejerci...
4b0120c5f3f0b2f332fe7a70a2033db202898d9f
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/synRNASeqNet/examples/parMIEstimate.Rd.R
01e3339c1ba97c1333b8ce292e68d44b7f1db055
[]
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
796
r
parMIEstimate.Rd.R
library(synRNASeqNet) ### Name: parMIEstimate ### Title: Parallel Mutual Information Estimation ### Aliases: parMIEstimate ### Keywords: parMIEstimate ### ** Examples simData <- simulatedData(p = 5, n = 10, mu = 100, sigma = 0.25, ppower = 0.73, noise = FALSE) counts <- simData$counts adjMat...
9042faadc0f0ea510f313f62c31fa508ee46c08d
b8c43e421f7216167380682c06ed9040db053627
/scripts/13.dc_enrichplot.R
76aa028ab2265f2c5b6fa86e271952aab6451396
[]
no_license
hmtzg/geneexp_mouse
5a896cb4722794c85f464a75d459caf84021ffa0
1f2434f90404a79c87d545eca8723d99b123ac1c
refs/heads/master
2022-02-22T13:31:09.135196
2022-02-02T09:02:15
2022-02-02T09:02:15
267,553,488
1
0
null
null
null
null
UTF-8
R
false
false
7,400
r
13.dc_enrichplot.R
library(tidyverse) library(ggpubr) library(RColorBrewer) library(goseq) theme_set(theme_pubr(base_size = 6, legend = 'top') + theme(legend.key.size = unit(2,'pt'))) pntnorm <- (1/0.352777778) dc = readRDS('./data/processed/raw/dc_gse.rds') signifGO = dc@result[,1:10] %>% filter( p.adjust< 0.1 & NES < 0)...
c6303bfd1b0698cffda19d1c9ce1acaa5ccd9997
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/signal/examples/fftfilt.Rd.R
671f33cec90f80aefc90326e4e31548cd1e9a3f9
[]
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
424
r
fftfilt.Rd.R
library(signal) ### Name: fftfilt ### Title: Filters with an FIR filter using the FFT ### Aliases: fftfilt filter.FftFilter FftFilter ### Keywords: math ### ** Examples t <- seq(0, 1, len = 100) # 1 second sample x <- sin(2*pi*t*2.3) + 0.25*rnorm(length(t)) # 2.3 Hz sinusoid+noise z <- fftfilt(...
03e8260a269d6d23b2801207036ceed94cbc63ad
0fd24a91d518bb7fba84bea5b18b9f9f8daeb4c4
/Code/exploratory/weather_Jasper.R
b184ea33ee9cb3e03c55aa040f9498c471ac1303
[]
no_license
hayleykilroy/Dimensions
918ee5d76f54dbdc6ab4ad00113f00428f3f090e
fffa946fdfa8bba80f0e057f950dad0e8e0e43ad
refs/heads/master
2021-01-24T06:39:52.294012
2014-02-21T15:35:06
2014-02-21T15:35:12
2,681,118
0
0
null
null
null
null
UTF-8
R
false
false
1,736
r
weather_Jasper.R
###Script to analyse Cape Point weather data library(bfast) dat<-read.table("D:\\Jasper\\Side projects\\Taylor plots\\Climate\\weatherdataforcapepoint\\TM_all_Cpoint_Slangkop.txt", header=T, stringsAsFactors =F) ###Some data summarizing dat[,1]<-as.Date(dat$Date) month<-cut(dat[,1],"month") mmp<-tapply(dat$Rain.1, ...
4391d2b206754f1c09b0979b095c0fffd7027420
7daecd71c0afb957233378de9a01ffe97c977898
/app.R
dc5a365de5cca2949023ba84632b392a02280c73
[]
no_license
simongonzalez/ausflightviewer
a73312efab401de35914383f34e05271327167f6
cd0f7ab72125083f0116910474a966f06ae0d0e5
refs/heads/master
2020-08-31T13:01:59.430070
2019-11-04T02:02:28
2019-11-04T02:02:28
218,697,149
0
0
null
null
null
null
UTF-8
R
false
false
6,151
r
app.R
#author: Simon Gonzalez #email: simon.gonzalez@anu.edu.au #date: 31 October 2019 library(shiny) library(shinydashboard) library(jsonify) library(mapdeck) library(tidyverse) library(highcharter) library(streamgraph) library(viridis) library(shinyjqui) library(shinyalert) library(shinyBS) library(shinyWidgets) ui <- da...
ffa01d1aba7a8fed238adbaeba8d02f1dfcfc063
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/koRpus/examples/K.ld.Rd.R
f4977b9f0b009bd684248f4e06141fb8c3259cdf
[]
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
179
r
K.ld.Rd.R
library(koRpus) ### Name: K.ld ### Title: Lexical diversity: Yule's K ### Aliases: K.ld ### Keywords: LD ### ** Examples ## Not run: ##D K.ld(tagged.text) ## End(Not run)
9611a0704552db45dd616fd8a7f0617274acebb6
e2e88ba6101c30b4d1a3c7c381f8bd92948744df
/R/data_utils.R
25c5d6a40db0022fe515f42a55171969585b1200
[]
no_license
RoonakR/RandomisedTrialsEmulation
d5c94a979658230f10017d4232cff5c24f6b5005
309f7bd0fe68f83638de9b6ef67d7f50062c9084
refs/heads/main
2023-08-03T07:36:34.515635
2021-06-02T09:35:45
2021-06-02T09:35:45
364,294,343
0
1
null
null
null
null
UTF-8
R
false
false
17,502
r
data_utils.R
#' Read Data Function #' #' This function read data from csv file and select the columns you need #' @param data_address Address for data read with bigmemory #' @param data_path Path of the csv file #' @param id_num Id number #' @param id Name of the data column for id feature Defaults to id #' @param period Name of th...
74ffdcac86ff9cce9e6a8783612729f01aa5e9ef
f1616d090bc8bb0737cb2887c2acf48f37d4292a
/server.R
9f797956dccca44c23f1c576bdd1d5c63434680f
[]
no_license
curtiskam/Developing-Data-Products-Project
255805078acd9303844bde32e91518f4995d892c
283a15a4f1331e2bec6ea0455f0269e2038ad57f
refs/heads/master
2021-01-10T13:17:11.655673
2016-02-27T01:57:09
2016-02-27T01:57:09
52,640,264
0
0
null
null
null
null
UTF-8
R
false
false
476
r
server.R
# This is the server logic for a Shiny web application. # This app asks the user to pick a year between 1949 and 1960 # then plots the number of airline passengers for that tear # by month library(forecast) data(AirPassengers) shinyServer( function(input, output) { output$MonthlyPassengers <- renderPlot(...
6faf77a60dfd34cef4e6566bf81935687861f619
13caa799685c559aa37ba9e5bd8ebab511489837
/scripts_for_CGC/combineAllSamplesVariantStatus.R
51b9c72aa6f0752cfb34074db6aa2b123e86bdd4
[ "MIT" ]
permissive
ds21uab/STAR_protocols_GV_calling
37ea5f97bed4543088727833b16cf667c24cc8f9
52146406c7c67d261719358b79795799c128c4cc
refs/heads/main
2023-04-14T10:16:22.123243
2022-11-18T23:07:22
2022-11-18T23:07:22
419,077,939
0
2
null
null
null
null
UTF-8
R
false
false
4,489
r
combineAllSamplesVariantStatus.R
#!/usr/bin/Rscript ##Copywrite Divya Sahu, 2021 # this script will take GT_samdepth_merged.txt file for each sample and merge them to create a large .txt file with mutation status from all samples # repeat this step for each data types separately # this script requires: need full input path and full output path. # th...
03e3d9d7d808bac4f29f5f13b87d0cb2860188eb
2f69fcb191d092c540ac96d25709f93185dd6238
/Q2.R
2e12888235c30327be742bffaad280b7d37d98f3
[]
no_license
vallalbe/MoneySmart_POC
16aa187367324c335ff3a65bd143363380c79408
3ad8ad3e9dc8b44775e348069d34389195812ff7
refs/heads/master
2020-04-03T09:23:31.163033
2018-11-02T08:23:07
2018-11-02T08:23:07
155,163,477
0
0
null
null
null
null
UTF-8
R
false
false
1,460
r
Q2.R
# Title : www3.moneysmart.sg # Objective : Data Team Coding Challenge # Created by: parivallalr # Created on: 02/11/18 # Load the libraries library(arules) library(dplyr) #Load data set from csv file which is generated by Q2.scala tdata <-read.transactions(file = '/tmp/Q2_itempair_tmp.csv', sep=",") summary(tdata)...
3db7981ffb77c283924ac8bc6ea99e372a7648c5
b201f1f182b1828a66a2d97baf28224b39d70564
/man/create_tm_named_list.Rd
d94ddb24a6bff1c92cad0966ee88d852b6e947af
[ "MIT" ]
permissive
Drinchai/iatlas-app
147294b54f64925fb4ee997da98f485965284744
261b31224d9949055fc8cbac53cad1c96a6a04de
refs/heads/master
2023-02-08T08:17:45.384581
2020-07-20T23:27:08
2020-07-20T23:27:08
null
0
0
null
null
null
null
UTF-8
R
false
true
349
rd
create_tm_named_list.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/til_map_distributions_functions.R \name{create_tm_named_list} \alias{create_tm_named_list} \title{Create Tilmap Named List} \usage{ create_tm_named_list(tbl) } \arguments{ \item{tbl}{A tibble with columns class, display and id} } \description...
ff2498506b10e2a7f7799a764650554d38aa8a8c
475c630b54fd299748034dd1a0b042d4c37a5a32
/R/lanniScript.R
39c1f522e953bd62da079e009dc0feb62b5845fd
[]
no_license
cat2tom/moddicom
2546b2317c4cd954cbd4b58cd236517c1911c629
f78af7bd8cfe7ff86f5318b0adf76f6936c5eede
refs/heads/master
2021-04-29T11:52:00.744484
2016-04-07T07:35:33
2016-04-07T07:35:33
null
0
0
null
null
null
null
UTF-8
R
false
false
2,528
r
lanniScript.R
# # # path.pre<-"/progetti/immagini/lanni/pre/22872220"; # path.post<-"/progetti/immagini/lanni/post/22872220" # ROIName<-"PET+" # # # istanzia gli oggetti # obj.pre <- geoLet(); # obj.post <- geoLet(); # obj.pet <- geoLet(); # # # carica il post e prendi il dataStorage: mi servità per prendere il nome della serie...
84c6c9912c97082380c75ef75dc2aa2d203aeb37
557cda9a1cb3fd04da7ef15c9adec69bb3df9888
/R/wtshare.R
b583bbac830f984a3848b3872da5ca933f8a3c9c
[]
no_license
cran/SDAResources
7e4cb27a87fa4e8e334f641c419fcc6e912e33a2
addafccfb82d962f234606fc6fcb2386fc8f60f3
refs/heads/master
2023-08-22T23:38:51.589732
2021-10-22T08:20:13
2021-10-22T08:20:13
368,240,812
0
0
null
null
null
null
UTF-8
R
false
false
1,047
r
wtshare.R
#' wtshare data #' #' #' Hypothetical sample of size 114, with indirect sampling. The data set has #'multiple records for adults with more than one child; if adult 254 has 3 children, adult 254 #'is listed 3 times in the data set. Note that to obtain \eqn{L_k}, you need to take numadult +1. #' #' #' @format This data ...
b204fe2b9e026c94387a172d3c4f66b61b545dab
2bec5a52ce1fb3266e72f8fbeb5226b025584a16
/ffstream/man/isInteger.Rd
971247c8b3271f4a30719fec7efdd06f4d7d11cf
[]
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
317
rd
isInteger.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{isInteger} \alias{isInteger} \title{Check if a value is an integer} \usage{ isInteger(x) } \arguments{ \item{x}{The value to check.} } \description{ Function to check that a value \code{x} is an integer. } \keyword{internal}
46324d74bbcf1cace3436e49962922e73f258c59
dd7b1e7337a4e344d4754f3f036e04c5975df256
/man/detect_long_lines.Rd
7f0b9503532b79f09fd8f490484c693468d4ae56
[]
no_license
bnaras/SUtools
2aa8e9de0c74c3bc122c720c14f6330b38388963
2eb1b3a6fe15181f18db7e5d1d0774a106f74c73
refs/heads/master
2022-11-25T06:06:41.985476
2022-11-18T01:17:57
2022-11-18T01:17:57
132,827,545
1
1
null
null
null
null
UTF-8
R
false
true
605
rd
detect_long_lines.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/process.R \name{detect_long_lines} \alias{detect_long_lines} \title{Detect if there are long lines in mortran or fortran sections} \usage{ detect_long_lines(mortran_lines) } \arguments{ \item{mortran_lines}{the mortran file lines resulting fr...
2d33c6f97d4f72f97ef52f1e34e49ae78bd679d1
dcd5b1085d31c69b874803413b346f5a6a942dde
/161017_KatjaNew15Vars.R
0b73bacdd8a3ceca981482b3ff7799cce692be04
[]
no_license
neiljun/TAI-Volta
ab73a1d772d1023615eed8cb7021ec13cfeac3af
6dc1dd1debd93c91e38973b1961d5ab47f154c63
refs/heads/master
2021-01-03T18:06:15.670173
2019-04-11T06:54:42
2019-04-11T06:54:42
null
0
0
null
null
null
null
UTF-8
R
false
false
3,607
r
161017_KatjaNew15Vars.R
## load libraries library ('gdata') library ('dplyr') library ('reshape') library (corrgram) library(vegan) library (ggplot2) # load libraries for mapping library(maptools) library(rgeos) library(RColorBrewer) # load libraries for clustering library (vegan) # library(rgl) # library(cluster) library(NbClust) library(...
0388a63953bb49433e805be9eda2a5bcdbf8eda4
85628bfeaa2dcb582176ea57ef4db15ea583d928
/tests/testthat/test_cluster.R
25c27932152f385d2e528eabddf12d61dcf47dd1
[ "MIT" ]
permissive
roryk/DEGreport
d635134ff23c754df69209ca869e83ecd1854eec
75ba67483581e46e9666747f6a7532688f4a97f3
refs/heads/master
2020-04-06T06:51:09.691661
2018-08-10T19:39:46
2018-08-10T19:39:46
27,650,011
0
0
null
null
null
null
UTF-8
R
false
false
1,301
r
test_cluster.R
context("Clustering") data(humanGender) idx <- c(1:5, 75:80) counts <- assays(humanGender)[[1]] dse <- DESeqDataSetFromMatrix(counts[1:1000, idx], colData(humanGender)[idx,], design = ~group) %>% DESeq test_that("transform", { expect_gte(mean(.scale(coun...
92f9bdb7557fae2d479dc1cb1160ef45194d3271
dd35bc9b79781c34443878243f7678f5232d6872
/R/final_speed.R
30a4ef74a1d04631b1dcd64206006ce4383728a4
[]
no_license
aadler/midsprint
cf97421c73054a4d2637ab413f25602b8fa6b96c
4aaa5f3de62fea208e468f89a5bd24983ac611d1
refs/heads/master
2023-04-07T15:20:45.496594
2021-04-14T01:04:47
2021-04-14T01:04:47
null
0
0
null
null
null
null
UTF-8
R
false
false
591
r
final_speed.R
#' Final speed reached after a given distance #' #' @param player_profile #' @param current_speed #' @param distance #' #' @return #' @export #' #' @examples final_speed <- function (player_profile, current_speed, distance) { UseMethod("final_speed") } #' @export final_speed.default <- function(pla...
27bbf15f0449dcfed489e6c5e7fddf787ca2cba1
4035bf606855a8e389d0f184b5cf5cd4dcf077f8
/Scripts/Utilidades/limma_utils.R
4d2a7467ca71f162b63333f8d848e5cd67bcacaf
[]
no_license
serogi/TFM
6215a3a6a6de91b7c11cc913776ae60bef12361d
316f863ff417b1856b86eb530c37ab95aa853204
refs/heads/master
2020-07-25T08:32:18.623742
2019-09-13T09:52:03
2019-09-13T09:52:03
207,012,094
0
0
null
2019-09-09T12:49:12
2019-09-07T18:49:58
null
UTF-8
R
false
false
500
r
limma_utils.R
### Función para obtener anovas de 2 vías con/sin interceptación a partir de Limma Anova2way <- function(g1, g2, expr_data){ design <- model.matrix(~ g1 * g2) rownames(design) <- colnames(expr_data) corte <- 0.05 fit <- lmFit(expr_data, design) res <- eBayes(fit) res$p.adj <- apply(res$p.value...
b41835863700933953cac55b574196b571e63e43
577f03954ec69ed82eaea32c62c8eba9ba6a01c1
/R/ensemble/h2oEnsemble-package/man/h2o.ensemble.Rd
79cb4e2f601ab7ed8576986bbe5a3b84d297b2a8
[ "Apache-2.0" ]
permissive
ledell/h2o
21032d784a1a4bb3fe8b67c9299f49c25da8146e
34e271760b70fe6f384e106d84f18c7f0adb8210
refs/heads/master
2020-02-26T13:53:01.395087
2014-12-29T04:14:29
2014-12-29T04:14:29
24,823,632
1
2
null
null
null
null
UTF-8
R
false
false
7,286
rd
h2o.ensemble.Rd
\name{h2o.ensemble} \alias{h2o.ensemble} \title{ H2O Ensemble } \description{ This function creates a "super learner" ensemble using the H2O base learning algorithms specified by the user. } \usage{ h2o.ensemble(x, y, data, family = "binomial", learner, metalearner = "h2o.glm.wrapper", cvControl = list(V=5, shuff...
1cdd31557a73d69a032808c4df101ac2ad60c63d
e2b64116eab0d5a035a63e3edcf8ed0bebbe3c4d
/R/read-sod.R
fa3cd9ee8de54ac8ec1df42311b57dd88faf265c
[]
no_license
kbrevoort/crar
b55bd3553a82903d5c58591af1c61364ca16bc10
ce3728d535a9d3ba1262654d0592797aa07835b5
refs/heads/master
2020-06-30T21:43:34.677236
2019-08-07T02:45:08
2019-08-07T02:45:08
200,959,343
0
0
null
null
null
null
UTF-8
R
false
false
4,315
r
read-sod.R
read_sod_file <- function(year) { zip_file <- file.path(here::here(), sprintf('data/zipped/SOD/ALL_%d.zip', year)) csv_file <- sprintf('ALL_%d.csv', year) readr::read_csv(unz(zip_file, csv_file)) %>% mutate(mainoffice_fl = as.logical(BKMO), d...
ee8a55f3977a89c70b13d0de67773d9e3d6e7af7
d3756e689a59b564a7ba0aec7c6c7130cc811815
/R/plot.grouped.tags.r
bfbb27ca859903248661caf0420024b5a3335ee5
[]
no_license
PacificCommunity/ofp-sam-r4mfcl
710824eb52bc02a604123ca6860d9271ddcd949b
6b8f9e6f452b6d203da65a1d8902e28fd2f5a175
refs/heads/master
2023-02-21T12:52:16.632352
2023-02-07T02:28:02
2023-02-07T02:28:02
23,813,801
0
0
null
null
null
null
UTF-8
R
false
false
2,325
r
plot.grouped.tags.r
#' @export plot.grouped.tags plot.grouped.tags <- function(tagfl=readtagrep, mix.time=1, remove.mix=TRUE, xaxe="Year", yaxe="Number of tag returns", ln.sz=0.7, ln.col=alpha("black", 0.7), pt.sz=2, pt.col=alpha("red", 0.7), all.fishies=TRUE, Ncols=2, grpnms=pa...
28e3280a5ed4d891dd56ac4fb4efda434df08c76
fc679433d67f9652a54515adb38554e14ae4608a
/clean.R
b836d662e8207f641cc48de95ce8220fbdac1ec8
[]
no_license
chucheria/2019_SatRdaysParis
a50e159784fb0f3b27d3a6a5976014487487f655
a7b810ef4c9f3f10908667eafd9598352fd4f697
refs/heads/master
2021-07-02T12:09:12.647669
2020-09-24T13:37:53
2020-09-24T13:37:53
172,184,484
7
2
null
2019-03-01T19:21:10
2019-02-23T07:19:23
R
UTF-8
R
false
false
633
r
clean.R
library(neo4r) con <- neo4j_api$new( url = 'http://localhost:7474', user = 'neo4j', password = 'root' ) con$get_index() con$get_relationships() con$get_labels() con$get_constraints() ###### CLEAN DATABASE clean <- c('DROP CONSTRAINT ON (p:Person) ASSERT p.name IS UNIQUE', 'DROP CONSTRAINT ON (t:Team...
cc3a6fe2af32e923f3383aacaca7db320f2cb5f4
d1a92aac30642f388baa400b9552a036a3cb42b2
/week3/source/plot1.R
24f7349d8e86041fa4f76ab98abc11e9685270ee
[]
no_license
giuseppe82/04_ExploratoryAnalysis
6eacd2c29be49f11f2391e99dbc039f4b7573e8e
12e9e9866e338e8cf87139afca72b93446b971fe
refs/heads/master
2021-01-01T03:49:11.680842
2016-05-07T19:39:17
2016-05-07T19:39:17
58,213,936
0
0
null
null
null
null
UTF-8
R
false
false
1,644
r
plot1.R
# Course Project 2. # 1. Have total emissions from PM2.5 decreased in the United States # from 1999 to 2008? Using the base plotting system, make a plot showing # the total PM2.5 emission from all sources for each of the years # 1999, 2002, 2005, and 2008. # Script Name: plot1.R setwd(dir = "/Users/joedibernardo/P...
2bf48a1651f64e2bc10ec3c236e27de4debcb98e
465c486d89fc671e9ebd499d9096ce7b4417b950
/R/json_tree.R
edaea7d46d7609b9970678d3818d775d63697c22
[]
no_license
cran/rapsimng
7fa6879694ca512c212c780b35dc5a1f5f9920af
fadc3c478038c7e6bc85fdf199ab688e111ce9d0
refs/heads/master
2023-07-26T00:08:09.516036
2021-09-09T05:00:02
2021-09-09T05:00:02
305,099,779
0
0
null
null
null
null
UTF-8
R
false
false
1,014
r
json_tree.R
#' Get the parent node from a path #' #' @param l the list of apsimx file #' @param path If numeric, the path returned by search_path or search_node. If character, the path supported by apsimx #' #' @return A new list for parent #' @export #' #' @examples #' wheat <- read_apsimx(system.file("Wheat.json", pac...
22698300fbfc16a81f6435d0051b29824eb8b3a3
2a2ab8c0dab2e1cb4aa300c9783b271c81ee15f4
/run_analysis.R
75170f08ded42722f31988629487de806abc4566
[]
no_license
jafafe/getting-cleaning-data
1b8bdaf324402aff10b16ea799cd315ecd4d8b5b
5e109344bcfc479071f119ec47bd607e17df3e01
refs/heads/master
2021-01-09T20:40:45.350327
2016-06-28T16:17:41
2016-06-28T16:17:41
62,008,265
0
0
null
null
null
null
UTF-8
R
false
false
2,312
r
run_analysis.R
setwd("~/workspace/coursera/cleandata/project/getting-cleaning-data") source("constants.R") library(data.table) library(plyr) loadSubjects <- function() { subjectsTraining <- fread(file.path(data.directory, trainDir, paste("subject_",trainDir, ".txt", sep=""))) subjectsTest <- fread(file.path(data.directory, testD...
4f0714694a189c751e72b34d5002b70acae38834
abf15dd221160c57203a3a20b259686ed5959259
/SoilProj_summary_stats_2.R
272cc1900206ea92ce70e12e9f124887818fef46
[]
no_license
mikeymid/Rcodes
8d91c5a5be7d0c45465f3d543fe03e5bbeb371db
d65529e6701b4b2c7c8f6a13fa1b6dadf7145240
refs/heads/master
2021-06-30T19:39:40.540742
2017-09-18T19:07:42
2017-09-18T19:07:42
103,958,299
0
0
null
null
null
null
UTF-8
R
false
false
1,413
r
SoilProj_summary_stats_2.R
#Mikey #SummaryStats of Variables #08-18-17 #------------------- FieldData <- read.csv(file = "C:/Users/MMOHA14/Desktop/Projects/Proj 1 - Soil Nutrient Classification/Part3/data/locations/IADV.Corn.2017_MON-GLOBAL BREEDING-619_e3759721-954b-49d1-875b-d6319f19d3b8.csv", header = T, sep = ",") #-------------...
024044824a7ac12f15d9da08fc02b6282f65cdd6
9b2a0eefea05a4c19125dfa493e68efad51198ca
/man/ltdb-data.Rd
c1c28522b6691a6f278e558a42b8464104139b91
[ "MIT" ]
permissive
tiernanmartin/NeighborhoodChangeTypology
9ba10bffd7b2554ec5fc9e2f6666ad143dc01028
047dde257cfcd1b1e66c9fedc9203475dc87307c
refs/heads/master
2020-03-24T21:33:06.166394
2019-03-13T15:51:35
2019-03-13T15:51:35
143,038,483
3
2
null
null
null
null
UTF-8
R
false
true
800
rd
ltdb-data.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ltdb-data.R \name{prepare_ltdb_data} \alias{prepare_ltdb_data} \alias{make_ltdb_data} \title{Make A Tibble of The Project's US Census Variables from LTDB} \usage{ prepare_ltdb_data(data_template, acs_tables, path) make_ltdb_data(path) } \arg...
a5593e73648bc7dd66d0d24d9aba0136673d04ba
01641d63cece8f48d985fed63b8c28b6e59e0c5a
/03-07_debugging-tools_basic-tools.R
2e4c4ce86d7f5c2041412f2f2c4f56968848356a
[]
no_license
mareq/coursera_data-science_02-r-programming_lectures
8e9857c4f5e1fb459b75c89d333e30b75dbb6b58
fe099df9a3d7af7e2d4dba8c3cc930c0c6246e52
refs/heads/master
2021-01-01T06:40:15.762132
2015-01-18T21:27:30
2015-01-18T21:27:30
29,441,570
0
0
null
null
null
null
UTF-8
R
false
false
44
r
03-07_debugging-tools_basic-tools.R
# traceback, debug, browser, trace, recover
d71559935d20c5d97e950ca7fd09c71662be5810
602a36156f6bd708be469b340e3a5fdcc8c78339
/man/nrowHelper.Rd
062f3de181c44489b702eacd2fd443313fb6cd96
[ "BSD-3-Clause" ]
permissive
FertigLab/CoGAPS
2290e0685be5a53617fb593183c3ab4773f616f5
e99d6eff85d81178f71ebc58e4c56c8f7eda4ce7
refs/heads/master
2023-04-05T14:39:32.838668
2023-04-03T23:12:39
2023-04-03T23:12:39
48,254,961
47
13
BSD-3-Clause
2023-09-11T19:44:09
2015-12-18T20:27:45
C++
UTF-8
R
false
true
394
rd
nrowHelper.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/HelperFunctions.R \name{nrowHelper} \alias{nrowHelper} \title{get number of rows from supported file name or matrix} \usage{ nrowHelper(data) } \arguments{ \item{data}{either a file name or a matrix} } \value{ number of rows } \description{ g...
afad0c33dbad9572a96007a248b902db16821724
6a28ba69be875841ddc9e71ca6af5956110efcb2
/Probability_And_Statistics_For_Engineers_by_Richard_L._Scheaffer,_Madhuri_S._Mulekar,_James_T._Mcclave/CH8/EX8.16/ex_8_16.R
44bd25b6cce9d7a442eca9c8d14272338b29cd86
[]
permissive
FOSSEE/R_TBC_Uploads
1ea929010b46babb1842b3efe0ed34be0deea3c0
8ab94daf80307aee399c246682cb79ccf6e9c282
refs/heads/master
2023-04-15T04:36:13.331525
2023-03-15T18:39:42
2023-03-15T18:39:42
212,745,783
0
3
MIT
2019-10-04T06:57:33
2019-10-04T05:57:19
null
UTF-8
R
false
false
378
r
ex_8_16.R
rm("c") x =c(3,1,4,2,0,2,3,3,5,4,1,1,1,2,0,3,2,2,4,1,3,0,2,3) sample =1:24 dat <- data.frame(sample,x) p <- mean(dat$x/50) u <- p + 3*sqrt(p*(1-p)/50) l <- p- 3*sqrt(p*(1-p)/50) cat("The LCL and UCL are",0,"and", u,"respectively") #Since l is neg. , we take lower limit to be 0. #install the pac...