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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
560df4e417c64bc79f38bcff0e6ae3552805f953 | e77d89b8b8bf89baf5043b5f9b5f76b162a5e99b | /code/lmBootOptimized.R | 31420a728f107e8cdef416ab4ddf46b68b70af10 | [] | no_license | samomidi/Predicting-Oxygen-intake---R-and-SAS-bootstrapping- | c795ccbf5e6415287f41f5ae4186f81249accc16 | 5abda194f2b9b03ddd46195d197ea6cc06af4f6a | refs/heads/master | 2020-04-15T13:47:07.689324 | 2019-01-10T21:34:02 | 2019-01-10T21:34:02 | 164,729,898 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,382 | r | lmBootOptimized.R | lmBootOptimized <- function(inputData, nBoot, xIndex, yIndex){
# Purpose:
# Optimize the bootstrapping code without clustering
# Inputs:
# inputData - data frame
# nBoot - integer - number of resampling
# xIndex - list of integers - the indexes of explanatory variables
# yIndex - integer - index... |
0d5c2f67049262632e5130aa1cd923329baba8e1 | e78ae3fdd458fc4b8bee318025614d5d6fd2af8f | /R/cdtDownloadReanalysis_jra55_apps.R | 540887e451c8cb11f8f3f31f10be622938de945d | [] | no_license | rijaf-iri/CDT | b42fd670adfad59c08dcf990a95f9f1ebea9a9e4 | e1bb6deac6e814656bf5ed13b8d4af4d09475c9d | refs/heads/master | 2023-07-27T09:16:15.407835 | 2023-07-21T02:16:42 | 2023-07-21T02:16:42 | 136,133,394 | 10 | 12 | null | 2018-09-28T03:56:51 | 2018-06-05T06:53:11 | R | UTF-8 | R | false | false | 6,215 | r | cdtDownloadReanalysis_jra55_apps.R |
#' Submitting subset requests for JRA55 minimum and maximum temperature at 2 meter above ground.
#'
#' Function to request a subset of JRA55 minimum and maximum temperature at 2 meter above ground.
#'
#' @param variable the variable to be requested, available options are "tmax": maximum temperature and "tmin" minimum... |
4ce2251091fa22d9041373ff074a77836009ef5a | 1382c19c0c12e5aa5adb46423f30fea565cc4bf5 | /testing.r | dc4173e8bf518f8036c9959998245b7ce262d6f3 | [] | no_license | alfcrisci/PsychrometricChart | 3bb61eb1e62bf04f9ab35cef5356600632a3e618 | 3912f67e587df890c402282c579e12b225a0bb6e | refs/heads/master | 2020-04-06T04:36:12.182628 | 2016-01-24T04:03:30 | 2016-01-24T04:03:30 | 66,107,848 | 1 | 0 | null | 2016-08-19T19:39:54 | 2016-08-19T19:39:54 | null | UTF-8 | R | false | false | 399 | r | testing.r | source('psyplot.r')
obj = hlines()
obj = set_t_d_list(obj)
statemin = mas(W = obj$w_min,t_d = obj$t_d_min,p = obj$p)
statemax = mas(W = obj$w_max,t_d = obj$t_d_max,p = obj$p)
obj$x_min = statemin$h
obj$x_max = statemax$h
obj$x_list = seq(obj$x_min,obj$x_max,(obj$x_max-obj$x_min)/(obj$nlines-1))
x = obj$x_list[4]
obj$w... |
aa537a69cd49216f4b32e5780ceee50c060aaf44 | 07807de368091227d4474eb572586b3519912537 | /R/negent3D.R | 4f1e3c7f6c194f153814e9f8db9046394869995b | [] | no_license | cran/msos | cbb0ab4bf892d666ced159c9a98beedd7ea60bde | 7247b75464537542ed9697586c096545bbaf57fd | refs/heads/master | 2021-05-21T11:54:06.859675 | 2020-10-31T05:10:07 | 2020-10-31T05:10:07 | 17,697,697 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,354 | r | negent3D.R | #' Maximizing negentropy for \eqn{Q = 3} dimensions
#'
#' Searches for the rotation that maximizes the estimated negentropy of the
#' first column of the rotated data, and of the second variable fixing the
#' first, for \eqn{q = 3} dimensional data. The routine uses a random start for
#' the function optim using the si... |
58081f385f55b16d2e301861cb4e1f0cedd18706 | d97b180c5fad5b297c782e548fe054aaaa12dd05 | /Data_sim.R | a521428835dee4a4e373e904122c50a103c5f1cc | [] | no_license | SunnySunnia/Data-Simulation | 28e527416ad09a1fccdfb370efda986c6405f033 | e9abd5035142fc9019b01e14171ef47562bad04d | refs/heads/master | 2021-01-01T05:17:41.113868 | 2016-05-15T08:07:24 | 2016-05-15T08:07:24 | 58,089,694 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,893 | r | Data_sim.R |
setwd("C:/HS616/Data-Simulation")
#set.seed(10)
generateData = function(N=412){
age = sample(c(runif(412,16,36)),N,replace = T)
mVIQ = sample(c(abs(105-rweibull(376,2, 45))+22, rep(NA,(412-376))),N,replace = T)
mPIQ = sample(c(rnorm(378, 88.5,14.4), rep(NA,(412-378))),N,replace = T)
mIQ = sample(c((mVIQ+mPIQ)... |
71c0cf318f3936285617f39e2400d657a2e4ab3c | 2148311b5ee85a79c7db68cc108ebb621958ff7a | /Druk_trace_app_inspection.R | 4336b67dab3575da8d2bc276e0acfe42c8a3cce8 | [] | no_license | UgyenNorbu/Druk_Trace | a1bcd1a042147478f03afea5eed8f272db800cb9 | 05f5779e94249b22f7cec8f661bdaae9dbbf558b | refs/heads/master | 2022-11-05T22:12:58.237586 | 2020-06-16T11:05:02 | 2020-06-16T11:05:02 | 272,255,781 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,919 | r | Druk_trace_app_inspection.R | library(tidyverse)
library(ggplot2)
library(googlesheets4)
library(googledrive)
library(WriteXLS)
library(scales)
library(lubridate)
library(gganimate)
library(ggrepel)
# DATA IMPORT --------------------------------------------------------------
file_list <- read_csv("backup_csv/file_list.csv")
my_col_names <- c("Sl.... |
5aeccdccea029f2132a9626dad8d26f78cba4285 | a1cdc43213dcd9b48cd2df7e33effe3e32ced8ff | /analysis.02.R | f3cd5c726f94a1e7edee52e43f2e12340339bf0a | [
"MIT"
] | permissive | yanlinlin82/190926a_How-Long-Will-I-Live | 299dab01a7d9d880fb5406ae04b276eeee882797 | 677e306f70b5cf794d32dfb8ea2f75e70abf74db | refs/heads/master | 2020-08-01T19:43:43.851592 | 2019-10-19T16:51:19 | 2019-10-19T16:51:19 | 211,095,926 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,711 | r | analysis.02.R | library(tidyverse)
a <- read_tsv("data/life-time.txt")
gender <- "男"
age <- 37
dl <- NULL
for (gender in c("男", "女")) {
for (age_level in seq(0, 95, by = 5)) {
message("process: ", gender, ", ", age_level)
b <- tibble(age_lower = a$`年龄下限`,
age_upper = a$`年龄上限`,
total = a[[p... |
b5c144a8501161f2d9ae4487d7820c9ac910b085 | 9db1042b59eccaa4729882c619631599426b6f14 | /cleanSentence.R | 5c1aa70cc08870acd5a22cd03561e822b64abee1 | [] | no_license | sreifeis/maRkov-chain-gang | 4ef242c22922888d302eb4d1f81981f5a8b93479 | 6a09359ddf17fdf92b8d95396b52fa3e19002201 | refs/heads/master | 2020-05-01T19:09:04.733684 | 2019-04-26T22:50:24 | 2019-04-26T22:50:24 | 177,640,699 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,022 | r | cleanSentence.R | #' Clean Sentence
#'
#' Standardizes the sentence so that it is in a proper format to be
#' analyzed in other functions.
#'
#' First, we convert the sentence to character in case it is of
#' variable type factor. Then, we make the sentence lower case,
#' and finally we remove all punctuation from the sentence.
#'
#'
... |
1b39701c211b30f430bd13b0147f07c71bff3d29 | faf69836350c93381d91748de48ffffc2b78ea02 | /data_mgmt/data_prep/rc_motif_count.r | 35f83df83dd98bcb246b5ac5c3b0f381d8fa9e5d | [
"MIT"
] | permissive | theandyb/smaug-redux | 0ffc09ea2761fd1ff77aa4435de0994a18913db8 | 6edf394b40d106ffec8f6791e0ee525fb799963b | refs/heads/master | 2022-04-30T20:53:50.436051 | 2022-04-27T21:08:43 | 2022-04-27T21:08:43 | 143,439,173 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 938 | r | rc_motif_count.r | library(tidyverse)
library(stringi)
library(here)
library(yaml)
args <- yaml.load_file(here("_config.yaml"))
attach(args)
k <- "7"
chromosomes <- seq(1,22)
results_dir <- paste0(analysisdir, "/motif_counts/",k,"-mers/full")
for(chr in chromosomes){
cntFile <- paste0(results_dir, "/", "chr", chr, "_bins.tsv")
... |
10831edaf380701241757dc992ba147736e00748 | 302386ef65a89f805809f5bf2b6ed20bd3951610 | /code/R-files/parallelStudy.r | afe8fed9f0279cbb1176f1bab5100785218dc14f | [
"BSD-3-Clause"
] | permissive | PyQuake/earthquakemodels | d7a90b72c452294923e00aead78a7fd3356b0b6b | a10b30c00c072a4061dbc3ae02c3cd86b4cda61c | refs/heads/master | 2020-03-27T21:00:47.804765 | 2017-10-27T00:19:26 | 2017-10-27T00:19:26 | 25,963,657 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,883 | r | parallelStudy.r | setwd("~/Documents/estudos/unb/earthquakemodels/code/")
options(scipen=999)
library(grid)
library(latticeExtra)
library(png)
library(grDevices)
library(RColorBrewer)
loadData = function(type, region, year, depth){
file = paste('loglike/',type,region,'_',depth,'_',year,".txt",sep="")
data = read.csv2(file, se... |
cc476123df356e4a9e7575174b45f83a36ac8ac5 | e721d50452830fbc61dde74c89ddf948561d558c | /tests/test_classic_examples.r | ec3b7bb4e069eb6327f7f956c38879751795782b | [] | no_license | ShiruiH/apsimx | 71fb1994e0e2614e11b00c731ef451338b761b67 | c970f0c0779fb18319fb1d793fa857e717eb0fb0 | refs/heads/master | 2020-12-12T21:46:56.426362 | 2020-01-16T04:51:40 | 2020-01-16T04:51:40 | 234,236,853 | 0 | 0 | null | 2020-01-16T04:42:51 | 2020-01-16T04:42:50 | null | UTF-8 | R | false | false | 738 | r | test_classic_examples.r | ## Write a test for running APSIM only under Windows
require(apsimx)
apsim_options(warn.versions = FALSE)
run.classic.examples <- grepl("windows",Sys.info()[["sysname"]], ignore.case = TRUE)
if(run.classic.examples){
ade <- auto_detect_apsim_examples()
ex <- list.files(path = ade, pattern = ".apsim$")
## ... |
3471fb486732ee7ad27fe7612f85450f8d88eec9 | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googleadexchangebuyerv14.auto/man/UpdatePrivateAuctionProposalRequest.Rd | 3f7ba5218210bd60ff8394ed681bb0ac3cf3495b | [
"MIT"
] | permissive | GVersteeg/autoGoogleAPI | 8b3dda19fae2f012e11b3a18a330a4d0da474921 | f4850822230ef2f5552c9a5f42e397d9ae027a18 | refs/heads/master | 2020-09-28T20:20:58.023495 | 2017-03-05T19:50:39 | 2017-03-05T19:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 991 | rd | UpdatePrivateAuctionProposalRequest.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/adexchangebuyer_objects.R
\name{UpdatePrivateAuctionProposalRequest}
\alias{UpdatePrivateAuctionProposalRequest}
\title{UpdatePrivateAuctionProposalRequest Object}
\usage{
UpdatePrivateAuctionProposalRequest(externalDealId = NULL, note = NULL... |
af88456428692f8c14955c55f76f5f7d5981b512 | a4e57b6e4bfd13cb326cdacf014c2bd57d583513 | /Voedingsnelheid aanzet Vf.R | 7de17492671008833fd5cf52501f0e769a62f1f2 | [] | no_license | Dennitizer/CNC | 2da37e1e5083e5e5426229166abcb083db217c6e | 34e309bdbc7f887a86e0996aed27febeeefe9eb7 | refs/heads/master | 2021-06-29T20:18:40.491045 | 2020-09-28T13:23:24 | 2020-09-28T13:23:24 | 158,672,085 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 145 | r | Voedingsnelheid aanzet Vf.R | # Voedingssnelheid / aanzet Vf
Fz = 0.075 # Voeding per tand
N = 16000 # Toerental
Zc = 2 # Aantal tanden
Vf = Fz * N * Zc
Vf # mm/Min |
f901421346b785e1570825cd8545719ad9eeb32d | 6390c203df735c874044a8ffa0f3692bf6010a6a | /man/TPP.NW.Rd | 3d5ce79779313f5f67c192261dde2de8ea41b23e | [
"MIT"
] | permissive | felixlindemann/HNUORTools | c8c61ec550e2c6673c8d3e158bd7bc21208b26ab | 0cb22cc0da14550b2fb48c996e75dfdad6138904 | refs/heads/master | 2020-05-15T18:37:48.423808 | 2018-02-04T11:04:52 | 2018-02-04T11:04:52 | 16,206,897 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,730 | rd | TPP.NW.Rd | \docType{methods}
\name{TPP.NW}
\alias{TPP.NW}
\alias{TPP.NW,GeoSituation-method}
\title{Transportation-Problem -- North-West-Corner-Rule}
\usage{
TPP.NW(object, ...)
\S4method{TPP.NW}{GeoSituation}(object, ...)
}
\arguments{
\item{object}{Object of Type \code{\link{GeoSituation}}}
\item{...}{\emph{Optional Param... |
7ec647684423dd1025df1374acbfa94a879edff0 | c0a843db4d4c1e0a63f8f9e91d32246a34aaa0f6 | /tests/regtest-weights.R | eeca31f634a541c04dbdf63c6cf0eae35a2f3099 | [] | no_license | cran/partykit | 6765cf014fb4528894c34be20967d2b61265ff86 | e43d2286d0d67830cff8ff7a1ce719782b834d06 | refs/heads/master | 2023-04-27T04:43:46.983139 | 2023-04-14T08:20:02 | 2023-04-14T08:20:02 | 17,698,361 | 7 | 15 | null | null | null | null | UTF-8 | R | false | false | 3,950 | r | regtest-weights.R | suppressWarnings(RNGversion("3.5.2"))
library("partykit")
## artificial data ---------------------------------------------------------------------------------
set.seed(0)
d <- data.frame(x = seq(-1, 1, length.out = 1000), z = factor(rep(0:1, 500)))
d$y <- 0 + 1 * d$x + rnorm(nrow(d))
d$w <- rep(1:4, nrow(d)/4)
dd <-... |
61d80a73d21a6cd6358ebf13b74e7590d65d3402 | caf361bdbc2459187fb58fae876bad5497e532a1 | /man/plot_pseudotime_heatmap.Rd | 3b4804de974c5c30c5841be0b1c9f0ff22468e70 | [
"MIT"
] | permissive | ddiez/scmisc | 35efffabe859ddc6ac9c2c20f00d283a376def44 | f19819e7e736cfd167fd4b0c29d7290d66ab961a | refs/heads/master | 2023-08-17T04:08:03.971880 | 2023-08-06T13:35:17 | 2023-08-06T13:35:17 | 180,719,852 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 571 | rd | plot_pseudotime_heatmap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/trajectory.R
\name{plot_pseudotime_heatmap}
\alias{plot_pseudotime_heatmap}
\alias{plot_pseudotime_heatmap.Seurat}
\title{plot_pseudotime_heatmap}
\usage{
plot_pseudotime_heatmap(x, ...)
\method{plot_pseudotime_heatmap}{Seurat}(
x,
featu... |
ddb143fdb224bcf15ba6ede30cf6d4bdb665f887 | 51d951ec46b6e9d1e6449b22e71b56ba19b377fd | /ui.R | cfcfcf70c80c155f525fa5fca744888614097d24 | [] | no_license | congiceee/Developing_Data_Products_Assignment | 8b041f6a2d4792fc2bea4a2d2b706ffb1ef4b255 | 213b5a5fe6caeb21f1e9c9deabf51839230bea37 | refs/heads/master | 2021-01-20T14:49:49.158092 | 2017-05-08T23:13:16 | 2017-05-08T23:13:16 | 90,679,966 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,986 | r | ui.R | library(shiny)
shinyUI(fluidPage(
titlePanel("Analysis of the 'abalone' data"),
sidebarLayout(
sidebarPanel(
sliderInput("percentage",
"Percentage of considered observations (randomly chosen):",
min = 0, max = 100, value = 25),
h4('Please choose one outcom... |
82c6a34a3bb007669b8c7459e830e0d77462c3f2 | cf95b7cb899ecc28629f30fadfc34b74d19712c1 | /man/RSE.Rd | 3ec7bf3f368cf2093a590b78e55716b0703a360e | [] | no_license | cddesja/REPM | 02bfd4d34db4f4653ae87ce741d0d8493df4ab29 | 543b2df65dd2b438c99d9e77edb3837bfb96f9f0 | refs/heads/master | 2020-09-24T00:57:19.758881 | 2017-02-01T19:45:26 | 2017-02-01T19:45:26 | 66,779,271 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,510 | rd | RSE.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{RSE}
\alias{RSE}
\title{The Rosenberg Self-Esteem Scale}
\format{A data frame with 1000 participants who responded to 10 rating scale items in an interactive version of the Rosenberg Self-Esteem Scale (Rosenb... |
ee41143274b7d25abc39984999dab4889322da70 | b0b8b208ff6e7b6308a1b08df1d3606bf4e5f98d | /07. Regression Models/quiz01.R | e20dbe1f017f37347266795a12d255aa57487cd2 | [] | no_license | changboon/coursera | f5028a9a05019affc531268f68d1ae3fa878295e | a7eba816047d4352199d26dae3ad1dd16c0b8ba1 | refs/heads/master | 2021-01-13T02:23:56.323219 | 2015-01-20T10:01:30 | 2015-01-20T10:01:30 | 29,004,448 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 938 | r | quiz01.R | quiz 01
1.
x <- c(0.18, -1.54, 0.42, 0.95)
w <- c(2, 1, 3, 1)
u <- c(0.1471, 0.0025, 1.077, 0.300)
sapply(u,function(u){
sum( w*(x-u)^2 )
})
2.
x <- c(0.8, 0.47, 0.51, 0.73, 0.36, 0.58, 0.57, 0.85, 0.44, 0.42)
y <- c(1.39, 0.72, 1.55, 0.48, 1.19, -1.59, 1.23, -0.65, 1.49, 0.05)
beta1<-cor(y,x)* sd(y)/sd(x)
beta0<-m... |
cc7aa4dace1618ae99a8fc8910edcf2977ceac87 | 3c237a825eb64d547a4788eaaeeda7fb66354c5e | /cachematrix.R | 75cea72c9a8f8517a509dba9ed79a56580bbb62d | [] | no_license | guiml/ProgrammingAssignment2 | af65acbdc85dac271225274c27066f5e9aa56fd2 | cea7ff87b20615c609668f6f102274c66844aa78 | refs/heads/master | 2021-01-15T22:38:49.498172 | 2016-02-28T20:45:40 | 2016-02-28T20:45:40 | 52,684,804 | 0 | 0 | null | 2016-02-27T19:31:24 | 2016-02-27T19:31:24 | null | UTF-8 | R | false | false | 1,574 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
#invertedm is where the result (inveted matrix) is stored.
#Everytime makeCacheMatrix is called, this string is set to null
#This function has 4 functions in it:
# - set, to set... |
3b131c1005f1ed5629cd43667dc71c58efa7818a | 65592e8ad8df4a48b22440b879d8d6735f533d4c | /NEU-IntermediateAnalytics/Dong Quoc Tuong-M3 Project- Lasso Pratice.r | 981f178803588ddf773cf151813b2d82a96c3e95 | [] | no_license | saisowmya7095/R-Studio | 78c8c7ac246ff7a7284a1f50c84a0ef4705500d6 | 22407d01dea94841df8e3f9d7b9c744b655b1b2b | refs/heads/master | 2023-03-10T15:22:19.921633 | 2021-02-23T16:49:14 | 2021-02-23T16:49:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,095 | r | Dong Quoc Tuong-M3 Project- Lasso Pratice.r | rm(list = ls())
install.packages('ncvreg')
library('ncvreg')
install.packages('bigmemory')
library('bigmemory')
install.packages('biglasso')
library('biglasso')
#Excerise 1
install.packages('lars') #Install lars,gmlnet packages and introduce the diabetes dataset
library('lars')
data(diabetes)
inst... |
d7ca26f35559fc7fb3066e981f1fc9763dd3cfc1 | b2702e65d031a9e0cb8980154b8f7709fbc0779b | /Scripts/0_msigdb_FET.R | db91da085032aa426dc29763ca5e828cb0d59acf | [] | no_license | integrativenetworkbiology/Tumor_invasion_esLUAD | 51027e40187d3db6e5fa0710da259c2859a8ace1 | 64637b2adf8b9a9ed814179c5f01f929f0c7773e | refs/heads/main | 2023-07-13T00:46:07.306947 | 2021-08-30T10:36:36 | 2021-08-30T10:36:36 | 401,305,016 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,025 | r | 0_msigdb_FET.R | msigdb_fish <- function(query, gene_univ, dataset)
{
set<-getGmt(con=paste("./Msigdb_database/",dataset,".all.v6.0.symbols.gmt",sep=""),geneIdType=SymbolIdentifier(),collectionType=BroadCollection(category=dataset))
univ<-length(gene_univ)
gs1<-query
len1<-length(unique(query))
res<-matrix(NA,nr=len... |
0356c6d3894f86d078781c6cfab4aae7e192c02c | dfa6f9ae20dd7b548b25d917c016fc3d5780ae5c | /R/calc_ess.R | af8c4eebb486dd59e98987470f032aa58cb3e18b | [
"MIT"
] | permissive | venkataduvvuri/RBeast | 13de4b2a8a7fed45ed2f35d6046625a3e0603b9c | 1e9ba811a1ac328dc4ee9209bb0c68c19fa3e43e | refs/heads/master | 2022-04-27T11:04:19.878296 | 2019-04-10T21:50:12 | 2019-04-10T21:50:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,356 | r | calc_ess.R | #' Calculates the Effective Sample Size
#' @param trace the values without burn-in
#' @param sample_interval the interval in timesteps between samples
#' @return the effective sample size
#' @examples
#' filename <- system.file(
#' "extdata", "beast2_example_output.log", package = "RBeast"
#' )
#'
#' # Parse the... |
b78c81fda65d32305e1d6713c4a5283e2146b8a7 | 1ec32c44fa24619daf1a95c608bc845d8bc1da68 | /Day12/day12.R | 423e2a82c1ba264e486267a72ac24fe74873a4ba | [] | no_license | Darius-Jaraminas/advent_of_code_2019 | 7a363af95f2dde0206768cdd37fa082ca0c215d7 | bc00c84baed7cb1f282715e03cf54f5617a6c28c | refs/heads/master | 2020-09-22T09:45:55.195125 | 2019-12-20T13:42:28 | 2019-12-20T13:42:28 | 225,144,508 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,176 | r | day12.R | library(dplyr)
library(tidyr)
source("fun.R")
# part 1
t1 <- read_moons(fnm = "test1.txt")
r1 <- run_time(pos = t1, t = 1)
e1 <- calculate_energy(x = r1)
ch1_pos10 <- data.frame(
x = c(2, 1, 3, 2),
y = c(1, -8, -6, 0),
z = c(-3, 0, 1, 4)
)
ch1_vel10 <- data.frame(
x = c(-3, -1, 3, 1),
y = c(-2, 1, 2, -1),
... |
ea137aa1d948c59fbd55dfc439270b5ab994cb7c | 2e731f06724220b65c2357d6ce825cf8648fdd30 | /BayesMRA/inst/testfiles/rmvn_arma_scalar/libFuzzer_rmvn_arma_scalar/rmvn_arma_scalar_valgrind_files/1612726097-test.R | e347ccbc9f522a486c8195f4b89e22f621035229 | [] | no_license | akhikolla/updatedatatype-list1 | 6bdca217d940327d3ad42144b964d0aa7b7f5d25 | 3c69a987b90f1adb52899c37b23e43ae82f9856a | refs/heads/master | 2023-03-19T11:41:13.361220 | 2021-03-20T15:40:18 | 2021-03-20T15:40:18 | 349,763,120 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | 1612726097-test.R | testlist <- list(a = 1.32963809623256e-105, b = 3.67090132574707e-317)
result <- do.call(BayesMRA::rmvn_arma_scalar,testlist)
str(result) |
d5ddede862ab3178b7db6c4f1e230433c0bfc163 | a1c59394a2b42d6756c2b9564697db714b27fe49 | /man/as.s2dv_cube.Rd | 30f9abd40e6f2d9bd26143a4cc9d12a588d48d11 | [] | no_license | cran/CSTools | e06a58f876e86e6140af5106a6abb9a6afa7282e | 6c68758da7a0dadc020b48cf99bf211c86498d12 | refs/heads/master | 2023-06-26T01:20:08.946781 | 2023-06-06T13:10:05 | 2023-06-06T13:10:05 | 183,258,656 | 2 | 2 | null | null | null | null | UTF-8 | R | false | true | 3,872 | rd | as.s2dv_cube.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/as.s2dv_cube.R
\name{as.s2dv_cube}
\alias{as.s2dv_cube}
\title{Conversion of 'startR_array' or 'list' objects to 's2dv_cube'}
\usage{
as.s2dv_cube(object, remove_attrs_coords = FALSE, remove_null = FALSE)
}
\arguments{
\item{object}{An object... |
f2bbd8c29fc7a2f5ff1d3b7508cedc2bbb0b9b74 | 7046ab8d510b5f2d8719c017555edee3473176cf | /develop/example_vMB.R | be676a46fe2d72c80fd160660c97296ea295b3c9 | [] | no_license | kosugitti/bmds | 046647d233f366260f4d1bf5d1871da9f1e39d17 | 4703a8416fd80066cb352f9f12aee8e068640d41 | refs/heads/master | 2021-01-10T07:56:47.034529 | 2016-03-11T03:13:46 | 2016-03-11T03:13:46 | 52,501,082 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 994 | r | example_vMB.R | rm(list=ls())
# B-MDS
library(rstan)
rstan_options(auto_write = TRUE)
options(mc.cores = parallel::detectCores())
example1 <- matrix(c(0,1,5,5,0,1,1,5,0),nrow=3,byrow=T)
example2 <- matrix(c(0,1,1,7,1,0,1,7,7,7,0,1,1,1,7,0),nrow=4)
example3 <- matrix(c(0,7,7,7,1,0,1,7,1,7,0,1,1,1,7,0),nrow=4)
example4 <- matrix(c(0,5... |
216103954a0810fbcc1bd7b231498ec69e2b5ad4 | c92e159e087121d6eb73a5461da32118583d2008 | /R/estimate_parameters.R | def61f963f2288a9ed9497d9f679fe41e3114df5 | [
"MIT"
] | permissive | StevenGolovkine/funestim | 8778a0e1f700cca921932238898e38095a4d0f56 | 634f707eda61e38cf3ca0864bf1c284da0e757c0 | refs/heads/master | 2023-04-16T22:51:12.249298 | 2022-05-30T15:45:21 | 2022-05-30T15:45:21 | 362,427,640 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,875 | r | estimate_parameters.R | ################################################################################
# Functions for parameters estimation #
################################################################################
# Functions for the estimation of the different parameters that are develope... |
c38467667da91aafb48626adb19f71cdab11ec3a | 5d8788dc8d0c22dc451b9f9fb7b9e89823b43394 | /Chapter_01/r-spark-app/r-script-01.R | 8125933e60aa33ec63cf1a4bb0a4e0d46d25d90c | [] | no_license | ml-resources/spark-ml | 5b5db52339266b3cf3c1b3bf95980b405d604e57 | 95f8470a3a0c2ccf190640c6f562f772121fbd60 | refs/heads/branch-ed2 | 2021-01-15T08:36:25.088277 | 2017-05-16T10:09:10 | 2017-05-16T10:09:10 | 48,091,878 | 47 | 42 | null | 2017-05-19T01:49:13 | 2015-12-16T06:24:23 | Scala | UTF-8 | R | false | false | 1,767 | r | r-script-01.R | Sys.setenv(SPARK_HOME = "/home/ubuntu/work/spark-2.0.0-bin-hadoop2.7")
.libPaths(c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib"), .libPaths()))
#load the Sparkr library
library(SparkR)
sc <- sparkR.init(master = "local", sparkPackages="com.databricks:spark-csv_2.10:1.3.0")
sqlContext <- sparkRSQL.init(sc)
user.purc... |
041bad6ab6349dac53482c546b76d08ef12e6ede | 845c33e99e5a2475ae334ed00b12f08f7346c8b0 | /man/smfishHmrf.hmrfem.multi.Rd | bd3e2c855aa99fa8a8c4d792be7e19ceafa59552 | [] | no_license | cran/smfishHmrf | 0236d9802a718b6477a8732e8a0130bdcdf7fda4 | 41aae463be028aeb53e34eb5e49a044af0472565 | refs/heads/master | 2023-01-05T12:54:43.094726 | 2020-11-03T11:20:02 | 2020-11-03T11:20:02 | 310,523,065 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,316 | rd | smfishHmrf.hmrfem.multi.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/smfishHmrf.hmrfem.R
\name{smfishHmrf.hmrfem.multi}
\alias{smfishHmrf.hmrfem.multi}
\title{Performs HMRF for multivariate normal distribution. Accepts R data structures as inputs. Accepts a single beta.}
\usage{
smfishHmrf.hmrfem.multi(
y,
... |
987a80b5e84f3971d65bde640ecd7e4b713e75b7 | cc74bef8892c8bbdf9a4d24da00503eb7ed962e7 | /man/get_caseargs.Rd | 367cc32a796cdffcdfb3491d9899bf74ff622869 | [] | no_license | Kotkot/ss3sim | 330961734b4809df3d2299f09ef3d3965b9173ab | 15e61a27b078222a5ac295cb22f65db0bdb10346 | refs/heads/master | 2020-05-29T14:10:44.863275 | 2013-06-13T23:45:49 | 2013-06-13T23:45:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,051 | rd | get_caseargs.Rd | \name{get_caseargs}
\alias{get_caseargs}
\title{Take a scenario ID and return argument lists to pass to functions}
\usage{
get_caseargs(folder, scenario, delimiter = "-",
ext = ".txt", case_vals = c("M", "F", "D"),
case_files = list(M = "M", F = "F", D = c("index", "lcomp", "agecomp")))
}
\arguments{
\item{... |
d86f0de7be104203ffc5757c4aa6fc15c0bdbfa6 | dc7c1016493af2179bd6834614be0902a0133754 | /functions6.R | 2394f352a2952e49cb88dd429c1e8b7979b2526e | [] | no_license | ashishjsharda/R | 5f9dc17fe33e22be9a6031f2688229e436ffc35c | fc6f76740a78d85c50eaf6519cec5c0206b2910c | refs/heads/master | 2023-08-08T13:57:05.868593 | 2023-07-30T13:51:56 | 2023-07-30T13:51:56 | 208,248,049 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 49 | r | functions6.R | hello<-function(){
print("Hello R")
}
hello()
|
86045cabdd6e83fabe645a6c1bace733365472a2 | 62f84d7157e0e3bfc57cc6d6942ea9205adc4463 | /man/acdb.matchSubstitutionsIndices.Rd | ba1a076c0b1878ffb56d874b245729c0b3c7a8fa | [
"MIT"
] | permissive | SamT123/acutilsLite | 251da4cf955c05a4e52a6b10e59fa2876759ea4a | fb36cd0f0786b9a9822ebda76fe4a44538569c4b | refs/heads/master | 2023-03-02T20:52:23.145170 | 2021-02-15T10:03:21 | 2021-02-15T10:03:21 | 315,282,286 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 379 | rd | acdb.matchSubstitutionsIndices.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/acdatabase_utils.R
\name{acdb.matchSubstitutionsIndices}
\alias{acdb.matchSubstitutionsIndices}
\title{Find db entries with same subsititutions as subs}
\usage{
acdb.matchSubstitutionsIndices(ags, subs, gene = "HA", no_extras = TRUE)
}
\descr... |
3b926225906055ffa12208e7b8e27ec61b7c026b | bae0af3bec95ee9123dd74a3cd42a3792f65e25d | /Chapter06/06__04__robanova.R | 658f1bef56b9be62f2c7b24b4d8619b906c7de16 | [
"MIT"
] | permissive | PacktPublishing/R-Statistics-Cookbook | f521ead1a05104b68663521374861dfced4c1bab | 74eb6057e47df5d43a981c44a52148bd3930c7e1 | refs/heads/master | 2023-02-04T14:18:10.374693 | 2023-01-30T09:26:43 | 2023-01-30T09:26:43 | 179,272,388 | 9 | 18 | null | null | null | null | UTF-8 | R | false | false | 346 | r | 06__04__robanova.R | library(robust)
r = PlantGrowth
d = aov(weight ~ group,data=r )
summary(d)
plot(d, 2)
robanova = robust::lmRob(weight ~ group,data=r )
robust::anova.lmRob(robanova)
r[1,1] = 50
r[2,1] = 50
d = aov(weight ~ group,data=r )
plot(d, 2)
summary(d)
robanova = robust::lmRob(weight ~ group,data=r )
robus... |
bc6fc1878ec861980296eb4009fc7c807925817a | a5ac9c2534057ec103a0ff9092c8a9bb15cde702 | /RepoAdd.R | 1477be186e2b1a786114619ef34dbb8d940a526b | [] | no_license | rivei/RepoTest | c112cf37e786b55164aa7abd7fcf66b6609246d8 | e54f140bb853005458e1c68054720be03515b59e | refs/heads/master | 2021-05-16T03:00:13.180882 | 2020-12-07T02:38:08 | 2020-12-07T02:38:08 | 31,114,483 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 63 | r | RepoAdd.R | # RepoTest
## This is a test of my repo
## Why nothing happen?
|
3a72e6974b1899b08dac9c10c41bf3a3317d449d | c85471f60e9d5c462de6c60c880d05898ec81411 | /cache/Ryo-N7|tidy_tuesday_april_3|week_5_april_30__tidy_tuesday_april_30.R | b8fc628e8920eedda740173e78002a01a22dccd0 | [
"CC-BY-4.0",
"MIT"
] | permissive | a-rosenberg/github-content-scraper | 2416d644ea58403beacba33349ee127e4eb42afe | ed3340610a20bb3bd569f5e19db56008365e7ffa | refs/heads/master | 2020-09-06T08:34:58.186945 | 2019-11-15T05:14:37 | 2019-11-15T05:14:37 | 220,376,154 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,028 | r | Ryo-N7|tidy_tuesday_april_3|week_5_april_30__tidy_tuesday_april_30.R | ## ----setup, include=FALSE------------------------------------------------
knitr::opts_chunk$set(echo = TRUE)
## ------------------------------------------------------------------------
library(dplyr)
library(tidyr)
library(ggplot2)
library(readr)
acs_survey <- read_csv("../april_30_week_5/acs2015_county_data.csv")... |
a6d6570ac84dc10c5d7f9359d1b2aed1690b2e20 | 4250e06e89ad4b7042d798691d2a17b258a51e21 | /250m Segments of Climbs.R | b8e7e10e29e525f028b81e23f7ad261f2c98b000 | [] | no_license | jalnichols/p-c | b143bd210e222d6f755a7034d688db31b10f1720 | 1ea6587e28a1c20ce8a2f6870eb4ece7aeaa05e3 | refs/heads/master | 2022-06-15T22:03:40.823212 | 2022-06-11T20:25:31 | 2022-06-11T20:25:31 | 199,725,985 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,064 | r | 250m Segments of Climbs.R |
all_stage_data <- dbGetQuery(con, "SELECT * FROM stage_data_perf WHERE year > 2019") %>%
mutate(date = as.Date(date))
#
x250m_segments <- dbGetQuery(con, "SELECT * FROM strava_new_segment_creation_climbs WHERE year > 2019") %>%
mutate(date = as.Date(date)) %>%
inner_join(
dbReadTable(con, "... |
5f00dbc28ef7ebf38c21450c1ab525b27848890d | f0489c47853fc78a49bfbc28ca3cf39798b17431 | /man/purity-ANY-ANY-method.Rd | 102818546505138113619511e8b27cce37e6bd78 | [] | no_license | pooranis/NMF | a7de482922ea433a4d4037d817886ac39032018e | c9db15c9f54df320635066779ad1fb466bf73217 | refs/heads/master | 2021-01-17T17:11:00.727502 | 2019-06-26T07:00:09 | 2019-06-26T07:00:09 | 53,220,016 | 0 | 0 | null | 2016-03-05T19:46:24 | 2016-03-05T19:46:24 | null | UTF-8 | R | false | true | 677 | rd | purity-ANY-ANY-method.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/NMF-class.R
\docType{methods}
\name{purity,ANY,ANY-method}
\alias{purity,ANY,ANY-method}
\title{Default method that should work for results of clustering algorithms, that have a
suitable \code{predict} method that returns the cluster membersh... |
ba8cd02cc98b4bb7f8d9b655eb09b91f842ccd0d | c3fa626b6076d7e5d6df2b4205f6d33bb966483c | /man/defRootCells.Rd | ff6af7bb0c81504d0d6c634fbf64be6ddc330515 | [] | no_license | tinahub10/CytoTree | b09433ef08824d136545f2e9c723147bfd6ccad7 | 1c60ff8d9dd9cd5cfed4a44ec6c3e17727e306e2 | refs/heads/master | 2023-04-08T06:08:57.228441 | 2020-11-08T12:13:59 | 2020-11-08T12:13:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 937 | rd | defRootCells.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pseudotime.R
\name{defRootCells}
\alias{defRootCells}
\title{definition of root cells}
\usage{
defRootCells(object, root.cells = NULL, verbose = FALSE)
}
\arguments{
\item{object}{a CYT object}
\item{root.cells}{vector. Cell name of the root... |
f2b16c56c888328cadbd8b03e18ac400d87d054c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ibdreg/examples/exact.ibd.var.Rd.R | 78dd7080f712a6c14bec27fa29f2edfadce36ab2 | [] | 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 | 328 | r | exact.ibd.var.Rd.R | library(ibdreg)
### Name: exact.ibd.var
### Title: create an ibd.var object
### Aliases: exact.ibd.var
### ** Examples
## create a temporary file using perl script
# unix% exact.ibd.var.pl chrom1.pre 1 chr1.var.tmp
## make an ibd.var object from chr1.var.tmp file
# RorS> chr1.ibd.var <- exact.ibd.var("chr1.var.t... |
a1c343da089769fb7e5d1f95cf4b0cd585b74121 | 278daae804bf17f50336a39cdb54cf5f35f0e164 | /R/Load Data from database.R | 213c1e42bac3bc4a8de4db70886e5f8f218130c6 | [] | no_license | audhalbritter/Flowering | 413d3e7ac882f96102095d04dd80850fc445ec78 | 90cb3c5b89234e21bab98f9d0b637e58a1790582 | refs/heads/master | 2021-12-15T03:09:24.750001 | 2020-07-09T09:59:37 | 2020-07-09T09:59:37 | 135,484,840 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,988 | r | Load Data from database.R | ##############################
### Import Function ###
##############################
# Needs to be uploaded first!!!
DownloadData <- function(){
### DOWNLOAD DATABASE FROM OSF ###
# add function here
### DOWNLOAD CLIMATE DATA ###
# get_file(node = "npfa9",
# file = "GriddedDailyClimateData2009... |
927cd4b5acba595933c123345286fbae61f6ee42 | b582cee58d5a94ebb8411eaf6a6d1b9ac148fa1b | /lessons/3_July18-Reg_LogReg/day3_homework/problems_6_1.R | 8c33e91350f7d2a3fda5230a442bcdfda2d230a7 | [] | no_license | anhnguyendepocen/HarvardSummerStudent2018 | 54e593f4f4ad2103106d7ba812d78ebbdff69012 | 0b96567938739012328236e7e801041764b73cb2 | refs/heads/master | 2020-11-29T08:16:48.749510 | 2018-08-02T01:33:59 | 2018-08-02T01:33:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,019 | r | problems_6_1.R |
library(MLmetrics)
options(scipen=999)
set.seed(1)
setwd('~/HarvardSummerStudent2018/book datasets')
df <- read.csv('BostonHousing.csv')
df$CAT..MEDV <- NULL
df.training.n <- round(nrow(df) %*% .8)
df.training.idx <- sample(1:nrow(df), df.training.n)
df.training <- df[df.training.idx,]
df.validation <- df[-df.tra... |
a27160cfc3031b78d9b724896b250bf41f04ab01 | 61ea89b328ccde8cd0b2c32e1b70a7d7b81117fa | /man/plr.Rd | 79306c0443b8755ee046a030c46cbed3396bbfd4 | [] | no_license | cran/psda | 251bc6ec05780052efbed3d7e2363fa9a92264cc | 3681827dec70b30cccc4f42c1d0276f81ad91e19 | refs/heads/master | 2021-07-10T17:17:48.759259 | 2020-05-24T15:40:02 | 2020-05-24T15:40:02 | 102,455,988 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,437 | rd | plr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plr.R
\name{plr}
\alias{plr}
\title{Polygonal linear regression}
\usage{
plr(formula, data, model = TRUE, ...)
}
\arguments{
\item{formula}{an object of class "formula": a symbolic description of the model to be fitted.}
\item{dat... |
00c34f5937b6ac8cbf558d156d0259c5f78e7ec5 | c4539e51bf7495d84473e11e4a05ad80644c5335 | /Weekend_Homework.R | 4365762a7d751facbc9d6f4ef7a484eb4d256095 | [] | no_license | ahargey/Intro_R_UWC | a905b96e2d869def399e1d3976f26e5f57fbc65c | 33975eb73b968b2d471a2073cf0ca1a87067aa13 | refs/heads/master | 2020-04-19T09:20:05.965394 | 2019-05-22T11:45:43 | 2019-05-22T11:45:43 | 168,107,215 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,769 | r | Weekend_Homework.R | # Instructions:
# Submit: Tuesday morning (before 10-am)
# Answer each of the sections in an individual script (titled section 1,2,3)
# Answer all sections
# Add comments and notes thoughout the script
# Have details at the top of each script
# Section 1: always make maps for both rast_feb and rest_aug
# Make use of ... |
548109112976442c6b8a16bdb9fe92e2d1a5c589 | bbe1d2df7586e19a6390d80f88b99847aab39177 | /code/Steve/eQTL/total_transcript_feature_eqtl.R | 1f044fdbe8514ea8dae7c1dce6e80db2d4812efe | [] | no_license | LieberInstitute/SNX19 | 0d9122855bb3b0d292dd22412193a96a5ed49698 | eb946058427c9300d16e81908e260f1df854c533 | refs/heads/master | 2021-10-14T11:00:08.897850 | 2019-02-04T19:59:16 | 2019-02-04T19:59:16 | 79,872,410 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,333 | r | total_transcript_feature_eqtl.R | ## Absolute isoform
library(jaffelab)
library(MatrixEQTL)
library(SummarizedExperiment)
library(matrixStats)
## Load stats
load('/dcl01/lieber/ajaffe/Steve/SNX19/eqtl_runs/Merge/rdas/FinalObject_Annotated_5LIBD-CMC_set_Merged_filtered_noLIBD_PGC_Missing_1e5sigFilt_reOrdered_morePGC_100417.rda')
## Load features of i... |
e9255258767f787486ecfba1a565e0f6900fa526 | bd8fe36257d3069f1eeb939458e9830fdf5c7fee | /cachematrix.R | 97e0ad6bfa1fe0ef4939ee42f7045eacc6307ea8 | [] | no_license | apurvsibal/ProgrammingAssignment2 | ce098bc0787cd83339408e4e876fa411a6c335a9 | 3ec7ae9df52ce0fb847c5a6d4cd805eb27f84966 | refs/heads/master | 2021-01-01T04:02:18.834860 | 2017-07-14T05:09:49 | 2017-07-14T05:09:49 | 97,106,422 | 0 | 0 | null | 2017-07-13T09:41:43 | 2017-07-13T09:41:42 | null | UTF-8 | R | false | false | 921 | r | cachematrix.R | ## Name: Apurv Sibal
## The function computes the inverse of matrix efficiently by using cache
## The function uses the <<- operator to create a image in a different environment
makeCacheMatrix <- function(x = matrix()) {
m <- NULL
set <- function(y) {
x <<- y
m <<- NULL
... |
71f85a70cddc99e054ab94f7cc37f035987706d8 | 705255987191f8df33b8c2a007374f8492634d03 | /man/CrmPackClass.Rd | a611be119d87b8f00e15fc12b004ae497dc2f492 | [] | no_license | Roche/crmPack | be9fcd9d223194f8f0e211616c8b986c79245062 | 3d897fcbfa5c3bb8381da4e94eb5e4fbd7f573a4 | refs/heads/main | 2023-09-05T09:59:03.781661 | 2023-08-30T09:47:20 | 2023-08-30T09:47:20 | 140,841,087 | 24 | 9 | null | 2023-09-14T16:04:51 | 2018-07-13T11:51:52 | HTML | UTF-8 | R | false | true | 533 | rd | CrmPackClass.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CrmPackClass-class.R
\docType{class}
\name{CrmPackClass-class}
\alias{CrmPackClass-class}
\alias{.CrmPackClass}
\alias{CrmPackClass}
\title{\code{CrmPackClass}}
\description{
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.htm... |
6d73403cc3124b98c4c72fb5eb4fc9387a8c4966 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/pear/examples/peboxplot.Rd.R | 8f9e32befcda18f9d7f170cd0c0855dbe1fb3cdb | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 179 | r | peboxplot.Rd.R | library(pear)
### Name: peboxplot
### Title: boxplots of a periodic time series
### Aliases: peboxplot
### Keywords: ts
### ** Examples
data(Fraser)
peboxplot(log(Fraser))
|
04b68fd1409cf404de66888f69dfd8e89fef3c67 | 414a28673a7b5ea8d541adebd08c4c20746664fa | /data-raw/mlbgm.R | 18a6a3b35b67cce8458a36a9422dc4484d90a671 | [] | no_license | beanumber/mlbgm | 526db62a69fc0e880b256e28ff6a6e3b17ba7363 | b537473d9c20702fbc828c3233bd96f1c24eabb2 | refs/heads/master | 2020-04-05T05:43:41.726409 | 2020-01-20T19:05:21 | 2020-01-20T19:05:21 | 156,608,198 | 7 | 2 | null | 2019-11-21T14:40:49 | 2018-11-07T21:06:44 | R | UTF-8 | R | false | false | 155 | r | mlbgm.R | # build internal databases
comps_hypercube <- mlbgm:::comps_hypercube_build()
save(comps_hypercube, file = "data/comps_hypercube.rda", compress = "xz")
|
60acdcd3aed5af185eb98bb90fe4cec33f6ea83a | 5f684a2c4d0360faf50fe055c1147af80527c6cb | /2021/2021-week29/deprecated/drought-dimetric.R | f9b580d1133dac9b652eeead5e13b075e57ef4a4 | [
"MIT"
] | permissive | gkaramanis/tidytuesday | 5e553f895e0a038e4ab4d484ee4ea0505eebd6d5 | dbdada3c6cf022243f2c3058363e0ef3394bd618 | refs/heads/master | 2023-08-03T12:16:30.875503 | 2023-08-02T18:18:21 | 2023-08-02T18:18:21 | 174,157,655 | 630 | 117 | MIT | 2020-12-27T21:41:00 | 2019-03-06T14:11:15 | R | UTF-8 | R | false | false | 2,884 | r | drought-dimetric.R | library(tidyverse)
library(lubridate)
library(camcorder)
gg_record(dir = "temp", device = "png", width = 6, height = 12, units = "in", dpi = 320)
drought <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2021/2021-07-20/drought.csv')
west_grid <- us_state_grid1 %>%
filt... |
2a8e2a45504cc865bc99bc092cc919a0201c3ab4 | aea23923040a247e78d082137d05be11227f0c23 | /proyecto_tfg/preparar_datos_dias_naturales.R | 223fee329eb9fdc2177c4bb292d934b7baaa894a | [] | no_license | alonso-bh/TFG | a5f1e83a661024d09058f81c86d169d07ea1242d | cdd2923578cc208de269bcab4e07ea1e13b4b089 | refs/heads/main | 2023-06-10T23:30:18.746629 | 2021-07-09T21:57:12 | 2021-07-09T21:57:12 | 340,448,091 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,603 | r | preparar_datos_dias_naturales.R | # ALONSO BUENO HERRERO - 2021
################################################################################
#' FICHERO PARA TRANSFORMAR EL DATASET CON DATOS DE CADA DÍA DEL AÑO (DÍAS
#' NATURALES)
#'
#' @param path_fichero es un parámetro obligatorio que espefica la ruta del
#' fichero XLS descargado del portal ... |
56eaea78de7b17362c73a0689ce683ad0c8d5224 | ca1c506a4b05f8468896cb507a944adc62484560 | /Chapter14/7_keras_mnist_vae_outlier.R | 309b92f5a7150a5e022d755d31646103bfe8e194 | [
"MIT"
] | permissive | Rosiethuypham/Deep-Learning-with-R-for-Beginners | d216afe2518e7e01ea3456d26ef1e66942bed46d | 70bc0e1ff074ad31a4eea0396c32c58014dfed1a | refs/heads/master | 2023-05-07T14:25:30.686911 | 2019-05-17T06:29:16 | 2019-05-17T06:29:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,155 | r | 7_keras_mnist_vae_outlier.R | library(keras)
# Switch to the 1-based indexing from R
options(tensorflow.one_based_extract = FALSE)
K <- keras::backend()
mnist <- dataset_mnist()
X_train <- mnist$train$x
y_train <- mnist$train$y
X_test <- mnist$test$x
y_test <- mnist$test$y
## Exclude "0" from the training set. "0" will be the outlier
outlier_id... |
06dfca60306a717fe7c6f9a346abc80f72dbb0e7 | 4e1e7228f0dfc9123a951d2608d86a6fe4f117ae | /2_ml_model/scripts/preprocess.R | 8b23395682024a816a83f0b6d48257d478ac4398 | [] | no_license | davidADSP/bratislava | 851fa5f86b1ab1a6b0a18d8d72c1d8d0fc97ebbe | 31e3090f535abb356299ab1d34fe45970a3fcaf3 | refs/heads/master | 2021-01-19T07:53:04.006247 | 2017-04-10T12:19:09 | 2017-04-10T12:19:09 | 87,582,354 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,723 | r | preprocess.R |
library(data.table)
library(readr)
library(caret)
library(stringr)
source('./scripts/config.R')
source('./scripts/words.R')
data = fread('./data/data_04_08_2017.csv')
data = data[price<1000000]
data = data[price>0]
data_original = data
words_data = data[,.(id=listing_id, query = '', product_title='', product_des... |
ec579eab11e3e61214b3834088ba58733545cab8 | 6cbffff7534b28f260777a84b889eb1e521c02b3 | /man/m_plot_all_micros.Rd | 86831ac14d6d7baa59a0f8e48872dcc3e0fa1983 | [] | no_license | sebmader/LizardsAndNiches | 281291fcafc844f84d2027bfc3b2f4175f305b46 | cfb3e19a9e60becdc44a2e74292b5e7a2895e120 | refs/heads/master | 2021-06-27T15:38:21.453007 | 2021-02-22T11:54:26 | 2021-02-22T11:54:26 | 217,536,470 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 724 | rd | m_plot_all_micros.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/m_plot_all_micros.R
\name{m_plot_all_micros}
\alias{m_plot_all_micros}
\title{Plot all microclimates}
\usage{
m_plot_all_micros(multi_micro, save_plot = FALSE)
}
\arguments{
\item{multi_micro}{A tidy data frame of summarised output results of... |
ba372236dcf2558fc011f651b76ab65b7ec19ac7 | 4d252ade9889ca4860102a3a2e76cdee1acf10f9 | /R/sim_BD.R | 1d78825c7c7ab65409b925b0bcdca167f63fff69 | [] | no_license | josteist/Compadre | 78a42e1a7c22b3ff094014cf7d93b959020f985f | 9b59dd2fa7e8f5c307f76dbd2186fc6e1b8cf106 | refs/heads/master | 2021-06-10T23:37:11.999007 | 2021-05-29T06:23:21 | 2021-05-29T06:23:21 | 171,682,480 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,152 | r | sim_BD.R | #' Function to simulate a birth-death-fossilization process.
#'
#' This function simulates a birth-death process with a fossilization/sampling scheme. Rates of speciation and extinction
#' can be dependent on time \emph{t} and standing diversity/richness, \emph{n}. Sampling rates can be dependent om time.
#' @param spe... |
cf1b965980ae5decdf507b13e07cbdf5d357ce0e | 4cec58954da2b527c7e70013ca1efad4b0105ceb | /plot3.R | a17edb584dfbbc107d06248cee628a59da074652 | [] | no_license | MogensYdeAndersen/ExData_Plotting1 | ba94d0b35f6d2ad0217dd485c415a828504d3a21 | 6dc4e0fba3fde4fd5d62dbed37eeed4cc680691a | refs/heads/master | 2021-01-15T11:33:22.496252 | 2015-04-12T22:17:03 | 2015-04-12T22:17:03 | 33,772,826 | 0 | 0 | null | 2015-04-11T11:08:46 | 2015-04-11T11:08:45 | null | UTF-8 | R | false | false | 645 | r | plot3.R | data <- read.csv("./household_power_consumption.txt", header=T, sep=";", na.string="?")
subdata <- data[data$Date %in% c("1/2/2007","2/2/2007"),]
datetime <- strptime(paste(subdata$Date, subdata$Time, sep=" "), "%d/%m/%Y %H:%M:%S")
plot(datetime, subdata$Sub_metering_1, type="l", xlab="", ylab="Energy sub metering")
li... |
487a3aa0c99abb8dc9ffa2159f56c5d7a3e6ec5c | 6baf50d0608e9af57f35334c7a59831ad567600d | /modified_localG.R | 12ced3903029c2d1765dc3f9bb9daf396e32873b | [] | no_license | manishverma09/Racial-Segregation | 33d0d96b82ab5ad46781c310143780e42fd1e58f | 28b68104b5d7638e7dbf3eeee64e6547a945d4f2 | refs/heads/master | 2022-09-27T02:34:18.810273 | 2020-06-05T03:51:12 | 2020-06-05T03:51:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,618 | r | modified_localG.R | modified.localG = function(black_population, total_population, listw, method='kershaw', zero.policy=NULL, spChk=NULL, return_internals=FALSE, GeoDa=FALSE)
# This function is based on the original script from the SPDEP package. I am modifying it so that I can use it with ratios.
# I am leaving a number of parameter... |
1531f2b16e98126a10d199a6f4bc17764bde1ddc | 62c4e9ee0f891c5c46f6136d460c9dc0075601f5 | /man/Score.BinReg.Rd | d9c4952e510149d2ac1afd71aae944428f55f498 | [] | no_license | zrmacc/BinReg | beaa643afc7ef31efd0008658790a0f9682bb195 | e00f951144d981a99024158fcb72d274f90bb91f | refs/heads/master | 2020-03-26T19:29:07.052417 | 2018-09-16T16:30:40 | 2018-09-16T16:30:40 | 145,267,814 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,308 | rd | Score.BinReg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Score.R
\name{Score.BinReg}
\alias{Score.BinReg}
\title{Score Test for Binary Regression}
\usage{
Score.BinReg(y, X, L, b10 = NULL, model = "logistic", df = NULL,
sig = 0.05, eps = 1e-08, maxit = 10, report = T)
}
\arguments{
\item{y}{Numer... |
818fe01d09e1be1f4c42ff78d38591bdb538e4d6 | 0a5e7cc6d619f1023af926dcb2858fb2ed1453b1 | /Problema2.R | 5f91c867306cdb358e1568bf7c0269f49c2ace0f | [] | no_license | Bia103/Projects-in-R | 72815319264ce4b08a0f3a1fe346c689842d7073 | 2696e7e76693fdc8b2d3563b561e8f2704d9d50d | refs/heads/main | 2023-03-09T12:30:34.437152 | 2021-02-17T12:48:40 | 2021-02-17T12:48:40 | 339,721,649 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,215 | r | Problema2.R | #install.packages("plotrix")
library("plotrix")
par(pty="s")
plot(seq(-1,1,length=10),seq(-1,1,length=10),type="n",xlab="",ylab="")
#draw.circle(2,4,c(1,0.66,0.33),border="purple",
# col=c("#ff00ff","#ff77ff","#ffccff"),lty=1,lwd=1)
draw.circle(0,0,radius = 1,border="black",lty=1,lwd=1)
x=runif(1000,-... |
782c1b927652162fbd3e3f93f37cb85b45a9b201 | 677a011a3370acfdfb364c0f3aa1d833e602c55f | /documents/data science/R Programming/cachematrix.R | 5c94bbba34c5203c3c8442a1f0607c7a395adf7a | [] | no_license | lgerdine/ExData_Plotting1 | 3874b96bba5184d6a1e68b07c9f3ac8ced61bdce | f876564c8dc8343d3f6f40d251abba7cae7a135f | refs/heads/master | 2021-01-18T01:06:37.389697 | 2015-04-09T15:31:20 | 2015-04-09T15:31:20 | 33,547,554 | 0 | 0 | null | 2015-04-07T14:18:35 | 2015-04-07T14:18:35 | null | UTF-8 | R | false | false | 1,270 | r | cachematrix.R | ## R Programming Week 3 Homework
## Build a function that makes list of functions like the mean exercise
## Build a function that checks cache to see if the inverse of the matrix
## has been created. If not, create the inverse
## Date: 02-16-15
## Student: Laurel Gerdine
## Make list of functions to calculate inverse... |
625195c160999530edf7407d53d5100ef53f3e43 | b1d1d08674ab0f4c7c93086a71933c950e36369a | /r_load_yelp_Json_stream.R | 07e78a830401f84b00eb625c9bf5d6c8e70af38b | [] | no_license | KLENAR/CapstoneProject | f6ad5d24ed192f8b41b7544f42c44c0cd40bb697 | 66e1357cda1c4ef8551da233586c2fae14efd344 | refs/heads/master | 2021-01-10T16:40:54.500770 | 2015-11-23T00:14:40 | 2015-11-23T00:14:40 | 46,687,110 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 569 | r | r_load_yelp_Json_stream.R | # Reads Yelp data in JSON format and saves the resulting data.frames in RData files.
library(jsonlite)
business.file <- "./yelp_dataset/yelp_academic_dataset_business.json"
business <- stream_in(file(business.file))
save(business,file='business.RData')
rm(business)
checkin.file <- "./yelp_dataset/yelp_academi... |
df8f24147f9d6a03d378b23b625fc230f4d4210c | c7607eb2c7074cc35b9a20a2c1f22c3654b54d6d | /man/get_data360.Rd | 271365dbfe0ad9c11f197bcc0581f92dacd6da6d | [
"MIT"
] | permissive | asRodelgo/data360r | 9ab9654a8131c18c7ff2ab95d3f030cd9670110d | 1ca85cbf9aa8cf48c0b61c356f99c3fd570c6edf | refs/heads/master | 2021-01-23T17:57:54.879540 | 2017-09-07T19:25:51 | 2017-09-07T19:25:51 | 102,785,930 | 1 | 0 | null | 2017-09-07T21:24:54 | 2017-09-07T21:10:06 | R | UTF-8 | R | false | true | 2,630 | rd | get_data360.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_data360.R
\name{get_data360}
\alias{get_data360}
\title{Get TC/Govdata360 data from API}
\usage{
get_data360(site = "tc", indicator_id = NULL, dataset_id = NULL,
country_iso3 = NULL, timeframes = NULL, output_type = "wide")
}
\arguments... |
fc3caf3a18f8e82c49910f86773621678ad2e6c1 | aeebd1497c7446e8ec967ba774ca5e016ce062a4 | /propect value2/export data.R | 23f361d9cc8435206e0b3c7d82b1bf2d60aa684c | [] | no_license | shenfan2018/shenfan2018 | 212e881877df52b8772905b5a3546739cd4b5921 | 0bb70a7b0cdb0dc4d14a9576b02b6f22c7e9dfdb | refs/heads/master | 2020-04-01T18:05:52.266821 | 2019-11-20T12:45:09 | 2019-11-20T12:45:09 | 153,471,302 | 1 | 0 | null | null | null | null | GB18030 | R | false | false | 3,319 | r | export data.R | load("fundPV-st1.RData")
# 加入monthly return
load("C:/Users/shenfan/source/repos/shenfan2018/fund 2004-2017/fund-NAV.RData")
# 月度的收益率
ret <- data.NAV[, year := year(date)
][, quarter := quarter(date)
][quarter == 1 | quarter == 2, sem := 1
][quarter == 3 | quarter == 4, sem := 2
][, month := month(date)
][, Adjust... |
d904360e2d5a98cbd4817ecd91b5c599327cce7f | 1dd840b99146dbdd57e3b267d6243d695354bdd0 | /Predict.R | 2b45910b5cb72948b2098ea509ea3d308afe6ab7 | [] | no_license | diardelavega/TotalPrediction | 654e6ca7d4d6f1df3153dd94ab31c7a0790e738b | 464cafdc346c419ba58d7c34ac7ff82ebfddb4ff | refs/heads/master | 2020-04-12T08:52:37.906304 | 2017-03-04T17:22:23 | 2017-03-04T17:22:23 | 61,332,137 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,780 | r | Predict.R | # Predict the results for the next set of matches
# load the objects & liraries -> predict & stroe the prediction in a csv file
#think for the reevaluation of the prediction (after we have the actual results of the match)
os<-Sys.info()["sysname"]; # find the operating system
base<-"/home/user/Git"; # the base fo... |
6b5fff862b38a918dda958deab9cd83754b8de84 | ce055040549214f56f9c603eb0dd67d6b7ad196e | /tests/cluster,worker-termination.R | 64e4185abc545192b7759e6d314aa9b7c7742d6a | [] | no_license | HenrikBengtsson/future | d3e103cf60bd8bcd9e7e1c45d239ea0e9f3dd18e | 30715de064db5cc0927fc71201f7866e5f45137e | refs/heads/develop | 2023-08-28T20:12:44.689930 | 2023-08-18T11:59:09 | 2023-08-18T11:59:09 | 37,042,109 | 971 | 104 | null | 2023-06-17T07:33:21 | 2015-06-08T02:37:06 | R | UTF-8 | R | false | false | 2,686 | r | cluster,worker-termination.R | source("incl/start.R")
library("listenv")
options(future.debug = FALSE)
## IMPORTANT: Since we're killing parallel workers, some of them will not
## get a chance to clean up their R temporary folders. Here we configuring
## them to use temporary folders with this R process temporary folder.
## This way they'll be rem... |
4b728bdaf04eb2f3c37741fd8982463fa685eeb7 | 03aee522019d1b85e54ac199e099001a3fb785e1 | /DESeq_normalization_of_HTSEQ_counts.R | 345f0a1fbaa527be582ab4a2832faf05d3e11a90 | [] | no_license | btmonier/pub_expn_rare_alleles | 412dc287057e0a0b2608a3d8f8d1a5aabf71beec | 72b6e87482689df2b4324d1222ffea6ba4f213ad | refs/heads/master | 2020-04-19T19:37:05.446289 | 2019-02-06T19:40:09 | 2019-02-06T19:40:09 | 168,393,207 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,488 | r | DESeq_normalization_of_HTSEQ_counts.R | # Karl Kremling
#Jan 23 2016
#DESeq norm of samtools idxstats counts
#source("http://bioconductor.org/biocLite.R")
#import DESeq and normalize
#biocLite("DESeq2")
# if this doesn't work on linux you amy need to sudo apt-get install libxml2-dev
library("DESeq2")
#install.packages("fastmatch")
library("fastmatch")
lib... |
486b8550523771ae3a7a21eeb43a7a2933079a9d | 3fbee967f2e6a778e738c439be35a8e9c10c46d1 | /dplyr-mtcars.R | 24861bc381894bc18367c814a62f44a4a9ba6d02 | [] | no_license | elissabedamatta/analytics-1 | 28fcad4546b898788a3e7864ea41eedb1643c580 | e05eb9a131b30296689dc71783c3f53038a7425f | refs/heads/master | 2020-04-02T16:32:47.971958 | 2018-10-28T08:34:12 | 2018-10-28T08:34:12 | 154,617,184 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,475 | r | dplyr-mtcars.R | #analysis of dataset mtcars using dplyr
#filename : dplyr-mtcars.R
library(dplyr)
?mtcars
#structure of data set
str(mtcars) #structure
dim(mtcars) #dimensions
names(mtcars) ;colnames(mtcars) #column names
rownames(mtcars) #rownames
summary(mtcars) #summary of dataset
#summary activities on mtcars
t1= table(mtcars$a... |
be349e106d161ae65d753b0b08ee8cdf9eb8f1ff | c224e403165e0461d90a0a1ec22e8e8a050a376e | /Week5/signal_analysis.R | 9494cba3c75df9a6961d18accf6a4b01ea71a534 | [] | no_license | nasimulhasan/Data_Science | 14eae70c1983f1a24ec9944d270dd904508fd7e9 | d2f037ce331d9936256b0eb0bc21f962de0c7f4d | refs/heads/master | 2020-03-18T08:44:02.514118 | 2017-08-27T10:14:52 | 2017-08-27T10:14:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 213 | r | signal_analysis.R | setwd("F:/Introduction to Data Science/Week5/Assessment/Kaggle_Higgs_Boson_Machine_Learning_Challenge")
getwd()
signal <- read.csv("signal.csv")
dim(signal)
View(signal)
names(signal)
str(signal)
summary(signal)
|
2c5b7523579475037f335aff8a258456f8475f64 | d7170c2a8234c947432ee1cbffe2eb22db31b221 | /transmission_model/r/common/uncertain-parameters.R | 5c2f27e60d620203d1855df2ffcbbf5874da1b95 | [] | no_license | khanna7/BARS | c3ab28354f4bb711c7d8307486194769454c86ff | 6829f0da638c0c839c40dd6f6b84a645c62f4446 | refs/heads/master | 2023-07-06T06:33:57.160645 | 2023-06-28T23:17:24 | 2023-06-28T23:17:24 | 40,013,171 | 6 | 2 | null | 2016-05-17T17:08:43 | 2015-07-31T16:01:07 | C | UTF-8 | R | false | false | 571 | r | uncertain-parameters.R | ## list uncertain parameters
#####################
## Transmission Parameters
num.sex.acts.base <- 2.4 ##vary between 0.5 and 3
## acute, chornic, late multipliers: might also be varied, but i am not sure about the ranges
#####################
## Testing and diagnosis
non.testers.prop <- 0.25 ## ... |
d1a9448fec01f9c6b77772e526a30fdea3f74ac5 | 14d2380e1ed07afd73795c3f302a05aca3c28b43 | /simulateSVM.R | 8e74671f715217dee819a14c022c01ee45bb3737 | [] | no_license | jt86/r-project | e5b4f971a8f95ce1c057cddfad6c2edec5f82d92 | 5403befe8523555c58fc1f19e001b91abaa53ceb | refs/heads/master | 2021-01-12T11:12:05.947828 | 2016-11-24T16:52:09 | 2016-11-24T16:52:09 | 72,865,351 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,725 | r | simulateSVM.R | library(e1071)
set.seed(0)
# i <- commandArgs()[1]
i <- 1
tuneParametersVal <- function(X, Y, cost = exp(seq(-3, 7, length = 5)),
gamma = exp(seq(-3, 3, length = 5)), percentage_of_data_for_validation = 0.1) {
mat <- as.matrix(dist(X))^2 #
med <- median(mat[ upper.tri(mat) ])
gamma <- gamma / med
i... |
630c458a4806cc5b95fcab7c75cb634518484129 | 298c7371b27659a18775e402c88877b8b6ae2f40 | /sqm/R/exClassifed.R | 67bd196500209ae12257fbaccd5568140edfc63c | [] | no_license | lhsego/sUtils | 371db06261e4bcb5c977e34f862c7d0a3708f147 | bead4267ccb782982159fb0b6ed273caae70a850 | refs/heads/master | 2021-08-30T08:12:48.040566 | 2017-12-17T00:00:15 | 2017-12-17T00:00:15 | 112,430,461 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 231 | r | exClassifed.R | ##' Example data (TODO: Document this)
##'
##' Some more description
##'
##' @name exClassified
##' @docType data
##' @format TODO
##' @keywords datasets
##' @examples
##' data(exClassifed)
##' str(exClassified)
NULL
|
38c33d6ca5e2bbaa4d10af0551ce029d0c6f8dc1 | 7e21929e11598cb2c811361e2632a13f411ee98c | /plot1.R | d448146e7b93971b9c1d9e41cce1120f13e42579 | [] | no_license | JoeMerengues/ExData | a55f31b746f00ecf6b43f7e005da85f7166eb682 | 8bf66a73a78fd9f7cb8c00a40f4ab40e73f9704f | refs/heads/master | 2021-01-10T16:39:21.955959 | 2015-11-22T20:41:54 | 2015-11-22T20:41:54 | 46,677,119 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 487 | r | plot1.R | #Leemos los archivos
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
#Se realiza la agrupacion
aggTotals <- aggregate(Emissions ~ year,NEI, sum)
#Desplegamos la grafica
barplot(
(aggTotals$Emissions)/10^6,
names.arg=aggTotals$year,
xlab="Year",
ylab="PM2.5 Emissions (10... |
579016ac56d62b273d5a73d328e79b257babf521 | ba65d8b42dfce42e1a4594d5a58a815194082112 | /man/callFilters.Rd | f425a02e177d8e80efdc290f813050a1be556f76 | [
"MIT"
] | permissive | acc-bioinfo/TMBleR | b4ac594173ecc2ead98fd19696136f0d235065a3 | f3ded88b111b8db0867222aaa8be4bcd9fe8e80d | refs/heads/main | 2023-06-19T22:21:49.508537 | 2021-07-16T16:42:20 | 2021-07-16T16:42:20 | 378,995,779 | 4 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,810 | rd | callFilters.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/callFilters.R
\name{callFilters}
\alias{callFilters}
\title{Filters variants according to input arguments}
\usage{
callFilters(
vcf,
assembly,
design,
vaf.cutoff,
remove.cancer,
remove.nonexonic,
tsList,
variantType
)
}
\argum... |
53ffa1b6f479a7e0ef1e8435dd5d4cd541f6f843 | b72a579eddbd2e20a0d154a4704fa28dc89adf5f | /code/LD_simulation/example_code/simulate_LD_data.R | eb9f4cfe46b238b23cc6342f3bf0ecf5795cdda1 | [] | no_license | andrewhaoyu/multi_ethnic | cf94c2b02c719e5e0cbd212b1e09fdd7c0b54b1f | d1fd7d41ac6b91ba1da8bb8cd1b2b0768f28b984 | refs/heads/master | 2023-06-24T20:47:18.268972 | 2023-06-13T15:30:14 | 2023-06-13T15:30:14 | 214,069,397 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,918 | r | simulate_LD_data.R | #simulate genotype data by chromosome and by ethnic groups
#since hapgen2 required at least one disease SNP, we need to know the position information for one SNP
#simulate data for EUR,AFR, AMR, EAS, SAS
#-tag command allows you to subset SNPs to a subset
#but I notice that the -tag command makes hapgen2 really slow
... |
d8f565e388a687e4f47f691d1198ac1d28cf53ce | dd02a0e78e5d1f18dbe1411ce2e74e50e3269152 | /main.R | d02e90fc5fa4da6f7c04052c620de83a7d20ec0b | [] | no_license | John-Snyder/Bayesian-SSURGO-Prediction | e30836e0a27b291b478244cd86fda1203b396bfc | b424c61892cf0e62885426afef788f6d5777d14b | refs/heads/master | 2020-05-01T13:01:40.990142 | 2019-04-02T15:35:37 | 2019-04-02T15:35:37 | 177,479,601 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,591 | r | main.R | # sudo yum install libcurl-devel openssl-devel libxml2-devel udunits2-devel
#install.packages(c("httr","jsonlite"))
BartMemoryInGB <- 30
MemToJavaParam <- paste0("-Xmx",BartMemoryInGB,"g")
options(java.parameters = MemToJavaParam)
library(bartMachine)
set_bart_machine_num_cores(30)
source("functions.R")
library(soil... |
777d9c15e7949582bb162c53824357cc09d262b3 | 9d1da35b09703cdbe441e02413f69a66e3c804d8 | /TimeSeriesAnalysisLibrary/packages/TimeSeriesTransformation/R/class.ArcSineTransformation.R | bc01de0bcd9c20d039ebf1ca743494c329bc437f | [
"MIT"
] | permissive | jmorenov/TimeSeriesAnalysis | 6fd50463fea78ba0be2f2eb320b6fe2ecabb5482 | e9b357666e1700a96c715d78279a33fde70c207a | refs/heads/master | 2020-12-02T18:01:30.524431 | 2017-07-09T09:23:52 | 2017-07-09T09:23:52 | 96,461,687 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,437 | r | class.ArcSineTransformation.R | #' ArcSineTransformation
#'
#' Clase que sobreescribe la clase \code{\link{Transformation}} implementando
#' la transformacion arco seno
#'
#' @docType class
#' @importFrom R6 R6Class
#' @export
#' @format A ArcSineTransformation Class of type \code{\link{R6Class}}.
#' @section Warning: Advertencias.
#' @section Extend... |
5a71bd3ad1d2a8599b5ee63fbf7285e885c8afea | 7a0597d7acedc339111100388435509bbd6d471b | /modules/recoveryPlots.R | bfa65eefc39165cd863f1055b4138cdd2a836724 | [] | no_license | hdsu-bioquant/ShinyButchR | d583bc1a02fb09ea89392db11d053dd9d1d5e983 | dc0633f889ead4bf97889453be9cb182858ea04a | refs/heads/master | 2023-03-03T23:50:52.889197 | 2021-02-19T12:37:01 | 2021-02-19T12:37:01 | 252,409,838 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,280 | r | recoveryPlots.R | #------------------------------------------------------------------------------#
# Recovery plots Server & UI #
#------------------------------------------------------------------------------#
recovplotsUI <- function(id) {
tagList(uiOutput(NS(id, "title_sel_K")),
... |
81f81e25bc2f51e4692c183cec8f4c3ca3face55 | db456f35d9012cdb1d893244783d3550d7772ee5 | /plots/diss-ctx-susp/plot.R | ea14b1a87f591383540e0db65c87015aa902c292 | [] | no_license | TUD-OS/M3-bench | 45aca4cad7b42391228e89f46f6192d5474e310e | 4288d21f9895ed1f81cb3c1a2c92292069b18ad9 | refs/heads/master | 2020-04-07T12:52:12.297424 | 2018-11-20T12:33:05 | 2018-11-20T12:33:05 | 158,384,635 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,227 | r | plot.R | library(extrafont)
library(RColorBrewer)
source("tools/helper.R")
args <- commandArgs(trailingOnly = TRUE)
scaling <- 1.5
namescale <- 1.6
colors <- brewer.pal(n = 4, name = "Pastel1")
times <- read.table(as.character(args[2]), header=F, sep=" ") / 1000
stddev <- read.table(as.character(args[3]), header=F, sep=" ") ... |
1342615b2193b64ae351d6a728d7a74e9801456f | 256bc4a27136ea06c8c1588b1af30c1c1b9fff76 | /Plotting_CSV.R | edc2f353295666f59998c8ec28210b91cf767d6b | [] | no_license | pappakrishnan/Income-Distribution---R-file- | 95e82e5c26fba2ca9db098869379b664307f1c91 | 70452864981a612e5c538b2347e6d3501d8bf6a9 | refs/heads/master | 2021-01-20T22:31:20.618884 | 2015-03-21T00:19:59 | 2015-03-21T00:19:59 | 24,928,611 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 276 | r | Plotting_CSV.R | data<-read.table("UserData.csv",TRUE,",")
#head(data)
par(mfrow=c(2,2))
plot(data$age,data$income,xlab="Age",ylab="Income")
hist(data$age,xlab="Age",ylab="Number of people")
boxplot(data$income,ylab="Income")
summary(data$income)
boxplot(data$age,ylab="Age")
summary(data$age) |
9599df05a60bc02c53a0cd46b07d9b88a6756d6b | 3ee150e7597d341cc6aa2c4f852717cc714a79b0 | /cachematrix.R | 0a34437b0f1b968f28c026dd8586083f53cb9446 | [] | no_license | latentvariable/ProgrammingAssignment2 | 9486fc96d8c9cf4295608b195684aa9df642382e | fcbbd921e60af77e2b87e009db467b614d98d4a2 | refs/heads/master | 2021-01-17T09:03:35.036190 | 2017-03-05T14:33:47 | 2017-03-05T14:33:47 | 83,975,084 | 0 | 0 | null | 2017-03-05T14:12:24 | 2017-03-05T14:12:24 | null | UTF-8 | R | false | false | 1,465 | r | cachematrix.R | #R Programing Assignment - Week 3
#Caching inverse of a Matrix
#Function 1: Make Cache Matrix
#Specifies an empty matrix 'm' as argument
makeCacheMatrix <- function(m = matrix()){
inv <- NULL #setting the inverse of the matrix to be empty
#Using the set function below to set the value of the matrix
set <- functio... |
7bef4e95220d6b376393f05f8b3ca207a6c64374 | 26c902fec6602d97aa759d17fc04f63cfec763ab | /data-raw/HCP_HB_rev.R | c87cbd5e8d825a43313364772482873537dc3b03 | [] | no_license | jacob-ogre/hcphb | a2c9d0231cee49798ea9f24c5946facb9fecbd62 | 6a8fcda2efad6eb7faea284b6633cd86e2827b5b | refs/heads/master | 2020-12-25T13:23:17.499113 | 2017-03-21T10:36:06 | 2017-03-21T10:36:06 | 62,728,546 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,293 | r | HCP_HB_rev.R | # BSD_2_clause
# library(dplyr)
# library(NLP)
# library(openNLP)
# library(pdftools)
# library(stringr)
rev <- pdftools::pdf_text("data-raw/HCP_handbook_rev_draft_28Jun2016.pdf")
length(rev)
main <- rev[13:length(rev)]
toc <- rev[1:12]
execsum <- rev[13:14]
acronyms <- rev[15:16]
glossary <- rev[17:42]
ch1 <- rev[4... |
99f0678eb10da8c3eb863a634c09e483428e8ca2 | 556620b3c33b25191a697a50bcb3c9a5dd045706 | /Analysis Files/fake_med/PS_med.R | 26f699dffc84a99f4413b219da71bb9d6ae8c51d | [] | no_license | dgiova/PM2.5-Nonattainment | 6a74133876f2c049be2b5674168eb4e33e29a485 | 64a087ae9f44f56f8bf834231452ceb2edd7026e | refs/heads/master | 2023-01-19T12:22:22.082920 | 2020-11-20T07:55:49 | 2020-11-20T07:55:49 | 307,199,582 | 0 | 1 | null | 2020-10-25T22:17:37 | 2020-10-25T21:49:46 | null | UTF-8 | R | false | false | 3,668 | r | PS_med.R | set.seed(51)
load(file="~/PM2.5/pm_withps.Rda")
######## Prune observations that are out of range ###########
dat=subset(dat, outofrange==0)
dat$pscat = as.factor(dat$pscat)
######## Set the Working Directory so that output is saved in the right place ########
wd <- "~/PM2.5/fake_med/"
setwd(wd)
###################... |
d74364fa5305826453aeb0fbcc8d291a6fec80f9 | f2cedce2f263a0054186982e8d32912abdaa81cb | /man/ModeCanada.Rd | 9ec4a83c973dbf6c838b67ad60c60ea4f6b16e5f | [] | no_license | ycroissant/mlogit | aed63c21eaec7cc086326686b89c426ea3996183 | 106803ef2da23b8966cdda5da526f0a1336a9dc6 | refs/heads/master | 2021-12-15T14:22:24.236444 | 2021-12-13T04:49:23 | 2021-12-13T04:49:23 | 196,389,801 | 7 | 3 | null | 2021-10-04T19:30:29 | 2019-07-11T12:26:08 | R | UTF-8 | R | false | true | 1,470 | rd | ModeCanada.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datasets.R
\docType{data}
\name{ModeCanada}
\alias{ModeCanada}
\title{Mode Choice for the Montreal-Toronto Corridor}
\format{
A dataframe containing
\itemize{
\item case: the individual index,
\item alt: the alternative, one of train, car, bu... |
29e65de949d624cbb627321b8d26253e2c9fa4d6 | b2e83000cf9ee09a1904aa4a9530f237e903637f | /Make a Dashboard with 4 maps - setup.R | f0ff5ea5ccedc1e60a356eb75fa49a9931339471 | [] | no_license | bigck2/Census | 2bd777b7c53bc67f376bc8fb06b002873a46b02c | 40c6a5a4e8d519df82907db4229963ddfce51114 | refs/heads/master | 2021-05-15T03:37:44.766990 | 2018-01-07T22:41:29 | 2018-01-07T22:41:29 | 109,280,752 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,402 | r | Make a Dashboard with 4 maps - setup.R | library(tidyverse) # for everything
library(stringr) # for strings
library(tidycensus) # to pull census data
library(tigris) # to get shapefiles
options(tigris_use_cache = TRUE)
library(sp) # for over() / sp objects
library(RColorBrewer) # for brewer.pal()
library(leaflet) # for mapping
library(rgeos) # for trueCentroi... |
c8264e46e7b38c053a5380c3af0d2d4551a6dd9e | 9cbc8d7ae4c57f4948d47f11e2edcba21a1ba334 | /sources/modules/VETransportSupplyUse/man/calcCongestion.Rd | a8aadc217e4f036f1e8ec70279f36de5cd5b307b | [
"Apache-2.0"
] | permissive | rickdonnelly/VisionEval-Dev | c01c7aa9ff669af75765d1dfed763a23216d4c66 | 433c3d407727dc5062ec4bf013abced4f8f17b10 | refs/heads/master | 2022-11-28T22:31:31.772517 | 2020-04-29T17:53:33 | 2020-04-29T17:53:33 | 285,674,503 | 0 | 0 | Apache-2.0 | 2020-08-06T21:26:05 | 2020-08-06T21:26:05 | null | UTF-8 | R | false | true | 2,154 | rd | calcCongestion.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CalculateCongestionBase.R
\name{calcCongestion}
\alias{calcCongestion}
\title{Function that calculates the MPG adjustment, travel time and travel delay}
\usage{
calcCongestion(Model_ls, DvmtByVehType, PerCapFwyLnMi, PerCapArtLnMi,
Populatio... |
59ba02f739121b128c1ac3908130e5fae18427e4 | 3365692614767c738e38448f3a5d022cbe0ca45a | /Unfinished Analysis code/Hierarchical_clustering.R | ce298ebf9b39f8921697b481e51271519112d33d | [] | no_license | LanceStasinski/Dryas2 | 89ac26c1a19cd3dabc9636b26967e24d1df75928 | 049f4461b0251174be4f0e208795333ea9a3c935 | refs/heads/master | 2023-06-02T02:32:56.480834 | 2021-06-17T17:33:59 | 2021-06-17T17:33:59 | 268,616,307 | 2 | 3 | null | 2021-03-22T20:17:30 | 2020-06-01T19:43:25 | R | UTF-8 | R | false | false | 1,656 | r | Hierarchical_clustering.R | ################################################################################
#Set up
################################################################################
library(spectrolab)
library(ape)
################################################################################
#Load Data
#######################... |
d21842a328617d6d0190ab90f204ade766fc8cd0 | 448e3fbc77e3290c1c4196c2258b3d444c8c0d45 | /man/emcncf.Rd | 14a8a7f2ffe16ecc2e772dc88ccab4dc6aa71732 | [] | no_license | mskcc/facets | 1fe15ddabe7b157c4ffdeddb048797c8a1f4f83b | f3c93ee65b09fc57aaed22a2eb9faa05586a9dc0 | refs/heads/master | 2023-06-09T01:38:44.938368 | 2021-10-12T12:04:39 | 2021-10-12T12:04:39 | 35,636,429 | 135 | 71 | null | 2023-06-04T17:04:27 | 2015-05-14T20:54:49 | R | UTF-8 | R | false | false | 1,348 | rd | emcncf.Rd | \name{emcncf}
\alias{emcncf}
\title{EM estimate of copy number and cellular fraction of segment clusters}
\description{
Uses genotype mixture model to estimate the cluster specific copy number and cellular fraction.
Uses estimates based on the cnlr.median and mafR as initial values for the EM iteration.
}
\usage{... |
f8fd8e0ca541c7a37a6f81144b5841c3c03cdd06 | de4d6b98dbbb613ff7cf2f39adbd94a3c6da11ac | /bivariate_cont_cat.R | bbbfc427eba0da4d7b499d2efc6c90944526bfa9 | [] | no_license | buddalasunil999/onlinedatalabscripts | fd9b076f69c70df50210d76d4e7e5af0cef45c11 | 229619423851168451907acff4070b3e4a0b745c | refs/heads/master | 2021-06-06T20:45:44.050281 | 2016-11-13T03:41:29 | 2016-11-13T03:41:29 | 69,343,368 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,677 | r | bivariate_cont_cat.R | #bivariate data analysis
#####################################Bivariate analysis continuous ~ categorical###################################################################
#visualization first-function 6
bi_plot <- function(varname,dependentname,class,testdata, choices, outputPath1, outputPath2,outputPath4,color)
{
... |
ff3d3ea6c6bc25ea2047c1c549b70e75461d2ca5 | 7648147e8da326932f2fbb0eb9474315f3056103 | /day01/part2.R | 524cfaf0f9fd17d5a1dbef98dd96c34c09456743 | [] | no_license | jkittner/AdventOfCode2020 | 2de7ab12a3413ef3790892d06e5b8f18e8d5a9c1 | b74e0866b11e87526b80fb169d8e2b1c1f128474 | refs/heads/master | 2023-03-05T01:48:27.094703 | 2021-02-22T17:39:02 | 2021-02-22T17:39:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 495 | r | part2.R | require(data.table)
find_sum_to_2020 <- function(exp_rep) {
for (i in exp_rep) {
for (j in exp_rep) {
for (k in exp_rep) {
val = i + j + k
if (val == 2020) {
multip_var = i * j * k
return(multip_var)
}
... |
64b1380c34a929ff395eeebde7c4161ac8033a7a | da7ad84936816cbf9388df36ec18aa2c2d789325 | /viz/R/grid_gen.R | bf1fdd43362fbf1b50da73534b2a9e9a0b092597 | [] | no_license | yaesoubilab/TBABM | 14fbf673c9b4fc8b8b1462d30dc3782ae6c7aa18 | 7c8165db1a86f2f011a10601602c46b85a7bdc90 | refs/heads/master | 2023-08-09T02:27:45.410474 | 2023-07-26T01:26:40 | 2023-07-26T01:26:40 | 114,150,710 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,662 | r | grid_gen.R | source("R/graph_catalog.R")
initial.dir<-getwd()
print(initial.dir)
quit()
GraphAndSaveRun <- function(folder_name) {
cat <- CreateGraphCatalog(folder_name)
slash <- ifelse(folder_name[length(folder_name)] == '/', "", "/")
filename_prefix <- paste0(folder_name, slash)
grids <- c("demographicGrid", "hivGrid... |
dcf7393e6376f4c8d7d5ea07b9d714ec6b862359 | 6b626067b7d0787c446309c0d43d7f95e1ace510 | /R-5.R | 7450ae7f5544c81df3dffd009321f44c12cf9607 | [] | no_license | nyaundid/R-Studio | 919cd0f788dbc81a4753647dfc508ce6f8ceb74e | b55371a3f623e0945471e980cb4322195d32a0e1 | refs/heads/master | 2020-05-02T18:10:12.366491 | 2019-03-28T04:07:05 | 2019-03-28T04:07:05 | 178,120,653 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 717 | r | R-5.R | population <- ames$Gr.Liv.Area
samp <- sample(population, 60)
sample_mean <- mean(samp)
se <- sd(samp)/sqrt(60)
lower <- sample_mean - 1.96 * se
upper <- sample_mean + 1.96 * se
c(lower, upper)
mean(population)
samp_mean <- rep(NA, 50)
samp_sd <- rep(NA, 50)
n <- 60
for(i in 1:50){
samp <- sample(population, n) ... |
4edb7479f8d89682bd5fe633006f268f24492243 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/VGAM/examples/AR1.Rd.R | 05897f2cf431175df3d530ba3be725bb3e122035 | [] | 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 | 2,663 | r | AR1.Rd.R | library(VGAM)
### Name: AR1
### Title: Autoregressive Process with Order-1 Family Function
### Aliases: AR1
### Keywords: models regression
### ** Examples
### Example 1: using arima.sim() to generate a 0-mean stationary time series.
nn <- 500
tsdata <- data.frame(x2 = runif(nn))
ar.coef.1 <- rhobit(-1.55, invers... |
fb993f08abb22a840b1c68c9e9702ad5c68c718b | 4d8240d88a8da976c16f1ec48a921569f30b12fb | /metadata.R | c05534d92af1403a61b89adace5681a681afae60 | [] | no_license | mjenica11/limma_tutorial | 471a4b1a9864d9e447d0a2e5acaa8636d381d0e0 | 699b48ca536381e6e2e72c5b910e13b41740b18c | refs/heads/main | 2023-03-22T00:30:57.936448 | 2021-03-18T17:56:50 | 2021-03-18T17:56:50 | 349,155,970 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,253 | r | metadata.R | # Combine GTEx v8 metadata into single metadata file with information relevant to DE w/ limma
# Sample ID, tissue type, sex, age, RIN (RNA integrity number), post-mortem interval
# Subset only the brain samples in individuals older than 55
# Input files
COUNTS <- "/scratch/mjpete11/limma_tutorial/data/GTEx_Analysis_20... |
6f6a2d83be2dbe195957c39414a559f655b48fb4 | 023ece33e24b95bd333d09a7cd5532019c6bee43 | /thesis-utils.R | 77a14c1c4bbdfef66b4fcf74ede189f52163466a | [] | no_license | paleolimbot/minimal-thesis-bookdown | be8e3aeef886e3e58c085f194a205997c8d47412 | 0061d2aff50f15e65a9c6a66960a20d99bb80386 | refs/heads/master | 2021-01-26T06:38:41.372948 | 2020-02-26T19:40:41 | 2020-02-26T19:40:41 | 243,350,318 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,650 | r | thesis-utils.R |
library(tidyverse)
# it's unlikely you'll be able to make the tables you want
# without the kableExtra package
library(kableExtra)
# you probably want all these chunk options to be the same
# for every chapter
# chunk options
knitr::opts_chunk$set(
echo = FALSE,
fig.align = "center"
)
# word documents have ver... |
9ec3e6c66841618f921ce83ef602d3d423cf0653 | f8fe19a2008e19b858d65f2f5a57658c304c93a3 | /man/nearest.Rd | 666b3990b5018f1d818f2d7debab55df854517a8 | [] | no_license | cran/osrmr | 53cd57409ef02d6b970316f21331d782815f500f | 86c78bae1a9f6f9989e53e11cd71019287c289f1 | refs/heads/master | 2021-06-05T03:02:53.041393 | 2021-05-31T08:40:02 | 2021-05-31T08:40:02 | 127,176,140 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,337 | rd | nearest.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nearest.R
\name{nearest}
\alias{nearest}
\title{nearest accessible position}
\usage{
nearest(lat, lng, api_version = 5, localhost = F, timeout = 0.001)
}
\arguments{
\item{lat, }{A numeric (-90 < lat < 90)}
\item{lng, }{A numeric (-180 < lng... |
b30527a8da66eef1c9325c55c25d9f45a764867c | 3810f013ef1bb6da62ae44849f04575ee8daf2f7 | /man/as.data.frame.incidence2.Rd | 0dc8d39957b5f2a7c8398e6a8b5c98eff8973f87 | [
"MIT"
] | permissive | minghao2016/incidence2 | 72dac5797bb44a8df537e3212710247ec8365a82 | 5aa52edf3526def57cff1458dfad026940674723 | refs/heads/master | 2023-01-11T11:30:00.512052 | 2020-11-12T14:21:25 | 2020-11-12T14:21:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 592 | rd | as.data.frame.incidence2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/conversion.R
\name{as.data.frame.incidence2}
\alias{as.data.frame.incidence2}
\title{Convert incident object to dataframe}
\usage{
\method{as.data.frame}{incidence2}(x, ...)
}
\arguments{
\item{x}{An \code{\link[=incidence]{incidence()}} obje... |
a4ba1a7365c0f5b73b1aa00dfb220652bc0fa8ea | 10873a4e41464f753732b28ba9425cda5520f850 | /emulator/res/lsr_zp.r | 88c961273c9e71165e0bad2de400b67eeb543881 | [] | no_license | uatach/mc861-nes | 3b3e11bb6876ca47b319acd25d7714b7c7bb9069 | 9583086364ab5866c7104408bb154bec6f3e164c | refs/heads/master | 2020-08-02T12:47:28.823972 | 2019-10-04T20:53:15 | 2019-10-04T20:53:15 | 211,356,279 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,727 | r | lsr_zp.r | | pc = 0xc003 | a = 0x00 | x = 0x00 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 00110100 |
| pc = 0xc005 | a = 0x08 | x = 0x00 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 00110100 |
| pc = 0xc007 | a = 0x08 | x = 0x00 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 00110100 | MEM[0x0044] = 0x08 |
| pc = 0xc009 | a = 0x02 | x = 0x00... |
65c0802525c0acc98496ee25c838e54dbdb2b7a2 | eb59d9f92cd907aaad4881992f323cc1529b39fa | /man/many_normal_plots.Rd | 7c8ff9a6dcd12b4a6d5774e470b61eba62bb5a5c | [] | no_license | cran/TeachBayes | a20021b9fd698140185aeb5916a9f5e42b901826 | 47f45100474dd8e8288b06386ca91a16288b5922 | refs/heads/master | 2021-01-11T22:12:37.681770 | 2017-03-25T09:58:44 | 2017-03-25T09:58:44 | 78,935,724 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 546 | rd | many_normal_plots.Rd | \name{many_normal_plots}
\alias{many_normal_plots}
\title{
Graph of several normal curves
}
\description{
Graph of several normal curves
}
\usage{
many_normal_plots(list_normal_par)
}
\arguments{
\item{list_normal_par}{
list of vectors, where each vector is a mean and standard deviation for a normal distri... |
70aa53e52404029e01a436b39a592869416a19c2 | 9b6a655f98a5b583e405f3db21196b816698c296 | /analysis/cgpfa.R | e595d2adc4c4d34891de0eab7a1bf4780df9f0f7 | [] | no_license | bgriffen/heteromotility | 205deeb1221612d0c5b46b3819636d0efba178e4 | 07a02d6c6fc64bb470f9b02f6f45c8e676cde400 | refs/heads/master | 2021-09-22T17:45:22.757980 | 2018-09-12T20:16:44 | 2018-09-12T20:16:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,465 | r | cgpfa.R | ### Satellite Cell PFA for combined three plates
pfa_state_locations <- function(df, bin_sizes){
require(reshape2)
require(ash)
# PCA to generate 2 dimensional state space
df.vals <- data.frame( scale( cbind(df[4:22], df[29:32], df[39:42], df[49:52]) ) )
df.pca <- prcomp(df.vals)
df.comp <- data.frame( df... |
6cbcd256e130e3224ecea7d67a24aab642fa6fdf | b364a9a99f4d1c4d159f94d2246df7f9c1f66451 | /dada2_insect_pipe_v1.R | 327d71c0b83a3d55d901bdf492a1be4458d60c90 | [] | no_license | ngeraldi/eDNA_DADA2_taxonomy_pipeline | 7a677285f38f0ce02c0bd62c8e7e3b2a845f152a | aca769a73400c88f72331bed684f0dc8d8e720e2 | refs/heads/master | 2023-07-20T21:25:04.136230 | 2023-05-07T07:30:10 | 2023-05-07T07:30:10 | 242,739,654 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,186 | r | dada2_insect_pipe_v1.R | # install.packages("devtools")
library("insect") ## devtools::install_github("shaunpwilkinson/insect")
library(ape)
library('taxize') # install.packages("taxize")
library(ShortRead) # packageVersion("ShortRead") # install.packages("ShortRead")
library(seqinr) # install.packages("seqinr")
library(dada2); pac... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.