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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6c36c472f9813ca4edbf6d56e3cacd38b6383f32 | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.security.identity/man/securityhub_enable_security_hub.Rd | 419a76c23dc1af9310605a87546ab8f02b4230db | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 2,146 | rd | securityhub_enable_security_hub.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/securityhub_operations.R
\name{securityhub_enable_security_hub}
\alias{securityhub_enable_security_hub}
\title{Enables Security Hub for your account in the current Region or the
Region you specify in the request}
\usage{
securityhub_enable_se... |
93eb0b61352cd22c1be6c867d8a6a23f600a23a8 | 5b9e8b0f0eb4b1f01c3210dad94285a08a05a830 | /test.R | b95b05f55dc576cd08c8a6cb4132a862e5db3105 | [] | no_license | sartinsh/R_funkcijas_darbam | c9affd036c69eae1e7ab919ef34b03e0c5a7dec9 | 46dde0e13d80b67d796aa98102e19f0a047757f9 | refs/heads/master | 2020-05-24T05:34:34.802574 | 2017-12-12T14:09:31 | 2017-12-12T14:09:31 | 84,826,846 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 42 | r | test.R | hw <- function(x) {print("Hello world!")}
|
c96edc37bb9693061253a90e9d13cf2be4522cef | de3ced01d64aa5e4dbbc92d3d29ccc51fa97999b | /R/GeocodeBreweries.R | f70cf775ddc0d8e193f60f2e9778999ef915743c | [] | no_license | duffy88/WorldBreweryMap | db54c4d7ade026b35046038407a79dd6d79119ca | 9e2b158fdba7625a312279d186163a9dda8bd801 | refs/heads/master | 2021-01-11T14:53:39.303529 | 2017-01-27T20:48:34 | 2017-01-27T20:48:34 | 80,244,727 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 777 | r | GeocodeBreweries.R |
# Load Packages
library(ggmap)
# Load cleaned player info
beerGraphs <- readRDS("data/BeerGraphsBreweries(wStreets).rds")
# 3734 to 5000,5001 to 7158
for(i in 6234:7158){ #nrow(beerGraphs)
if(!is.na(beerGraphs$FinalLocationFull[i])){
lonlat <- geocode(beerGraphs$FinalLocationFull[i])
}
# C... |
3bd8f83b660aeda1e5db8aa67933bc75b45beef7 | 67de61805dd839979d8226e17d1316c821f9b1b4 | /demo/BivariateCorrelation.R | e8ed6f2f71b579ea4a002f4939f6a61d5981daea | [
"Apache-2.0"
] | permissive | falkcarl/OpenMx | f22ac3e387f6e024eae77b73341e222d532d0794 | ee2940012403fd94258de3ec8bfc8718d3312c20 | refs/heads/master | 2021-01-14T13:39:31.630260 | 2016-01-17T03:08:46 | 2016-01-17T03:08:46 | 49,652,924 | 1 | 0 | null | 2016-01-14T14:41:06 | 2016-01-14T14:41:05 | null | UTF-8 | R | false | false | 3,915 | r | BivariateCorrelation.R | #
# Copyright 2007-2016 The OpenMx Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... |
c7c055418fe4f7a5fb8828802f2e69d32270b67d | 5cbebb79a58838ab81c4042ed0b4c69b43904efb | /index/scripts/incubations.r | 072cb9b9827a1a00b40661a2a2b7b3c01aa5c976 | [] | no_license | harmvankup/Master_Thesis | 9edbf2bd4a77709839122ec062eede16c1a38c0a | 0923e3f3a87d95aaf68c464a1892def7a6666ce7 | refs/heads/main | 2023-07-15T17:03:11.445450 | 2021-08-29T14:04:14 | 2021-08-29T14:04:14 | 372,544,994 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,109 | r | incubations.r | library(readxl)
library(here)
library(tidyverse)
library(ggplot2)
library(reshape2)
library(xtable)
# import raw data
IC_raw_data <- read_excel(path.expand(here("index","data", "IC_raw_data.xlsx")))
incubationgraph <- read_excel(here("index","data","incubationgraph.xlsx"))
####== Transform the data ==####
# middle ... |
351bdfd050740447f7ecac65319ea3897fdadd2e | 1aadf121677606b8fc6e1c4f7862a2f6bb78a923 | /compute_elo_colony.R | 6444622c331671bd7ad22531fece4167446fd768 | [] | no_license | pv272/Dominance_DMR_Analyses | 189cebb89f5523df723cb0c8d85cc6bb975362d1 | 244fb5fb6f32a86629687ae4cee8ace0a594ba43 | refs/heads/master | 2020-04-05T21:45:32.922855 | 2018-12-20T12:21:17 | 2018-12-20T12:21:17 | 157,229,265 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,487 | r | compute_elo_colony.R | source("Elo_functions.R") ## warnings can be ignored
## get the elo-score, based on Mathias script
library(readr)
library(dplyr)
library(purrr)
library(tidyr)
library(ggplot2)
## read data
d <- read_csv("SubCall.csv")
d <- d %>% filter(d$ObsType == "Scan") ## keep only scan obs
# create a nested df by colony
d2 <- d... |
4e0d918b65064dff7f99aeaddea498fa9a8367b5 | 75ce086d36cb31b356f3af3f297a5508aeaef826 | /plot4.R | f7c5d581c30e935e6a4cf28ab3eb87ddfdb23fc5 | [] | no_license | jiuno/ExData_Plotting1 | 3f8c219fbdf1ea332fd7fd37e6570a38b12fe8fb | dc1882cb5672d323891645b6c814f9964a2c72cd | refs/heads/master | 2022-11-20T17:48:57.393702 | 2020-07-18T19:43:09 | 2020-07-18T19:43:09 | 280,527,670 | 0 | 0 | null | 2020-07-17T21:22:21 | 2020-07-17T21:22:20 | null | UTF-8 | R | false | false | 1,833 | r | plot4.R | #Required packages
library(lubridate)
library(dplyr)
power <- read.csv(file = "household_power_consumption.txt",header = T,sep = ";"
,na.strings = "?")
#Change your timezone in R so the Date values are written in english.
Sys.setlocale("LC_TIME","english")
#Convert "Date" column into Date variable type.
power[,1] <-... |
f8cc098ab31c09daa68ef2eea579fb1c44c37eb8 | 3886da207e03c6e2266d09b1bf30d557d35bf09a | /load_usernames.R | 18e21ae394eca22af883616733dd485ef882641a | [] | no_license | andreasose/twitter-scripts | 39ee0618b5f8ce14baadcbc2d42e03fdb449c1e6 | a778f6d68dd2a216d447eeedf66cd1195425c4de | refs/heads/master | 2021-01-17T04:36:21.327635 | 2017-02-26T19:59:36 | 2017-02-26T19:59:36 | 57,212,056 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 551 | r | load_usernames.R | library(twitteR)
library(rjson)
library(httr)
twitter_list <- "journalister"
twitter_name <- "andreasose"
api.url <- paste0("https://api.twitter.com/1.1/lists/members.json?slug=",
twitter_list, "&owner_screen_name=", twitter_name, "&count=5000")
response <- POST(api.url, config(token=twitteR:::get_o... |
3b71ac666bed4ff08627b7d3098a671c1dcb7f80 | 701126efc2e5c4fd913fb880afc65ffc5591b4d2 | /R/methRatios.R | 79c114103f0db3e798171df15c29ebbfe310fc75 | [] | no_license | timpeters82/aaRon | 340f9eb00c70879bb5f173b6433bf7ca5c74c3e3 | ea2c009121b8221740a9a04f64389306d13cb5bf | refs/heads/master | 2020-12-25T17:56:27.536462 | 2017-04-26T08:18:40 | 2017-04-26T08:18:40 | 58,909,291 | 0 | 0 | null | 2016-05-16T06:49:11 | 2016-05-16T06:34:21 | R | UTF-8 | R | false | false | 704 | r | methRatios.R | #' methRatios
#'
#' Calculates methylation ratios from count data
#'
#' @param x \code{GRanges} of methylation count data
#' @param samples \code{data.frame} describing the samples to calculate ratios for
#' @param minCov minimum amount of coverage to calculate a ratio
#' @return \code{GRanges} of methylation ratios
#'... |
b9220bdfdbf9c3731a690fe5100e44df1a622190 | 81cffdc441d1ec58f81463eb8779df3ac2a86eac | /lib/002_streetdata_json_cleaning.R | da52ea0fe83202385ee6688629458120035d9a61 | [] | no_license | PengfeiWangWZ/ParkmanGo | bbd61cdd8a342606504ce31a757d2058c5eee1d4 | c94f78a3c091919e6c37aae4b55a19a6b4a9a295 | refs/heads/master | 2021-06-15T01:25:01.829832 | 2017-03-16T23:13:11 | 2017-03-16T23:13:11 | 70,748,086 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,353 | r | 002_streetdata_json_cleaning.R | #install.packages("jsonlite")
library(jsonlite)
library(dplyr)
library(tidyr)
library(plyr)
setwd("/Users/yanjin1993/Google Drive/Columbia University /2016 Fall /Applied Data Science /Project_002/")
nyc.st.json <- fromJSON("original_data/nyc-streets.geojson")
dat.nyc.st <- nyc.st.json$features
datclean.nycst <- cbind... |
aeb2827f49d9c931a88c83faee76d04c3edf75c7 | ee89632a65b33b9f8a4fe9955ece2f476b99b467 | /R/plot_log_actual_fitted.R | adadd13ffca1626ea83e22d5c508800380416ff2 | [
"MIT"
] | permissive | dnepple/tprstats | a938a6671b2f6fa46d075ac9c61acdb5f73fc53c | 4c5d93a66d40af3537aeb902ca2ce48db1b8e736 | refs/heads/master | 2023-03-18T14:15:14.449458 | 2023-03-13T18:33:45 | 2023-03-13T18:33:45 | 165,563,871 | 8 | 7 | NOASSERTION | 2023-03-13T18:33:46 | 2019-01-13T22:58:05 | R | UTF-8 | R | false | false | 769 | r | plot_log_actual_fitted.R | #' Plot Log Actual Fitted
#'
#' @param linmod Linear model.
#' @param MyData The data.
#' @param col_name Name of column variable as a string (use quotes).
#'
#' @export
plotLogActualFitted <- function(linmod, MyData, col_name) {
Y <- unlist(MyData[, col_name])
Observation <- seq(1, NROW(MyData))
Pred_and_PI <- e... |
13143e19840b5493dc6f1a811df83d30a68c0c98 | 97eac27c24e12a8f6dc68940ab4c0f02f32cf53d | /package/potts/tests/debug-cond.R | 556bba80e76e7a216fed87e47661913a6bf4562b | [] | no_license | cjgeyer/potts | a2a44b19df8bf1dff8f70e1997116afc8d7d165b | 5b9c3ad90ecee8f7b28a07f80bfde39ef768964d | refs/heads/master | 2022-08-27T01:30:58.210677 | 2022-08-12T16:48:45 | 2022-08-12T16:48:45 | 11,518,189 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,598 | r | debug-cond.R |
library(potts)
library(pooh)
set.seed(42)
ncolor <- as.integer(4)
alpha <- rnorm(ncolor) * 0.01
beta <- log(1 + sqrt(ncolor))
theta <- c(alpha, beta)
nrow <- 25
ncol <- 20
x <- matrix(1, nrow = nrow, ncol = ncol)
foo <- packPotts(x, ncolor)
out <- potts(foo, theta, nbatch = 5, blen = 3, nspac = 2, debu... |
7aee94707aa6b525d945ed7e23e6fc9357bc09d0 | 12021ef6948d02d1267b4db9f87e5bbd62068c1a | /1 - Codeup.R | e6d2a966925f14a16831ce6784aa7705baece0f6 | [] | no_license | msheffer2/Hierarchical-Bayes-Choice-Study | 508b555893c5bc712e265e6b466bb2078e1194e0 | 947e5ff3e1c4f403b23a200afae8c1c7b44945b6 | refs/heads/master | 2021-01-25T05:44:30.802095 | 2017-03-09T13:54:55 | 2017-03-09T13:54:55 | 80,673,755 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,897 | r | 1 - Codeup.R | # Set working directory
################################################################################
setwd("C:\\repos\\Hierarchical-Bayes-Choice-Study")
# Load libraries
################################################################################
library(tidyverse)
#Explicitly called: dummies
# Load and prep... |
253b68230b512a9c5c37b30b4b4b1e3b396faee7 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1+A1/Database/Miller-Marin/trafficlight-controller/tlc02-nonuniform-depth-235/tlc02-nonuniform-depth-235.R | 905307a4a3bb252c25dd77c688c5900ad8468c33 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 80 | r | tlc02-nonuniform-depth-235.R | 6df9b50e117e6424fc6c12f6682324ec tlc02-nonuniform-depth-235.qdimacs 54045 142536 |
fb766a6760c8f2dc250a4f7b355e8fd22e973145 | 0fe9ec847d5e553ee847bab32e45c36f34049ff2 | /man/plot_P_scales.Rd | 23e7552399becfa994cd8db12f868a74a34fe8d3 | [] | no_license | sawers-rellan-labs/soilP | 5eff4599e7ce58ca6626a287439e78f5b91230c9 | aad9b9b1b3516b7edfeb7053aebb0d073c1792c7 | refs/heads/master | 2022-02-25T00:34:41.256465 | 2022-02-17T19:57:52 | 2022-02-17T19:57:52 | 129,322,524 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 923 | rd | plot_P_scales.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_P_scales.R
\name{plot_P_scales}
\alias{plot_P_scales}
\title{Scattreplot wirh marginal histograms for ISRIC P retention Potential Scales}
\usage{
plot_P_scales(df, palette = NULL, scale_x = "LD2", scale_y = "combined")
}
\arguments{
\ite... |
410182126eb89731dab7ef8594c2efc7a895bdad | c3fced9fa3881b8d07000adfb5bebe4213eaa4a4 | /ANALYSIS/DATA/Wirkungsdaten 2016 und 2017 Kopie.R | 8bfbcfd5126c33fd46b20315dda1f60c6c8c42ba | [] | no_license | rafael-schuetz/Pareto | ea9c06cb588113bbdf6a3b5da27a2d2a22f37dc8 | 74c414268d429373b83ccfb27bf222ae25b97c32 | refs/heads/master | 2022-04-13T11:36:56.587595 | 2020-04-08T18:31:48 | 2020-04-08T18:31:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,282 | r | Wirkungsdaten 2016 und 2017 Kopie.R | # PaRE3To-Projekt
# 1. Herunterladen der Daten ----------------------------------------------
install.packages("readxl")
library(readxl)
### Daten 2017
Wirkungsdaten_2017 <- read_excel("/Users/yannick/Documents/PaRE3To-Projekt/Pareto-Projekt/ANALYSIS/DATA/CHILDREN Wirkungsdaten_VERTRAULICH_final.xlsx",
... |
3574a249854b7b686c3c9cd2b7527330c8bf7629 | e2b794a9d61f05cd79706bb5e22b74217ca1768f | /R/error_email.R | cb32da49bb45c50514a51170aacf99ddbad88735 | [
"MIT"
] | permissive | SERTwitter/ser | 1ceb409da3a15cc0df9a949bfeb96a5a47c8c537 | ee71538c1c78f71e82a27b2ac5d29c31137bf440 | refs/heads/master | 2022-06-27T22:44:38.252820 | 2022-06-20T19:42:14 | 2022-06-20T19:42:14 | 178,266,668 | 4 | 3 | NOASSERTION | 2022-06-20T19:42:15 | 2019-03-28T19:08:10 | R | UTF-8 | R | false | false | 1,651 | r | error_email.R | .email_to <- new.env(parent = emptyenv())
#' @export
#' @rdname errors
on_error_email_to <- function(recipient) {
.email_to$email <- recipient
invisible(recipient)
}
#' @export
#' @rdname errors
email_to <- function() {
.email_to$email
}
#' @export
#' @rdname errors
gmail_id <- function() {
Sys.getenv("GMAIL... |
a17789a7e45436617fb59d2033f19bca188ab011 | 843549b8706d9a4de92357d5686b125bec78cd85 | /Hdac1 ChIP/Genome_annotation_of_Hdac1_peaks.R | 1773215653ac54c5eae8094890102658c2e0bc51 | [] | no_license | jiajinglz/bioRxiv_05052022_Hdac_dual_roles | c08847aae8c78c18f778ffaff50f9ed679e7088b | 84f49202e21f35da6f6b79c5c8cc6a9f603126d5 | refs/heads/main | 2023-04-06T07:14:19.666646 | 2023-03-28T02:54:11 | 2023-03-28T02:54:11 | 553,051,311 | 0 | 0 | null | 2023-04-02T17:40:23 | 2022-10-17T16:30:00 | R | UTF-8 | R | false | false | 3,589 | r | Genome_annotation_of_Hdac1_peaks.R | ##############st8################
st8_annotate_output <- read.delim("/Volumes/GoogleDrive/My Drive/foxh1 and hdac1/hdac1 chip seq/distribution/st8_hdac1_wt_IDR0.05_in_merged_peaks.annotate", header=FALSE)
st8 <- data.frame(st8_annotate_output$V8)
st8 <- data.frame(st8[-1,])
colnames(st8) <- c("region")
st8$region <- as... |
01d27807153f300f10ce521e5f22bb86c88fde67 | 0e3b6ca75ed91dfca35ce413a2790c58fbdc1d1e | /R/model_linear_combo.R | 5d6e64acdee87564a7639d932ae80e0bcd471e1b | [] | no_license | cran/pcsstools | 6850ba60227388d7be24e9bdc5091003c63c2cb6 | 6a8272733efdaabef27d99bb6791c5fd5c94afd7 | refs/heads/master | 2023-04-02T16:51:46.670976 | 2021-03-23T18:30:02 | 2021-03-23T18:30:02 | 350,936,770 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,598 | r | model_linear_combo.R | #' Model the principal component score of a set of phenotypes using PCSS
#'
#' \code{model_prcomp} calculates the linear model for the mth principal
#' component score of a set of phenotypes as a function of a set of
#' predictors.
#'
#' @param formula an object of class \code{formula} whose dependent variabl... |
bbadc879b3b72a043880e70145b966f71c354516 | d14bcd4679f0ffa43df5267a82544f098095f1d1 | /R/ls.mode.R | cb533a35ac362303cce656d70859004295c5f091 | [] | no_license | anhnguyendepocen/SMRD | 9e52aa72a5abe5274f9a8546475639d11f058c0d | c54fa017afca7f20255291c6363194673bc2435a | refs/heads/master | 2022-12-15T12:29:11.165234 | 2020-09-10T13:23:59 | 2020-09-10T13:23:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 194 | r | ls.mode.R | ls.mode <-
function (funname = NULL, where = 1, mode = "function", all.names = FALSE)
{
dimnames(wqm.objects.summary(mode = mode, where = where,
all.names = all.names))[[1]]
}
|
5130c0fbce42cbfe7f637654ba7bd58a4730af85 | fb96b0e38bdeee226bd2da40faa6e7ec62f58732 | /analysis/biopsy_classes.R | 316704661fb163dac15b634b3ca9795efa1fb207 | [] | no_license | webbedfeet/CARRA | 29baa07639ce0afe80de19b47ff19c06521eb33a | 4e314ebe7e536b00836a972d022fb393381275e9 | refs/heads/master | 2021-01-03T13:37:23.369732 | 2020-10-07T06:15:18 | 2020-10-07T06:15:18 | 240,086,783 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,911 | r | biopsy_classes.R | ## LN ascertainment
##
## There is a variable, SLICC00, that is putatively the right variable
## We're going to ascertain based on WHO and ISNRPS values
##
pacman::p_load(char=c('tidyverse','janitor','broom', 'naniar',
'here'))
all_subjects <- vroom(here('data/raw/all_rows_data_2020-01-31_1545.cs... |
08011a2d010ee6d1bba5da1ef94a2aef65505736 | 249542669c3973467a63f41b647ad3d0fe5070a6 | /R/auc_roc.R | 2d6e33ccf96eacd485a6dc160c34d8045a67b01d | [] | no_license | rmatam/mltools | f82af6239cfe7060c59b04169ac75a25b68cf3ac | 05b80d1447ca75c7983858647b05d997cff0ca5d | refs/heads/master | 2021-01-13T08:20:28.823925 | 2016-10-12T15:12:10 | 2016-10-12T15:12:10 | 72,211,313 | 1 | 0 | null | 2016-10-28T13:47:51 | 2016-10-28T13:47:51 | null | UTF-8 | R | false | false | 2,149 | r | auc_roc.R | #' @title
#' Area Under the ROC Curve
#'
#' @description
#' Calculates Area Under the ROC Curve
#'
#' @details
#' If \code{returnDT=FALSE}, returns Area Under the ROC Curve.If \code{returnDT=TRUE}, returns a data.table object with
#' False Positive Rate and True Positive Rate for plotting the ROC curve.
#'
#' @param p... |
3aa318edd5d584116f848192885c3db0a528c3ce | 0484ddd6f392fecfa542747f550248bba6a9bf2a | /tests/testthat.r | 347d7d94442327965d6b54112c99f622cceb6af5 | [] | no_license | lengning/gClinBiomarker | d0115d4a699ca12866b9776c6a3835d9c0ece6c9 | 726d3bb9edbd8ecc450fc650ea7ab9922737629b | refs/heads/master | 2021-10-24T06:16:06.064819 | 2019-03-22T18:25:07 | 2019-03-22T18:25:07 | 125,939,464 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 72 | r | testthat.r | library(testthat)
library(gClinBiomarker)
test_check("gClinBiomarker")
|
c10665d158e3177ee7cfa298bf6e3b242ee811cd | b207cd6e0e11a74cec570fb91ff974f3d5d5d69d | /tests/testthat/test-vov.R | 1f808f1b9f1e9fea271fb259f57d21ffb4aba35c | [] | no_license | cran/vov | b5ec40ce05df7452f599e12098714abeb85023fc | dfe268b7289d5d81b7aa69fc183b9cd5f71d3650 | refs/heads/master | 2020-12-22T23:07:21.029791 | 2020-08-27T20:50:03 | 2020-08-27T20:50:03 | 236,958,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,229 | r | test-vov.R | library(vov)
library(shiny)
test_that("vov works", {
# blur in
expect_equal(
object = as.character(blur_in(h1("hi"))),
expected = '<h1 class="vov blur-in">hi</h1>'
)
# blur out
expect_equal(
object = as.character(blur_out(h1("hi"))),
expected = '<h1 class="vov blur-out">hi</h1>'
)
# fad... |
7eda728fc4b323f3f6b8951243cb40b96b26b647 | 6c6613504dd33574afc3bb9d0c98d90fcf9654c4 | /run_analysis.R | 0fba7b2ddc049329fe35f2d8305ab592960fe80d | [] | no_license | dklausme/GetCleanData | 19598b4054aafd7afe233d5036f34a3b17a26ed6 | 8cb9e179a2468e7261822eb5599d52ba446629d8 | refs/heads/master | 2016-08-11T10:45:39.443529 | 2016-03-14T05:17:29 | 2016-03-14T05:17:29 | 53,827,816 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,415 | r | run_analysis.R | # Makes sure I'm in the right directory
setwd('/Users/David/Documents/R/GetCleanData/UCI HAR Dataset');
# Imports info I'll need for labels
features = read.table('./features.txt',header=FALSE);
activity = read.table('./activity_labels.txt',header=FALSE);
# 1. Merges test and train
# Imports X info, merges
... |
f3bff401c5656f9223fa6270951516528644b3f4 | 4867cbde0414af89991ddfce854bcd50d0f4877e | /Tentor/exam_with_solutions/Tenta 2018-01-11.R | f8c5c0089f744d4d2fb2e3314856c25de70b3634 | [] | no_license | oskarhiden/TDDE01-Machine-learning | 27b9bda6ac496637301293018bbd6c8f74ef7323 | b4e66daf35c52008c6031b544e19cb41f4b91d73 | refs/heads/master | 2020-12-10T12:16:28.862563 | 2020-01-17T14:52:54 | 2020-01-17T14:52:54 | 233,590,873 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 9,512 | r | Tenta 2018-01-11.R | RNGversion('3.5.1')
library(readr)
#Assignment 1
#Step 1
video = read.csv("C:/Users/oskar/OneDrive/Universitet/Luleå Tekniska högskola/Databaser 1/Dokument/Git Repro/TDDE01-Machine-learning/Tentor/exam_with_solutions/video.csv")
#video = read.csv("Desktop/video.csv")
set.seed(12345)
n=dim(video)[1]
set.seed(12345)... |
5b567c4f84008682305d36717ec6ed175d82c7b9 | d692ef9a915e8d901d6c17567a632f555c70d5c9 | /YATAWebCore/R/YATAWebTools.R | 7925f8ea696e7188f6f0b9c585699896e794bbb6 | [
"CC0-1.0"
] | permissive | cryptobuks1/YATA2 | 386f0cc47e6bfeda8c626d6d44e033708f06c404 | 04d7c4fefea3babc0d0f30ee15c9a52602623055 | refs/heads/main | 2023-04-26T16:05:54.430701 | 2021-05-27T15:00:58 | 2021-05-27T15:00:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 95 | r | YATAWebTools.R | yataActiveNS = function(id) {
data = strsplit(id, "-")
data[[1]][length(data[[1]])]
}
|
3d9c90424a1d3844dbee1ef5a098b12325916963 | 23a269209e0b631daea4f5f2f99f2ee8127ca8ba | /app/global.R | 6c9b5eca4ac662ad78b1a68a9baf4a1e41267b58 | [] | no_license | TZstatsADS/Fall2021-Project2-group5 | e261ba3279ad09556c3cf626f8331c3fbea28bb7 | 47b28e06cc0e41e949ab91eec273257f75e228e9 | refs/heads/master | 2023-08-27T20:30:55.928087 | 2021-10-20T20:17:37 | 2021-10-20T20:17:37 | 413,476,036 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,797 | r | global.R | if(!require(devtools)) install.packages("devtools", repos = "http://cran.us.r-project.org")
if(!require(RSocrata)) devtools::install_github("Chicago/RSocrata")
if(!require(forcats)) install.packages("forcats", repos = "http://cran.us.r-project.org")
if(!require(stringr)) install.packages("stringr", repos = "http://cran... |
d4d593a50b5510c28f582d7b2abea923ddf05ce7 | fcce4c98d688442eb03615e26bb377559a67f3af | /codes/SCRNAQC.R | 1fc3979f930a3b1fd71632585607cb8d5218d9f2 | [
"MIT"
] | permissive | zhewa/SCRNAQC | e04adf323635eece0522be739506773480d5675c | 3896485fd2d32298bcaa5c7a5c651fb08c8c7d8e | refs/heads/master | 2021-06-23T07:11:34.260228 | 2017-09-05T02:01:09 | 2017-09-05T02:01:09 | 95,233,585 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,680 | r | SCRNAQC.R | #!/usr/bin/env Rscript
## SCRNAQC main script
## Zhe Wang
## zhe@bu.edu
## 2017/06/28
## scRNA-seq QC pipeline
## Calculate metrics of in vitro transcription RNA molecules and
## PCR amplification products
## Input: directory of demultiplexed (plate specific) SAM files
## Output: QC stats table and plots
## requ... |
dd51bb3d36673f170a9ce643b844a701c50215b8 | c91c477a8e8aa21f50a697e9365e13eefcd954b3 | /Shiny/ui.R | e0aeeefb5016a72d34e28fb77ddfea7bd3c0162c | [] | no_license | omrisap/Miles-per-gallon | fc8356ae46b1f7645ea57c72da33ee439d0abb0c | f145c5957506de3002591d88573c6a5a03bf0afb | refs/heads/master | 2020-12-02T06:39:02.774072 | 2017-07-11T08:49:20 | 2017-07-11T08:49:20 | 96,870,870 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 983 | r | ui.R | #
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
data("mtcars")
# Define UI for application that draws a histogram
shinyUI(f... |
0fe35ac05a2209b20eaccff9e6676c1cf9962fe7 | 8f8eac85cfbf8d3bc768318848ec964cb297b1cb | /casen/household_income/6_household_income_statistics_region/11_household_income_statistics_region_2011.R | c73ab8c27c574c4caf0b055ca9fd32736a7a74dd | [] | no_license | jnaudon/datachile-etl | 5231a3762dd32f3f3def4d568fc63934d603cf8b | 8fa577378d38f8d63f6dfdb00ed515bbb439f154 | refs/heads/master | 2023-03-23T00:36:35.698292 | 2019-03-23T03:30:16 | 2019-03-23T03:30:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,253 | r | 11_household_income_statistics_region_2011.R | ########
# 2011 #
########
# Median by region
weighted_median_2011_region <- ddply(household_income_2011, .(region), summarise, FUN = matrixStats::weightedMedian(per_capita_income, w = exp_region, na.rm = TRUE))
setnames(weighted_median_2011_region, colnames(weighted_median_2011_region), c("region","2011"))
#weighted_... |
024cee0d3d16d19fc7c207090646134ade143cb7 | 5394122fc755b642849dcefc25d6056e49272120 | /r/runsystymer.R | a6035550b17c6ae3bbe3698712eb80876887fdd8 | [
"Unlicense"
] | permissive | timkphd/examples | 3e2a0c514322a8537671c80c909d835eeca5aec9 | e84f249a4f72e45767d29ca889f5ea286ba0de1a | refs/heads/master | 2023-09-01T02:51:00.798436 | 2023-08-19T22:39:44 | 2023-08-19T22:39:44 | 188,473,532 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 362 | r | runsystymer.R | # show how these work
# "source" this in a notebook
#
source("mysys.R")
source("tymer.R")
sys("cat runsystymer.R")
ls()
html("readme.html")
imbase("images/Rstuff")
nextim()
sys("ls -lt")
z<-sys_df("srun -n 8 ./bcast.R")
z
tymer("begin")
srun("-n 4 ./flower.R")
tymer("end")
print(sprintf("%4.4d",12))
nextim(51)
for (i ... |
6ad26066aaafb533ae55279e6cfac75eb9a29214 | 0dcdb2de8a998be4510363f762a42fb8b15e556e | /tests/testthat/test-mapping.R | 4aa9ed1848ddab6f67d6d20dc5276a09c6b21f14 | [
"MIT"
] | permissive | carlganz/shinytest | 16c97318d444ce72ff3b8cf011379907df44eb8c | e6c1ddaa072e76b12b5870b68d4ca2f4997f8fd8 | refs/heads/master | 2020-12-30T23:22:02.126630 | 2016-09-16T13:11:46 | 2016-09-16T13:11:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,369 | r | test-mapping.R |
context("mapping")
test_that("input widgets", {
app <- shinyapp$new("apps/081-widgets-gallery")
expect_equal(app$find_widget("action")$get_type(), "actionButton")
expect_equal(app$find_widget("checkbox")$get_type(), "checkboxInput")
expect_equal(app$find_widget("checkGroup")$get_type(), "checkboxGroup... |
0df1f4c170cc5aa0f5e087d6e2fdce4e13363bbb | a6f2bd158a96455638822f53c203978ae3e71fcb | /Introductory.R | 3200007affdab6f0598a7e534fde715acd4b18cf | [] | no_license | danStich/data4_r4nalms | 74343a8c5f34fab1bbc2266250880a19cc74735a | e70b96bd95567802f2ccb784a061b9fd0683eed8 | refs/heads/master | 2022-11-23T13:05:31.024434 | 2022-11-08T11:15:09 | 2022-11-08T11:15:09 | 152,175,858 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,582 | r | Introductory.R |
## --------------------------------------------------------------------------
# This is a comment.
# We know because it is preceded
# by a hashtag, or 'octothorpe'.
# R ignores comments so you have
# a way to write down what you have
# done or what you are doing.
# This is useful for sharing
# code or jus... |
ec09433d10fb26c5f10982055bb1d051e09d4e9d | 277dbb992966a549176e2b7f526715574b421440 | /R_training/실습제출/박우찬/191101/hotel.R | 81f7f67cd70a8c58f8881eecd3dfe3821ca8a730 | [] | 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 | 1,266 | r | hotel.R | # 아고다 소스 ]
remDr <- remoteDriver(remoteServerAddr = "localhost" , port = 4445, browserName = "chrome")
remDr$open()
url<-'https://www.agoda.com/ko-kr/shilla-stay-seocho/hotel/seoul-kr.html?cid=-204'
remDr$navigate(url)
#나중에 하기 클릭하여 팝업메뉴 없애기
laterAction = remDr$findElement(using='css',
'... |
f6704c4bdbd0928a9744a5d87e3f5b036db571d8 | 6861114e6fde7a8db5a9d2a164362d28de2f2aa0 | /man/testFoo.Rd | eacf2c16f7a91ebec22a91d8c5badf9980b808ea | [] | no_license | jlombard314159/cacheRExample | adfc495d2880b3f8a0d6efce8b5bbcd6d9fb3cf4 | dc0df2b5e49981b8f38e97eb638e62ac91593c8d | refs/heads/main | 2023-07-12T22:51:39.128928 | 2021-05-12T16:35:29 | 2021-05-12T16:35:29 | 366,583,342 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 215 | rd | testFoo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/testFoo.R
\name{testFoo}
\alias{testFoo}
\title{testFoo}
\usage{
testFoo(cif)
}
\arguments{
\item{cif}{dead things}
}
\description{
ok
}
|
49b048dbe2f0622a5551c37a46ba5a3232488e4e | e64682d3b561e8e1fa7962709d900a3047edb11d | /plot1.R | 0bdec7290f666177996f44caab75b5a60da791fa | [] | no_license | EdmondKonya/ExData_Plotting1 | 3e4ab07b6811bf9ef2084baf6db9d524d0e4d8cd | 6ed53c5023d62bb0aa1bdbea056500d3230d8874 | refs/heads/master | 2021-01-21T16:39:15.530662 | 2015-07-10T20:07:25 | 2015-07-10T20:07:25 | 38,881,724 | 0 | 0 | null | 2015-07-10T13:25:40 | 2015-07-10T13:25:39 | null | UTF-8 | R | false | false | 1,877 | r | plot1.R | #Check if the working directory already contains the data_set; "household_power_consumption.txt"
if(!file.exists("household_power_consumption.txt")){
fileURl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(fileURl, destfile = "./energy_data.zip")
unzip(zipfile =... |
fa3ea113bbd9149c177a64f741110fbbf7192cf0 | 19fb74ecb354cfc273bdb828d057494a23d9c492 | /eda_r/diamonds.R | 7cf3fd3ae86fb7ba47f55b51fd0e5db1f79cc3b4 | [] | no_license | Sando1/udacity-data-analyst | 909fd07c2a41ce3bbad3037efecc6514430ff910 | 2c701951ea4af99a458eda91238a762db58d8e7f | refs/heads/master | 2021-06-19T08:23:01.379864 | 2019-10-01T21:06:12 | 2019-10-01T21:06:12 | 150,722,188 | 5 | 2 | null | null | null | null | UTF-8 | R | false | false | 6,407 | r | diamonds.R | # install and load packages
# install.packages('ggplot2')
library(ggplot2)
# install.packages('ggthemes', dependencies = TRUE)
library(ggthemes)
# install.packages('gridExtra')
library(gridExtra)
library(scales)
# load dataset
data("diamonds")
# find all info available on the dataset
help("diamonds")
# no of rows... |
0693bb256f40dcb6cabfb13ec60fa774fb3d67c8 | 48fac7f36d8fc50191b8f6a362ebc6770c8a3560 | /code/2020W34_Extinct_Plants.R | f92cd0c58c7255e1a3f96c6223d9feb0a07bcdf4 | [] | no_license | dosullivan019/tidytuesday | eae0df9588d53434ce5f6dcf607a2b529bee778f | 37e14584179928455355dc8c24764580a9f1c3fb | refs/heads/master | 2023-08-05T23:10:22.386935 | 2021-09-08T15:20:00 | 2021-09-08T15:20:00 | 286,712,994 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,044 | r | 2020W34_Extinct_Plants.R | # Tidy Tuesday
# 18/08/2020: Plants in Danger
library(ggplot2)
library(dplyr)
library(rnaturalearth)
library(wesanderson)
# plants <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-08-18/plants.csv')
# actions <- readr::read_csv('https://raw.githubusercontent.com/rf... |
de5dc2f08c3e979a436bfdad22760e2669af2052 | 8b982cdde20a781eb7289e051e7eef0f1aadbe24 | /DataAnalysis.R | abae7144b206b6aa1c6403e838fba59505e53160 | [] | no_license | roger555330/Working-Memory-Sums | 5542c5bc18a560252ab635017ded2f726f326e69 | b9a9faf5e3af0b52c1ef695e79f0b88778f3c922 | refs/heads/master | 2020-05-16T03:08:01.080993 | 2017-11-28T17:25:37 | 2017-11-28T17:25:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,411 | r | DataAnalysis.R | # data analysis for Working Memory Sums task
library(plotrix)
# intialize grouping variables arrays
allConSubjAcc = c()
allConMedRT = c()
allConSumTenAcc = c()
allConSumNotTenAcc = c()
allConNumPers = c()
allConRTSumTen = c()
allConRTSumNotTen = c()
allCussSubjAcc = c()
allCussMedRT = c()
allCussSumTenAcc = c()
allCus... |
1bb11800ede2640944eab10432b83fa06e386e57 | d420f963ab5ff604cc74a3037f9396cd826e606c | /R/new_zealand_deaths_reg.R | 00a3236b76e21bdaa096dbea160311393e038061 | [] | no_license | johnrbryant/bdefdata | d103f09bcd26cbfe677449d799ba9274cf0209e7 | 6c637e28d891c32cb0e8bd18d046c355287eadb8 | refs/heads/master | 2020-03-18T17:16:50.127404 | 2018-09-23T06:43:11 | 2018-09-23T06:43:11 | 135,018,297 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 399 | r | new_zealand_deaths_reg.R |
#' Registered deaths in New Zealand by region, 1997-2016.
#'
#' The years are June years. For instance, the year "1997" runs from 1 July 1996
#' to 30 Jun 1997.
#'
#' To preserve confidentiality, death counts have been randomly rounded to base 3.
#'
#' @format An array with dimensions "region", and "time"
#'
#' @sou... |
5a6e28b2beeb0607bb44446cb7ca0c41fa51a6c6 | 4c32ee156e20f2ce888471a203a103dd226f5896 | /R/plot_coral_plots.R | 33fc342b6f9def5958f24a48d30f824a7dbdea91 | [] | no_license | kmichael08/ceterisParibus | 56d81d98b96c2b9fec18d54b06f718b1b4b37b4f | 4c9b1134f5fc84698ad864a751bbd50bab4ce03c | refs/heads/master | 2020-03-31T20:51:55.235812 | 2018-09-11T20:53:56 | 2018-09-11T20:53:56 | 152,558,313 | 0 | 1 | null | 2018-10-11T08:34:33 | 2018-10-11T08:34:32 | null | UTF-8 | R | false | false | 5,458 | r | plot_coral_plots.R | #' Local Fit Plots / Wangkardu Explanations
#'
#' Function 'plot.local_fit_explainer' plots Local Fit Plots for a single prediction / observation.
#'
#' @param x a local fir explainer produced with the 'local_fit' function
#' @param ... other explainers that shall be plotted together
#' @param plot_residuals if TRUE (d... |
ce6c37d90e23bafe66c5c9f736e282e9e8652fd2 | 2a1d3d7d0d75c48d26a3e5b581af9f5b5537f355 | /R/knit2byrokrates.R | 84ccd740872225f768374b058f0d801e4d4db679 | [
"MIT"
] | permissive | petrbouchal/pbtools | 4b85a423f06dfc55c25254f84ff121a102cc4db8 | b983ac639fc8b23e836c7edd55cdbf81a1164f74 | refs/heads/master | 2021-01-21T12:49:41.109594 | 2016-05-28T20:31:21 | 2016-05-28T20:31:21 | 19,662,881 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,306 | r | knit2byrokrates.R | #' Rmd to Byrokrates
#'
#' Upload Rmd document as post to Byrokrates WordPress blog
#' @param filename name od Rmd file
#' @param title Title of blog post
#' @param publish FALSE for draft, TRUE to publish. Defaults to FALSE
#' @param preview Whether to open preview in browser upon publication. Defaults to TRUE
#' @ke... |
70542ef5f46b8ec62d1c3aae2b8c0244f1afc58c | b869c19db780a472d017b16a49122317bbdab603 | /scripts/ceps_correios_2014.R | 9e78968b75c809111a00376e2589a5a2fe61d269 | [] | no_license | kl3ber/ibge | 4d8b15a5cadc8e724cea0863ff64fe1516a4f46d | 032b97d217e979b28d65a234652e0a404fc6b75d | refs/heads/master | 2020-04-23T03:42:28.666297 | 2019-03-07T19:53:44 | 2019-03-07T19:53:44 | 170,886,173 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 460 | r | ceps_correios_2014.R |
### Tratar faixas de CEPs faltantes
ceps = read.csv('data/input/ceps_correios/cep_correios_gpbe_2014.csv', colClasses=c("numeric",rep("character",4)))
ceps = ceps[order(ceps$CEP_INICIO),]
for (i in seq(1:(nrow(ceps) - 1))) {
if (as.integer(ceps[i, 'CEP_FINAL']) + 1 != as.integer(ceps[i+1, 'CEP_INICIO'])) {
cep... |
95dd7e88a7650cba632a442699498e9e3ef5bd7e | 52ccdf59cd5b37d2a19d525a2ca9473d05f705ee | /man/knnRec.Rd | db0706b2e6dc2f41646a5db2effeb6e82a06d6c0 | [] | no_license | hugokce/regtools | 140cb80a74e516516a5f090c66ad17e1dbb82e96 | b2ebcbd38f65e642733cdc68c88e7ca8f5f33e14 | refs/heads/master | 2023-04-20T11:16:57.632591 | 2021-05-09T04:23:36 | 2021-05-09T04:23:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,321 | rd | knnRec.Rd | \name{knnRec,anovaRec,mfRec,predictMany}
\alias{knnRec,anovaRec,mfRec,predictMany}
\alias{predict.knnRec,predict.anovaRec,predict.anovaRec.mfRec}
\title{Tools for Recommender Systems}
\description{Functions for collaborative filtering.}
\usage{
knnRec(ratings)
predict.knnRec(object, user, item, k, minMatch =... |
ba432f2c661af332634349969f62e1dc0bf6c47b | 0f104ea64886750d6c5f7051810b4ee39fa91ba9 | /inst/test-data/specific-redcapr/log-read/2021-07-11-record3-user.R | d6fa14d0753fd898da598c41b327c0daa259a84b | [
"MIT"
] | permissive | OuhscBbmc/REDCapR | 3ca0c106e93b14d55e2c3e678f7178f0e925a83a | 34f2154852fb52fb99bccd8e8295df8171eb1c18 | refs/heads/main | 2023-07-24T02:44:12.211484 | 2023-07-15T23:03:31 | 2023-07-15T23:03:31 | 14,738,204 | 108 | 43 | NOASSERTION | 2023-09-04T23:07:30 | 2013-11-27T05:27:58 | R | UTF-8 | R | false | false | 1,680 | r | 2021-07-11-record3-user.R | structure(list(timestamp = structure(c(1626044880, 1626044880,
1626044640, 1626044640, 1626044160, 1626044160, 1625968020, 1625968020,
1625967780, 1625967780, 1625967240, 1625967240), class = c("POSIXct",
"POSIXt"), tzone = "UTC"), username = c("unittestphifree", "unittestphifree",
"unittestphifree", "unittestphifr... |
ccac115ca5a0d8f41025049cbd44cced99d32085 | 1c03917b86f5e47c4bf954afce910ce439fd552b | /ongoing_studies/multiple_pdfs_to_tokens.R | b0cfd8fb8d0a4cf6e2060c9924d06f3894f9ee6a | [] | no_license | sameerpadhye/Personal-projects | d7da869de225c48ce7c7b3ece8663bc10042c55e | d04fc8bbe723d90559f64ea7c8f8ca01eae17c56 | refs/heads/master | 2022-07-31T03:30:24.966932 | 2022-07-11T15:25:25 | 2022-07-11T15:25:25 | 179,165,892 | 1 | 1 | null | 2020-03-05T15:54:40 | 2019-04-02T22:06:24 | R | UTF-8 | R | false | false | 770 | r | multiple_pdfs_to_tokens.R |
require(pdftools)
require(tidyverse)
require(purrr)
library(tm)
library(quanteda)
fraud_data_path<-"C:/Research_data/Research data/Other groups/Fraud Faunistics correspondence/Faunistics checklist fraud pprs/fraud_pprs"
good_data_path<-"C:/Research_data/Research data/Other groups/Fraud Faunistics correspondence/Faun... |
23b21b5f7250ac639c695c1084d845009d6570fc | fa70b2a61f6c1e760151c3c04d0c7d55098231af | /man/NoData.Rd | dbdf3a9d1d814ec7fa54d1e28deedb6f1a52a88b | [] | no_license | Displayr/flipData | 383735ede9065ceec10b84b9d63a8bece6122257 | 9c24004e6e8dc70f856efc773a6a4a6f95db1489 | refs/heads/master | 2023-06-22T18:27:09.861659 | 2023-06-19T03:06:09 | 2023-06-19T03:06:51 | 59,714,768 | 0 | 4 | null | 2023-08-23T04:43:16 | 2016-05-26T02:54:37 | R | UTF-8 | R | false | true | 330 | rd | NoData.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/missingdata.R
\name{NoData}
\alias{NoData}
\title{\code{NoData}}
\usage{
NoData()
}
\description{
Error thrown when all cases contain missing data and no data is
available for use as the "Exclude cases with missing data" option was
se... |
f2d1f59b93b654b807896347f412cc4eb0cedce8 | dcccc84b47137433c5695fd6e1bbbb2789196f5e | /alg/backups/1 - exploratory.R | 9ebc7a2fd23a34075a06768f32ef63401c46d9fe | [] | no_license | joaopdalbino/data_analysis_spotify | ed0a7a418c4f31b704e0da740ccd50420c8fd6d3 | 8e54e7c43903ff77030c127830b4b841a09674bf | refs/heads/master | 2022-12-18T15:35:26.818846 | 2020-09-28T11:58:04 | 2020-09-28T11:58:04 | 262,198,950 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,779 | r | 1 - exploratory.R | library("readxl")
library(stringr)
library(ggplot2)
source <- getwd()
results_path <- paste(source,"/results/", sep = "", collapse = NULL)
path <- paste(source,"/data/timelines.csv", sep = "", collapse = NULL)
data <- read.csv(path)
data$X...date <- as.Date(data$X...date , format = "%Y-%m-%d")
data <- data[data$X...... |
60063ebcfbda352c0b7af4a7a0a8afda3259ec93 | 75dea6f2b5ac6ae68b40fcd84ecec5bd93d6b0b0 | /server_data_processor.R | 40f639a2bb76682d79650df19b1394a1b27998a5 | [] | no_license | shenjixiaodao/ChineseStock_Visualization_Analysis | a1f9eed0c47978fc191f0e77f48d1ed1f49df3f3 | b1db97e2fd46f0b9c66dcf3412a17d13199cfdfc | refs/heads/master | 2021-01-21T09:52:48.365160 | 2016-01-11T13:49:07 | 2016-01-11T13:49:07 | 47,862,056 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 126 | r | server_data_processor.R | #前10股东
top10_shareholder = read.delim("top10_shareholder/HLD_Shareholders.txt",header = TRUE, colClasses = "character")
|
b14f9deaf3a915265b129964e4aa93fac93f057c | 7398b8fe21f917e6ec35cf111984e87650f1b199 | /r4ds_wrangle.r | e0ac29c0822d6b54e973634e7e5963c3164a268f | [] | no_license | JSA10/r4ds | a8eac7d550dfbab5b4de9cddbb8546f12f8e5d99 | a7580b75e7edabb36bd8bb7bcb44859a60d2cf5b | refs/heads/master | 2021-01-21T17:46:59.742104 | 2017-05-21T21:41:16 | 2017-05-21T21:41:16 | 91,989,043 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,905 | r | r4ds_wrangle.r | #r4ds chapter 9 wrangle
#
#9.1 Tibbles
#tibbles are an updated version of data frames, with a few tweaks that iron
# out old bugs from base R versions that are circa 20 years old and work better
# in tidyverse
library(tidyverse)
#coerce data frames into tibbles
as_tibble(iris)
#You can create a new tibble from indivi... |
f53adced6506896a261b244ac2ded604ea66c64a | 72f0630c4897b91a652f100bbfad383e76cf77ee | /man/statemove.Rd | 762dc0d743d48d6a2f954a3680857377ee6de4ed | [] | no_license | kosukeimai/fastLink | da540df1cc5fa5dee6e806678948b12893d159ad | 7da6aeb29cafa6810a10e7978ae1f443fbc4bcdf | refs/heads/master | 2022-10-21T04:49:13.475862 | 2022-10-10T16:27:05 | 2022-10-10T16:27:05 | 84,469,064 | 248 | 49 | null | 2019-02-19T13:57:40 | 2017-03-09T17:17:16 | R | UTF-8 | R | false | true | 395 | rd | statemove.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{statemove}
\alias{statemove}
\title{In-state movers rates by state}
\format{A dataframe containing 51 observations.}
\usage{
statemove
}
\description{
This data collects in-state movers rates by state,
for imputati... |
c2a3e3b3669a643c28287d4d53cce050675e9f49 | aef4e3933589c2cf1faae1e3e326b44925ade7a4 | /R/compute.R | 313ebcc677e1142bc764ec55e3c56f72ea5a6a03 | [] | no_license | tanaylab/repguide | 79f1f9058ceefcdefeebd29a83df5843e0d5aaf1 | d38d36902eb773f9b5f6f83cb22e990f862ff660 | refs/heads/master | 2020-07-26T07:18:35.733929 | 2020-06-24T12:15:55 | 2020-06-24T12:15:55 | 208,576,067 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 17,633 | r | compute.R | #' Cluster guideRNAs
#'
#' Clusters guides based on their target binding profile
#'
#' @param guideSet guideSet containing guide mappings
#' @param min_Son Numeric from 0 through 1. Only considers genomic target binding sites above \code{min_Son} score.
#' @param n_clust Integer from 1 to 20. Number of clusters to grou... |
d2d101c464137f111463d26cf38e363ecc6e4ccb | 3d6cb42436c103239398ed3ee3c3f7cdf9b6daf9 | /r/IBIname_match.r | 8ab667a5f8f9443f46743c6a442d9c26f8f214d0 | [] | no_license | mengeln/ibiwebapp | cdc9d54b2fbf89df6dc8995bccd8d9faef17f3ee | 03abeeac07f2c033463fb5911683f0f7e0068ea5 | refs/heads/master | 2021-01-16T21:00:53.945903 | 2012-08-28T21:07:32 | 2012-08-28T21:07:32 | 5,334,848 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,084 | r | IBIname_match.r | IBIname_match <- function(data, DistinctCode=F){
colnames(data)[which(colnames(data) == "FinalID")] <- "Taxa"
colnames(data)[which(colnames(data) == "BAResult")] <- "Result"
data <- data[which(!is.na(data$Result)), ]
load("../Data/ibi.RData")
require(plyr)
ibi <- idata.frame(ibi)
load("../Data/taxonomy.RD... |
4f5597665388371c38b9e967675281b589403303 | fe3800d2b7553cec61c1a704a279d00e55a08a44 | /scripts/generate_scenarios.R | 5a382753b7ff43b1a0f7f379fa3edbd44f98c1d2 | [] | no_license | femeunier/LianaAlbedo | 07d8384342d3b2ee305103c9d848b10efe0df011 | fda0c6b1bac39556798c1dff717d3e80916867ad | refs/heads/master | 2023-01-29T12:00:56.463546 | 2020-12-09T13:26:49 | 2020-12-09T13:26:49 | 319,947,869 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,316 | r | generate_scenarios.R | rm(list = ls())
library(ED2scenarios)
library(PEcAn.ED2)
library(purrr)
ref_dir <- "/data/gent/vo/000/gvo00074/pecan/output/other_runs/albedo"
ed2in <- read_ed2in(file.path(ref_dir,"ED2IN"))
# No -T- Files
ed2in$ITOUTPUT <- 0
rundir <- "/data/gent/vo/000/gvo00074/pecan/output/other_runs/albedo/run"
outdir <- "/data... |
85ffe3256bca2b0c6aa692904a1fd54fd3512264 | 1959a1c0c11353b98f1091399d962d1f24a53d1a | /R/activeSet.R | 872c7821b1213daccb200e16379d54f0204e4c03 | [] | no_license | cran/isotone | 0b15803f73bc3bfb3c2bc513ae57e809a9368189 | 033c470f2851171b7cc1b187ceae8f143b0b368d | refs/heads/master | 2023-03-03T11:23:53.570874 | 2023-02-22T06:33:36 | 2023-02-22T06:33:36 | 17,696,842 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 4,333 | r | activeSet.R | #active set methods for different solver
activeSet <- function(isomat, mySolver = "LS", x0 = NULL, ups = 1e-12, check = TRUE, maxiter = 100, ...)
{
a <- isomat #matrix with order restrictions
if (ncol(isomat) != 2) stop("isomat must have 2 columns!")
extra <- list(...)
if (le... |
97b12788c670bc9b2da2e0370a02f2921ba94c5e | 5e1b775edcb7683f1039eb20f2e6f9594a59f8eb | /chapter 2/car.R | 7c603c0e16d17f7b70c5dd607100a71b86d33677 | [] | no_license | loufin/Business-Analytics | 1973a649fca58da8aa4092a212eeb15e1c240098 | e15f69154df19e7a017ba47ce9dd30f2c39d9b7d | refs/heads/main | 2023-04-28T22:56:29.092261 | 2021-05-12T14:05:35 | 2021-05-12T14:05:35 | 335,809,886 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 991 | r | car.R | car.df <- read.csv("ToyotaCorolla.csv", header=TRUE)
View(car.df)
car1.df <- subset(car.df, select=-Model)
View(car1.df)
#method-1 for dummies
car2.df <- fastDummies::dummy_cols(car1.df)
View(car2.df)
#method-2 for dummies
car2a <- model.matrix(~0 + Fuel_Type + Color, data=car1.df)
car2a.df <- as.data.frame(car2a)
V... |
b76accce79205aa53bf819a61d10eada0f40cbed | d13e3550cc9e5c0c98396cf5032f2ee0d1b8ceef | /junk.R | 1b99f055d666f70ef8affa63d393d11b376d4695 | [] | no_license | JohnOrmerod/BayesianStarWarsLectures | d6fc2323fb461a10a2bbf1ff72b910fce0beafa2 | 17510e99a809fbeb0a52e1ee3d9979c342aeb1ff | refs/heads/main | 2023-01-06T15:04:19.861388 | 2020-11-11T11:25:03 | 2020-11-11T11:25:03 | 311,948,746 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,842 | r | junk.R |
---
class: segue
.white[
# Bayes theorem machinary
]
---
### Bayes theorem for discrete distributions
.small[
Suppose that we have two events $A$ and $B$ and
* $P(B=b|A=a)$
* $P(A=a)$
* $A$ can take the values $a_1,\ldots,a_K$.
suppose ... |
6285dfccd35846155947f63ffb8ddb1e7b562dba | e9c51696f28668459b9229811374a5e528966d48 | /man/UnionExtractFields.Rd | 3097a5ba77c5ea1bd84a07324257e8270e33cf69 | [
"MIT"
] | permissive | piquelab/QuASAR | bf360a982c058293705f085d5f68d96a2cc7f36e | a458b8a1238ae9d94d8dced6534283be68d5cd9a | refs/heads/master | 2020-04-12T07:25:42.412678 | 2017-02-04T01:18:46 | 2017-02-04T01:18:46 | 20,872,613 | 22 | 10 | null | 2017-02-03T04:29:44 | 2014-06-16T04:22:14 | R | UTF-8 | R | false | false | 798 | rd | UnionExtractFields.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{UnionExtractFields}
\alias{UnionExtractFields}
\title{UnionExtractFields}
\usage{
UnionExtractFields(fileList, combine = FALSE)
}
\arguments{
\item{fileList}{List of files *.quasar.in.gz}
\item{combine}{Collapses all samples into a single sample if true. Defau... |
8e7a38ef9d61e2661b6d18fd1a5a1b5411627747 | cdbca901bbf564d9c94a74a4ab3aabe303691ce8 | /data-raw/cacao/cacao.R | 55f35d7afca73e5f1432cd6c3fca1e4defc12472 | [] | no_license | wilkelab/ungeviz | 6d57a5a69bf46efe35f5e4d04f3f413c47273fff | aeae12b014c718dcd01343548f2221b58ece63f6 | refs/heads/master | 2020-03-27T00:49:35.929110 | 2019-01-24T20:14:20 | 2019-01-24T20:14:20 | 145,660,189 | 95 | 8 | null | null | null | null | UTF-8 | R | false | false | 143 | r | cacao.R | library(here)
library(tidyverse)
cacao <- read_csv(here("data-raw", "cacao", "cacao_clean.csv"))
devtools::use_data(cacao, overwrite = TRUE)
|
00c819ef919701b4a3d1cc76c4e1e936128edb51 | a38668bb0993cfa9f634859543e858b7246acd7f | /man/milk_mir_spectra_factory.Rd | 974e4c54dfbd09ea042541fb8a0e1b68d0920698 | [] | no_license | youngtf/milkMiR | 24a6b0c4d4c913d0f10f07458213eb04fbb9b865 | 0f97ab3d406bf3c7b2034e669060cb28110ec30c | refs/heads/master | 2021-03-19T06:05:16.675528 | 2018-02-04T21:28:17 | 2018-02-04T21:28:17 | 91,848,887 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 367 | rd | milk_mir_spectra_factory.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mirSpectra.R
\docType{class}
\name{milk_mir_spectra_factory}
\alias{milk_mir_spectra_factory}
\title{Generate a MilkMirSpectra object}
\format{An \code{\link{R6Class}} generator object}
\usage{
milk_mir_spectra_factory
}
\description{
Generat... |
738e728e0d16b569c70211f2975e0c9ea3fdfb2f | f0352034f8467e2c82a31443ae6e3125039879ac | /R/plotContrastHeatmap.R | c6cfefb3aa08a5dd7f52bd8f55cc2853ceaf8eda | [] | no_license | epurdom/clusterExperiment | 8d5d43a250a1a3c28d4745aae4b72285458ba1a2 | ae86ee09697c13ccd5d32f964e28ab7d82b455d6 | refs/heads/master | 2022-11-04T01:54:19.806886 | 2022-10-11T22:00:27 | 2022-10-11T22:00:27 | 47,139,877 | 39 | 15 | null | 2021-01-27T21:26:28 | 2015-11-30T19:06:53 | R | UTF-8 | R | false | false | 6,451 | r | plotContrastHeatmap.R | #' @rdname plotContrastHeatmap
#' @aliases plotContrastHeatmap
#' @title Plot heatmaps showing significant genes per contrast
#' @description Plots a heatmap of the data, with the genes grouped based on the
#' contrast for which they were significant.
#' @param object ClusterExperiment object on which biomarkers were... |
4841ec3b3815ff91cb914b226ac5bdb6e650c430 | 51fa858515a15e3787f210ad24b7e6f912e3ab70 | /Subgroup1/code/PT_DiscardEstimation_H3.r | c2c22463a6f34bc321a42b153af42884ca780c80 | [
"MIT"
] | permissive | JoelKos/WKRATIO | a95385006e22feed378bdb1515b218db4f0ea45f | 60b41fd27cd2c9ad616d47723950b25875c56340 | refs/heads/main | 2023-04-26T05:26:06.096839 | 2021-06-04T10:11:40 | 2021-06-04T10:11:40 | 373,797,419 | 0 | 0 | MIT | 2021-06-04T10:11:41 | 2021-06-04T09:56:49 | null | UTF-8 | R | false | false | 8,984 | r | PT_DiscardEstimation_H3.r | #####################################################################################################################
## WKRATIO: Portuguese data testing
## National discard raising procedure using RDBES data format (Hierarchy 3)
## Ana Cláudia Fernandes, 31may - 4jun
#################################################... |
2ce64064db3bb723a63f5cf4fbc9c42f11b79c83 | fc2359c3a7cbf5f885e5e4a5135b6e7394715aaa | /R/alexnet_partition.R | 95b196a2eea42efefcd5249d55a22d12344a5945 | [] | no_license | parvezrana/alexnet | f677cf9030fd9042d0e8002f93ab6e69dd91f28a | a3e59fdf02a6614520cb4c4c034e9c47887fae61 | refs/heads/master | 2022-11-30T20:36:23.099001 | 2020-08-15T02:43:38 | 2020-08-15T02:43:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,285 | r | alexnet_partition.R | #' Retrieve ImageNet Partition
#'
#' Retrieves a partition to be used with \code{imagenet_train} as the \code{data}
#' parameter.
#'
#' @partition The partition to retrieve.
#' @total The total number of partitions.
#' @url The url of the board containing imagenet.
#'
#' @export
imagenet_partition <- function(partition... |
49916efbc27827e4ce106a3ccc6a61cdf0e6ef2e | d9e0c4f508481c333969039b36b149d5ed63a003 | /R/chisq_compute.R | 34b778dfed862d1327b927b65ea68201c4013be8 | [] | no_license | strategist922/CDM | 71d8b67514a316676c8e124ffcfa918596b96f16 | a18c0e1dbea443c9794924ac4aeadbe60f591a24 | refs/heads/master | 2021-01-21T12:27:47.351062 | 2017-08-07T16:06:28 | 2017-08-07T16:06:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 94 | r | chisq_compute.R |
chisq_compute <- function(obs, exp)
{
chisq <- sum( ( obs - exp)^2 / exp )
return(chisq)
} |
10641433caee7ec0805c1311a0eb20980bf55125 | 9b86e35e5058b988ffec1f93fda4d6393da2ab14 | /calculateRemoval.R | 90683a67f0e2bf5bcfc9be6ff3d3c86d90032d37 | [
"MIT"
] | permissive | jwolfand/sw-log-removal-model | ac86b3dd5548bbd30c920bb92346324489b68cd3 | c8c2049bfc2ffe8e66c221f855cd0af56fc4e848 | refs/heads/master | 2020-03-08T22:31:39.756590 | 2018-04-25T22:14:04 | 2018-04-25T22:14:04 | 128,433,256 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 587 | r | calculateRemoval.R | #################################################
# FUNCTION Calculate removal
# J. Wolfand Written 6/29/17 Updated 7/14/17
# Purpose: Function to take log removal of concentration during storm events
# Inputs:
# Cin = timeseries of concentration in
# storm_timeseries = timeseries noting when storms are occuring
# ... |
b8a6faf56259dc1249bf493c2460604a63454b90 | fad36ba43fc642cc4f05a37ff41a2bfdeb13ff6b | /man/pr2_ex_data.Rd | 39172946276a06c6ecb7207afac7e8e74dc457bf | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | ctb/metacoder | fd7f4830189515bacd5101a35621e4087018f576 | f1203b17a0f90cb928cf176d040344fdfbbd0971 | refs/heads/master | 2022-06-04T09:11:45.810079 | 2017-08-22T20:14:49 | 2017-08-22T20:14:49 | 103,031,498 | 1 | 0 | null | 2017-09-10T13:29:41 | 2017-09-10T13:29:41 | null | UTF-8 | R | false | true | 1,020 | rd | pr2_ex_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dataset_documentation.R
\name{pr2_ex_data}
\alias{pr2_ex_data}
\title{Example of PR2 SSU data}
\format{An object of type \code{\link{taxmap}}}
\description{
A dataset containing information from 249 Stramenopile sequences from the PR2 referen... |
1da4295ee7322c15f486e6b86d5d6a884c1d80d4 | 87428e50ba0ae6e471d9bcf8a90fb496862876cb | /code/archive/03_explore_som_main_6_vars.R | dc7dcea389a936fb5aa50f3be28dd072b58e679d | [] | no_license | imarkonis/ROS | a85d3e5ae66a13f1a42b66e1478b0c9656dac092 | 68600bb4a1b166042932b6a01662c71a402af719 | refs/heads/master | 2023-04-25T05:06:30.493397 | 2021-05-08T08:33:31 | 2021-05-08T08:33:31 | 347,308,613 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,865 | r | 03_explore_som_main_6_vars.R | library(ggplot2); library(data.table); library(fmsb)
library(kohonen)
#############################
### Exploration
#############################
#Part 1: we examine node properties
#Hierarchical clustering for further classification set to 16 -> groups = nodes
load('./data/som_4x4_main_6_new_vars_rev.rdata')
m... |
97f974763666bd5f57b956345faa23cbc6fae950 | 29585dff702209dd446c0ab52ceea046c58e384e | /subspaceMOA/R/plot.R | d3112f3a570de890ab1dd2e153524c2f1720f84d | [] | 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 | 9,734 | r | plot.R | #'Animate Stream Clustering.
#'
#'A function to plot data streams and clusterings. The visualisation is based on
#'\link[shiny]{shiny} and \link[ggplot2]{ggplot}. Data is plotted as a
#'scatterplot matrix and individual scatterplots can be selected for a more
#'detailed view that includes tooltips. Please note that th... |
e52ae483c973011ff3abe79aeb2f05119a1175e5 | 30954ed2c633319c48a9542b957dd82fbcbb636b | /SamTurner/code/model_functions.R | 4a23132c8ea22b85d021480086dd7b3c5110288a | [] | no_license | zongyi2020/CMEEProject | ae057530c39a637df2159e44efca6f4af917c0d5 | 1d86ed13218ab1e30e3da31b96321b71f38cea2a | refs/heads/master | 2023-08-02T16:12:43.159300 | 2021-09-20T11:21:49 | 2021-09-20T11:21:49 | 384,176,870 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,291 | r | model_functions.R | ## Script: model_functions.R
## Author: Sam Turner sat19@ic.ac.uk
## About: Model specifications.
# to fit in log space
Quadratic <- function(t, a, b,c){
return(c*t**2 + b*t + a)
}
Cubic <- function(t, a, b, c, d){
return(d*t**3 + c*t**2 + b*t + a)
}
Logistic <- function(t, N0, Nmax, r){
N <- N0 * Nmax / (N... |
addfd5c9594ab46b6e9fc6db6062117e544f1a20 | 09fe54286ef4bf3a4bae93f38cd3eba67858837b | /claret/plots/rawmix-tput-vs-lat.r | 7b088f400d691e73d98708e889a121357685098d | [] | no_license | bholt/claret-doc | 6add727969dc33e83686cc485ebbcad9b8aae424 | 6d91ceae0da53114810637286379f6d4cea93e07 | refs/heads/master | 2020-04-05T14:08:23.367486 | 2016-09-04T20:24:24 | 2016-09-04T20:24:24 | 32,820,492 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,641 | r | rawmix-tput-vs-lat.r | #!/usr/bin/env Rscript
source('common.r')
a <- parse.args()
# d <- data.or.csv('data/rawmix-tput-vs-lat.csv', gen = function() {
d <- data.rawmix(where="name like 'v0.28.1%' and nclients = 4 and duration = 30 and length = 4 and rate = 100 and total_time < 61")
d <- subset(d, commute_ratio == 0.5 & alpha =... |
504add888b4d151de8eca098e1cf9b7f52fb6e4a | 15a4c80cfe2686ebae020f6964a84df0f68f1381 | /models/jags/seedBagBurial/jagsNpConstantMortalityConstantGermination.R | 252876745d4a5b06c1ea06feb9bfe30b472e5845 | [
"MIT"
] | permissive | gregor-fausto/seed-bank-inference | 3bef67f9cb5092948b7d78902b4ac4d63d18cd4f | 4bf4b7056e6b76aaf2bc72fc38ec91d221d25809 | refs/heads/main | 2023-04-11T09:20:01.732744 | 2022-12-01T16:54:05 | 2022-12-01T16:54:05 | 436,662,955 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,033 | r | jagsNpConstantMortalityConstantGermination.R | model {
# - Priors ---------------------------------------------------------------
# - +Probability of mortality ----
p.m ~ dbeta(1,1)
# - +Probability of germination ----
p.g ~ dbeta(1,1)
# - Transformed parameters ---------------------------------------------------------------
# - +Mort... |
72e6ce3dd0b2e1cf9842ef5b6620c88366eb792d | 1b79b4efcb658fde21cc26d048166c850dac8dbb | /RW/fairing.R | ffb370e96f4eaeb1ee03ab0e3acf96d9e11579ce | [] | no_license | shimaXX/Rsource | 669dc81632710ab9b7f3a48faba03c953e991799 | e2d16f6c88be29b02418965c63040aa70a3adf84 | refs/heads/master | 2021-01-17T17:05:11.132207 | 2014-05-31T10:40:34 | 2014-05-31T10:40:34 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | R | false | false | 984 | r | fairing.R | # TODO: Add comment
#
# Author: n_shimada
###############################################################################
#library(som)
#library(mvpart)
setwd("C:/RW/galsterBIG")
data <- read.table("galster_verb_count.txt",sep="\t")
verb <- read.csv("galster_verb.csv",header=F)
usr <- read.csv("galster_usr.csv",h... |
8130e81f8125866b242b17c368b6f70c47d62744 | e2dca774ef7572091781ef0b393f59130e9b75c6 | /server.R | 733a5466104dcb38003fa728d5525099a15f8f73 | [
"CC-BY-4.0"
] | permissive | SonjaHahn/Cor_AO | e5bfb7c875ea06b2f16d85e90463f701d0031a38 | 04f5e06eb9ee280a28a4733bab559aa71bfdf51e | refs/heads/master | 2022-01-13T07:51:21.172625 | 2019-07-22T10:48:43 | 2019-07-22T10:48:43 | 198,184,521 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,081 | r | server.R |
library(shiny)
library(MASS)
library(ggplot2)
library(rmarkdown)
# Define server logic required to draw a histogram
shinyServer(function(input, output) {
daten <- reactive({
N <- input$Nges
m1 <- input$m1
sd1 <- input$sd1 # > 0
m2 <- input$m2
sd2 <- input$sd2 # > 0
... |
1d4cf5f305b2310400f761ffaa91442ce7741565 | 446b0f604c6eb71157118e4e69ee0e616d04c82a | /Chapter2/A5.R | a5f746cccf180ba6e8eb1bca21c5de03f1dd4b94 | [] | no_license | RWB0104/R | e5c4f1dd1e8f4b4f5ce6daa2ef5f6e2dee0af4de | f3f9053f2b6585bb84d290e07e8972353a1e8f74 | refs/heads/master | 2020-06-06T03:07:46.065207 | 2019-07-29T00:03:10 | 2019-07-29T00:03:10 | 192,621,110 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 51 | r | A5.R | exam = c(2 ,4 ,5 ,5 ,5 ,2 ,1)
which.max(exam)
|
c019b471ac2a8acfe4f1dc6102efff61b946bbc2 | 9f35ee6ed29a04bf6c5bafd7ff09a076f626dc01 | /ICP_score/4.11.clinical.mean-exp_of_ICP_all_posible_features.R | e8105c5a6ad789aeac3038d8c4d0bce95be1ad74 | [] | no_license | mywanuo/immune-cp | fb4fbb9ef20120a1d2cad65f524d0a34bc2b5d9d | 9fb0ee0eff8636008eb587b20d5d2c9e3da18dad | refs/heads/master | 2022-10-28T11:44:24.513357 | 2020-06-19T10:00:30 | 2020-06-19T10:00:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,959 | r | 4.11.clinical.mean-exp_of_ICP_all_posible_features.R | ### mean expression of each gene features in TCGA
library(magrittr)
library(tidyverse)
# data path ---------------------------------------------------------------
# server 1
basic_path <- file.path("/home/huff/project")
immune_res_path <- file.path(basic_path,"immune_checkpoint/result_20171025")
TCGA_path <- file.path... |
9e945ab628cad14e3851d886e2b25a5c42fe3abd | 9f7a468f257895dd163b5d7d6619d6b160db78a5 | /R/R-class/script/graphics2-20160427.R | cd0e43f80f4cb155ff8462038dd30c7f8c989d7d | [] | no_license | hunterlinsq/R-in-SOE | 5657c7dc48f53cd64b6f03133be08e9f876b387b | 0bd7301988ea2510d158273d647fd9e2a8b305ed | refs/heads/master | 2021-06-14T12:42:53.622731 | 2017-03-13T04:15:18 | 2017-03-13T04:15:18 | 58,655,412 | 1 | 0 | null | 2017-03-13T04:15:19 | 2016-05-12T15:48:38 | HTML | UTF-8 | R | false | false | 6,146 | r | graphics2-20160427.R | #************************************************************
#茎叶图
x<-c(25, 45, 50, 54, 55, 61, 64, 68, 72, 75, 75,
78, 79, 81, 83, 84, 84, 84, 85, 86, 86, 86,
87, 89, 89, 89, 90, 91, 91, 92, 100)
stem(x)
##
## The decimal point is 1 digit(s) to the right of the |
##
## 2 | 5
## 3 |
## 4 | 5
## 5 | 045
## 6 |... |
b75d65b142d72e124def5be47e9780c66663f777 | 9b301684365bd519fe661756335e96ba44e71a68 | /tests/testthat/test_draic.r | 6f89858d0704e8f56b9a29be4ecaa7d44e94501d | [] | no_license | chjackson/msm | faa982e8c77f178ae860e0655d25263e70726e5b | e4831870ae139431de1723178343aca03d2d30ec | refs/heads/master | 2023-09-01T00:13:45.911442 | 2023-08-29T15:41:59 | 2023-08-29T15:41:59 | 70,476,569 | 45 | 19 | null | 2023-05-18T15:40:38 | 2016-10-10T10:14:36 | R | UTF-8 | R | false | false | 1,434 | r | test_draic.r | psor.msm <- msm(state ~ months, subject=ptnum, data=psor, qmatrix = psor.q,
covariates = ~ollwsdrt+hieffusn,
constraint = list(hieffusn=c(1,1,1),ollwsdrt=c(1,1,2)),
control=list(fnscale=1))
## Merge states 2 and 3
psor$state3 <- ifelse(psor$state==3, 2,
... |
1c4c4de96b96c0c476dbdfceadbdf52a9c54c07a | 2960defa608b3fae5fe6dfec2d09553f889b2f91 | /04-exploratory-data-analysis/projects/project-02/code/plot3.R | fe95b3348dbf2e7f77b4a05368b809dea19064ac | [] | no_license | Pratiksapkota169/coursera-data-science-specialization | bff3f00f63c0eb1ff4970efa3174a12457db476c | dd88cc85fccc480c2c943f16f35fbb0874a6252d | refs/heads/master | 2020-04-13T20:14:14.638272 | 2018-01-14T18:52:42 | 2018-01-14T18:52:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,707 | r | plot3.R | ################################################################################
## Source: Coursera
## Specialization: Data Science
## Course: 4 Exploratory Data Analysis
## Week: Week 4
## Project: Project 2
## File: plot3.R
## Date: 2016-02-06
#########################################################################... |
cd28f145ea3cc25765cae5d4ff56fa090fed1647 | 396866f2bd1ea9cc6b443f71a988c7da51fc5c1e | /build_hc_tables/code/r/dsgn/cond_PERS.R | 751841fd316f2a248bd5b52697e574e79c708dc3 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | RandomCriticalAnalysis/MEPS-summary-tables | 8d946594a42e6f1d9b924da9fd25fe8312b5c4cb | d2efcc5d7a93e4eedfcf08e9ee955b92e3702e18 | refs/heads/master | 2020-04-09T20:52:05.833235 | 2018-09-10T18:16:59 | 2018-09-10T18:16:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 366 | r | cond_PERS.R | # Sum by person, condition, across event
all_pers <- all_events %>%
group_by(.subgrps., DUPERSID, VARSTR, VARPSU, PERWT.yy.F, Condition, count) %>%
summarize_at(vars(SF.yy.X, PR.yy.X, MR.yy.X, MD.yy.X, OZ.yy.X, XP.yy.X),sum) %>% ungroup
PERSdsgn <- svydesign(
id = ~VARPSU,
strata = ~VARSTR,
weights = ~... |
be9fce2257bcd812cf6e020af497ade61def1126 | 0aec55cd48f860f7d51fc62ca1067f3d8224a711 | /R/likelihoodGamma.R | b5e5707bdd4e294b709c81c2a266e4811607c079 | [] | no_license | cran/MsdeParEst | a83a0fb3fe7dacd30954a2863610836b6c531343 | db23b5f42d636274f8ca0aaddfd79cc3e28e345d | refs/heads/master | 2022-11-28T18:09:36.867669 | 2017-09-16T20:46:51 | 2017-09-16T20:46:51 | 103,786,504 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,287 | r | likelihoodGamma.R | # MsdeParEst R package ; file likelihoodGamma.r (last modified: 2017-09-15)
# Authors: M. Delattre, C. Dion
# Copyright INRA 2017
contrastGamma <- function(a, lambda, U, V, S, K, drift.fixed) {
invlambda <- 1/lambda
M <- length(S)
loglik <- vector(length = M)
phi1 <- drift.fixed[1]
... |
e3e68d687a7f5621bac63768ff6748b542334c83 | eeb4249594b67f0564e8563ab83ecf641ef3ed8f | /R/nclusters.R | 4aeb540ce5e3a5239caec120a11510e6ed805afc | [] | no_license | cran/smerc | 6e81aaa86f2405364f2368079a07f949317848fc | aab00112b726a9392395b1937f3f92e1bbd3cb3e | refs/heads/master | 2023-07-23T05:53:39.316070 | 2023-07-15T19:30:02 | 2023-07-15T20:30:28 | 48,088,790 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 615 | r | nclusters.R | #' Number of clusters
#'
#' \code{nclusters} returns the number of clusters
#' identified in a \code{smerc_cluster} object.
#' @param x A \code{smerc_cluster object}
#'
#' @return A non-negative integer.
#' @export
#' @examples
#' data(nydf)
#' coords <- with(nydf, cbind(longitude, latitude))
#' out <- scan.... |
103849ed959ff1f406021337f55f2d4cf2d37a3e | 35076f29694f5874a2ffab0a8b7d93c8773044b4 | /climate strike analysis.R | d90a5083fa3d5e58b99f0ec558d153a7682be3ca | [] | no_license | bblonder/climate_strike_2019 | 7b1e99c792c1b417fe67a4506c6382bbdde3c93e | f0722ede3ef782f8e70bf7f3da7455317a9ce53d | refs/heads/master | 2020-07-30T02:53:10.044482 | 2019-09-21T22:55:55 | 2019-09-21T22:55:55 | 210,062,899 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,645 | r | climate strike analysis.R | library(readxl)
library(dplyr)
library(ggplot2)
library(car)
library(DHARMa)
library(visreg)
library(ggrepel)
library(ggpubr)
data = read_excel('climate strike data.xlsx')
names(data) = make.names(names(data))
data$Turnout.estimate.factor = factor(data$Turnout.estimate,levels=c("hundreds","thousands","tens of thousand... |
146eb33c6a04395fae1016228f78fd1ed5a138a4 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/vrtest/examples/Wright.Rd.R | 55603ea8e80f631e2a8ba31ad550ae2c143bb69f | [] | 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 | 276 | r | Wright.Rd.R | library(vrtest)
### Name: Wright
### Title: Wright's Rank and Sign Tests
### Aliases: Wright
### Keywords: htest
### ** Examples
data(exrates)
y <- exrates$ca
nob <- length(y)
r <- log(y[2:nob])-log(y[1:(nob-1)])
kvec <- c(2,5,10)
Wright(r,kvec)
|
f04426afc2691b63f7e6704841e7124c793e1c00 | 2416d7df345c4605edfad5b2f0b899ef10eb7980 | /Task 3 - sentiment dynamics.R | 3f60de36d24796d24a3acc3b386696bf8d534151 | [
"MIT"
] | permissive | oleksandrkarasov/test_task | 9e35f057cb334719146488035feec85e82ac3913 | d289114d07a2858155348e0e9bcf022046de93de | refs/heads/main | 2023-08-07T12:02:18.937911 | 2021-10-09T12:39:53 | 2021-10-09T12:39:53 | 413,596,848 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,573 | r | Task 3 - sentiment dynamics.R | # This code is created for sentiment polarity assessment
# with sentimentr package.
# Author: Oleksandr Karasov, R community and contributors
# install.packages("sentimentr")
# install.packages("tidyverse")
# install.packages("lubridate")
library(ggplot2)
library(dplyr)
library(hrbrthemes)
library(sentime... |
4ad2303e37aa983a7b7105f07c37143f8877c96e | 5e6fce7ad124d9f2fa240496aad5eaf545c7f636 | /R/test5.R | 7c985cf326ee3bc9c2e32731ba19ac507763144e | [] | no_license | HeWei-imagineer/FormerCode | 656a121b3a381796d62ab5499453d8d21a957ba2 | a4989157b02f46ab0ae40105c4926265a41ae315 | refs/heads/master | 2021-09-11T15:28:07.384228 | 2018-04-09T08:45:23 | 2018-04-09T08:45:23 | 70,399,895 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 609 | r | test5.R | mushrooms <- read.csv("E:\\大三\\R语言与机器学习\\5\\mushrooms.csv",stringsAsFactors = TRUE)
str(mushrooms)
mushrooms$veil_type <-NULL
table(mushrooms$type)
install.packages("RWeka")
library(RWeka)
head(mushrooms)
mushroom_1R <- OneR(type~.,data = mushrooms)
mushroom_1R
summary(mushroom_1R)
#为何跟之前的结果一样
mushroom_1R <- OneR(type~... |
367fb8bff286b22788430c7ed843a31e467704a8 | 348151912a328dde6ce0c1254bec5524da555590 | /other/test-rtweet.R | 0cec7c087c2fcc99cf409810d97fa53749b07926 | [
"MIT"
] | permissive | rwright88/rwmisc | ceabf91a13c3280da34c64579622c38fc61e66dc | 27245180b0ef94e1b4af4221e2c5558dc2d214c5 | refs/heads/master | 2020-04-24T11:48:13.618043 | 2019-12-11T19:27:18 | 2019-12-11T19:27:18 | 171,937,873 | 0 | 0 | NOASSERTION | 2019-12-11T19:27:20 | 2019-02-21T20:09:47 | R | UTF-8 | R | false | false | 805 | r | test-rtweet.R | #' Calculate twitter score
#'
#' @param user Screen name or user ID
#' @return Double
#' @export
twt_user_score <- function(user) {
followers <- rtweet::get_followers(user, n = 75000, retryonratelimit = TRUE)
n_follows <- nrow(followers)
limit <- 90000
if (n_follows <= limit) {
data <- rtweet::lookup_users... |
85e634e75fbda0f92705f88e0b63f5a090d6acc6 | bc6c0bdfa801eabf8922ae5a33baa528ac1dea10 | /Hackathon1/Hackathon2.R | 21e98268f1462a3150f29982b2edabd92cac703d | [] | no_license | a12jain/R-Projects | e078631ebb1273579bbe9bf72974b3914d60a0fe | 81fc639076ea0d5d892df471957cecb835e6f337 | refs/heads/master | 2020-12-28T10:13:59.909650 | 2020-07-07T18:06:47 | 2020-07-07T18:06:47 | 238,285,084 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,241 | r | Hackathon2.R | library(caTools)
library(rpart)
library(rpart.plot)
setwd("D:/Great Learning/HackAll")
data.xl <- readxl::read_xlsx("train_set_v1.xlsx")
head(data.xl)
str(data.xl)
summary(data.xl)
colSums(is.na(data.xl))
sum(is.na(data.xl))
str(data.xl)
names(data.xl)
data_new <- data.xl[,-c(1,3,17)]
colSums(is.na(data_new))
sum(is.... |
018ff48a2c3061c597917d9a9232e3d831ad2d25 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/crmPack/examples/maxSize.Rd.R | 91b9d731f933e0b90792308f84a1c761a607b52c | [] | 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 | 766 | r | maxSize.Rd.R | library(crmPack)
### Name: maxSize
### Title: "MAX" combination of cohort size rules
### Aliases: maxSize maxSize,CohortSize-method
### Keywords: methods
### ** Examples
# Here is the rule for:
# having cohort of size 1 for doses <30
# and having cohort of size 3 for doses >=30
mySize1 <- CohortSizeRange(inte... |
fad0f7652558c195e2927ada7d905b814bd1f3b4 | a5b8881eed15254315a3309835f3061aca563d0d | /server.R | b86e2e1d119e4189dfb2b7e42e759a3cd3e60c08 | [] | no_license | finite2/phaseOne | 965b3cbf8d99e1024a5134f877771c573b0bdfae | 960f259ba54fdde048087c7f60bfb4e9067c8314 | refs/heads/master | 2020-07-22T22:42:02.946987 | 2016-08-25T11:01:21 | 2016-08-25T11:01:21 | 66,348,566 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 360 | r | server.R |
# Define server logic for random distribution application
library(shiny)
library(shinyjs)
shinyServer(function(input, output){
useShinyjs(html = TRUE)
extendShinyjs(script = "www/js/rjs.js")
observe({
if(!is.null(input$button)){
if(input$button > 0){
isolate({
js$addPatients(10... |
b7aae1ce57b7e8b6d656b815e993b1c91d576263 | 3fdfbd6728f19b4221129cc0d9637e2f1a4e0f3b | /R/translate_value.R | d72011702f35e738852ba2fb38032b2a85aa55e5 | [] | no_license | billdenney/bsd.report | 09e2b5642046ee51956d33199d6e1ae670b424ff | 778f0298da10f6369bd7ffaa1a5c20d3f8f691fa | refs/heads/main | 2023-02-19T22:49:25.273961 | 2023-02-15T21:54:41 | 2023-02-15T21:54:41 | 153,116,819 | 3 | 0 | null | 2023-02-15T22:57:48 | 2018-10-15T13:21:55 | R | UTF-8 | R | false | false | 1,254 | r | translate_value.R | #' Convert a value from something old to something new (using gsub)
#'
#' @param x The object to translate
#' @param old,new The old and new character strings
#' @param ... Passed to gsub
#' @param fixed Passed to gsub
#' @param exclude_col A vector of columns to exclude from data.frame translation
#' @return The obje... |
8a37a5f8db575fcf5c8e24e9a2720895baf7679e | a50e8e51cc49dc6624fc5f9c35ecedc46a7ac2ed | /R/get_sample_files_all.R | ee058773fa9677ae6a80571fa1b9431e6daf668e | [] | no_license | HughParsonage/taxstats | 7a98779d3ec2b2c97b3a78b0a56bcfeb0389661e | 330e0df1e6242c2836afa4dc497b8454939ef53e | refs/heads/master | 2020-04-16T23:38:05.842037 | 2019-11-15T10:38:09 | 2019-11-15T10:38:09 | 51,502,209 | 4 | 1 | null | 2019-06-14T11:49:49 | 2016-02-11T08:24:44 | R | UTF-8 | R | false | false | 2,683 | r | get_sample_files_all.R | #' Get the object containing all sample files
#'
#' @return All sample files bound by row \code{sample_files_all}. See \code{?sample_files}.
#'
#' \code{get_sample_files_all2()} is different in two ways: (1) uses a \code{fy_year} name,
#' instead of \code{fy.year}, and (2) uses the same names as in \code{sample_file_... |
7364ef1171544ab2285c11427ce862072c11e949 | 0ec1de41844954d397da2553e03c7001e32109a6 | /R/simple_linear_regression.R | 84ddb4906a85168f9c8876650fc4147639a22975 | [] | no_license | Irving-Estrada/Machine-Learning | d5bf31dd49d2ff4ba4123a678eeac241ba312a8a | bbe6d0281d9990ec95c63fb4908d2db7ae79e684 | refs/heads/master | 2022-05-03T23:39:16.731933 | 2022-04-01T02:54:11 | 2022-04-01T02:54:11 | 252,332,262 | 0 | 0 | null | null | null | null | ISO-8859-10 | R | false | false | 1,753 | r | simple_linear_regression.R | #Regresion lineal simple
#Importar dataset
dataset = read.csv('Salary_Data.csv')
#Cargar libreria y dividir conjunto entrenamiento y training
library(caTools)
set.seed(123)
split = sample.split(dataset$Salary, SplitRatio = 2/3)
training_set = subset(dataset, split == TRUE)
testing_set = subset(dataset, spli... |
aa81861e7a039ff1515e79746a883541b87f0499 | bc5aa2493a04fab4ab76a54c135b6c91bb50a921 | /hw10/phoneme_svm.R | 03101a17773eaf28e3ff93514f57728f919cf23d | [] | no_license | reking/stat852 | b3caba3d5ecfbb1e61874e955cb3e43b2fbdcd1d | e704cfe9f4f49b43fda64211a78188bf9cfabc97 | refs/heads/master | 2021-01-10T05:04:34.782068 | 2016-01-08T06:08:18 | 2016-01-08T06:08:18 | 44,140,619 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,844 | r | phoneme_svm.R | phoneme <- read.table("~/stat852/data/phoneme.csv", header=TRUE, sep=",", na.strings=" ")
kernels <- cbind("aa","ao","dcl", "iy", "sh")
gammao <- 10^(-3:0)
costa <- 10^(-3:1)
degrea <- cbind(1,2,3)
coefa <- cbind(0,1,5)
iter=5
phoneme.val <- matrix(NA,nrow = length(degrea)* length(coefa)* length(gammao) * length(... |
d0f3f675d044e67c3b22fe7594af441b885300e8 | 653680dc0e122ca7531e1f9ef67c697a09886981 | /src/data/Get_data.R | cbfa2a0d9fdb5fb65deb7d9f4948c88fd7306deb | [] | no_license | lifewatch/Tripod-frame_Performance-test | 00088d32f9319e0e26b7fee6afef117a0bcb00c1 | bf33ef4ec5da2a898ca2c03d28cf8edc25d01f77 | refs/heads/master | 2022-11-10T11:23:27.561626 | 2020-06-22T14:10:18 | 2020-06-22T14:10:18 | 252,498,984 | 0 | 0 | null | 2020-06-22T14:10:19 | 2020-04-02T15:48:28 | R | UTF-8 | R | false | false | 759 | r | Get_data.R |
#############################
# Get data and make folders #
#############################
# Jolien Goosens - Flanders Marine Institute (VLIZ) / Marine Biology Research Group, Ghent University (Marbiol)
# R version 3.6.2
#### Function to create directory ####
mkdirs <- function(fp) {
if(!dir.exists(fp)) {
dir.... |
ed1812621474be55ea3adff0154ccfc446d60836 | 6464efbccd76256c3fb97fa4e50efb5d480b7c8c | /paws/man/imagebuilder_cancel_image_creation.Rd | 7cbfd78c99e31c3e8f9d534d5ca3155df0ee0601 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | johnnytommy/paws | 019b410ad8d4218199eb7349eb1844864bd45119 | a371a5f2207b534cf60735e693c809bd33ce3ccf | refs/heads/master | 2020-09-14T23:09:23.848860 | 2020-04-06T21:49:17 | 2020-04-06T21:49:17 | 223,286,996 | 1 | 0 | NOASSERTION | 2019-11-22T00:29:10 | 2019-11-21T23:56:19 | null | UTF-8 | R | false | true | 839 | rd | imagebuilder_cancel_image_creation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/imagebuilder_operations.R
\name{imagebuilder_cancel_image_creation}
\alias{imagebuilder_cancel_image_creation}
\title{CancelImageCreation cancels the creation of Image}
\usage{
imagebuilder_cancel_image_creation(imageBuildVersionArn, clientTo... |
3a3918a5bac5d1aef4e7522ede2a779043730374 | ed995d2f8a8e1bf3f5821cdb4ba424d70aca6e43 | /dashboard/server.R | f332f1e86fa118f35a58dc3cc65094f4ad1d762c | [
"MIT"
] | permissive | OHI-Baltic/bhi-shiny | ca71437e2ac9918cad8f77bd98b46c077006a75e | be4378b1308e5b7dc25756272a5b94c33d2ff022 | refs/heads/master | 2021-11-09T02:16:10.554772 | 2021-08-11T09:31:48 | 2021-08-11T09:31:48 | 221,214,807 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 33,135 | r | server.R | function(input, output, session){
spatial_unit <- reactive({input$spatial_unit})
dimension <- reactive({input$dimension})
view_year <- reactive({input$view_year})
# legend_title <-
## WELCOME ----
## flowerplot
values <- reactiveValues(flower_rgn = 0)
observeEvent(
eventExpr = input$flower... |
f3b2122f1deaffef55ea9ffea246ab0d1e51a94c | e1cbbf8791b0ac6d40f6d5b397785560105441d9 | /man/lmomTLgpa.Rd | 6f5cfca121a35dd2352a0a255b5f2f766041beb3 | [] | no_license | wasquith/lmomco | 96a783dc88b67017a315e51da3326dfc8af0c831 | 8d7cc8497702536f162d7114a4b0a4ad88f72048 | refs/heads/master | 2023-09-02T07:48:53.169644 | 2023-08-30T02:40:09 | 2023-08-30T02:40:09 | 108,880,810 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,930 | rd | lmomTLgpa.Rd | \name{lmomTLgpa}
\alias{lmomTLgpa}
\title{Trimmed L-moments of the Generalized Pareto Distribution}
\description{
This function estimates the symmetrical trimmed L-moments (TL-moments) for \eqn{t=1} of the Generalized Pareto distribution given the parameters (\eqn{\xi}, \eqn{\alpha}, and \eqn{\kappa}) from \code{\link{... |
f3ab18904f2bf9dbf47b385663a3a193b8c48110 | c6ed46f34454d3febb7f284a946c8fcd39a7a1b0 | /man/norm_dist_ci_data.Rd | 6d2c43fc25ad5c37315864c61fa26f29b5499c6d | [
"MIT"
] | permissive | simonecollier/lizardHMM | e1bf4559a5ea23a995a6e5da4a3284ddd5e2aa1b | 269d4c6c863bf5385acc8183c45d7f8e379ac952 | refs/heads/master | 2023-08-24T11:21:37.176643 | 2021-11-07T05:13:14 | 2021-11-07T05:13:14 | 383,538,271 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,609 | rd | norm_dist_ci_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/norm_ci_functions.R
\name{norm_dist_ci_data}
\alias{norm_dist_ci_data}
\title{Compute the confidence intervals of fitted normal distributions}
\usage{
norm_dist_ci_data(
x,
num_states,
num_variables,
num_subjects,
sample,
state_de... |
da45bd404ede99786c2f0b62be539eb2c479930a | 454b3e35e84069026d4af58a62439e85822faff6 | /Models_each_predictor/Random_intercepts_alltypes.R | ae93e34de63558b4456d22c8cf5d6ce410eca963 | [] | no_license | COINtoolbox/NB_GCs | 14acdf8426a4012c40020378e67ff70cab98a3cb | e4d0b6cc8df371ed3a7b6e90c132de4c83d24364 | refs/heads/master | 2020-06-15T06:06:04.787271 | 2015-06-30T06:38:00 | 2015-06-30T06:38:00 | 27,399,804 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,285 | r | Random_intercepts_alltypes.R | # R script GLMM
# Copyright (C) 2014 Rafael S. de Souza, Bart Buelens, Ewan Cameron
#
#This program is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License version 3 as published by
#the Free Software Foundation.
#This program is distributed in the hope that it... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.