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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3fbb03e860c1fc8415300bd43be482c0facfe5a4 | f6c05a987a86dab871ba163006ddab4a3551d3ed | /ALCOVE/v0.2.3/server_transcriptomics.R | c0a5c3c110201606d02967a201fb085d26f33fdb | [] | no_license | acshetty/ALCOVE | 8b8107d7cc64f42f31552c1ba719347647a3911b | 9e863a6f858f1fe4edb64212ea97fdc7ad8be01a | refs/heads/master | 2021-05-21T20:25:31.502407 | 2020-05-07T15:11:28 | 2020-05-07T15:11:28 | 252,788,442 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,070 | r | server_transcriptomics.R | userinp <- reactive({input$user})
output$projectControl <- renderUI({
projects <- project_assign$Project.ID[project_assign$User.ID == userinp()]
memo <- project_assign$Pipeline.ID[project_assign$Pipeline.ID == projects]
selectInput("project", label = h3("Choose Project"),
choices = c(projects,... |
0661fe47aee3616268b50146a839d24e9fca76e3 | 3bd2beaf0a507430ba6d581a855ffcd8df13cf43 | /Imputing_Missing_Data.R | 229d157863f8e2fe5fb1c9e47b06f778decdf72f | [] | no_license | MeenakshiMadan/Yelp-Data-Analysis | dabebb1c5432c7ac30c00374c97838ab19020b32 | 9f53007c0d63d6e4e2c49cd737badcdea38cd154 | refs/heads/master | 2020-05-01T21:00:04.616224 | 2019-06-10T19:40:21 | 2019-06-10T19:40:21 | 177,665,057 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,980 | r | Imputing_Missing_Data.R | ####IMporting the packages
library(mice)
library(VIM)
library(lattice)
library(ggplot2)
library(dplyr)
library(caret)
library("randomForest")
library(lubridate)
library(LiblineaR)
library(pROC)
####Reading the file ######
Data_missing <- read.csv("Untitled Folder/combined_yelp_new.csv",header=TRUE, sep=",")
View(Data_... |
b019f2565cc24b4cf2f78a763285ff664657c250 | 7a7a325a0f01d92a41e7c35278e7f938452fed84 | /R/dataLBI.R | 3a124511bdb9769d2c3f6a9fa74c710c7a44ca2b | [] | no_license | IMPRESSPROJECT/Rfishpop | cca94973e345a7841634b5ab4a7ba5fdebf42e24 | c4055e61b7126d9ab0b4264855f39584405a8a16 | refs/heads/master | 2022-08-30T10:35:13.002516 | 2022-08-26T16:51:16 | 2022-08-26T16:51:16 | 252,695,701 | 0 | 5 | null | 2020-11-05T10:49:10 | 2020-04-03T10:04:49 | R | UTF-8 | R | false | false | 4,205 | r | dataLBI.R | #' @title Data for Length Based Indicators (LBI)
#'
#' @description The function provides required information for computing Length Based Indicators: Length distributions of catches and the corresponding average weight per length.
#'
#' @param Pop.Mod A list containing the components returned by Population.Modeling... |
a779c56041c63adefa9726959ce6a9be3d5167dc | 5551a151f01991ed9f7acd42e6c0b1df3a4f7820 | /server.R | cf66ad2ff1627ff1fac87d48fa20994547530176 | [] | no_license | mbayekebe/ddpshiny | c5c1db86d08654a08499d2b710601fb194ec8029 | ec882f50e822d29f20a58b7380c516440f60c7ee | refs/heads/master | 2020-05-30T18:00:45.982929 | 2014-09-12T00:46:48 | 2014-09-12T00:46:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 963 | r | server.R | ## server.R
library(shiny)
library(caret)
titanicds <- read.csv("data/titanicdatc.txt", sep=",")
titanicds$Class <- as.factor(titanicds$Class)
titanicds$Age <- as.factor(titanicds$Age)
titanicds$Sex <- as.factor(titanicds$Sex)
inTrain <- createDataPartition(y=titanicds$Survived, p=0.7, list=FALSE)
training <- titani... |
9d3cce0ba8973a6935c7a72d8655ad912cbc25dd | 412cdc99366e34a54c9441df5995a58bf3e59a36 | /code/scraper.R | c1fed63e8704bd6832b3d711e207c79ba4295e16 | [
"MIT"
] | permissive | Hutchins-Center/diversity-economics | 8c03a0a4236bd3f4ad1e42e1c74fdc50431d6c12 | b4e86e8f017fc626e15b6e5d0eaf493363b347b5 | refs/heads/master | 2023-06-11T02:04:53.986804 | 2021-07-02T15:54:16 | 2021-07-02T15:54:16 | 382,394,844 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,363 | r | scraper.R | library(RSelenium)
#docker pull selenium/standalone-chrome
#docker run -d -v ~/Documents/Projects/diversity-economics:/home/seluser/Downloads -p 4445:4444 selenium/standalone-chrome
eCaps <- list(
chromeOptions =
list(
prefs = list("profile.default_content_settings.popups" = 0L,
"downloa... |
1a292e981badeca6df08104a22431c3c4d5093fc | 89aa5317c8a5e7add803e055e2d527ae7189e653 | /man/logspace.Rd | d990c532bfe92f944831e58b1dbb1f8c72d8f667 | [] | no_license | cran/rdetools | af341a0a3a277d1cdba4013920b44f20735f2d73 | a13755e0f70b341c4f8841f80d980e2986e5b75e | refs/heads/master | 2020-06-14T07:18:27.634094 | 2008-09-03T00:00:00 | 2008-09-03T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 736 | rd | logspace.Rd | \name{logspace}
\alias{logspace}
\title{Logarithmically spaced sequence generation}
\description{
Function generates a logarithmically spaced sequence of \code{n} values between decades
\eqn{10^l} and \eqn{10^u}.
}
\usage{
logspace(l, u, n)
}
\arguments{
\item{l}{\eqn{10^l} will be the lower value to start f... |
f675f170e4c3dfbdde0399ec1f167025089b5d57 | 07b57751b3d92333845b178a273c195c26769907 | /SecondRun.R | 96530a416d1362b864f13cc7e9eaa42b41f6ce79 | [] | no_license | lshep/BuildReportDatabase | 20741893accfbcc4691d2ba335f9cc9f591b8cda | b25e8470cc860bf43b6f2d51ee3e7ac82bc96e55 | refs/heads/master | 2023-01-11T17:11:29.960339 | 2020-11-13T17:11:23 | 2020-11-13T17:11:23 | 290,224,968 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,687 | r | SecondRun.R | ######################################################################################
#
#On malbec2 in ~biocbuild/public_html/BBS/3.11/bioc:
#
# - meat-index.dcf: same list of packages as in the manifest EXCEPT
#that packages that have a DESCRIPTION file that is too broken for the
#builds are separated and put in sk... |
4a59537eb20c1ec0aade73f46484dbefb0ac9685 | 3710bdb5c5598d3db3c79e343d826543a1329f83 | /plot2.R | 6bd2e09deb502ce767b8e969bd8dc283a838a512 | [] | no_license | pfurrow/ExData_Plotting1 | 35b61b6e298fc1c51505ee4da72aa0429b7e9e9e | 38264f388777adb8e5ac59908d4e0a80013f356c | refs/heads/master | 2021-01-21T08:33:05.819749 | 2015-07-10T23:05:10 | 2015-07-10T23:05:10 | 38,636,343 | 0 | 0 | null | 2015-07-06T17:59:50 | 2015-07-06T17:59:48 | null | UTF-8 | R | false | false | 941 | r | plot2.R | ##
## Read the complete power consumption file, then subset to select only
## the 2 days to be plotted (01Feb2007 - 02Feb2007)
##
power <- read.table("data/household_power_consumption.txt", na.strings = "?",
stringsAsFactors = FALSE, sep = ";", header = TRUE,
colClasses = c("c... |
566536cbacadcbe7d4d492d9f4977c5d540965fd | 403845497e0b4e4db08c647da083e732bd80c2ec | /man/camt.fdr.Rd | df16c1b36f11ad1ca67642689f2b9038b3ea8247 | [] | no_license | jchen1981/CAMT | d3023abd0f1104ae6ec894359c7e31fe35615465 | 02e70d664aedeed1737fd555e179e6161f937cd9 | refs/heads/master | 2021-07-02T05:38:51.122378 | 2021-01-01T04:22:56 | 2021-01-01T04:22:56 | 203,678,153 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 4,581 | rd | camt.fdr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/camt.cor.func.R
\name{camt.fdr}
\alias{camt.fdr}
\title{Perform covariate-adaptive false discovery rate control}
\usage{
camt.fdr(
pvals,
pi0.var = NULL,
f1.var = NULL,
data = NULL,
pvals.cutoff = 1e-15,
pi0.low = 0.1,
alg.type ... |
0dc90aad830677794ef313ff4a571dc5ab5a7172 | 320ddefc84d992475db8b83befde46e2b780314f | /R/see.move.r | 32ccd6979e1debb6f59c0b5345da3ae37729f8fd | [] | no_license | cran/asbio | bca146e402058cd67ff5fc42423cb0c0544f942b | 3cb01b7cb1a8dec60a5f809f91bc460a6566954d | refs/heads/master | 2023-08-31T23:43:08.304864 | 2023-08-20T02:22:36 | 2023-08-20T04:30:48 | 17,694,492 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 7,392 | r | see.move.r | see.move<-function(){
local({
have_ttk <- as.character(tcl("info", "tclversion")) >= "8.5"
if(have_ttk) {
tkbutton <- ttkbutton
tkframe <- ttkframe
tklabel <- ttklabel
}
tclServiceMode(FALSE)
top <- tktoplevel()
tktitle(top) <- "Demonstration of Least Squares Regres... |
a9ba31f40362cfe6617e2fb66d4e1b6de77ab7b6 | 8ceef923a736f0161077cb8aeeb3a8ba595aff3c | /scripts/biplot outliers (ALL).R | 5b64c71dad8f0161dad3a4fb83596d8f73752add | [] | no_license | cont-limno/lagos_limno_qaqc | 65501b0d23b4102cdf04841f492faf67e7ba5765 | 390ee4700c0533ff8095d184f6be29a5e2fb93e9 | refs/heads/master | 2022-12-01T05:24:57.802137 | 2020-08-05T19:13:47 | 2020-08-05T19:13:47 | 250,358,374 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,154 | r | biplot outliers (ALL).R | require(gplots)
library(DMwR)
library(FNN)
library(robustbase)
library(scales)
library(gridExtra)
library(mvoutlier)
# library(MVN)
library(rstatix)
outlier.dist = function(dat,k=4,method = "brute",iqr=15,alpha=0.0001) {
#function to estimate euclidian distances between all points in a pairwise dataset (X)
#distan... |
3d0bdc510ce7bab879bd5ab7a98d3c55a4db0aa4 | 3661e6f63531ee8b791f03c2323ecabed1c354a9 | /R/lu.R | 2bf652e5fac82e3b28de68b0a31a8edee92a2548 | [] | no_license | jdh4/parallel_lu_decomp | e97f3500027681b708c2aba4d736bf67897c8421 | a92f959173517330d151b967f929257f7ac49b5c | refs/heads/master | 2023-08-05T23:33:21.236703 | 2021-09-25T21:53:45 | 2021-09-25T21:53:45 | 281,433,091 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 153 | r | lu.R | # install.packages("microbenchmark")
library(microbenchmark)
library(Matrix)
N <- 10000
microbenchmark(lu(matrix(rnorm(N*N), N, N)), times=5, unit="s")
|
8041eb0468ea778c123c267c5c0aa53dab74512a | 35d57ab8dcc9b441eac90b6c20215043538bee4d | /01_scripts/01_louse_txome_analysis.R | 62813354b58b44b4bd5b7c0d00f54089bba857fe | [] | no_license | bensutherland/2017_ms_immunostim | 337dfbc2280d975faa5d19a3b317693389a10033 | 55f2aa06932f1226a1adfc768c2e19a8e0a923f6 | refs/heads/master | 2021-01-19T11:34:19.683178 | 2017-02-27T14:57:16 | 2017-02-27T14:57:16 | 45,756,795 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,330 | r | 01_louse_txome_analysis.R | # Transcriptome analysis for the Ssal/Lsal immunostim project
# rm(list=ls())
## Install packages
# source("http://www.bioconductor.org/biocLite.R")
# biocLite()
# biocLite("limma")
library(limma)
#### 1. Lice transcriptome analysis ####
setwd("~/Documents/koop/immunostim/2017_ms_immunostim")
#### 1.a. Input data ... |
681965a367f58469c0f567753b967be7183a7c93 | 8f7ef7ce474d886bcb3fce482133b771469500d3 | /Pothole Data Cleaning.R | c64bc45ddd9588cfeea19a16bd8c499e3f35dcfb | [] | no_license | jkgenser/Potholes | 251e1a023e69af401cb970163d48678903dcdab1 | 263e57e5d66462fe7d0ac2577f02736f98ba4b32 | refs/heads/master | 2021-01-23T13:22:52.453368 | 2015-09-02T23:09:34 | 2015-09-02T23:09:34 | 41,259,381 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,453 | r | Pothole Data Cleaning.R | setwd("H:/USER/JGenser/Pot Holes/Program")
library(plyr)
library(ggplot2)
library(ggmap)
library(sp)
library(lubridate)
library(leaflet)
bos = read.csv("Boston_Pothole_Cases.txt", header=T, sep="\t")
cam = read.csv("Cambridge_Pot_Holes.csv", header=T, sep=",")
cam2=cam
#convert the Cambridge location information int... |
4a6cf000d0aa5c8c69d20c13d1a7ffe0a8d7f1b0 | 29585dff702209dd446c0ab52ceea046c58e384e | /ArgumentCheck/tests/testthat/test-castingErrorsAndWarnings.R | 6460ab0abee981b495e88ab2f0d6b2919b092b0c | [] | 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 | 752 | r | test-castingErrorsAndWarnings.R | context("finishArgCheck Errors and Warnings")
test_that("Cast Appropriate Error",
{
Check <- newArgCheck()
addError("New Error",
Check)
expect_error(finishArgCheck(Check),
"1: New Error")
})
test_that("Cast Appropriate Warning",
{
Check <- newArgCheck()
addWarning("... |
03a17d89f663b6cc3ccdece43fb9133ff892716b | 5f6fca5dcf1331f0f0ecba1af68d062612c9c7d3 | /Projekt_2/IFSbmp/man/plot_IFS.Rd | 90aa0ef3e8f4fdc52ee347fb568ec3b57961d694 | [] | no_license | ultramargarine/ProgramowanieWizualizacja2017 | 421666d332c3ff3ffea40b6d12be10537ef41654 | fcfd5b393717ec6ca96919656b44d3c4bcbd7d93 | refs/heads/master | 2021-09-15T09:01:58.860448 | 2018-03-08T22:00:50 | 2018-03-08T22:00:50 | 105,997,439 | 0 | 0 | null | 2018-03-08T21:58:51 | 2017-10-06T11:32:12 | R | UTF-8 | R | false | true | 1,365 | rd | plot_IFS.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_IFS.R
\name{plot.IFS}
\alias{plot.IFS}
\title{Draws a plot for an object of class IFS with adjustable parameters of depth and starting point for IFS iterations.}
\usage{
\method{plot}{IFS}(x = NULL, start = c(0, 0), depth = 1, ...)
}
\ar... |
9d52b01e79210d818fcbefce08911b30b03db0d0 | 651639c305da650240f8c9af46dd5943b0597360 | /plot1.R | bd1b37ad795f06f099d4a47b933ca6b5a2f1876b | [] | no_license | HolyZero/Coursera-Exploratory-Data-Analysis-Project1 | 9f1ab23088174b8ff1dac4aa931502ca5ae3a068 | 04dbfc6929b0e56a76d9c3ce177bf62d903cc889 | refs/heads/master | 2020-12-11T04:05:46.594961 | 2015-11-06T18:20:11 | 2015-11-06T18:20:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 497 | r | plot1.R | # Read data into table
data <- read.table("data.txt", sep=";", header=TRUE, na.strings="?",
colClasses=c("character","character",rep("numeric",7)))
subdata <- subset(data,Date=="1/2/2007"|Date=="2/2/2007")
head(subdata)
# Plot histogram into png device machine.
png("plot1.png", width = 480, height = 4... |
e123d5028e4c669973296a0b9eedfdbb6e70c3dd | d08bca25b7895233b559b78e9e06cbe3e1c010ff | /man/get_files_dir.Rd | 6761162b762bbf96b7435bae5d4895a6980ee137 | [] | no_license | kun-ecology/ecoloop | 87e2980db62bb305fc9c24a5ace5aca9d7f4e466 | c90906c849b5f78654a7974b0308556e3aaf01b9 | refs/heads/master | 2023-07-29T08:50:35.823804 | 2023-07-14T06:51:47 | 2023-07-14T06:51:47 | 242,403,772 | 1 | 2 | null | null | null | null | UTF-8 | R | false | true | 555 | rd | get_files_dir.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_files_dir.R
\name{get_files_dir}
\alias{get_files_dir}
\title{A function that return list of file naes with specified patterns}
\usage{
get_files_dir(directory = NULL, pattern = NULL)
}
\arguments{
\item{directory}{a string, absolute file... |
76cbf10421c88b30d9765c4e9941ad6e233070b6 | cf91d775282ed873820d80c34b6b84cdb5e4b1b2 | /src/test.R | 2df83ffab9086e3f457ed62f96cfa931217ca2b5 | [] | no_license | Cohey0727/rlang-noob | 89f99666dd28db9fbd68c5feb7b4d84e7b61dbe6 | 9ac4b867a974f8d61a590b259a3d694b686e8912 | refs/heads/master | 2023-03-07T20:04:10.159984 | 2021-02-13T04:53:55 | 2021-02-13T04:53:55 | 338,386,537 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 676 | r | test.R | # 変数に値を代入する際は<-を用いる
var <- 'TEST'
var
# 別の型の値を再代入することも可能
var <- 100
var
var + 100
# 日本語を変素名にすることも可能
日本語 <- 100
日本語
# as.numericを用いることで文字列を数値として扱うことができる
var <- '5'
as.numeric(var)
# 変換できない場合はエラーになる。
var <- 'foo'
as.numeric(var)
# コードフォーマットはctrl+A, ctrl+shift+A
# packageのinstallにはinstall.packagesを用いる
install.packa... |
8682941f9c8712fcabece3acda017e5286ba0b29 | 2f104163e540bacbe611408c3ca1ea585b969d53 | /experiments/Table4/archive/1vs2TestCoarseTestRMPI_rmpi.R | f7a608f63c16c92a7f845336f1806efb7d2f42fc | [] | no_license | hkasahar/normalregMix | 529475b1388df312a06d0a686d16d6c3b424ba5f | 60ad78c5107f7f9d84e88ceaf8e6f75aa80467d4 | refs/heads/master | 2020-04-15T13:38:32.599270 | 2018-05-21T08:14:46 | 2018-05-21T08:14:46 | 58,227,243 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,179 | r | 1vs2TestCoarseTestRMPI_rmpi.R | #install.packages("normalregMix_1.0.tar.gz", repos = NULL, type="source")
library(snow)
library(doParallel)
library(Rmpi)
library(normalregMix)
## Generates EM test result according to the dimension of X
PerformEMtest <- function (sample, q, an, m = 1, z = NULL, parallel) {
library(doParallel) # workers might need in... |
e24de79c938de5ac2751bef34e903ea88831c8d6 | 54749c2d3abef807cc747930217f66e537576200 | /cachematrix.R | 8eada034fe0a9fa0eebbeaadbb24cc40a1e479a8 | [] | no_license | baardo/ProgrammingAssignment2 | 3379ce1788f70cd6d231573ee1a66718d4b72c86 | 8fd145b54d098f6f2c5a5a6e0e2ce350583138d5 | refs/heads/master | 2021-08-07T20:05:53.460714 | 2017-11-08T22:47:44 | 2017-11-08T22:47:44 | 110,023,119 | 0 | 0 | null | 2017-11-08T19:50:16 | 2017-11-08T19:50:15 | null | UTF-8 | R | false | false | 1,119 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## These two functions will cache the inverse of a matrix
## rather than re-evaluting it over and over.
## makeCacheMatrix creates a list to set and get the value of the matrix
## and then to set and get the value of the inverse
makeC... |
cab4ba591003fbd0ca99b93e8641110aec623349 | 4ca1e2ec00d140b5565f05121496fb17c76e8dfe | /Algas/01-prepare.R | c20d4b8881fdb5fd69c30640ba16e85ea8c13129 | [] | no_license | abraham314/mineria | fe3336c6202f041b55454d4832d3497360fc0146 | 3f8c3732fabf9904618146b8b5a04cf9877adad8 | refs/heads/master | 2021-05-06T08:46:12.738434 | 2017-12-19T22:04:29 | 2017-12-19T22:04:29 | 114,060,106 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 249 | r | 01-prepare.R | source('toolset.R')
source('utils.R')
source('metadata.R')
library(tidyr)
library(purrr)
library(ggplot2)
library(dplyr)
#new<-german_data%>%separate(personal_status_and_sex,c("sex", "personal_status"), sep=':')
#saveRDS(new,file="german-tidy") |
1ee18ae4392e48b8c60a20ebcf16c0e25992974e | 5e28bdc8e8aa84d5a919a92be655cfb381e179f0 | /R/tech_block.R | a91e5f13f63f6d7f23184bb43fdd254676eb7715 | [] | no_license | grkhr/ryandexdirect | bde9248bca476ab852dfc39dbbf2cb2c84883f75 | 1d7adf3ad657ac16aa83f4d1520ffcd816d2cd2f | refs/heads/master | 2020-09-22T11:46:38.738297 | 2019-12-10T12:10:23 | 2019-12-10T12:10:23 | 160,968,163 | 0 | 0 | null | null | null | null | WINDOWS-1251 | R | false | false | 989 | r | tech_block.R | # тех функция для авторизации в других функциях
tech_auth <- function(login = NULL, token = NULL, AgencyAccount = NULL, TokenPath = NULL) {
# Если задан токен то пропускаем проверку
if (! is.null(token) ) {
# Определяем класс объекта содержащего токен
if(class(token) == "list") {
Token <- tok... |
af1d923fbfa6d506295008cb840a9a9f7cde334a | 2814fb8233b94513f400c626dfc31b36adcd4bf4 | /tests/testthat/helper_objects.R | c68fac6379f8195d583a232efdcea060a46bfff3 | [] | no_license | skummerf/GenomicWidgets | 384a055600f06ba60ef387b3a4bc693f1dd9d10d | 51b831a9ea240ac74d047d2e0574f7de137cde9f | refs/heads/master | 2018-07-18T07:44:54.077271 | 2018-06-01T20:22:46 | 2018-06-01T20:22:46 | 111,747,630 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 876 | r | helper_objects.R | library("GenomicRanges")
library("SummarizedExperiment")
genomation_dir <- system.file("extdata", package = "genomationData")
samp.file <- file.path(genomation_dir,'SamplesInfo.txt')
samp.info <- read.table(samp.file, header=TRUE, sep='\t',
stringsAsFactors = FALSE)
samp.info$fileName <- file... |
c3b05ec6927f7ab22cb4cddc6c72ab46bab7f8d7 | 7a98661410bbf9c2e0a1097c819a76cfb2c9f9c0 | /Source/Liquor License Pre_processing.R | 50c3a8fd6c2027e37c258b15136390da1edeffcd | [] | no_license | JaseZiv/Liquor-Licensing-Victoria | bf4757d5b38f16446ea6b25c59cb18a0aafa3538 | d1f1610bd5e50dbc64b5c05057404f8b24328bd2 | refs/heads/master | 2020-04-01T00:11:05.603253 | 2019-01-23T01:14:54 | 2019-01-23T01:14:54 | 152,685,783 | 0 | 0 | null | 2019-01-23T01:14:55 | 2018-10-12T02:55:52 | R | UTF-8 | R | false | false | 7,676 | r | Liquor License Pre_processing.R | # load libraries
library(tidyverse)
library(DataExplorer)
library(rvest)
#####################################################
#---------- Read in Liquor Licensing Data ----------#
#####################################################
# https://www.data.vic.gov.au/data/dataset/victorian-liquor-licences-by-location
#... |
be25f22e470ff837f1599966f7df24347bf86966 | 39388bfc9829fc209532b5b58b3a15ea67b07a91 | /Digit Recognizer/R/Digit Recognizer/3. Naive Bayes.R | c677288e51719495ff85963eb8dbf36a48381a83 | [] | no_license | crismbris/MUSS-KDD | b55d266df0bc6a0aba531c8e4f7e3efc4288d5fa | 48eb8ff0d86125dc566f0d1ae3dc15dbfad99506 | refs/heads/master | 2020-04-25T19:01:35.369438 | 2019-02-27T23:22:09 | 2019-02-27T23:22:09 | 173,005,152 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 465 | r | 3. Naive Bayes.R | rm(list = ls())
#loading libraries
library(e1071)
library(data.table)
#loading datasets
train <- fread("train-kaggle.csv")
test <- fread("test.csv")
print("started modelling...")
train$label <- factor(train$label)
rf_model <- naiveBayes(label ~ ., data = train)
print("naive bayes trained.")
pred <- predict(rf_mod... |
d1a81fddd4a6311c4c6652999593379344df3c1d | d4bced16b6a3a756cc60925c4c89e754f89f22e7 | /residus.R | cdcbbcd527bb1d035ce04e67d8e12febdf75c3a4 | [] | no_license | Dilhan-Ozturk/Spatial-modelling-NOx-in-Brussels | 50bed3c405969c33629c1f75d65a5cda5a6d1605 | 297c91999bc91f5989d992a07a10474b460a862b | refs/heads/master | 2022-09-14T21:42:20.416806 | 2020-05-30T19:26:06 | 2020-05-30T19:26:06 | 268,145,760 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,956 | r | residus.R | # Besoin de data_traitment et modeleNOxPond
#**********************************************************************************************
totalJours <- rep(Ixelles$Jour,5)
totalHeures <- rep(Ixelles$Heure,5)
totalStation <- c(rep("Haren",244560/5),rep("Molenbeek",244560/5),rep("Ixelles",244560/5),
... |
d64fc32125b0cae0e7fd5b047588b2b36b52a9f4 | ee4247f18094e489032120b3ad29ed4512dec048 | /jhds02_rprogramming/ps1/complete.R | 903ee8b2cbc6b90a1166c998b11f6ff5cfda9f29 | [] | no_license | Treasaigh/jhds | 182c184278b6187b70fdc114c814b0b200e2d568 | 58542e7262d9ea8ac5894f6cf90bf3ad5e96ee2f | refs/heads/master | 2021-01-22T12:48:49.976240 | 2015-02-26T17:38:12 | 2015-02-26T17:38:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 650 | r | complete.R | complete <- function(directory, id = 1:332) {
dir_base <- "~/Dropbox/Education/JHDS 2 - R Programming/ps1"
setwd(paste(dir_base, directory, sep='/'))
pm_pollution <- data.frame()
for (i in id) {
list_files <- list.files()
dfa <- read.table(file=list_files[i], sep=',', header=TRUE)
... |
ab88a3a4638def2f11dd724bcff0a9694fe3f917 | 53f499108a5c46f69e06a2a20e4671b1d203f960 | /R/get.R | 647b8027665b20664347ed5a872377be9f0d80c4 | [
"MIT"
] | permissive | xiechengyong123/plinkbinr | b89a235b9ce04872bc78ac587fa456be4b0bc957 | fd2a23a7b47fa3f01476af9515e2e49bf366ea76 | refs/heads/master | 2023-03-18T18:10:16.448135 | 2019-10-14T21:13:22 | 2019-10-14T21:13:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 509 | r | get.R | #' Detect plink exe for operating system
#'
#' Returns error if not found
#'
#' @export
#' @return path to plink binary
get_plink_exe <- function()
{
os <- Sys.info()['sysname']
a <- paste0("bin/plink_", os)
if(os == "Windows") a <- paste0(a, ".exe")
plink_bin <- system.file(a, package="plinkbinr")
if(... |
6afaaad8a041a116c2f31566ee42b1b8c59fb88f | 8470f399e6a92bb2d3125b9938f63e842de1e06c | /simulator file.R | 680aab5fd7d53f792fabcf19ef861bdb07045861 | [] | no_license | kroehlm/Permutation_Mediation_Test | ff2c71221bcca5b8e34e24ac22903c2c6eee0595 | 1e86154de084758a41a571667b366ca52bd2b98d | refs/heads/master | 2020-05-20T16:19:53.268569 | 2019-05-08T19:25:58 | 2019-05-08T19:25:58 | 185,664,178 | 0 | 0 | null | 2019-09-06T14:45:59 | 2019-05-08T19:02:33 | R | UTF-8 | R | false | false | 2,997 | r | simulator file.R | ################################################################################
### file: simulator file.R
### authors: Miranda Kroehl, miranda.kroehl@ucdenver.edu
### date: April 2018
###
### purpose: run simulations with bootstraps
###
### change log:
### 04/12/18 - file created. adapted from simulator... |
d3f8dcb06521020c818ecea9901cee92c71654c8 | 41bbdd673bef8e9f1fdc724556591f4607b220e6 | /pascal/man/cot.Rd | 877616a3c115005feb445b8c6c0e2283bb567733 | [] | no_license | pascal-niklaus/pascal | bd42a5f00fd06d9b9f8b4e6227419943a817b409 | 88723458c71609a8971925d363671910a4fa421c | refs/heads/master | 2023-06-27T03:37:37.156306 | 2023-06-14T13:35:16 | 2023-06-14T13:35:16 | 27,164,003 | 3 | 1 | null | null | null | null | UTF-8 | R | false | true | 500 | rd | cot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cot.R
\name{cot}
\alias{cot}
\alias{cotpi}
\title{Cotangent}
\usage{
cot(z)
cotpi(z)
}
\arguments{
\item{z}{argument in radians, or multiple of pi}
}
\value{
cotangent of z
}
\description{
\code{cot} calculates the cotangent. It is better th... |
f34e385d64ddb785c99240015fe4a0fd34d668f7 | b33735d157848984bc57288b41ce2bded79e2710 | /R/fit.CInLPN.R | d638062ea85f6732e149e5f4918fe7902c737e2d | [] | no_license | bachirtadde/CInLPN | 9a00a0cabf5af34ba8403b17d81763db6067b990 | bb51492aa116635c4bf70afd29de7bdd58de15a5 | refs/heads/master | 2023-06-30T15:21:04.684650 | 2023-06-20T14:31:49 | 2023-06-20T14:31:49 | 163,929,733 | 2 | 1 | null | 2021-03-28T14:58:25 | 2019-01-03T06:00:38 | R | UTF-8 | R | false | false | 6,579 | r | fit.CInLPN.R | #' Marginal and subject-specific predictions on the training data for a CInLPN object
#'
#' @param object CInLPN object
#' @param newdata dataset
#' @param MCnr an integer that gives the number of Monte Carlo iterations
#' @param TimeDiscretization a boolean indicating if the inital time have to be discretized. When se... |
a8d497df754265b449370a9cd1afcbf789a0c668 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.internet.of.things/man/iot_list_thing_groups.Rd | 25e343c705ba7a03d4b2fcc56b8c38eb4b435bcf | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,265 | rd | iot_list_thing_groups.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/iot_operations.R
\name{iot_list_thing_groups}
\alias{iot_list_thing_groups}
\title{List the thing groups in your account}
\usage{
iot_list_thing_groups(nextToken, maxResults, parentGroup,
namePrefixFilter, recursive)
}
\arguments{
\item{nex... |
eee6a351733007ca1471c85d7e4b0e6f212d4a19 | 3f4d597965befa4655be7d810f485758284fc06b | /R/adjustPipelineFun.R | 21793717e1f23c35726de8e43c8f0f21b2245280 | [] | no_license | jianhong/cellCounter | b14ecc7ad4b20f7953209b8fe10258949e5944be | 82ed0744a9c95ba7dcf27b8783f7c7adc0313b3a | refs/heads/master | 2022-06-18T13:01:54.511625 | 2022-06-09T15:13:33 | 2022-06-09T15:13:33 | 121,533,564 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,670 | r | adjustPipelineFun.R | #' GaussianBlur
#' @description apply Gaussian blur to a Image
#' @param img an object of \link[EBImage:Image-class]{Image}.
#' @param GaussianBlur_sigma sigma for \link[EBImage:gblur]{gblur}.
#' @param \dots not used.
#' @import EBImage
#' @export
#' @author Jianhong Ou
#' @examples
#' library(EBImage)
#' img <- readI... |
dec1f1eb3c4c405f9ef1de633a47b0b04a3d6abe | fadffda2b80e86944daa588709156dd0d8af6f32 | /KnockoutNetsSynth/man/randomModelWithCycles.Rd | 4a615a986f5025b141cd910f4e371dd5dd4ad720 | [
"MIT"
] | permissive | sverchkov/vaske-fgnem | f623a3d80100f54760a6eb5b0066509fca5f3df9 | e47aac5d5ea1ee362c9358500a3b361f410453bc | refs/heads/master | 2021-01-21T06:38:15.461926 | 2017-02-28T01:08:33 | 2017-02-28T01:08:33 | 83,258,207 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,208 | rd | randomModelWithCycles.Rd | \name{randomModelWithCycles}
\alias{randomModelWithCycles}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{ ~~function to do ... ~~ }
\description{
~~ A concise (1-5 lines) description of what the function does. ~~
}
\usage{
randomModelWithCycles(n, edgeGenerator = function() {
1
}, gNames =... |
335e03fd0fe448f0b500ea2db87a22196dcd2444 | 5fbb558dfc5865e6fcb1e575f41d2a5478649fc3 | /ui.R | e3b9d3203883a4af94597508ca5c6be200e846a6 | [] | no_license | mingzhuye/data-products--shiny | dfdff3e3b5048d7673e6e067eafca4146790a05c | b66acf58f614f0c534cfbf16d77e8dbb21bd1ef6 | refs/heads/master | 2021-01-01T06:27:44.149646 | 2015-06-18T19:38:26 | 2015-06-18T19:38:26 | 37,680,273 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,903 | r | ui.R | library(shiny)
# Define UI for dataset viewer application
shinyUI(fluidPage(
#Application Title
titlePanel("Choose General Infomation about the Dataset You Want"),
sidebarLayout(
sidebarPanel(
textInput("caption", "Dataset Caption:", "Data Summary"),
... |
9f06ad86de0ef7f6047a15bb7a78f097af9ce652 | f2ca5431d921b1189a6ebaacd88aef3a9a1a1820 | /R/TaskClust_usarrest.R | 1b3b59364379a160ad1308c0c21b2da6635e2a45 | [] | no_license | mlr-org/mlr3cluster | 44747d2b4fae9170b5ea20704cccfdad777f198f | 161aee5e75aa299bea29617020339768a8d9a75c | refs/heads/main | 2023-06-22T09:58:51.455583 | 2023-06-15T22:32:15 | 2023-06-15T22:32:15 | 157,852,274 | 15 | 7 | null | 2023-03-10T01:08:56 | 2018-11-16T10:32:38 | R | UTF-8 | R | false | false | 811 | r | TaskClust_usarrest.R | #' @title US Arrests Cluster Task
#'
#' @name mlr_tasks_usarrests
#' @include aaa.R
#' @format [R6::R6Class] inheriting from [TaskClust].
#'
#' @section Construction:
#' ```
#' mlr_tasks$get("usarrests")
#' tsk("usarrests")
#' ```
#'
#' @description
#' A cluster task for the [datasets::USArrests] data set.
#' Rownames ... |
d1d69d146e0c0c936e38ee0ebce123002f461c33 | 999bae91d5c15cd8f5371468a89a977c2cb36cbc | /man/calcSurProb.Rd | caff039cbdbd593f6967090523a30903832aa509 | [] | no_license | ataudt/CINsim | 1311be6c4a5e28206366a07074031b540841c097 | 4f21df879b275a7e33ce45236fd408c7635bd185 | refs/heads/master | 2021-01-22T01:10:45.500354 | 2017-09-03T17:41:55 | 2017-09-03T17:41:55 | 102,203,380 | 0 | 0 | null | 2017-09-02T14:49:19 | 2017-09-02T14:49:19 | null | UTF-8 | R | false | true | 649 | rd | calcSurProb.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calcSurProb.R
\name{calcSurProb}
\alias{calcSurProb}
\title{Calculate probability of survival in a fitness-dependent manner}
\usage{
calcSurProb(karyotype, numberOfChromosomes = NULL, probDf = NULL)
}
\arguments{
\item{karyotype}{A k... |
e389306281bd342df0d3df037e2a2cb5f3c4b03c | cb8a9bb08b766b1c6543d9f676180dfec3f21273 | /man/SparreAndersen-class.Rd | f2df68d1288edf6aa397cdc5279f4a41a0606312 | [] | no_license | irudnyts/ruin | d15b89b05956be90a4b0e84346e56f6f64d9d544 | 664117bc3d367365a4e405fe8e25b09982e3330d | refs/heads/master | 2020-03-21T22:29:35.612424 | 2018-07-30T12:18:08 | 2018-07-30T12:18:08 | 139,129,922 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,935 | rd | SparreAndersen-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllClass.R
\docType{class}
\name{SparreAndersen-class}
\alias{SparreAndersen-class}
\title{A formal S4 class SparreAndersen}
\description{
A formal S4 class representation of classical Sparre Andersen model.
}
\details{
The model is defined a... |
e8017638db2877a8dafdabc96a8248413e62aa11 | 1d6758016165234fac88a80b4bd4d5e8c534d883 | /R/nonnegativeleastsquares.R | 2f23faf9d52636f3db48f4a18040c9e24dee5587 | [] | no_license | cran/gettingtothebottom | dfdfc294f2c466f0df5df5d960815d4d2f1a38db | 17bb8f6c359a7ee8baace40f1c2bf277744dd0e3 | refs/heads/master | 2016-09-06T05:32:22.471104 | 2014-12-04T00:00:00 | 2014-12-04T00:00:00 | 17,696,368 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 7,630 | r | nonnegativeleastsquares.R | #' Generate random nonnegative mixture components
#'
#' \code{generate_nnm} Function to random nonnegative mixture components
#'
#' @param n Number of samples
#' @param p Number of components
#' @param seed Random seed
#'
#' @export
#'
#' @examples
#' n <- 1e3
#' p <- 10
#' nnm <- generate_nnm(n,p)
#'
generate_nnm... |
e0b1ecc3eb2e83277d6f61f4e762d5276435a8ac | 085c1f0d348b6be6eef1917e74cfde2247853d84 | /man/random_coefmats.Rd | ef857543b13cbb6849ed24261093bc63ffc155fa | [] | no_license | saviviro/gmvarkit | 657691acd9577c5aacefe01778bb53d8746613c2 | ad17dd159d0dfa816dcdf9f3ff8be8d633e3b0ef | refs/heads/master | 2023-07-11T19:48:43.851308 | 2023-06-26T08:18:28 | 2023-06-26T08:18:28 | 193,906,969 | 6 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,109 | rd | random_coefmats.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/generateParams.R
\name{random_coefmats}
\alias{random_coefmats}
\title{Create random VAR-model \eqn{(dxd)} coefficient matrices \eqn{A}.}
\usage{
random_coefmats(d, how_many, scale)
}
\arguments{
\item{d}{the number of time series in the syst... |
28326587e629d843aa9972595e98ae9d20a66438 | d75d0e96f51291627ef8dff4f51631c9da397625 | /Metrics.R | c730dc8c1866997b48cb0d9184c56873f3f63f02 | [] | no_license | 13KumariJyoti/Regression-Metrics | 31365ff43cdf9912b3b2b2f826620a6eeca8f79a | 95442a958d2de672dbff6e03b9802eddaba82869 | refs/heads/master | 2021-01-16T16:18:18.351982 | 2020-02-26T07:17:27 | 2020-02-26T07:17:27 | 243,181,112 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,140 | r | Metrics.R | #' mean calculation
#'
#' @param x
#' A numeric vector whose mean is to be calculated
#' @return
#' numeric value;mean calculated
#' @export
#'
#' @examples
#' x <- c(5,6,7,8,9,10)
#' mean <- calculatemean(x)
calculatemean <- function(x){
if(!is.vector(x)){
stop("x should be a vector")
}
if(any... |
7167396633f7a3d412afb9632020bea34d7e27e8 | 63aab023a31f099e302038a988fbc439b3392c09 | /R/runcode.R | 9c3d6a854a65dc88d724c516052d07ffcbcfe35c | [] | no_license | TEDS-DataScience/AirbnbProject | 054d8f8bc520709b78f218b29c5ff2bdc217aeed | ae46c6331d8dc0490fe3d46675a07b7be7f4d993 | refs/heads/master | 2022-01-19T04:21:52.305116 | 2016-02-20T11:02:24 | 2016-02-20T11:02:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,527 | r | runcode.R | ######################################################################
# generate the report, slides, and if needed start the web application
reportfilename = paste(report_file, "Rmd", sep=".")
docreportfilename = paste("doc", reportfilename, sep="/")
htmloutput = paste(report_file, "html", sep = ".")
dochtmloutput =... |
90b413908adcb3ad8b4d37fdd494c91358aa89d5 | c0840d2d6f8adbb0ccff63fe4428f5a52e6b63b0 | /cachematrix.R | 16969394f9feedaf433ef3808532db3c90507d86 | [] | no_license | carmeloatucm/ProgrammingAssignment2 | fae224605e6e40e5c7d1296eaa598f6db1d5567d | df6ed86cb030112653b079563dd783e76fa4e2cf | refs/heads/master | 2020-05-29T11:48:34.030618 | 2014-11-22T22:59:39 | 2014-11-22T22:59:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,602 | r | cachematrix.R | ### This function stores the inverse and the value of the matrix for future use
makeCacheMatrix <- function(x =matrix()){
### initially the data starts as a NULL object, it will be tested and cached later on
inverse <- NULL
data <-NULL
set <- function(y){
x <<- y
inverse <<-NULL
}
get <- functi... |
3b62d77acabff6739115b0c4ff53b1c96350074e | 625c6620f117f50ab79f5fd3296e9576a0910187 | /man/guthion.Rd | 9bb278cf9541a42268763a7f692e6b8ac5f5caec | [] | no_license | DoseResponse/drcData | 378c850587d3332caa076192e480b4efb6904ba9 | 09f9da308aeea62322b0a7b67946435a87c36589 | refs/heads/master | 2023-02-24T02:20:00.374757 | 2021-01-28T12:04:31 | 2021-01-28T12:04:31 | 108,513,898 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 485 | rd | guthion.Rd | \name{guthion}
\alias{guthion}
\docType{data}
\title{guthion}
\description{guthion data.}
\usage{data(guthion)}
\format{
A data frame with 6 observations on the following 6 variables.
\describe{
\item{\code{trt}}{a categorial vector}
\item{\code{dose}}{a numeric vector}
\item{\code{alive}}{a numer... |
dad7e1eaeb4e9c307fd18faa5f335c2ce6f949ba | 0ae69401a429092c5a35afe32878e49791e2d782 | /trinker-lexicon-4c5e22b/R/profanity_banned.R | 0837995e7a14fd61c2f9005be029eedb224899f3 | [] | no_license | pratyushaj/abusive-language-online | 8e9156d6296726f726f51bead5b429af7257176c | 4fc4afb1d524c8125e34f12b4abb09f81dacd50d | refs/heads/master | 2020-05-09T20:37:29.914920 | 2019-06-10T19:06:30 | 2019-06-10T19:06:30 | 181,413,619 | 3 | 0 | null | 2019-06-05T17:13:22 | 2019-04-15T04:45:06 | Jupyter Notebook | UTF-8 | R | false | false | 729 | r | profanity_banned.R | #' bannedwordlist.com's List of Profane Words
#'
#' A dataset containing a character vector of profane words from bannedwordlist.com.
#'
#' @section Disclaimer: From the original author: "These lists are free to download. You may use them for
#' any purpose you wish and may copy, modify and distribute them freely. Th... |
cf833eb1b7f10b5a2fe63ba6ad7eabdfc5433167 | e5f1d57bb83370be465afa5325ac6e2783a20484 | /Helpers/Function Helper/Cleansing.R | 45abdf9856eb99471be3f4a75e81dbe38ca66f6c | [] | no_license | mfdhan/Indonesia-Public-Election-Twitter-Sentiment-Analysis | a08027edf67557544792fface4a01879801e9796 | 9a0924ec373d3ccd58903e583cc172b38a98e745 | refs/heads/master | 2022-12-03T09:50:32.063081 | 2020-08-23T05:05:05 | 2020-08-23T05:05:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,089 | r | Cleansing.R | library(tm)
library(xml2)
library(stringr)
library(dplyr)
library(katadasaR)
removeURL <- function(x){
gsub("http[^[:space:]]*", "", x)
}
removeMention <- function(x){
gsub("@\\w+", "", x)
}
removeCarriage <- function(x){
gsub("[\r\n]", "", x)
}
removeEmoticon <- function(x){
gsub("[^\x01... |
e24ef466ecdf0d6658dd768d5ded6e8cc477a816 | 20511f2fa1c5a284c5d5cb7a88b20fc320fd8252 | /simdata/exp_normal.R | f341c4da5b54512e6315171418072285aeef2abf | [] | no_license | fredbec/drnn | 029708f87ab6b1991b20ef0e4b65515504e558d7 | 9582f18516cfd33a5583686e8fd726ac0ad5d890 | refs/heads/main | 2023-08-02T03:54:11.457759 | 2021-09-17T08:36:04 | 2021-09-17T08:36:04 | 358,614,074 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,146 | r | exp_normal.R | exp_normal <- function(n, k, xrange = c(-1, 1), betas = NULL, stand = TRUE){
#generate coefficients from uniform
beta1 <- runif(k, 0, 1)
beta2 <- runif(k, 0, 1)
beta3 <- runif(k, 0, 1)
runifcl <- rep(n, times = k)
x <- sapply(runifcl, runif, xrange[1], xrange[2])
#generate parameters
mu <- x %*% b... |
7af7ee670a60f40d46ede22868ad7aca56c03b35 | 2b19e8f985f6c6b0eb3cff16e5a90d0f75be5ea5 | /CovidClinicalTrial_analysis2.R | 892999040dfbe488bb3b087fbc601493610c86eb | [] | no_license | arthurberg/COVID_Clinical_Trials | 1d601a773dc756c5887ceb8716f16dc180627368 | 7d57cabd13cac11d42aa5bd2305a89091819cfae | refs/heads/master | 2023-02-22T06:12:20.787004 | 2021-02-01T00:13:09 | 2021-02-01T00:13:09 | 334,785,078 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 28,509 | r | CovidClinicalTrial_analysis2.R | rm(list=ls())
setwd("~/Library/Mobile Documents/com~apple~CloudDocs/Nour Hawila/COVID clinical trials/Second resubmission/software/clean")
#setwd("~/Library/Mobile Documents/com~apple~CloudDocs/COVID clinical trials/Second resubmission/software")
fn=c("studies_20191201.txt","studies_20201201.txt")
fn2=paste(unlist(s... |
098d51a4950b2264d61a9c2c10f2e161830f5032 | 073c50a70500e880aa7be129ee5cd7fa5ed4e350 | /assignment/plot3.R | c32f1d732b693c08e60b23a3bf2bd3bd6c2ff8ad | [] | no_license | mgraef/ExData_Plotting1 | e37d204ef7b428041807b4fe5e236ac9d767765f | d29c432b1ac5455a3cb736df88d0fa043bd60e6f | refs/heads/master | 2021-01-22T15:04:36.086600 | 2014-05-10T16:44:29 | 2014-05-10T16:44:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,049 | r | plot3.R | ## Read Data from csv file
fn <- "household_power_consumption.txt"
hpc <- read.csv(fn, sep=";")
## Select data from 2007-02-01 to 2007-02-02
FebData<-hpc[as.Date(hpc$Date,format="%d/%m/%Y") >= as.Date("2007-02-01") &
as.Date(hpc$Date,format="%d/%m/%Y") <= as.Date("2007-02-02"),]
## Store values of ... |
8821cf3f71b2eb76d67acbc8a8a78b5ceb9245ef | aa9563fb769372b219e83b53430e0afc65fe02c0 | /aggregation.R | bd4279351bde2403b035f4e5714d9d6fc73b807d | [] | no_license | peterkabai/dataScience | e357d35b01c610a38488109bb2ef4f197b15286c | 99652c4c05ca8f26df8760c67b5882d13935a324 | refs/heads/master | 2020-04-09T09:54:41.677461 | 2019-05-09T04:33:22 | 2019-05-09T04:33:22 | 152,819,355 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,916 | r | aggregation.R | # read the census data as a data frame
dat = read.csv("https://raw.githubusercontent.com/peterkabai/dataScience/master/data/census.csv")
# how many people are in each category of education?
edu_tbl = table(dat$education)
edu_tbl
# plot the table with using function 'plot'
plot(edu_tbl)
# plot the table with 'barplot... |
0d623adf6b18428a0e25c6bb0d98be431e9d8fd9 | 04b26d022d1993b53412f72dde3af795388fa58e | /AllpseudoBulk_Venn.R | 15fdf6a94e8fdbe6f87860dc76d4e967fbb6c6a9 | [] | no_license | rajansanjana09/BMCHetero2021 | 7628f7a3e5e349a922efee9c2943db4aaae5a28c | c63b43e1a7db147cea046a2b233f647985fbce9e | refs/heads/main | 2023-06-19T06:10:49.448327 | 2021-07-10T02:33:16 | 2021-07-10T02:33:16 | 383,254,792 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,384 | r | AllpseudoBulk_Venn.R | # Psudobulk to determine gene differnetially regulated on tissue colonization and
# Venn diagram to visualize shared genes
# # Merge into a single Seurat object
# OS <- merge(OB, y = c(os17.cx.raw, os17.tib.raw, os17.lung.raw,
# t143b.cx.raw, t143b.tib.raw, t143b.lung.raw,
# ... |
d657311ad43429d33587278750e29b3458544f2c | 736894dd80e1bc287d78b56c48e1479033c0ce44 | /man/subsetColnames.Rd | e4f380b9f6518d0a65f0a137f491947fbd9d95f7 | [
"MIT"
] | permissive | campbio/ExperimentSubset | cf87a0887e844789aa992743e88ead51997d443a | e11ce736489e22089692937d63f9d9e6c8a91aba | refs/heads/master | 2023-08-04T17:47:04.848732 | 2021-09-05T14:30:17 | 2021-09-05T14:30:17 | 282,447,756 | 11 | 0 | MIT | 2021-09-05T10:56:27 | 2020-07-25T13:18:54 | R | UTF-8 | R | false | true | 2,689 | rd | subsetColnames.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/allGenerics.R,
% R/SubsetRangedSummarizedExperiment.R, R/SubsetSingleCellExperiment.R,
% R/SubsetSummarizedExperiment.R, R/SubsetSpatialExperiment.R,
% R/SubsetTreeSummarizedExperiment.R
\name{subsetColnames}
\alias{subsetColnames}
\ali... |
271a2816e0aac60341eec439feb74516eb9dc809 | 1963ea1341f60c40055035cb7609fb1e140bfef2 | /flowtype_flowcap_pipeline-master/05_data_trim-feat.R | 01ae051e35a98cd17704542df59e2bba95d1b64f | [] | no_license | aya49/flowGraph_experiments | 86359a457c0049790b892b91d7713ff7e65b27b3 | 2ef4e0b53f425a090b2ee6c1010d91e675a893de | refs/heads/master | 2023-04-27T04:46:53.195705 | 2023-04-15T22:31:32 | 2023-04-15T22:31:32 | 178,804,954 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,643 | r | 05_data_trim-feat.R | # FlowType; Trim feature matrices using all pvalues
# aya43@sfu.ca 20180405
## root directory
root = "~/projects/flowCAP-II"
result_dir = "result"; suppressWarnings(dir.create (result_dir))
setwd(root)
## input directories
meta_dir = paste0(result_dir,"/meta")
meta_cell_dir = paste(meta_dir, "/cell", sep="")
feat_d... |
566c254d54c314c27fdd75d53543c0e9f1a2c909 | 6e7152b53e80ca4e03a7b4144bf2526a3c1dcc52 | /hex_plots.R | 9e046e0ff0a6ca33522a088068984b5cd887e485 | [] | no_license | cbur24/El-Nino-Analysis | 66184b9fdacd80c41bb9a98d98877a9a3a48fb01 | 28e934dd487be92278d174712844ea1ea7940cb7 | refs/heads/master | 2021-04-15T09:50:24.241544 | 2019-01-14T22:10:59 | 2019-01-14T22:10:59 | 126,665,747 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 954 | r | hex_plots.R | #hex plots?
ggplot(data=tempScatter_all, aes(x=TAVG_station, y=TAVG_model, colour=id)) +
facet_wrap(~id, scale="free", ncol=3)+
geom_hex(bins = 15, show.legend = T)+
stat_smooth(method = "lm", linetype="longdash", col="black", size=1)+
geom_abline(intercept = 0,slope=1, col="black", size=1)+
theme_bw()+
... |
3b0464747726d6d9a1dfa341159bef9c0ed5aea4 | 9423c2ae3708e7e7ac78f72b4344b2dcd16119e2 | /smooth_per_factors.R | 5ee0a26b618a75664553aceee2a5d7835566404a | [
"MIT"
] | permissive | TaiSakuma/mianRs | 57d5d3e41438a35d560e7c1f0e954ab453710ac1 | 9b133cad30f5a0cadec510e96b552b0be7ba48f8 | refs/heads/master | 2021-01-18T23:18:32.366644 | 2018-05-19T08:09:16 | 2018-05-19T08:09:16 | 28,632,406 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,703 | r | smooth_per_factors.R | # Copyright (C) 2010 Tai Sakuma <sakuma@bnl.gov>
smooth.per.factors <- function(data, newx, xy.names, w.name, ...)
{
main <- function(data, degrees.of.freedom)
{
factor.names <- names(data)[!names(data) %in% c(xy.names, w.name)]
if(length(factor.names) == 0)
{
data$ffff... |
f8df0ad84afc018f6032ba084e89b9c56c2cd0e1 | f01fedea632515c6e523939689081e18f8b45699 | /annotate_peaks_ChIPpeakAnno/annotate_peaks.R | eeb7e7c52a870b1a4a3fc49f642bb4b61b4d6d7c | [] | no_license | WeiSong-bio/Bioinformatics--------------- | 9c6e7a05e9234b03b9471421e8901c7ff65f7dfe | a7ab7b3536bb8cc7fbe902d854694c769a93170c | refs/heads/master | 2020-06-16T01:01:24.602945 | 2018-07-25T22:22:41 | 2018-07-25T22:22:41 | 195,438,451 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,567 | r | annotate_peaks.R | #!/usr/bin/env Rscript
## USAGE: annotate_peaks.R /path/to/peaks.bed /path/to/output/annotated_peaks.tsv
## DESCRIPTION: This script will run annotate peaks with ChIPpeakAnno, using hg19
# get script args
args <- commandArgs(TRUE)
message("\nScript args are:\n")
print(args)
input_peaks_file <- args[1]
output_annota... |
cba45aac74c50d45d939bb431edab4e572371c0d | 2589272d2a5a669352a8cefd9f86e9167a75fbfe | /plot2.R | c45c2fe84ec89f98f06f2fa07d93cc83de0c9f07 | [] | no_license | vjcbsn/ExData_Plotting1 | a03a3d7857fc8d39c55195946fd2523f7c92a821 | cd44f7076cd13c15f1a567888c3dcaa48af86e9e | refs/heads/master | 2023-04-13T16:25:13.689364 | 2015-10-09T20:15:58 | 2015-10-09T20:15:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,005 | r | plot2.R | library(data.table)
# reading only lines for 1 and 2 Feb 2007
hpc <- fread("household_power_consumption.txt", na.strings = "?", skip = "1/2/2007", nrows = 2880,
colClasses = c("POSIXlt", "character", rep("numeric", 7)))
# setting proper variable names
names(hpc) <- c("Date", "Time", "GlobalActivePower"... |
945ada78d4c0012b45a3285243f7a545817de17a | 52e168effa6b7c2d7a4efb831fdc786cdffa1a73 | /get_substances.R | c4e0a3bd30cd99ccaf1de50417e9254303dc8c88 | [] | no_license | gezever/emissie_imjv | 33a8dca845c9fbe755b98c36e16b375cdf9d0726 | 637f81e305209db59fb12a13bcddd85643d2194b | refs/heads/master | 2021-05-03T06:38:13.959858 | 2018-02-07T10:30:04 | 2018-02-07T10:30:04 | 120,600,057 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,912 | r | get_substances.R | library(SPARQL)
# Step 1 - Set up preliminaries and define query
# Define the endpoint
#endpoint <- "http://lodomv-on-2.vm.cumuli.be:8100/imjv/sparql"
endpoint <- "http://rdfstoreomv-on-1.vm.cumuli.be:3030/rdfstoreomv/archive/query"
# create query statement
query <- "
PREFIX milieu: <https://... |
ebfe4822ee1edad69d3b4136fdf5618a30d5d299 | c2e589d75eae2b603abc6b126b1206780e87cf70 | /landscape_young_cohorts.R | d8d9e00d8ac562392730618ab171809146549202 | [] | no_license | MARIASUAM/harvest_x_climate_LANDIS | 13b3a8cfcdc68d3d59a72cda2a31b192a741fe1f | a7810e42c2ded4863432bb7db3befb825e6701e8 | refs/heads/master | 2023-04-18T02:09:23.889062 | 2022-09-14T14:15:40 | 2022-09-14T14:15:40 | 412,398,572 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,157 | r | landscape_young_cohorts.R | # Age distribution
library(dplyr)
library(ggplot2)
mgmt.scenarios <- c("211129_nomanag_current",
"211129_conserv_current",
"211129_proactive_current",
"211129_proactiveplus_current",
"211129_nomanag_rcp45",
"211129_con... |
ee52d6fc5a76f8337589e37417c835cfac5d86f2 | 9591f5820092cf51ce5fb1a42dfe30eb5ab441b9 | /Nowicka2017/quick_analysis/0_correlation_cytokines_frequencies.R | 909654dabed3c53a5a01023818fac0037da41daf | [] | no_license | yhoang/drfz | 443d58837141ffd96a3b0037b07a8d6f67d56350 | 38925398d30737051a3df4b9903bdc8774c18081 | refs/heads/master | 2021-06-30T23:12:36.186438 | 2021-02-09T11:10:32 | 2021-02-09T11:10:32 | 218,074,297 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,531 | r | 0_correlation_cytokines_frequencies.R |
Sys.time()
# Load packages
library(gdata)
library(ggplot2)
library(reshape2)
library(limma) # for strsplit2
library(gtools) # for logit
library(plyr) # for rbind.fill
library(tools)
library(GGally)
library(ComplexHeatmap)
##############################################################################
# Test argument... |
138b05d7279b2f5152a1b57dc7c418f173b63ca5 | d2f880cbca787d6ebf0d6535e9e427a12997afcd | /install_inzight.R | c6e24392644df52cf751123dc1a7d400ee8f52b5 | [] | no_license | iNZightVIT/mac-installer | 9276be24505984fd7777cba6fb423854717ebdb8 | db1f094b907422e5a4582c6a5744cde1bab68f5f | refs/heads/master | 2020-04-18T12:12:33.071073 | 2019-05-31T08:30:56 | 2019-05-31T08:30:56 | 167,527,073 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 734 | r | install_inzight.R | local({
if (Sys.info()[['sysname']] != 'Darwin') return()
.Platform$pkgType = 'mac.binary.el-capitan'
unlockBinding('.Platform', baseenv())
assign('.Platform', .Platform, 'package:base')
lockBinding('.Platform', baseenv())
options(
pkgType = 'both', install.packages.compile.from.source = 'always',
... |
7d3e1ba38bc455a4cf60fa5d10edd773b90dfef6 | 9262d48a13eb12331e10b8d8c8689e8de160e63c | /R/edas-datapreprocessing-daytype.R | 99590122bb54895931ffdc73df4fb135a965dbcd | [] | no_license | jinlee86/bems_analysisr_package | 9a69a7cf8642773113a276140eab067537a6f658 | a4a5b10a0198b648e6f8ede5927b4d7c7d3fc702 | refs/heads/master | 2021-01-21T19:27:52.151776 | 2017-06-29T05:44:07 | 2017-06-29T05:44:07 | 92,139,188 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,443 | r | edas-datapreprocessing-daytype.R | #' EDAS Data Preprocess - Working/Non-Working/Special Days
#' 데이터를 주중/주말/특별한 날로 구분
#'
#' @param dataset 데이터 프레임 (data.frame) 형식의 input 데이터 셋
#' @param datetimeCol POSIXCT 타입의 날짜 시간 값을 나타내는 컬럼 명
#' @param workingdays 주중을 정의 하는 요일들(1~7) numeric list, 기본값으로 월요일부터 금요일 (1~5)
#' @param specialdays Optional 특별한 날을 정의 하는 ch... |
4c8b17ab0e911989baeb46bfc1c8b34617ddfdd0 | b08b7e3160ae9947b6046123acad8f59152375c3 | /Programming Language Detection/Experiment-2/Dataset/Train/R/sha-1.r | 03a9958011fb8aecf4bc870a51a6a08b19f00636 | [] | no_license | dlaststark/machine-learning-projects | efb0a28c664419275e87eb612c89054164fe1eb0 | eaa0c96d4d1c15934d63035b837636a6d11736e3 | refs/heads/master | 2022-12-06T08:36:09.867677 | 2022-11-20T13:17:25 | 2022-11-20T13:17:25 | 246,379,103 | 9 | 5 | null | null | null | null | UTF-8 | R | false | false | 100 | r | sha-1.r | library(digest)
input <- "Rosetta Code"
cat(digest(input, algo = "sha1", serialize = FALSE), "\n")
|
dc51dbe20f8185bc3698b53cd469c40f636000a4 | 402733edf0ee3946671f7c8272b9fbd51f21420e | /src/01basic_stats.R | 070aa89968f04b715d95f086ab2e1361a1bb1fae | [] | no_license | amphibian-exeff/vanmeter_bodyburdens_envpoll2014 | a55cb6cf5fb2ce793c9a23f5033bd0d3705b5273 | ddfeaf59f7408f718010e75d6c053acd768ccdb5 | refs/heads/master | 2023-07-12T12:48:26.664855 | 2021-08-09T03:59:00 | 2021-08-09T03:59:00 | 41,526,957 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,567 | r | 01basic_stats.R | library(ggplot2)
library(plyr)
summary(allfrog)
colnames(allfrog)
# indices
#frogs
unique.frogs <- unique(allfrog$Species)
for(frog in unique.frogs){print(frog)}
index.green <- which(allfrog$Species=="Green treefrog")
print(paste("# green =",length(index.green)))
index.barking <- which(allfrog$Species=="Barking tre... |
cf17cf10361200e8b2b659ace9cbca807265a8a9 | aaac559889d1968ee128d67460bcf4a4272e39fb | /figure/Plot 4.R | 49c102db86a6def860b0df9a4bbb78ed37d79e92 | [] | no_license | Omar-Ma/ExData_Plotting1 | 7a6f9cd928afe2f42ac50f6d0e9edc5e680b99a7 | 4bfad1eb25ea314250548c63f399a7424c03ef17 | refs/heads/master | 2021-01-09T07:02:54.416243 | 2014-10-12T23:04:21 | 2014-10-12T23:04:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,086 | r | Plot 4.R | da<-read.table("household_power_consumption.txt",sep=";",header=T)
da$Date1<-as.Date(da$Date,"%d/%m/%Y")
da1<-subset(da,Date1=="2007-02-01"|Date1=="2007-02-02")
da1$DateAndTime<-paste(da1$Date,da1$Time)
da1$DateAndTime<-strptime(da1$DateAndTime,"%d/%m/%Y %H:%M:%OS")
par(mfrow = c(2, 2))
with(da1, {plot(DateAndTime,Glob... |
8da4b1db89fe126fec733c64406aab104c8f41da | e9666e75d8b6b24e9982848c24f2b3fa4bf32c1d | /NeuralNet/oneA.R | d320f05b784fd56551befcbfac30d98092ab7f61 | [] | no_license | mesfind/CODATA-RDA | 8b084e4bea330e0ae86d2aa28ae81a36671efc67 | b0e0c03b5e5b68b90bfe7a9b53d266ed3d7074f8 | refs/heads/master | 2020-03-26T13:33:02.554916 | 2018-08-24T09:10:35 | 2018-08-24T09:10:35 | 144,773,757 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,313 | r | oneA.R | ALPHA=0.05 # learning rate parameter
nodes=c(5,8,5,1) # 5 inputs, 2 hidden layers, with 8 and 5 nodes , 1 output
nlayers=length(nodes) -1 # 3 sets of weights
net=list() # set up empty list
# net[[ j ]] holds weight matrix feeding nodes of layer j+1 from nodes in layer j
# make weights and fill with random numbers
for(j... |
7728ee4ce614af634cef2f52ebfdf1b1898a74d4 | c7c92c242d568ceb6a064bb53f85dbb3326ee0ac | /gettingAndCleaningData/run_analysis.R | bbf217c1e0577f4250a10908adf5170ccae3256f | [] | no_license | gregord64/datasciencecoursera | d2969c865630282abe9d3afe21cadbbcb6bb61d8 | e9279f9b7bea26969b4ce6a0125d758d7faae92f | refs/heads/master | 2021-01-25T07:07:44.713078 | 2015-05-17T22:55:23 | 2015-05-17T22:55:23 | 28,272,542 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,585 | r | run_analysis.R | ###########################################
## ##
## Set the working directory ##
## ##
###########################################
setwd("c:/R_Programming/gettingAndCleaningData")
###########################################
## ... |
98c53ce133dbcfba92a2a9998072c60572847ddd | 0ef6541cf6b05f241cdc2471280d31fdd7d73a06 | /Simulations/Drugs_Functions.R | 2e630e9d6412ac43c9b7e63d02e42c1e8bca5fb8 | [] | no_license | anthonycrane/MixedMarkov | eb3c73ab507d6449281da03fa2a5485d0a5bb316 | d15b4874dbfe9d6f1f41d1eb528954acec104c42 | refs/heads/master | 2020-12-28T23:05:08.921670 | 2014-12-12T19:48:43 | 2014-12-12T19:48:43 | 27,934,150 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,029 | r | Drugs_Functions.R | # File: Drugs_Functions.R
# Purpose: Defines convenience functions for use in the mHMM project.
AnySuccess.Z <- function(data, subject){
# Function: AnySuccess.Z(data, subject)
# Purpose: Identifies if there is a sequence of 14 consecutive 0's for a
# given subject in the data frame., for 'Z' variable... |
35af788e519c897ef5b1cd114e95066caace51ef | e55da889645bfb77e2c8a5970e5cce365be678c6 | /Store_Distance_Pairs.R | 02b6be822cd51804c8237f9a750484e7ba745d7d | [] | no_license | jumorris2017/R-code-flatfiles | 60f71f65b9409935feae107152f22e0b371e023d | a652d49b3a96416369f590d86189192d2ca57ce2 | refs/heads/master | 2018-09-08T14:31:09.353232 | 2018-08-15T00:01:27 | 2018-08-15T00:01:27 | 110,997,721 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,380 | r | Store_Distance_Pairs.R | ##Calculating Store Distance to other Stores
##Findings pairs of close stores
##For Lisa/Megan request 1/9/18
#load libraries
library(data.table)
library(geosphere)
library(stringr)
library(splitstackshape)
#load data
dd <- fread("O:/CoOp/CoOp194_PROReportng&OM/Megan/Distances/ComplexLatLong.csv")
setcolorder(dd,c("S... |
6dc1d30fc30bf853544b6bf5e5df5be55ff7f6c4 | eb6eb8dad4374c3a686229d0d0bdc1de7a8c3616 | /bostoncrimes.R | 045b253d37a02fa9b4a6c19482ba572e96980ee7 | [] | no_license | sonaljain2212/Boston_Crimes | 169b9f09234956c6052a1f201d2262ef48bbb58e | 4d6306f787ca5bf4149e0b2bf4370919fbf8f550 | refs/heads/master | 2021-02-09T04:28:07.504482 | 2020-03-01T23:35:19 | 2020-03-01T23:35:19 | 244,239,557 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,537 | r | bostoncrimes.R | #top 10 offense code group
crime <- crimetest %>% group_by(OFFENSE_CODE_GROUP) %>% summarise(count=n()) %>% arrange(desc(count))
crime <- crime[1:10,]
ggplot(crime[1:10,]) + geom_col(aes(x=OFFENSE_CODE_GROUP,y=count,fill=OFFENSE_CODE_GROUP))+coord_flip()+labs(title="Count of offense code group")
#hour polar c... |
7ea7ff59a257c76b68cdc908e9a35bf6c26769d3 | 800697f6e2ca0d4873742660bb0cee90b96c9d84 | /R/zzz.R | f7192a3bd5ec3504e27f21ab336175306967e41f | [] | no_license | aaronmberger-nwfsc/pacifichakemse-1 | 7b16c4971a8abaa8ff56216db21c603547fdf95a | bc617ac9036d67fda0c9560d8705773619f3a549 | refs/heads/master | 2023-08-29T00:10:24.431777 | 2021-11-02T09:06:33 | 2021-11-02T09:06:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,192 | r | zzz.R | globalVariables(c(
"ylimits",
"year",
"value",
"model",
"med",
"run",
"p5",
"p95",
"med.can",
"p5.can",
"p95.can",
"med.us",
"med.US",
"p5.us",
"p95.us",
"p5.US",
"p95.US",
"HCR",
"season",
"med.tot",
"p5.tot",
"p95.tot",
"scenario",
"indicator",
"AAV.plot",
"AAV.plotquant",
"AssessTac",
"Catch",
"Catch.plot",
"Catch.p... |
2f3c1d856f49a38f1c8f46cca574f159cd62ca85 | be1e93819f4d3c850e33bc516041224bfbe2efd4 | /RforEveryone_Chapter10.R | aae87bbfbca8df4cd8f8dd8552bf8cec18e34593 | [] | no_license | CaptainNano77/R-for-Everyone-My-follow-Along-Notes-and-Code | 98e7fce4a14f7201e9e82c2aced7913274ec53ba | d5c285e93b6a82ef4a28778c9b2c15c383d2bf2f | refs/heads/master | 2020-08-12T12:44:36.374255 | 2019-10-18T02:21:54 | 2019-10-18T02:21:54 | 214,769,754 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,492 | r | RforEveryone_Chapter10.R | #########################################################################################################
# CHAPTER 10
# LOOPS, THE UN-R WAY TO ITERATE
##########################################################################################... |
11d70953f2e046f38971dad815712d50d5d8a4c9 | 3d8e78b8ca205deb70ac902e0f707105a8970a4e | /plot1.R | 45ef16e14d501b3ab933040b51cc371d774fb480 | [] | no_license | rgentzler/ExData_Plotting1 | 4fb344716b5a061239acbb2e2a30ca64000549cf | 9562ff4d78b46a94d0d9fa80f453774d56bda61d | refs/heads/master | 2020-12-25T05:25:54.112517 | 2015-08-03T22:49:28 | 2015-08-03T22:49:28 | 40,139,630 | 0 | 0 | null | 2015-08-03T17:53:57 | 2015-08-03T17:53:57 | null | UTF-8 | R | false | false | 507 | r | plot1.R | data <- read.table("household_power_consumption.txt",
sep = ";", header = TRUE)
##Subset to dates of interest and convert date
data$Date <- as.Date(data$Date, "%d/%m/%Y")
data <- data[ which(data$Date == "2007-02-01" | data$Date == "2007-02-02"),]
gap <- transform(data,
Global_act... |
6f6fdebba68af100cb52c1e72725db501f5c6eca | abd4340c7a54de5b298a0699279e15a49e25172a | /analysis/ipo_cor_maps.R | 14cc78285a7c5cd1ac3f8d5648183bdf134b8b6a | [] | no_license | cszang/regional-trends-surface-warming | 83a6a6ee49cfff6f22ab43fa15fc61a461ffa776 | 1160c50b453dade5ba4d45ee9935ef833df3d1a2 | refs/heads/master | 2020-04-04T19:40:42.400540 | 2018-11-05T12:49:50 | 2018-11-05T12:49:50 | 156,216,255 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,696 | r | ipo_cor_maps.R | ## draw maps with mei/sst-correlations
request("ipo_gistemp_fdr")
request("ipo_noaa_fdr")
request("ipo_hadcrut_fdr")
## x is a ipo_X object
ipo_ref <- function(x) {
x <- x %>%
unnest(cipo) %>%
select(x = lon, y = lat, cor, p) %>%
mutate(sig = ifelse(p < 0.05, TRUE, FALSE),
pos = ifelse(cor > ... |
8c8f48f371a60c14f5e4a043802a5b460dc78e6f | 8ea6600eebbb9abcde5d420189c7624fa26621a9 | /inst/usage.R | 315e81a8b8e8d8826ccc41152ed500b46c24b3e1 | [] | no_license | eprifti/momr | 7fafd2c5ecb6af3b67b368239ea9c4c62815e939 | cad46ffdbcc3fcab9096e3c510f9b5802ae99815 | refs/heads/master | 2022-10-02T20:59:42.738037 | 2022-09-21T08:50:02 | 2022-09-21T08:50:02 | 39,720,920 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,689 | r | usage.R |
# load the package
library(momr)
library(profvis)
#' all the data in the package
# data(package="momr")
#' load the raw and frequency test dataset
data("hs_3.3_metahit_sample_dat_raw")
data("hs_3.3_metahit_sample_dat_freq")
#' NORMALIZATION
#' This should be performed with the whole dataset (complete catalogue).
... |
7437b086d21cdbf0545a498cf92924e6d384c6c6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/raster/examples/extremeValues.Rd.R | a2565058f560663d893574133cb9b6fcd9403350 | [] | 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 | 575 | r | extremeValues.Rd.R | library(raster)
### Name: extremeValues
### Title: Minimum and maximum values
### Aliases: minValue maxValue minValue,RasterLayer-method
### minValue,RasterStack-method minValue,RasterBrick-method
### maxValue,RasterLayer-method maxValue,RasterStack-method
### maxValue,RasterBrick-method
### Keywords: spatial
... |
3cf3364c1c6211cdf7ec0dad26686794edb779ff | 29585dff702209dd446c0ab52ceea046c58e384e | /logcondiscr/R/GradientL.r | 109b1a5cd9fc5121d5adb0d3ccce849685327588 | [] | 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 | 463 | r | GradientL.r | GradientL <- function(W, psi, dX){
# Computes gradient of the log-likelihood L at psi
m <- length(psi)
tmp <- rep(NA, m)
tmp[1] <- J10(psi[1], psi[2], dX[1])
tmp[m] <- J10(psi[length(psi)], psi[length(psi) - 1], dX[length(dX)])
if (m > 2){
J <- J10(psi[2:(m - 1)], psi[3:m], dX[2:length(dX)]) + J10(psi[2:... |
f299304d5ccc5d05408e8d895b1c3bd78941d065 | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /netrankr/inst/testfiles/checkPairs/libFuzzer_checkPairs/checkPairs_valgrind_files/1612746748-test.R | 8dd29cd3cc2950b363409b1d95bdae82ef7c9344 | [] | 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 | 1,315 | r | 1612746748-test.R | testlist <- list(x = c(Inf, 7.01244887724574e+217, 0, NaN, NaN, NaN, NaN, NaN, NaN, -9.25783436608935e+303, NaN, NaN, -5.3870366847157e-108, -2.17982767809619e-106, -5.46303037866812e-108, 1.80107573659384e-226, 0), y = c(1.29849269277858e+219, 1.80107573886382e-226, 1.87978485692451e-226, 2.24032175463232e-178, 9.... |
c9f8ccb3e9d616072212d2367cd650a9f674a97b | a800dff7c2068108a2502e034d0625b247a87b46 | /inst/scenarios/test-test-function.R | 94b0e8681ed950bc4531cec3dcff31d376feb22c | [] | no_license | selcukfidan47/testwhat | 9c4786e4654d404c54affd510a4735819a843b5c | a7c03fd6848881915fe6657d5c5c45db90392ce0 | refs/heads/master | 2021-01-16T22:36:14.340497 | 2016-02-15T11:00:07 | 2016-02-15T11:00:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,063 | r | test-test-function.R | scen <- list(list(type = "NormalExercise", student = "\n summary(c(1,2,3,4))", solution = "\n summary(c(1,2,3,4),c(1,2,3,4))\n dim(c(1,2,3))",
pass = list(test_basic_check_pass_1 = list(long = "basic function check - pass 1", sct = "test_function(\"summary\")")),
fail = list(test_basic_check_fail_1 = list(... |
bb0c9c440ccf5e1c585ff4c4d796ed2461b5ec85 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/EnergyOnlineCPM/examples/maxEnergyCPMv.Rd.R | 39088f4c5706ade91c33b52e8e1cd0aea6025e0b | [] | 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,063 | r | maxEnergyCPMv.Rd.R | library(EnergyOnlineCPM)
### Name: maxEnergyCPMv
### Title: Nonparametric Multivariate Control Chart based on Energy Test
### Aliases: maxEnergyCPMv
### Keywords: Phase II Statistical Process Control Change Point Model
### Energy Statistic
### ** Examples
# simulate 300 length time series
simNr=300
# simulate 3... |
0492fc27620b305d15b4ef4d57d7f87014559e2f | 8ddc05161cfaebe13c6e84a15919a450a6c69e2a | /libraries.R | 24a4dc6c9fa281596e74b6f00cdde7b776d18e03 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | alphaapina/RCoinbaseProAPI | c2c34cafdcb1c885acc6e90c7ce93a368a6f4db5 | 349489c26c12dff5fe4a91b5c7385296495dbdc7 | refs/heads/main | 2023-04-23T01:47:33.005865 | 2021-05-15T11:56:59 | 2021-05-15T11:56:59 | 367,613,553 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | libraries.R | # Required libraries
library(httr)
library(jsonlite)
library(base64enc)
library(digest)
library(quantmod)
library(websocket)
|
129da6d3ac60db7b3fba5104502f39767d22aee4 | 43448ea3e38ae17a43e2eb6c36aa1544b4b074b4 | /Step_0_init.R | 74b8d3024ba8f7b1498b26c63a473f3cef193074 | [] | no_license | yuliasidi/Binomial_PE_Progs | 18175abc8ccd7135686750bebd205f5751431239 | 9e325b76db5d4d1cee1c877b5ed89ea7d2ab83f8 | refs/heads/master | 2020-03-26T16:49:47.366172 | 2019-02-21T19:13:27 | 2019-02-21T19:13:27 | 145,125,922 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 523 | r | Step_0_init.R | #!/home/statsadmin/R/bin/Rscript
# Initiations prior to running all the programs
library(tidyr, warn.conflicts = F, quietly = T)
library(dplyr, warn.conflicts = F, quietly = T)
library(ggplot2, warn.conflicts = F, quietly = T)
library(purrr, warn.conflicts = F, quietly = T)
library(reshape2, warn.conflicts = F, qu... |
442c221f1555e86db062261aff2fcb0352068c68 | c78b8c9cbc5324f2c3cca5360338819d9e41204f | /simulate.R | 97678f901bf25616c775efbdeb7e5dcb87042baa | [] | no_license | robsonedwards/monte-carlo | 2d6b047dc090141f503ad23f83c4e1275a0e950e | af0cb0eea51195f77a8427c061ad020ea6e09b0a | refs/heads/master | 2020-04-07T13:32:04.047688 | 2018-11-26T11:48:06 | 2018-11-26T11:48:06 | 158,410,926 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,946 | r | simulate.R | #
require("dslabs")
require("dplyr")
require("ggplot2")
require("magrittr")
set.seed(4113)
################################ Data Wrangling ################################
data("polls_us_election_2016")
polls_us_election_2016 %>%
# Ignore data from individual congressional districts of Maine and Nebraska
filt... |
67718dcf7bbdc40ded2009695be784656df2081a | 89c34b67e23640c688c7734d1a513ac7b4b9ea79 | /Estatistica_Inferencial_Regressao_Linear_Parte1/Licao12-IEL-Exercicios-background.R | c974419a9f67b0da5cac9725ace26e34adade9e7 | [
"CC-BY-4.0",
"X11",
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | oushiro/Introducao_a_Estatistica_para_Linguistas_Exercicios | 87c0aee87840503ef3d462d2a257b01c2b022ea6 | 8ce39947bc5036c68c6eff414df8a9b4ab32a6f0 | refs/heads/master | 2023-04-05T23:26:14.079812 | 2021-05-02T21:57:49 | 2021-05-02T21:57:49 | 344,640,358 | 0 | 1 | NOASSERTION | 2021-04-03T22:26:51 | 2021-03-04T23:47:26 | R | UTF-8 | R | false | false | 191 | r | Licao12-IEL-Exercicios-background.R | # Script to display file to swirl user
display_swirl_file("Licao12-IEL-Exercicios.R", "Introducao a Estatistica para Linguistas Exercicios", "Estatistica Inferencial Regressao Linear Parte1") |
640426c603234f66dc9ecd9fcfa1a070bf0b0a7d | 9213f0339c60c788fe9d9f1edce6bf48d183764f | /ANALYSES/BAYENV/morpho_data/boxplotCD.R | 4e2399f44ab9b2b926502b2971887abb2932ee14 | [] | no_license | HullUni-bioinformatics/Diplotaxodon_twilight_RAD | d47ad9d29db831ee868ef95e59aeab445d921a3d | 7983db82847072fbb56193b522e57078e5b7e49a | refs/heads/master | 2021-01-12T05:52:29.795840 | 2017-07-31T12:00:27 | 2017-07-31T12:00:27 | 77,223,728 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 934 | r | boxplotCD.R | Di_1 <- c(11.0,11.8,11.8,10.5,9.2,10.3,8.6,10.4,10.4,8.3,9.1,8.6,9.7,9.3,8.3,10.2,9.2,9.6,10.9,10.2,9.8,12.7,10.6,9.4,8.9,6.9,12.0,9.4,8.5,10.3,11.1,9.4,9.7,10.1,10.0,8.8,8.9,9.1,8.8,8.7,8.9,12.7,9.4,8.5,10.2,11.6,8.8,9.9,9.9,11.3)
Di_2 <- c(9.0,9.2,9.1,9.1,8.6,8.2,10.2,9.9,8.7,10.1,8.1,10.6,9.2,8.9,8.8,9.5,10.0,10.4,9... |
791299179b4dc552ea28260c1b432cf570e98bab | 607b47cdf7b5932b0492406351d8cde0c8b7a162 | /extr_ala_points.R | 5d0c12f51170c21f76088d9a6cadccba0cd694e0 | [] | no_license | MartinVocko/Ensemble-data-manipulation | e7bff2ecf4f3fc1eda72591e003a0969021f4540 | 449649379725abdd1a5edb9c31670ca6ce468a49 | refs/heads/master | 2022-02-22T06:57:15.975728 | 2019-10-10T15:01:05 | 2019-10-10T15:01:05 | 116,383,173 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,808 | r | extr_ala_points.R | setwd("~/Plocha/DATA/Aladin_4ext")
folds=list.files("/home/vokounm/Plocha/Data_CHMU/Aladin16")
#fls = dir(pattern = '*grb')
template = 'ncl_convert2nc XXX'
#konverze do nc
for (j in 1:length(folds)){
setwd(file.path("~/Plocha/Data_CHMU/Aladin16",folds[j])) #projizdi jednotlive slozky
fls = dir(pattern = '*... |
460ee6ed43abe30d2a7618193d64a25a7e28cb4f | 08bf784334a65b0d0aa09fd3e3384fdb31cd8864 | /sup_figures/EDF2.R | dd51b46cd70fca42dc3b86d182e3567ae7e3b7ec | [] | no_license | lfresard/blood_rnaseq_rare_disease_paper | 77386fcf64ba3d82c6adbf9fb266b56c5438668e | fa73fe0944cb6a151dad37eed2d245436d1d510f | refs/heads/master | 2021-06-18T22:54:53.452665 | 2019-09-23T19:04:01 | 2019-09-23T19:04:01 | 147,561,692 | 29 | 9 | null | null | null | null | UTF-8 | R | false | false | 1,355 | r | EDF2.R | # =======================================================================================================
# This is a script for generating EDF2: Correction for batch effects - Expression data.
#
# Note that the final figure was generated by using inkscape by combining figures from this script for visualization purp... |
a57d1726700ce36a4f3a75715376f7bda2d1461a | 92e2c5fc8c8360f17cd861e017ae873d4fe76477 | /Project1/plot3.R | dac64f6830b107651680eb8c2f044c0cb221639f | [] | no_license | DesartB/Exploratory-Data-Analysis | f534e2dd02346ec9fbd1630d6ee79fe4e025153f | 09a3fb74c6767312bed2becb5e467208dae31887 | refs/heads/master | 2021-01-22T06:58:37.328692 | 2015-09-11T15:50:42 | 2015-09-11T15:50:42 | 42,309,373 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,380 | r | plot3.R | # This script creates plot 3 of the Course Project 1 of the "Exploratoy Data Analysis" course.
# It creates a PNG file of 480x480 pixels called plot3.png and representing Plot 3.
# Author: Bruno Desart
# Date : 10 September 2015
# Reading the file
data <- read.table("exdata_data_household_power_consumption/household_p... |
ce17379b406709c6d2afcd39a1fe1615c78f029c | 41b079970f142ed6439a07b896719718b1fb4fff | /man/compute.rina.Rd | 02f3013e06b1fa9d500fb22fd178ba2154f9a6bb | [] | no_license | quantrocket/strategery | 5e015e75d874c6ab16e767861e394350bd825055 | a7b6aee04f3f95b71e44c2c9f3c9a76390c21e52 | refs/heads/master | 2021-01-18T07:36:31.291056 | 2014-06-17T21:54:30 | 2014-06-17T21:54:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 118 | rd | compute.rina.Rd | \name{compute.rina}
\alias{compute.rina}
\title{Some Title}
\usage{
compute.rina(R)
}
\description{
Some Title
}
|
35a36e87c61b11929e539d2d7717599b09ccea26 | 33fd29142f89a0b31132081990b34c2e52d84601 | /test/simple/loops.R | c0234c464f8076b45fc04e73ed24f22aa5c01347 | [] | no_license | gpfarina/sym-core-R | 7e18e5aecb238710429bd37fd0f1fdd7c2e4321d | 6cd5a445d1a7c28480640f97a03a388111af0090 | refs/heads/master | 2020-05-02T10:41:01.725872 | 2019-03-27T02:32:52 | 2019-03-27T02:32:52 | 177,904,211 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 46 | r | loops.R |
a <- 0
for (i in 1:5) {
a <- a + i
}
a
|
406a19062dd1ec8c36d76c249104ddf3122d14fd | a2aa09bf660ffcd4f89224a25c38aca4d72ff607 | /code/tblCANC_checks.R | 09806e937114b359fb197e6a6e1a2caced05b133 | [] | no_license | ldriggen-iu/qa-checks-r | 52efe0aef3fae92f3721b4e827497a7797c3ed5b | 225a80f868da636643ca297572a2095e3cc70c12 | refs/heads/master | 2020-12-24T16:05:54.936000 | 2017-02-21T13:48:36 | 2017-02-21T13:48:36 | 52,459,025 | 0 | 0 | null | 2016-02-24T16:57:22 | 2016-02-24T16:57:22 | null | UTF-8 | R | false | false | 4,757 | r | tblCANC_checks.R | #############################################################
#
# Program: tblCANC_checks.R
# Project: IeDEA
#
# PIs: Constantin Yiannoutsos, PhD; Stephany Duda, PhD; Beverly Music, MS
# Programmer: Larry Riggen, MS
# Purpose: Read in IeDEAS standard and write
# data queries
#
# INPUT: "tblCAN... |
bb44bae1766d1480d99cca3589da92fbf72ea292 | 29585dff702209dd446c0ab52ceea046c58e384e | /secr/R/sighting.chat.R | 6fd7aa68548e4d8d2d06da00a0957de98dfce1c1 | [] | 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 | 480 | r | sighting.chat.R | ## 2015-10-27
## not published; needs to copy many more arguments from 'object'
sighting.chat <- function (object, nsim = 1000) {
if (!inherits(object, 'secr'))
stop ("requires fitted secr model")
CH <- object$capthist
if (is.null(Tu(CH)) & is.null(Tm(CH)))
stop("no unmarked or nonID ... |
0e5d0eb2c5e518fd64b6d97a9acb49f92dca3417 | 3f4a537acdb5d3880d1564586af0baac6e53fcaa | /man/dtw.Rd | 2476e1b6a4122eecd080ed2b5cc2ba1f251f5b00 | [] | no_license | J-Moravec/simpleDTW | 9e0453ef770f8e7405abd73ad7027c9d92d83521 | 71b90976c5791ec26911072cfa7a2024f0b93f65 | refs/heads/master | 2021-01-20T06:30:09.886780 | 2017-05-01T00:46:00 | 2017-05-01T00:46:00 | 89,886,723 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 382 | rd | dtw.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dtw.R
\name{dtw}
\alias{dtw}
\title{Performs dynamic time warping}
\usage{
dtw(time_series_1, time_series_2)
}
\arguments{
\item{time_series_1}{first time series}
\item{time_series_2}{second time series}
}
\value{
gods now what
}
\descriptio... |
fbb783214caf4687b84823483284117affa8d571 | 1fcf0b4d765d40b3d527473d5f4769ca8b286118 | /cachematrix.R | 65cd9cc140aeadba110925835477865ff1fda007 | [] | no_license | Bass-2015/ProgrammingAssignment2 | 817349e1dfc61972b494c4e0c97e84ab5ae604bc | 1ac30737a1fc0496e984522af5691a3f563955ed | refs/heads/master | 2020-12-13T09:02:36.021703 | 2015-10-04T16:50:16 | 2015-10-04T16:50:16 | 43,266,326 | 0 | 0 | null | 2015-09-27T21:41:10 | 2015-09-27T21:41:08 | null | UTF-8 | R | false | false | 1,505 | r | cachematrix.R | ## Matrix Inversion is usually a costly computation and there may be some
## benefit to caching the Inverse of a Matrix rather than compute it
# repeatedly. Two functions - makeCacheMatrix and cacheSolve - can be used
# to cache the Inverse of a Matrix.
## This function creates a Matrix object that can cache its Inv... |
cc4381c417474ab32a6eebebe82447a598ed0fb6 | 53851868e25801999033fe8d7c3150b73e7dde65 | /R/aegean/calculatedistancefile.r | 94623efe5bc4391deb1538724a0c86a53d639962 | [] | no_license | xuzhikethinker/PRG | bb7e75d27f9da7611d3c26f10bb083ec69025487 | 25b971f6e65ef13f80d3a56732e4bb6d4502bb55 | refs/heads/master | 2016-09-06T02:27:18.042949 | 2013-03-27T18:17:53 | 2013-03-27T18:17:53 | 9,262,600 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 129 | r | calculatedistancefile.r | calculateDistanceFile<- function(distanceFileName,sitedf){
print("--- calculateDistanceFile routine incomplete",quote=F);
}
|
27c335b4914a1d5980e1e9868274f049c31857a6 | 86d44ee9892df7d76e4d026c52147ac497995d5a | /MouseFunctions.R | 47d80a8a43f8461760b2b099813e0fef0e181fde | [] | no_license | russell-ligon/MouseTracking | 8da964b5e192c2d2f23e754e09e91a7ea4ebfec3 | adc521749e2f976f2b7467064135c7738dc3bada | refs/heads/master | 2021-07-21T02:41:08.608606 | 2020-04-15T17:18:58 | 2020-04-15T17:18:58 | 130,697,836 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 39,352 | r | MouseFunctions.R |
library(gdata)
library(zoo)
library(circular)
####DOWNSAMPLES DATA to 1HTZ
onesecond.downsampler<-function(datatodownsample=profileplainpee,startingnames=profileplainpee$label){
#print(paste("Downsampling ",dir,sep=''))
#frameinfo<-lapply(FullFiles.FullNames,function(x) strsplit(x,"2018-"))
... |
3146bf6d45f30424d474690ea86876a3bcf197ec | 11a54850e58eb3c263562c033f8fda299cc8857c | /man/GetFixtures.Rd | 318bd99c4088ba3430ff0d016634bf318cc1e35b | [] | no_license | marcoblume/pinnacle.API | de62f828378b797fed365c0e3cab7494017c9e15 | 2038b7ed7aecae1d3be0cbaeee5f27e9e381e342 | refs/heads/master | 2021-01-16T23:59:12.572918 | 2019-09-10T07:05:41 | 2019-09-10T07:05:41 | 41,935,966 | 47 | 16 | null | 2019-09-10T07:05:42 | 2015-09-04T20:17:10 | R | UTF-8 | R | false | true | 1,731 | rd | GetFixtures.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GetFixtures.R
\name{GetFixtures}
\alias{GetFixtures}
\title{Get Non-Settled Events for a Given Sport}
\usage{
GetFixtures(sportid, leagueids = NULL, eventids = NULL, since = NULL,
islive = FALSE)
}
\arguments{
\item{sportid}{An integer givi... |
f4f32fd32f67f7d02013d5062e1c31bbb60305f7 | b1ca7708a9a0783e9e18f3d17cb48c2615130a64 | /cachematrix.R | 8d262974f4f2b10f6b1d978d006f0da9e52a950c | [] | no_license | atwellke1984/ProgrammingAssignment2 | bb4ee9545ac3932f498a8715df4e650d8beb32a9 | df26fe271197d7b8008695d3705b08249c069f8c | refs/heads/master | 2021-01-22T17:57:46.574509 | 2016-08-20T09:20:02 | 2016-08-20T09:20:02 | 65,477,465 | 0 | 0 | null | 2016-08-11T14:48:27 | 2016-08-11T14:48:27 | null | UTF-8 | R | false | false | 1,422 | r | cachematrix.R | ## The makeCacheMatrix and cacheSolve functions below cache and calculate the inverse of a matrix
## The makeCacheMatrix creates a list to:-
## 1. set the value of the matrix (set() function)
## 2. get the value of the matrix (get() function)
## 3. set the value of the inverse of the matrix (setinverse() fun... |
8cca3c670736d606e6b52c83e27876479d59e070 | 752adaa6cdcd6c95b3c16d298754db551dc519ea | /man/geom_h0.Rd | 83c98c3db2d5781387cc6fca67d556e6269b235b | [] | no_license | pttry/ggptt | db5e2f3c80f494e524d9ad44314563e6bd7bc7be | b1b56b3c5c4296c344e2cb4cf90eb2c0b3ccd1de | refs/heads/master | 2023-05-12T07:28:11.754206 | 2023-05-01T06:20:23 | 2023-05-01T06:20:23 | 142,289,370 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 421 | rd | geom_h0.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geom_lines.R
\name{geom_h0}
\alias{geom_h0}
\title{Horizontal line on 0.}
\usage{
geom_h0(dashed = FALSE)
}
\arguments{
\item{dashed}{A locigal to have a dashed line.}
}
\description{
This geom allows you to annotate the plot with horizontal ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.