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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c0ed915b4b9f9f1cca634c47af808032263ff238 | c299d9362756fcd7b43ef0d99576ffbe4914e7cb | /Project-2-Models.R | 7bcd2b41f3e5917d6131ccb956f61bcc6c1ea2a7 | [] | no_license | AJOssege/Predicting-Diabetes-Diagnosis | af02805a116ff9eb9a51c9fbfb476f1a55ea8f55 | 3aa361a1360651f902693b650cbbb39ed729334b | refs/heads/main | 2023-01-30T22:13:06.451177 | 2020-12-07T00:41:47 | 2020-12-07T00:41:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,291 | r | Project-2-Models.R | ## Set the current directory to Project-2
setwd("C:/SP-PERSONAL/CollegeWork-UVA-MSDS/STAT-6021/Project-2/")
getwd()
## Load the required libraries
library(faraway)
library(leaps)
## Diabetes data set after cleaning the unnecessary and removing the blank values.
data = read.csv("diabetes_data_sub.csv")
... |
190f1d9133dbed60c7075ce5412d7b774b9abc1a | f2af9ca57a5c8ba048f0cf62887c89908d5c4d9f | /server.R | f3fb07e43bc39ae71fd11ac85973a56f4c0e103c | [] | no_license | tarun12reddy/CalculatorShiny | 4fb90c2f973b423d9d9a89f1ca18868734a74bf0 | e373bc4aa616cd5be4c7c28c349f58c46f8585bc | refs/heads/master | 2021-01-01T18:01:48.453705 | 2015-03-17T17:30:30 | 2015-03-17T17:30:30 | 32,408,666 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,059 | r | server.R |
shinyServer(function(input, output, session){
Input <- reactive({
input_1 <- input$var1
input_2 <- input$var2
input_sym <- input$var3
input_all <- c(input_1, input_2, input_sym)
return (input_all)
})
output$value <- renderText({
data <- Input()
... |
dbdcdca84b82a146af05cf341c32e002b90b36bf | 12e09fb76eac4d76ef25c4214d6a40128282818d | /man/stj_ler_julgados.Rd | cf273f6551f54fe675450c52c7e089e7dcbbae21 | [
"MIT"
] | permissive | jjesusfilho/stj | 76d5676c447a9fb58e42f4bdec9a0761c0a43c0a | 2a4ccd87ba81197b4f929839830ca71135e15aea | refs/heads/master | 2023-06-22T03:30:11.940248 | 2023-06-20T16:55:25 | 2023-06-20T16:55:25 | 202,847,868 | 12 | 6 | null | null | null | null | UTF-8 | R | false | true | 464 | rd | stj_ler_julgados.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stj_ler_julgados.R
\name{stj_ler_julgados}
\alias{stj_ler_julgados}
\title{Lê julgados do STJ}
\usage{
stj_ler_julgados(arquivos = NULL, diretorio = ".")
}
\arguments{
\item{arquivos}{lista de arquivos}
\item{diretorio}{se arquivos não forem... |
b60b665decae64cc9d0a99cdcc6005084793d449 | 521c587338a8f6355ce1efb260ba590cf22848ad | /cachematrix.R | 0a37d5c1949f6f84722a6c998f46cb4fdfac38bb | [] | no_license | s-vichu/ProgrammingAssignment2 | 68b9328ed14cbcf7d4ceaee0c2887b582d36d365 | 0be4755686e02fe6560fee7bd4ef4e3a1264faff | refs/heads/master | 2021-01-09T06:23:03.562849 | 2014-04-25T06:51:01 | 2014-04-25T06:51:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,920 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## makeCacheMatrix takes a R matrix object and encaptulates it into a function
## consisting of it's inverse along with getters and setters for both
makeCacheMatrix <- function(x = matrix()) {
if (is.null(x)) return(NULL) ## If th... |
3b0fb07c79fbff9de5fe27198477f29293c30c17 | 9132996d08213cdf27c8f6d444e3f5b2cfdcfc85 | /man/add_feature_contiguity_constraints.Rd | 6d49b1c0512d6315334235d92f21eb8441c995aa | [] | no_license | prioritizr/prioritizr | 152013e81c1ae4af60d6e326e2e849fb066d80ba | e9212a5fdfc90895a3638a12960e9ef8fba58cab | refs/heads/main | 2023-08-08T19:17:55.037205 | 2023-08-08T01:42:42 | 2023-08-08T01:42:42 | 80,953,648 | 119 | 30 | null | 2023-08-22T01:51:19 | 2017-02-04T22:45:17 | R | UTF-8 | R | false | true | 11,341 | rd | add_feature_contiguity_constraints.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/add_feature_contiguity_constraints.R
\encoding{UTF-8}
\name{add_feature_contiguity_constraints}
\alias{add_feature_contiguity_constraints}
\alias{add_feature_contiguity_constraints,ConservationProblem,ANY,matrix-method}
\alias{add_feature_con... |
d4e951d2790fc2eba3a1fc06c8d2b4d898ebc052 | ddbb2f92f19467b2aeb5517a9becf0d282a61926 | /R/symbiota.R | a3e7dc718b49fda57b67f91ec60a7406d1770bdb | [] | no_license | dwmccheyne/rSymbiota | 1ddfa023b54ac7106256c410073acf654b50d2ea | 256945d77c4814eb6358589232a61b788891e39f | refs/heads/master | 2021-05-17T08:05:40.782448 | 2019-08-06T06:25:04 | 2019-08-06T06:25:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,267 | r | symbiota.R | #' Retrieve records from the Symbiota portals
#' @param taxon character string specifying the taxon name (e.g., species name, family name or higher taxon)
#' @param db portal name, for an overview see \code{\link{portals}}
#' @param country character string specifying country, e.g., "USA"
#' @param state character stri... |
2b264ee7f65382882f7b9966240f940e9192f7a1 | 5dfb2dbb3b6a2516b8f2a42df11267c6d13e9d34 | /load_data.R | 0920dffb25eeee1fcb47c0a095df6dbd9e801c0d | [] | no_license | danfan1/ExData_Plotting1 | 4cceffc90e18f9256ca27b0c84583e21e54769ea | d1bf49614edeb6583e0fdc72c62d618379423939 | refs/heads/master | 2021-01-18T08:40:53.728730 | 2016-02-09T14:59:11 | 2016-02-09T14:59:11 | 51,367,033 | 0 | 0 | null | 2016-02-09T13:02:57 | 2016-02-09T13:02:57 | null | UTF-8 | R | false | false | 997 | r | load_data.R | # Download data
if (!file.exists("data")) {
dir.create("data")
}
dataFile <- "./data/household_power_consumption.txt"
if (!file.exists(dataFile)) {
fileUrl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
destFile <- "./data/household_power_consumption.zip"
download.fil... |
75d1edd684caee917896d4fd43cfbb365066bfc4 | 3703faed5861f855dbf1677f02af7902c3f46687 | /src/GeneticNetworks/Genetic_Networks/GeneticNetworks.R | e795a4873270750b4e66a79e7a225d20c04a4c37 | [] | no_license | ECGen/ComGenR_development | 33a36e4b642e3d4fd6a2343f6e2afe192fdf09c7 | 799052622b61b7599721a6d7cb432d701bfd147e | refs/heads/master | 2021-05-27T07:46:19.821008 | 2014-03-18T23:34:36 | 2014-03-18T23:34:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,371 | r | GeneticNetworks.R | #Genetic Networks
source('/Users/Aeolus/Documents/Active_Projects/GeneticNetworks/Genetic_Networks/ind_net.R')
library(igraph)
source('/Users/Aeolus/Documents/Active_Projects/GeneticNetworks/Genetic_Networks/igraph_adds.R')
library(RColorBrewer)
#Relict Data
#With parentals
dir('/Users/aeolus/Documents/Active_Project... |
d116b350cfe070069c4b4d7094649a5df71213c4 | b6d3940b0e6461fbaea946f5dfa94e66c5e1d4c5 | /R/LDAK_kinship.R | 0ed7752e055d1c39e1334e2833c209fe21115fdc | [] | no_license | vincentgarin/mppGWAS | 763788b472cbfc3c35fc6a95976f1c6b495006ec | 3cfe5a34f31f085390e9890a9e04a3851f03c76c | refs/heads/master | 2021-03-22T03:04:27.084701 | 2017-11-23T16:14:36 | 2017-11-23T16:14:36 | 96,194,424 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,816 | r | LDAK_kinship.R | ################
# LDAK_kinship #
################
# Compute linkage desequilibrium adjusted kinship
#
# Compute linkage disequilibrium adjusted kinship using the program LDAK.
# (http://dougspeed.com/ldak/). The function is a wrapper for the LDAK
# software.
#
# @param ldak.dir directory where the ldak executable pro... |
0f58158ef890a77a3f529bed5f6af25a6c634880 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /paws/R/support_service.R | e3c8048366af8b16819bed36c453ee0b5cae6239 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | false | 10,072 | r | support_service.R | # This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common new_handlers new_service set_config merge_config
NULL
#' AWS Support
#'
#' @description
#' Amazon Web Services Support
#'
#' The *Amazon Web Services Support API Reference* is intended for
#' programmers who need detailed infor... |
d87b241a382d50fdd0d4cb32567082ae7dbb7064 | 949bc539c53ffa5233beb66787826dd7cb09c402 | /wu_process_results.R | 2b57c7af2072666dee52abfba4d87f53cb895294 | [] | no_license | julianhatwell/likertimpute | a57feb0a17094e094339e8b19f5159de75328fb0 | 15041e197d51428dfc592968baea876473828e29 | refs/heads/master | 2021-01-20T05:36:31.728019 | 2017-09-25T18:39:35 | 2017-09-25T18:39:35 | 89,794,617 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,562 | r | wu_process_results.R | # results comparisons
# wu_data_pop <- synth_wu_data(wu_data_model, 500000, seed = 100001)
# wu_stats_pop_sym <- wu_collect_stats(wu_data_pop$sym)
# wu_stats_pop_masym <- wu_collect_stats(wu_data_pop$masym)
# wu_stats_pop_sasym <- wu_collect_stats(wu_data_pop$sasym)
# save(wu_stats_pop_sym
# , wu_stats_pop_masym
#... |
e3b81b7928ed23b207374edb70ecd11e0a50add1 | bde79a681f8c6d98bb9d15f3304881498981bf03 | /analysis/report-cards/07-generate_report_cards.R | 9acdce281c8de14bdfce44fd0774482a4ddab14f | [
"MIT"
] | permissive | sparkgeo/local-reef-pressures | 17c446df65c4236a7e84071fda2ae42d1eb8bdc6 | 5ec1a647807e9cb5b0f5120d4d0d9a7e5bfc183e | refs/heads/main | 2023-07-04T13:54:56.103132 | 2021-08-09T12:56:55 | 2021-08-09T12:56:55 | 395,079,635 | 0 | 0 | NOASSERTION | 2021-08-11T18:15:37 | 2021-08-11T18:15:36 | null | UTF-8 | R | false | false | 155 | r | 07-generate_report_cards.R | source(here::here("R", "generate_report_card.R"))
source(here::here("R", "recode_bcus.R"))
generate_report_cards(bcu = "all", open = FALSE, quiet = TRUE)
|
8b77589e463c823cd974ea1c0396470591ac7c41 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /distr6/inst/testfiles/C_EmpiricalMVPdf/libFuzzer_C_EmpiricalMVPdf/C_EmpiricalMVPdf_valgrind_files/1610036127-test.R | 40f3b8903790c728884e9018fb2fa57786bfd4fc | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 322 | r | 1610036127-test.R | testlist <- list(data = structure(0, .Dim = c(1L, 1L)), x = structure(c(1.22317776825925e+113, 6.0066238872389e+180, 1.15963946977352e-152, 5.77096118049817e+228, 1.30813306747254e+166, 3.5316372282246e-304, 5.33991605498766e-307, 0), .Dim = c(8L, 1L)))
result <- do.call(distr6:::C_EmpiricalMVPdf,testlist)
str(resul... |
defa5dd5cd3c38a406477ae3b5ee2dd3eb41a516 | d34a8d7b06cea619d62c97d17e77cc8c81cbdb66 | /R/demoChart.R | 313da5f19a911a4f2f73bb1d5ddbd6f65889220d | [] | no_license | AngelOfMusic/QCAGUI | 97d790c25161c86528ce81c96b4ff533e311651a | 7cd2a1b3b408b61a8bc9619eda8a0be473699045 | refs/heads/master | 2021-01-16T19:41:12.199237 | 2016-02-16T15:40:42 | 2016-02-16T15:40:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 599 | r | demoChart.R | `demoChart` <-
function(primes = c(""), configs = c(""), prod.split="") {
if (prod.split != "") prod.split <- paste("\\", prod.split, sep="")
primes.split <- strsplit(primes, prod.split)
configs.split <- strsplit(configs, prod.split)
mtrx <- matrix(FALSE, nrow=length(primes), ncol... |
de97e573a03919fbb2622950afad03b527785321 | 1e018375afab08fc10bc5456448234c788ff1aae | /rcloud.packages/rcloud.lux/R/zzz.R | 05c5d22b7278d4e7e51080a9f9bc9550d92869ba | [
"MIT"
] | permissive | att/rcloud | 5187a71e83726e9e7425adde8534cf66690cac7f | 3630ec73cebfc8df1b2ee4bd4a07fbe81cb03bb0 | refs/heads/develop | 2023-08-23T18:14:45.171238 | 2022-08-25T23:49:52 | 2022-08-25T23:49:52 | 5,250,457 | 322 | 138 | MIT | 2023-05-22T19:46:48 | 2012-07-31T19:32:52 | JavaScript | UTF-8 | R | false | false | 383 | r | zzz.R | lux.caps <- NULL
.onLoad <- function(libname, pkgname)
{
f <- function(module.name, module.path) {
path <- system.file("javascript", module.path, package="rcloud.lux")
caps <- rcloud.install.js.module(module.name,
paste(readLines(path), collapse='\n'))
caps
}
f(... |
896411194fabf4fbb5e83abc34fb12888d4df6a1 | c1edefa312a3613f6d684b5658454dcaef80b4e1 | /R/0506 텍스트마이닝(중요)/문자열 가공하기(stringr).R | 979020e75dec28a191fc79d77ae2855aef1aa030 | [] | no_license | SunhoPark2107/R-lecture-2021 | 36fdce26a9ee37d7ff950abb8f15350306f536fc | 55be11430f13147ab2562b7a81258db01a0c1477 | refs/heads/main | 2023-06-04T14:05:56.891884 | 2021-06-25T11:27:11 | 2021-06-25T11:27:11 | 359,694,724 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,209 | r | 문자열 가공하기(stringr).R | # 문자열 처리
# 수업자료 : https://m.blog.naver.com/PostView.nhn?blogId=nife0719&logNo=220975845463&proxyReferer=https:%2F%2Fwww.google.com%2F
library(stringr)
# 1. Character로 변환.
example <- 1
typeof(example) # double => 실수
example <- as.character(example)
typeof(example) # character이 됨.
# 입력을 받는 경우
input <- readline(... |
c8aad5b815b5b8079767d93f8149c52d0f0007d4 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/bipartite/examples/swap.web.Rd.R | 53d3ac6f3fc3418a7d57f2181b05f2f74b3d0166 | [] | 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 | 186 | r | swap.web.Rd.R | library(bipartite)
### Name: swap.web
### Title: Creates null model for bipartite networks
### Aliases: swap.web
### Keywords: package
### ** Examples
swap.web(Safariland, N=2)
|
cd6714636348a0c129baef5d61f036722bf42c51 | d244fc1b19dbce9c0478f92462a851aeb98479f5 | /R/map_linearinterpol_with_xtrafo.R | 18a1a2b95b1ce01d1e7d169d59054456a8e74815 | [
"MIT"
] | permissive | gschnabel/nucdataBaynet | 46cda45e26c207c7f21c8c63e52b67dd145fba75 | b209af629c8df7302c0744a6d9182b4963dc5fab | refs/heads/main | 2023-01-28T22:34:50.182928 | 2023-01-23T10:19:35 | 2023-01-23T10:19:35 | 183,237,289 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,323 | r | map_linearinterpol_with_xtrafo.R | #' Create a linear interpolation mapping including energy calibration
#'
#' Creates a map to linearly interpolate the values at the source indices
#' given on a one-dimensional mesh to the one-dimensional mesh associated with
#' the variables at the target indices.
#' It is possible to apply a shift and scaling to the ... |
76cd817856cd2539e76055a5c685bff9f1ac9e68 | 29585dff702209dd446c0ab52ceea046c58e384e | /fechner/inst/archive/shortest.paths.information.R | d80ad0cdf6d54a3bc1208a7bf7e5aa02fdbd86bf | [] | 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 | 3,071 | r | shortest.paths.information.R | ########################################################################################
##computes graph-theoretic information about shortest paths from given source vertices##
##to all target vertices using an adjacency matrix; NOTE: this is an INTERNAL FUNCTION##
##not exported by the package, and as such, it doe... |
3200f0ada9dd7432bc4baa4d0f3a09b4267ed0a3 | 382c97a6ded67b48a53a5b9a1e3b9f7fe0a424dc | /scriptd_stats02_cv_functions.R | 7eeecd63107d772092b7b5c928963d852876ce5a | [] | no_license | NxNiki/weighted_lasso | 44d3f6e533836bb1e1bb3555826b1f828129f9c2 | 3e555977af5225708bdf1fd4acac11546c819b7d | refs/heads/master | 2021-12-24T08:24:04.914236 | 2021-09-12T21:12:42 | 2021-09-12T21:12:42 | 152,316,350 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 30,719 | r | scriptd_stats02_cv_functions.R | #!/usr/bin/env Rscript
library(caret)
# createFolds()
scale.0.1 = function(dat) {
# the output will be coerced to matrix.
dat = as.matrix(dat)
mins = apply(dat, 2, min)
maxs = apply(dat, 2, max)
scaled.dat = scale(dat, center = mins, scale = maxs - mins)
return(scaled.dat)
}
co... |
25d5465799b9dc8b15d27845762d6f775fde1875 | 2e1fc83f033dc1692f8ec5eaa7e54fecfce86dcb | /combined_Kallithea_genome_diversity_fig.R | 91c137afaf5086d7641fdf89adef5ae308104180 | [] | no_license | megan-a-wallace/Dros_DNA_virus_diversity | 49d6d753babf72bb76f0c4d2ef67e5efd552a98f | f05722a266132a8ec843f12d6795cbc8d1a5b886 | refs/heads/master | 2023-04-30T15:29:22.155786 | 2021-01-27T21:59:14 | 2021-01-27T21:59:14 | 299,576,407 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,504 | r | combined_Kallithea_genome_diversity_fig.R | ############################################
## Kallithea virus genomic diversity plot ##
############################################
##Author : Megan Wallace
##September 2020
##Figure showing variation in total piS and intergenic pi across the Kallithea genome, above variation in the % of samples showing InDel... |
64c3f30b4e6490701ab57045693ee57e36e420f1 | 231669037e1b1d0d0967a1e7961a81ad5b43c871 | /Analiza_Roznicowa/000_filterData.R | c7d072233a398b96a6bf9fa32dd6e82cc8d34bc9 | [] | no_license | MarcinKosinski/SymbiozaV | 1ac95d1cf59a2dfd61e74bde37a50684b016fdbe | 727c661b7686a6a8d278b778f08ef477e24aaabb | refs/heads/master | 2021-01-17T12:37:13.807092 | 2016-06-14T12:03:19 | 2016-06-14T12:03:19 | 56,577,666 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,070 | r | 000_filterData.R | # 0.
# - Wyczyścić dane:
# Filer the data of the low variability ,
# by removing every column that has 0 in each sample,
# removing every row that has 0 in 70% in samples,
# proceeding with Median Absolute Deviation (MAD) analysis for each row,
# (removing 10% bottom retroelements)
# 0a) Filer the data of the low ... |
9bb0b908238fd1d4dca0fc1f2515cceff339b3cb | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/photobiologyLEDs/examples/unknown.Rd.R | e216084d1a0f6a3430752ded40125aa31a7a972b | [] | 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 | 184 | r | unknown.Rd.R | library(photobiologyLEDs)
### Name: unknown
### Title: Spectral data for LEDs array of unknown manufacturer
### Aliases: unknown
### Keywords: datasets
### ** Examples
unknown
|
cc06fcbcfb96fdf0cbf8a9a583ce6ead355ac15c | e07d9677c74091fc500ccbfcbedc90681125c116 | /man/is.tbl_lazy.Rd | fe3ca34f33231abe2f488df5535d5789cdcccc2c | [] | no_license | nathaneastwood/flicker | 8d735391e0a066a44fc49878faa874168280091b | fcc0ef876f8b7a2ecef3a2898e71750920ed9f63 | refs/heads/master | 2023-03-06T14:05:36.020803 | 2021-02-21T18:20:26 | 2021-02-21T18:20:26 | 302,949,394 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 323 | rd | is.tbl_lazy.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{is.tbl_lazy}
\alias{is.tbl_lazy}
\alias{is.tbl_spark}
\title{Lazy R Object Checks}
\usage{
is.tbl_lazy(x)
is.tbl_spark(x)
}
\arguments{
\item{x}{Any R object.}
}
\value{
A \code{logical(1)}.
}
\description{
Lazy R Object Checks... |
dabc70044d6c95a42406be72b509e168b225ef41 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/CluMP/examples/PanelPlot.Rd.R | 63f2154924b0e48bcdf305ae789d6342bb7bbed2 | [] | 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 | 486 | r | PanelPlot.Rd.R | library(CluMP)
### Name: PanelPlot
### Title: Plot Micro-Panel (longitudinal) Data
### Aliases: PanelPlot
### Keywords: CLUMP
### ** Examples
dataMale <- GeneratePanel(n = 50, Param = ParamLinear, NbVisit = 10)
dataMale$Gender <- "M"
dataFemale <- GeneratePanel(n = 50, Param = ParamLinear, NbVisit = 10)
dataFemale$... |
060415b011f6b31f229bc127d6a9fea596422798 | 39b5aec17aef454545d157e12064e443ef9d20d3 | /man/fits.Rd | af63e69a316724e60ab9fb4a5a0e2ead1bd979c8 | [] | no_license | skoval/anoint | 1a311d38133453c7f045eda3d664a2913957ac8c | dbf1118fe5ea34417f84d5e04b59fd0cb919ec99 | refs/heads/master | 2021-01-10T21:53:06.098625 | 2015-07-19T08:26:29 | 2015-07-19T08:26:29 | 38,982,611 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 497 | rd | fits.Rd | \name{fits}
\docType{methods}
\alias{fits}
\alias{fits,anoint.fit-method}
\title{Extract fits from \code{anoint.fit} object}
\description{
Extract the specified \code{anoint} model from a \code{anoint.fit} object.
}
\section{Methods}{
\describe{
\item{fits}{\code{signature(object = "anoint.fit",type=c("obo","uim",... |
3db4194ebe030a486098be2e97ce7ac763f6e745 | 34bc8f7b265cc33ada6ea177ad964cbd5aa486d1 | /functions.R | a140694e55aa0272d33bc6a687ffde28895b4b4f | [] | no_license | nxskok/ratings | 7f8f31bc3853f9dc1b27b9ca722ce4d3ccba6f07 | 681f13953ac82e8434853c61f298cc8b3362eb17 | refs/heads/master | 2022-11-10T12:16:07.073934 | 2020-06-25T22:15:50 | 2020-06-25T22:15:50 | 274,554,527 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,625 | r | functions.R | ## functions.R
# functions for making prior and posterior
# given country name, return all leagues in that country
country_to_leagues=function(games,country) {
games %>% select(comp, comp_name, time_stamp, country) %>%
group_by(comp) %>%
summarize(nm=min(comp_name),nt=min(time_stamp),nc=min(country)) %>%... |
208f20bef33e1e074da50cfb3666d653e94bb9ea | 663763cee873e142ec8da64a9eac151f091bd2a3 | /man/wildtype_mutant_pnpp.Rd | 710af108e9db65246caee36f9d31e3b78f83c2c8 | [] | no_license | cran/ddpcr | 1121c4066d93281cb003f789cf18f4663122e624 | e0658fb695a76172c00922987568358372ad3c8e | refs/heads/master | 2023-09-02T04:53:58.533329 | 2023-08-20T22:32:32 | 2023-08-20T23:31:02 | 52,090,808 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,829 | rd | wildtype_mutant_pnpp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/type-wildtype_mutant_pnpp.R
\name{wildtype_mutant_pnpp}
\alias{wildtype_mutant_pnpp}
\title{Plate type: wildtype/mutant PNPP}
\description{
A plate of type \code{wildtype_mutant_pnpp} is a subtype of
\code{\link[ddpcr]{pnpp_experiment}... |
14e4bd9cddc931c31b35935b8d9894dfc2aac4be | 2249a7339774fbe08d165225a68ddb32569ee67e | /Machine Learning A-Z Template Folder/Part 2 - Regression/Section 5 - Multiple Linear Regression/Exercises/Multiple_Linear_Regression.R | 47d191c19057a7db7de7c9b562c62d134bd45bf7 | [] | no_license | Timothy-Kornish/MachineLearningWithPythonAndR | 790001ec8310ffc3ec2e6fdf9813335eda5162f3 | 096884cadd6fc372c83720b0a435ed8a2324d885 | refs/heads/master | 2021-09-05T15:08:06.088726 | 2018-01-29T05:25:14 | 2018-01-29T05:25:14 | 113,071,852 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,978 | r | Multiple_Linear_Regression.R | #Multiple Linear Regression
library(caTools)
#-------------------------------------------------------------------------------
# Loading in Data
#-------------------------------------------------------------------------------
dataset = read.csv('50_Startups.csv')
print('--------------------... |
25f6fbe22c7d0647f57e5ea2c8ababcaad3f2bd4 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Kronegger-Pfandler-Pichler/bomb/p20-5.pddl_planlen=1/p20-5.pddl_planlen=1.R | 37b2f29951d3b65e053ea8268d4a29d90ff23f23 | [] | 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 | 1,363 | r | p20-5.pddl_planlen=1.R | c DCNF-Autarky [version 0.0.1].
c Copyright (c) 2018-2019 Swansea University.
c
c Input Clause Count: 5771
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 5591
c
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 5591
c
c Input Parameter (command line, fil... |
0b67324d65226182fdba8f1a1df70e4772160bb3 | 18f3e432f4c82d2a6f66789393668d31a1e9a175 | /man/pk.tss.Rd | c9dd7352e2c9c05781965c96c49b088078e721a5 | [] | no_license | ksl31/pknca | 39490c48c87a41127582706acc7d007fc8664b2a | 5f2743cd46b33a67c2da7f78a928447e1fd0d895 | refs/heads/master | 2021-04-26T23:28:19.193889 | 2018-02-17T21:58:38 | 2018-02-17T21:58:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 772 | rd | pk.tss.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tss.R
\name{pk.tss}
\alias{pk.tss}
\title{Compute the time to steady-state (tss)}
\usage{
pk.tss(..., type = c("monoexponential", "stepwise.linear"), check = TRUE)
}
\arguments{
\item{\dots}{Passed to \code{\link{pk.tss.monoexponential}} or
\... |
b33c8bb32bdb7a9ce3b4a2a90d96d1de5bb6ea3e | 40ce3595e3a5404f7025a627e4ffbbb9d1a0e849 | /R/signatureDistance.r | b2f70e76a042bd8ad21eb6dd4a3efbf326f141ca | [] | no_license | joseTamezPena/FRESA.CAD | 2d3e0f3571714345fe821e9fc969c890d49fdbb0 | 1de0d21c33094be3a6a3bcf6809b2e03a6d0d6a5 | refs/heads/master | 2023-09-01T01:20:26.403977 | 2023-08-21T22:16:25 | 2023-08-21T22:16:25 | 184,284,321 | 5 | 0 | null | 2020-12-02T00:17:31 | 2019-04-30T15:10:29 | R | UTF-8 | R | false | false | 5,867 | r | signatureDistance.r | signatureDistance <-
function (template, data=NULL, method = c("pearson","spearman","kendall","RSS","MAN","NB"),fwts=NULL)
{
#given the template: mean,median,sample, etc....;signatureDistance it will return the distance between the template to each row of the dataframe
#the template is a named numeric vector
#the dat... |
48925429e79aae2f4d8f30a2600c248b0cf68dc2 | 1859f328ad9ff15d7ebc5491ef99879346d7e707 | /R/utils-tests.R | b94fe25e388cdb99e4f1635de40ed604e6cb6f6c | [] | no_license | grattan/covid19.model.sa2 | c5671e92de0fa3caeaf32da51a62cc45856146b7 | 980f73e7a14ead9caa921ec703928d5c6ed4f028 | refs/heads/master | 2022-11-27T06:37:19.072469 | 2020-08-09T16:52:25 | 2020-08-09T16:52:25 | 255,219,008 | 4 | 0 | null | 2020-06-25T10:43:55 | 2020-04-13T03:07:13 | TeX | UTF-8 | R | false | false | 804 | r | utils-tests.R |
# Useful for tests to have a 'typically' generated file
read_typical <- function() {
# S$Statuses[, .SD, .SDcols = c(names(S$Statuses)[seq_len(which_first(names(S$Statuses) == "V1"))])] %>% drop_cols(c("pid", "Resistance", "school_id", "work_dzn", "seqN", "HouseholdSize", "V1")) %>% {lapply(X = 1:9, FUN = function... |
4ec91e67ed310a7baf572c5c6eb0c6a223f317fb | 969d4316ad794a0eef0213b01a7b06ddfdf8d90d | /09_functionals/06_family/exercise2.r | ce3d196ce602fa1e653e2f93c4f59cdfd7fa219b | [] | no_license | Bohdan-Khomtchouk/adv-r-book-solutions | adaa5b5f178999d130aff1359a23e978e39e86ae | e1b3a63c0539de871728b522604110c0aa18c7d1 | refs/heads/master | 2021-01-22T00:36:17.450660 | 2015-12-06T02:54:02 | 2015-12-06T02:54:02 | 47,481,353 | 1 | 1 | null | 2015-12-06T02:49:46 | 2015-12-06T02:49:46 | null | UTF-8 | R | false | false | 474 | r | exercise2.r | ### Create a table that has and, or, add, multiply, smaller, and larger in the columns and binary operator, reducing variant, vectorised variant, and array variants in the rows.
### Fill in the cells with the names of base R functions that perform each of the roles.
#TODO:
### Compare the names and arguments of the e... |
501a25571514ccc65c09aed30c9aac8bd75f3e41 | 44cf65e7ab4c487535d8ba91086b66b0b9523af6 | /data/Newspapers/2002.07.09.editorial.90423.0930.r | ad8f67b685988ffb1aca8c7ed5074c91380689f4 | [] | no_license | narcis96/decrypting-alpha | f14a746ca47088ec3182d610bfb68d0d4d3b504e | 5c665107017922d0f74106c13d097bfca0516e66 | refs/heads/master | 2021-08-22T07:27:31.764027 | 2017-11-29T12:00:20 | 2017-11-29T12:00:20 | 111,142,761 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,567 | r | 2002.07.09.editorial.90423.0930.r | Joita Tanase , procurorul general , colegul din tinerete al lui Adrian Nastase si un fel de cal breaz al Justitiei de astazi , a inaintat recurs in anulare pentru a ingropa decizia de faliment in cazul Bancii Internationale a Religiilor .
domnul Joita Tanase ( sau viceversa ) poate inainta orice fel de recurs .
daca ... |
544257faf74e34b01d83f642a27e200e7125fbe2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/spdep/examples/plot.nb.Rd.R | e527906b26095e02474cffe339f2d8d433e472f6 | [] | 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 | 442 | r | plot.nb.Rd.R | library(spdep)
### Name: plot.nb
### Title: Plot a neighbours list
### Aliases: plot.nb plot.listw
### Keywords: spatial
### ** Examples
if (require(rgdal, quietly=TRUE)) {
example(columbus, package="spData")
coords <- coordinates(columbus)
plot(col.gal.nb, coords)
title(main="GAL order 1 links with first nearest n... |
3de30c6a497679ce95390d0cc6c2656aa5cc4cf6 | c459dd32d88158cb064c3af2bc2ea8c7ab77c667 | /findmarkers/findmarkers_by_celltype/annotate_markers/annotate_cellgroup4_degs_to_cellgroups.R | da2efcc30b7e5e45667809196530ecc04dbccc46 | [] | no_license | ding-lab/ccRCC_snRNA_analysis | d06b8af60717779671debe3632cad744467a9668 | ac852b3209d2479a199aa96eed3096db0b5c66f4 | refs/heads/master | 2023-06-21T15:57:54.088257 | 2023-06-09T20:41:56 | 2023-06-09T20:41:56 | 203,657,413 | 6 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,019 | r | annotate_cellgroup4_degs_to_cellgroups.R | # Yige Wu @WashU Aug 2020
# set up libraries and output directory -----------------------------------
## set working directory
dir_base = "~/Box/Ding_Lab/Projects_Current/RCC/ccRCC_snRNA/"
setwd(dir_base)
source("./ccRCC_snRNA_analysis/load_pkgs.R")
source("./ccRCC_snRNA_analysis/functions.R")
source("./ccRCC_snRNA_an... |
bb06333591dcc773fa36913ce378202eaab089ba | b9015fad42a295b16fc041cba41b0475612948b3 | /preprocessing/interpolation_epa_subset_others.R | 822ba7897c0bc7e3d5d2f59012a14146877d80b7 | [
"MIT"
] | permissive | rgualan/soton-data-science-thesis | 894b228c842c480a2da22aaa9ada4c6ea6204472 | dc50e7bc73e6b63bc5b53c10a1ebdfdefafb117b | refs/heads/master | 2021-06-25T09:38:23.210947 | 2017-09-07T11:31:17 | 2017-09-07T11:31:17 | 94,209,694 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,691 | r | interpolation_epa_subset_others.R | ## Clean environment
rm(list=ls())
## Load required packages ###
library(fields)
library(raster)
library(spatial.tools)
library(gdalUtils)
library(rgdal)
library(gstat)
library(automap)
library(imputation)
library(spTimer)
library(kknn)
source("util/my_helper.R")
## Global variables
paper <- setupPaper()
## Read dat... |
77d7ad83fb0dac54a08e71b58371538855364a34 | ff9eb712be2af2fa24b28ecc75341b741d5e0b01 | /man/EPA.89b.sulfate.df.Rd | 01dcda4a903c7bdf3c2bc18fe239f9e85a3d7d80 | [] | no_license | alexkowa/EnvStats | 715c35c196832480ee304af1034ce286e40e46c2 | 166e5445d252aa77e50b2b0316f79dee6d070d14 | refs/heads/master | 2023-06-26T19:27:24.446592 | 2023-06-14T05:48:07 | 2023-06-14T05:48:07 | 140,378,542 | 21 | 6 | null | 2023-05-10T10:27:08 | 2018-07-10T04:49:22 | R | UTF-8 | R | false | false | 922 | rd | EPA.89b.sulfate.df.Rd | \name{EPA.89b.sulfate.df}
\alias{EPA.89b.sulfate.df}
\docType{data}
\title{
Sulfate Concentrations from 1989 USEPA Guidance Document
}
\description{
Sulfate concentrations (mg/L). Nondetects reported as \code{<1450}.
}
\usage{data(EPA.89b.sulfate.df)}
\format{
A data frame with 24 observations on the... |
b55cd4e5fd3d67fced4117ca132e9e1d29303588 | ed8db4d0856d644f1182b09033a0b72c819d461f | /R/classMethod_plotStoichiometry.r | da1c3a0176554421fb9c2630e9c47ed75de1630b | [] | no_license | dkneis/rodeo | f53e2157f0142574e2b3ead14e4e3fffe9d5ac4d | d976d5dd2a439f1df4b4e6b1446b4a62cc82fec7 | refs/heads/master | 2022-02-18T14:29:42.324322 | 2022-01-31T16:49:14 | 2022-01-31T16:49:14 | 30,355,625 | 7 | 4 | null | 2015-07-28T15:59:28 | 2015-02-05T13:01:50 | R | UTF-8 | R | false | false | 4,008 | r | classMethod_plotStoichiometry.r | #' Plot Qualitative Stoichiometry Matrix
#'
#' Visualizes the stoichiometry matrix using standard plot methods. The sign
#' of stoichiometric factors is displayed as upward and downward pointing
#' triangles. Also visualized are dependencies of process rates on variables.
#'
#' @name plotStoichiometry
#'
#' @param box ... |
42498c31922bcd4f31befbf36f739ef905956c7f | 215ca85a9ff709d1e221b3165e7e10eb783cf29c | /man/dots_as_list.Rd | 45230365ab513301fc7d3bc90518b53ea1ed608e | [] | no_license | dpcarballo/coloR | 2b845eb3493038d5458db4c76ac25d449c92429c | 2e1b2b3808d784cbf27a5d464fa8189e5faf4197 | refs/heads/master | 2020-05-04T17:06:06.094781 | 2019-04-25T11:38:31 | 2019-04-25T11:38:31 | 179,273,901 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 730 | rd | dots_as_list.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dots_as_list.R
\name{dots_as_list}
\alias{dots_as_list}
\title{Standardizes the format of ... arguments. If a list is given, no
modification is made. Otherwise, a list is created with all arguments
in ...}
\usage{
dots_as_list(...)
}... |
1e6dba013416226b442329b029d73041476f3b37 | 545b068c23bb88048d59d3aa7d5235fa6c33ff5f | /R/csppFull.R | 1e65aea7f2077260b1d0a3f59b47426f900d94ad | [] | permissive | colbrydi/cspp | fc0b3e749c1e902c7e370a10c30f2cc109266398 | 80a7acceb5bc215b68411bc9755116bc5a74a458 | refs/heads/master | 2021-05-22T19:07:09.110745 | 2020-04-18T06:02:26 | 2020-04-18T06:02:26 | 253,053,208 | 0 | 0 | MIT | 2020-04-04T17:02:28 | 2020-04-04T17:02:28 | null | UTF-8 | R | false | false | 1,260 | r | csppFull.R | #' Full data from IPPSR Correlates of State Policy Project v2.2
#'
#' The Correlates of State Policy Project includes more than 2000 variables,
#' with observations across the 50 U.S. states and across time (1900-2016, approximately).
#' These variables represent policy outputs or political, social, or economic facto... |
9fc16d07987a66e0bd7bf1d01c88db785b328b0d | ef499c17b1a1c7aca1a8c52c03ad29e2d24ae80d | /Extra/envir.R | 0306feb1849490741778ce79b885fe10a6e78188 | [
"MIT"
] | permissive | Protonk/debugcast | a554cb495ebf77c507dd0c60460bf11245ca07d1 | 39372bbb4280afc1c7cc53c26f73e8783f6bbf15 | refs/heads/master | 2016-09-06T05:47:43.064075 | 2013-07-01T15:50:28 | 2013-07-01T15:50:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,029 | r | envir.R | ## Reasoning about Scope in R
# R is lexically scoped and uses function closures to build scopes
# see http://darrenjw.wordpress.com/2011/11/23/lexical-scope-and-function-closures-in-r/
# for some more on that.
## Borrowing examples from that post...
a <- 1
b <- 2
f<-function( x ) {
a * x + b
}
g<-function( x ) {
... |
31f793b9a8b6a9a215b986567e25899cb3451c74 | 01590bb4a4f5e2a3ec115b84e885cd565d3eef87 | /man/wilkinson.Rd | 66898af67af8bf2762421a4ac78576e7041af236 | [] | no_license | cran/labeling | 09b1faa60e804dfce3a0e82077bf7c8c730e3b81 | f0cca6d69a746b8bffd9f8fd170776c1ae2775d9 | refs/heads/master | 2021-05-15T01:55:59.170010 | 2020-10-20T06:00:09 | 2020-10-20T06:00:09 | 17,696,963 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,040 | rd | wilkinson.Rd | \name{wilkinson}
\alias{wilkinson}
\title{Wilkinson's labeling algorithm}
\usage{
wilkinson(dmin, dmax, m,
Q = c(1, 5, 2, 2.5, 3, 4, 1.5, 7, 6, 8, 9),
mincoverage = 0.8,
mrange = max(floor(m/2), 2):ceiling(6 * m))
}
\arguments{
\item{dmin}{minimum of the data range}
\item{dmax}{maximum of the data ra... |
ca709b848c83c13e11263599468898beb1783256 | 1e7e4b09aa76962fbb0469de67f37fed5dc826ad | /tests/testthat.R | 815989f552f0ebfb69684fb5eeb6827b801b8545 | [] | no_license | davesteps/projectNickel | ecc67ad804e0f3f6119913709a49374ae053cd1f | 7fc7a647fb4de461911160620cf1929dc4925e2f | refs/heads/master | 2020-03-31T03:36:26.173380 | 2019-11-30T18:21:13 | 2019-11-30T18:21:13 | 151,871,290 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 70 | r | testthat.R | library(testthat)
library(projectNickel)
test_check("projectNickel")
|
25b3f622dd65538d791fb33365b1697f21b046c5 | 0e6d8c50bd6c0ef5e3c97b17626bb42c9e3d8eff | /R/design_nb.R | b760f457b5504507d60b82bbc54ea5b3f3973d08 | [] | no_license | tobiasmuetze/gscounts | e04903db1993df538065cc427c45f01d2904796f | 1c614a3fd36be86a5608b83df91df040fbf0d98d | refs/heads/master | 2021-11-23T23:36:17.203662 | 2021-11-01T16:14:35 | 2021-11-01T16:14:35 | 92,069,741 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,010 | r | design_nb.R | #' @name design_nb
#' @title Clinical trials with negative binomial outcomes
#' @description Design a clinical trial with negative binomial outcomes
#' @param rate1 numeric; assumed rate of treatment group 1 in the alternative
#' @param rate2 numeric; assumed rate of treatment group 2 in the alternative
#' @param dispe... |
6219a6b5e2d15fb8537642c1da059a3a37180840 | 4c3c7bedd64dae0d8726739393f38d6863b32d8f | /R/modelSelection-methods.R | b8496df5da1d25a0c7429bff8cd13b47ecb5a36e | [] | no_license | ste-depo/INSPEcT | 11425638964219b0b619cc75b13f17dc1e4682e6 | e56818c3166c95809c1b05ead6b36b7395559932 | refs/heads/master | 2022-12-20T01:06:23.322215 | 2020-09-29T15:22:08 | 2020-09-29T15:22:08 | 113,035,680 | 5 | 2 | null | 2020-08-09T08:13:42 | 2017-12-04T11:45:43 | R | UTF-8 | R | false | false | 1,393 | r | modelSelection-methods.R | #' @rdname modelSelection
#'
#' @description
#' Method to visualize the criteria used to assess variability of rates.
#'
#' @param object An object of class INSPEcT or INSPEcT_model
#'
#' @return
#' \itemize{
#' \item modelSelection 'aic' compares nested models closest to the one with lowest AIC, 'llr' compares all ne... |
2fcad8e03210dcc869f1ccca105045cbf91e0f03 | 2fd6208ee163b1f959d9960c7fad4c64da96d649 | /R/utils_assert.R | bf3d236a552dcd5955834ca01c63556c8de9b001 | [
"MIT"
] | permissive | ropensci/bold | c1d661c27e8a44e5ec5f8b123e9d8b8ab3b25fd0 | dc46f3be5f0dc5404e9288a9836739d12d127207 | refs/heads/master | 2023-07-22T16:04:23.257812 | 2023-06-13T16:19:44 | 2023-06-13T16:19:44 | 1,950,836 | 17 | 16 | NOASSERTION | 2023-09-08T19:49:36 | 2011-06-25T03:23:46 | R | UTF-8 | R | false | false | 4,529 | r | utils_assert.R | b_assert <- function(x,
what,
name = NULL,
check.length = NULL) {
if (!length(name)) {
name <- substitute(x)
}
msgLen <- if (length(check.length) && !isFALSE(check.length)) {
b_assert_length(x = x, len = check.length, name = name,
... |
1ce1c5ce58d5d573b3943f39bddbd31d28451e34 | 98b87f6e7e180948960cacd5dab7080914c16984 | /man/metals.Rd | fd520ac301767cb42b1c7e635d65afe475d61eee | [] | no_license | alexpkeil1/qgcomp | ef1543e24d64ce3afcf5c6385904e3875d14ab5f | b09d7082bd1a3ea7508a0a2954d7351dfb2243f8 | refs/heads/main | 2023-08-17T21:12:52.820929 | 2023-08-10T12:27:31 | 2023-08-10T12:27:31 | 154,714,135 | 16 | 6 | null | null | null | null | UTF-8 | R | false | true | 1,467 | rd | metals.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{metals}
\alias{metals}
\title{Well water data}
\format{
A data frame with 253 rows and 24 variables:
\describe{
\item{y}{continuous birth outcome}
\item{disease_state}{binary outcome}
\item{disease_time}{time-to-di... |
1075b107a2d09bce20925e72b627560e7dd60d3d | 00eccc7f397dc1c28a13b82cacd2d1fab4181d71 | /R/hpp.event.times.R | 0f18d6f69bbb78119f602f58edf679d88862fb32 | [] | no_license | parsifal9/PPspectra | 57177f9bbc639f2579f69c7c1a5d5c52c91a193b | 917e9ff977c3bf14fd4685ae561454a0622643f4 | refs/heads/master | 2023-01-18T23:36:34.220339 | 2020-11-24T23:56:37 | 2020-11-24T23:56:37 | 268,259,689 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 399 | r | hpp.event.times.R | #' simulate events from a homogeneous Poisson process
#'
#'
#'
#' @param rate
#' @param num.events
#'
#' @return aa1 vector of event times
#'
#' @export
hpp.event.times<-function (rate, num.events, t0 = 0,tT=1,sig=4)
{
x = matrix(rexp(n = num.events , rate = rate), num.events)
aa1 <- t0 + apply(x, 2, cumsum... |
416a572ccccfe00e942197a67855b058f77cd40d | 360df3c6d013b7a9423b65d1fac0172bbbcf73ca | /FDA_Pesticide_Glossary/methyl_methyl_((4-am.R | aaf909220c242d32e050c9de594e49916d2863ec | [
"MIT"
] | permissive | andrewdefries/andrewdefries.github.io | 026aad7bd35d29d60d9746039dd7a516ad6c215f | d84f2c21f06c40b7ec49512a4fb13b4246f92209 | refs/heads/master | 2016-09-06T01:44:48.290950 | 2015-05-01T17:19:42 | 2015-05-01T17:19:42 | 17,783,203 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 276 | r | methyl_methyl_((4-am.R | library("knitr")
library("rgl")
#knit("methyl_methyl_((4-am.Rmd")
#markdownToHTML('methyl_methyl_((4-am.md', 'methyl_methyl_((4-am.html', options=c("use_xhml"))
#system("pandoc -s methyl_methyl_((4-am.html -o methyl_methyl_((4-am.pdf")
knit2html('methyl_methyl_((4-am.Rmd')
|
292af9817ab28cba2cec6f00718e26c5041b80b3 | 78471d997b690d876881cd4f1aaba90317a83b37 | /plot3.R | 2f2d0501634e524ed4e10c22ca8ef025c4714ae0 | [] | no_license | DataMX/ExData_Plotting1 | d18f39cf6a39f6f2f0166cb3da0e822671442876 | 2068bddf0c2e06fe9898e40f87a315944d446645 | refs/heads/master | 2021-01-14T12:31:01.906896 | 2014-11-13T20:46:56 | 2014-11-13T20:46:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,298 | r | plot3.R | #Plot 3
#This assumes you have downloaded and unzipped the file into your working directory
#Assumes that you have lubridate and dplyr
library (lubridate)
library (dplyr)
#Read Data in
household_power_consumption <- read.csv("~/Documents/Coursera_Data/ExploratoryDataAnalysis/Project1/household_power_consumption.txt... |
187c1d5151406370e0057023f4398f42c12cb374 | 31c59aac8c659fbf4b5dbdbbbb349e9d3420c276 | /man/ReduceAnomalies.Rd | e21eb7051016381c017e6ea67f4da7b3e3ee1215 | [] | no_license | cran/otsad | 75b92a8b1c6309f38950c8a6ac47e32a24b474e0 | 9a05ce0cfd3efe4cb6bc21d046b793b607cf3869 | refs/heads/master | 2020-12-22T01:53:10.335201 | 2019-09-06T08:50:02 | 2019-09-06T08:50:02 | 236,634,995 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,178 | rd | ReduceAnomalies.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ReduceAnomalies.R
\name{ReduceAnomalies}
\alias{ReduceAnomalies}
\title{Reduce Anomalies}
\usage{
ReduceAnomalies(data, windowLength, incremental = FALSE,
last.res = NULL)
}
\arguments{
\item{data}{Numerical vector with anomaly la... |
d7e0c0e493684d12303df5182eff4cf0cd505317 | bcf2082e53630c6f415b373c6c6256a20d3bbe8a | /MW_CLEANINGDATA.R | feaa19eaec83abe6253e92314ca56f75d45b0cf8 | [] | no_license | jjanezhang/mighty_well_sp20 | ec1663fccfac2a267094433eaef14e799b698921 | 37c41f5298d8bef707b1e6de4d9d9d1eca3d7154 | refs/heads/master | 2021-03-13T08:53:34.750657 | 2020-03-25T01:47:13 | 2020-03-25T01:47:13 | 246,661,550 | 0 | 0 | null | 2020-03-11T19:25:53 | 2020-03-11T19:25:52 | null | UTF-8 | R | false | false | 1,725 | r | MW_CLEANINGDATA.R | library(RMySQL)
library(dplyr)
library(plyr)
library(ggplot2)
setwd('C:\\Users\\Jayesh\\Downloads')
customers_export <- read.csv("customers_export_MW.csv", header = T)
orders_export <- read.csv("orders_export_1 MW.csv", header = T)
customers_export_spent <-customers_export[( customers_export$Total.Spent > 0),]
customer... |
9b84d5e9b8ac6c37daa4bed7e6d6bd6ed41dbb86 | 229be3eec8eda763405e9147de5279d0c783b4ac | /xmlR/ex1.R | 268b221934750a1bb52d1379259220e0e77b53f9 | [] | no_license | gvravi/healapp | 98ed06127651361048d7f5e43add08f24c9d01bb | 5ca7d0774f313f137bf4308706dc4d8fbf8d7976 | refs/heads/master | 2020-12-24T06:08:17.933512 | 2016-11-08T11:35:20 | 2016-11-08T11:35:20 | 49,939,162 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,956 | r | ex1.R | library(XML)
setwd("~/R/xmlR")
#api from which data is collected
#http://api.kivaws.org/v1/lenders/jeremy/loans.xml
#We begin by parsing the XML document with
doc = xmlParse("loans.xml")
# We then pass doc to the xmlToList() function, and it will return an R
# list with an element for each of # its top-le... |
6e5f99e8eeadfa9906a21aad473b08a04c069be9 | 0b671e13616015dc4c98c5b8dc8284ea68e5a6df | /Guía 2/2.3.R | 0239d6c2b74d54a0c1c3092ff129ab6230949dad | [] | no_license | Juan-pri/IO-I | fcccd5e4a7dbc6c7d770938049f154b3083d3ba1 | 5cd4ab041c9ff33f33a575bf2d2e54d5d2283f5d | refs/heads/main | 2023-05-07T12:39:32.115361 | 2021-05-23T02:47:13 | 2021-05-23T02:47:13 | 369,927,103 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 1,596 | r | 2.3.R | # Defino Variables
# Pi: cantidad de píldoras i (i=1,2,3,4,5,6,7)
# Vj: cantidad de vitamina j (j=1,2,3)
# Vji: cantidad de vitamina j en pildora i
# funcional: MIN -> Z= P1*c1+P2*c2+P3*c3+P4*c4+P5*c5+P6*c6+P7*c7
# sujeto a:
# REQ_V1 5*P1 + 2*P3 + 3*P5 + P6 + 2*P7 = 100
# REQ_V2 3*P1 + P2 + 5*P3 + 2*P5 + 6*... |
59799101dff37424ea5e03685092ad3649053911 | 818dd3954e873a4dcb8251d8f5f896591942ead7 | /Mouse/RNASequencing/snpanalysis.R | 3830bcc0109d756a9a893928c50bde68f7d54df1 | [] | no_license | DannyArends/HU-Berlin | 92cefa16dcaa1fe16e58620b92e41805ebef11b5 | 16394f34583e3ef13a460d339c9543cd0e7223b1 | refs/heads/master | 2023-04-28T07:19:38.039132 | 2023-04-27T15:29:29 | 2023-04-27T15:29:29 | 20,514,898 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 10,415 | r | snpanalysis.R | # snpanalysis.R - Analyze the SNPs and indels called by the GenomeAnalysisToolKit
#
# copyright (c) 2014-2020 - Brockmann group - HU Berlin, Danny Arends
# last modified Aug, 2014
# first written Sep, 2014
# Filer: B6N == B6N && BFMI == BFMI (not on X, Y)
# Filter first: B6N != BFMI
# Then: Filter 3-alleles (perhaps k... |
4a4280030e901108644530ff8b4865545108f883 | f1d92e4a0a155ea83a46798e2130286b9492b5df | /man/LDAPGroupWrite.Rd | fa9c80e1b168fee6a8ec2fa30e1633223e5862c4 | [
"MIT"
] | permissive | tynesjo/lookr | f7a1f7d5d3e19ea7f6358518972a37179fe59a45 | aeb899fb33465641ebaac8779ec3348fb9f72900 | refs/heads/master | 2020-08-06T13:29:12.761916 | 2019-10-05T12:09:42 | 2019-10-05T12:09:42 | 212,991,893 | 0 | 1 | MIT | 2019-10-05T12:01:01 | 2019-10-05T12:01:01 | null | UTF-8 | R | false | true | 454 | rd | LDAPGroupWrite.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/LDAPGroupWrite.r
\docType{data}
\name{LDAPGroupWrite}
\alias{LDAPGroupWrite}
\title{LDAPGroupWrite Class}
\format{An object of class \code{R6ClassGenerator} of length 24.}
\usage{
LDAPGroupWrite
}
\description{
LDAPGroupWrite Class
}
\section... |
e5e7f0635532f6acc286c9cf0650ef8b5cb85826 | 6e08794831e77d737ba6d3b15823c2020da8aa85 | /man/copm_prep_names.Rd | c8e246b0c4699270ffda60b4fa5526baa871cef9 | [] | no_license | M2UCT/RFtex | f88a69d7adae138ca0700599bab857da159edcee | 223d61f25e42c6a9f76ee44574cdaa180fcb5ff4 | refs/heads/master | 2020-04-17T18:08:34.562347 | 2019-03-14T10:09:45 | 2019-03-14T10:09:45 | 166,813,695 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 922 | rd | copm_prep_names.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/company_name_functions.R
\name{copm_prep_names}
\alias{copm_prep_names}
\title{Name Preparation for Company Matching Procedure}
\usage{
copm_prep_names(names,
adj.regex = "\\\\s?holdings?\\\\s?|\\\\s?groups?\\\\s?|\\\\s?units?$")
}
\argumen... |
0b75273d9ef51e91edf28684568baf1c8c6bb4a2 | 4f52f0e41b62996f528e224117af2adde499225f | /Classification Models/classification_knn.R | 19071fd0294756d8a22d6d3af71bf283dd1beb3d | [] | no_license | Harguna/Projects | 8bf0d6bf844233df71b3847a022f1bea9c5e0bc6 | 802eca32883cd8dcdee744472456dcd9af15c793 | refs/heads/master | 2020-04-04T01:57:19.807708 | 2019-09-13T21:40:19 | 2019-09-13T21:40:19 | 155,683,657 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,123 | r | classification_knn.R | library(kernlab)
library(caret)
library(class)
library(gmodels)
iterations = 10
arr_r=list()
arr_mae=list()
arr_R=list()
arr_acc=list()
modelName <- "knn"
InputDataFileName="E:/101510028/classificationDataSet.csv"
training = 70
dataset <- read.csv(InputDataFileName)
dataset <- dataset[s... |
17bddd528042cecccc6a5106b4f32d5e96dcfc49 | 9319b8e1f429fb15378db035df482c5d1b30233e | /tests/testthat/test_torr_mgl.R | ad9af5d6c208de15661daf26f01e3333e0836d1e | [] | no_license | JoeyBernhardt/oxygen | 3cdde87b9984c7921439617dcde7a965bf2e01d5 | b75c882152d4224c9bb09077e4cccfac0e820e3b | refs/heads/master | 2021-06-24T00:11:29.437815 | 2017-09-09T17:52:02 | 2017-09-09T17:52:02 | 102,791,610 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 150 | r | test_torr_mgl.R | context("converting torr to mg per litre")
test_that("torr_mgl converts torr to ml per litre", {
expect_identical(torr_mgl(16, 18), 1.135008)
})
|
ca28ce77044a1f0bcb0dcc4f473ba5d1c7c5e7b8 | 9fbd34dd260879468ee3710dc80f1a96478d39f9 | /R/deprecated/Density_uncertainty.R | ba6a295da6f1fd7d399651a64d61b4b12e78c76a | [] | no_license | Kah5/bimodality | 2fa26842ba50cdceff22a2f9eb335fc73bcec496 | 2b53dd59777292f84666ac2fcbd7031eda8ddb71 | refs/heads/master | 2023-02-01T05:48:49.361038 | 2023-01-21T01:25:00 | 2023-01-21T01:25:00 | 49,456,870 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 33,578 | r | Density_uncertainty.R | # uncertainty around grid cell estimates of tree density:
# want to sample randomly from point level estimates within each grid cell:
# get all points in the grid cell:
# sample randomly from the distribution:
# get the sd and the mean from that random sampling?
version <- "1.7-5"
setwd( "/Users/kah/Documents/bimoda... |
a032ebcd53ecef153fb13540a6e074529f9688a0 | d3277755db582f0bf977b736fa7d464738dad9fe | /R/calculate_reporting_delays.R | 93b06f9af1c3bfca2c9fc570c4ad864f22ff4319 | [] | no_license | njtierney/freerange-covid | 54af1b47cf154baae913444e636de0cace2bc81d | 1c167beda65ba6df4378168bf93023d8ac88c5cf | refs/heads/main | 2022-12-30T11:05:22.538242 | 2020-10-25T05:46:28 | 2020-10-25T05:46:28 | 305,871,744 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 636 | r | calculate_reporting_delays.R | ##' .. content for \description{} (no empty lines) ..
##'
##' .. content for \details{} ..
##'
##' @title
##' @return
##' @author Nicholas Tierney
##' @export
calculate_reporting_delays <- function() {
#------------Reporting delays---------------------
# From the documentation re delays: " (assuming a lognormal d... |
215bfa087b8aab7b2a82e6092873db2aeb545a1b | 616e8ba5e7356a3b493062cd8095fa98455d12f1 | /Archive/get.per.audit.gamblers.fallacy.R | b393f90735af86de2082dff8553e3f7dfad9e3e7 | [] | no_license | Breakend/RIBSS_tax_evasion_ABM | 0813ecc2ac964d0d68a12fb5b4559f26d25b502d | f64c4b8ab1e02a95fa3e032fbcb3b37647eeb017 | refs/heads/master | 2022-02-21T14:40:09.271146 | 2019-09-03T20:39:18 | 2019-09-03T20:39:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 384 | r | get.per.audit.gamblers.fallacy.R | get.per.audit.gamblers.fallacy<-function(x,n,l=2){
### In the model the gamblers.fallacy effect called for year n but modifies and acts on
### percived audit rate for year n+1. Thus when called n+1 represents the number of years since beginning
### to under-report.
m<-sapply(n,FUN=function(z) if(z>l){return(m... |
48788f6937b614ee56960b49adeb4be42e1368bf | f2aa5c24567724bd3d2d20c21ae4cba4d7e268be | /R-Data-Visualization-Recipes-master/Chapter08/chap8_bundle/8_7_publication_contour_HOW_TO_DO_IT.R | c2a10b468386e036316c4fdc69fa7f59d9ca9f2b | [
"MIT"
] | permissive | cyrsis/RSandBox | ab3a2548cbd2a0abaf6fcf2e8f2d42951d3ab80f | b647cda2e30702de408b1e223cb898d2bb05c01a | refs/heads/master | 2020-03-21T19:50:21.523273 | 2018-06-28T09:31:36 | 2018-06-28T09:31:36 | 138,972,521 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,411 | r | 8_7_publication_contour_HOW_TO_DO_IT.R | ## STEP 1: DRAW BASE CONTOUR PLOT
library(ggplot2)
h1 <- ggplot(cars, aes(x = speed, y = dist)) +
stat_density_2d(aes(colour = ..level..), size = 1.2) +
theme_minimal()
## STEP 2: PICK A BETTER COLOR SCALE
h2 <- h1 + scale_colour_distiller(direction = 1, name = 'density',
breaks =... |
cc3cc451e7bdf4b6045b459e8aef04d7f8f11f04 | 506a2b1bee7c97655ca5bf94a2d6edfd11e698e2 | /man/setPosTime.Rd | f12f6b3d1e5ddabc7b83bba36bd0dc3707de3ae5 | [] | no_license | emanuelhuber/GauProMod | 3662d5c2cf1136865f6d45210c8ce938634c03ed | f2d970e3de95da56c6fb029a5f44c5ceac06d98e | refs/heads/master | 2021-07-18T19:55:08.050846 | 2021-07-13T08:54:32 | 2021-07-13T08:54:32 | 56,522,805 | 10 | 1 | null | null | null | null | UTF-8 | R | false | true | 218 | rd | setPosTime.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/main.R
\name{setPosTime}
\alias{setPosTime}
\title{Reshape target}
\usage{
setPosTime(xy, tt, val, xystar)
}
\description{
Reshape target
}
|
6700c3d470581fecc27ad8fe8c7a16f32055435e | 8c205505fc8e1b72e5f9c637e7faea6e64e4fd9a | /man/SNormParameter-class.Rd | 04c9ef771de3c4bfe9262e82207cee729f4dcd61 | [] | no_license | cran/distrRmetrics | 273685a9a442bb08fd7e300a9226b665ffa4cdfa | 008251f66276fc1092cde486091437a54c01d65e | refs/heads/master | 2022-11-21T00:32:21.206044 | 2022-11-12T21:30:08 | 2022-11-12T21:30:08 | 17,695,553 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,689 | rd | SNormParameter-class.Rd | \name{SNormParameter-class}
\docType{class}
\alias{SNormParameter-class}
\alias{mean,SNormParameter-method}
\alias{sd,SNormParameter-method}
\alias{xi,SNormParameter-method}
\title{Parameter of an SNorm distributions}
\description{The class of the parameter of an SNorm distribution.}
\section{Objects from t... |
784e46079c0606792773809393b4d911a3242407 | bbf5f9cb8ef89c221e4b14518ec0e20114a73161 | /VAR.R | fd19941a16d2a832b15ab75db16c0f7745edeaff | [] | no_license | ahirwani/MacroClub | 7d32755b704a04cee0ff89417c51fceb5c5ace8f | f54fb9956a5e3c4b743339df8f6ecbc4ec8858ef | refs/heads/master | 2021-08-19T19:38:41.333251 | 2017-11-27T08:24:09 | 2017-11-27T08:24:09 | 109,444,864 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 813 | r | VAR.R | library(vars)
#returns information criteria and final prediction error for sequential increasing lag order up to VAR p process
#seasona = inclusion of seasonal dummy variables
#type = deterministic regressors to include - constant, trend, both, none
data(Canada)
library(fpp)
data(usconsumption)
VARselect(Canada, lag.m... |
769e456a055446a295c179a1a9152526aeebba91 | 2be4b043e6cfbfa4cf3869e22a22a127669755f7 | /benchmark/MERFISH_Moffit/Seurat/Moffit_RNA.R | b5010a05886987b68ecc17c3077b4e0824a5ea76 | [
"MIT"
] | permissive | c4chow/SpaGE | ffa3a4d7e358796426aa218d67f3b8d4514f38a6 | bda1036660ab01f8bf44993e52392a37145794a3 | refs/heads/master | 2023-02-27T08:35:43.333816 | 2021-02-06T23:44:13 | 2021-02-06T23:44:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 483 | r | Moffit_RNA.R | setwd("MERFISH_Moffit/")
library(Seurat)
Moffit <- Read10X("data/Moffit_RNA/GSE113576/")
Mo <- CreateSeuratObject(counts = Moffit, project = 'POR', min.cells = 10)
Mo <- NormalizeData(object = Mo)
Mo <- FindVariableFeatures(object = Mo, nfeatures = 2000)
Mo <- ScaleData(object = Mo)
Mo <- RunPCA(object = Mo,... |
cd0d479d8a11dd0d485a1a234ff05b820e47a961 | b3911e3d40a84dd1dc5ae73b0cfaed608ecd1648 | /cachematrix.R | 0a9dd55ca8afa2902178b0970ba7ba9ea8e24d08 | [] | no_license | koolwebdezign/ProgrammingAssignment2 | 837afb415462b65a987655d3e5025323d384d147 | d3f507e9d402827d8d57c6305204b0881038dc00 | refs/heads/master | 2021-01-16T20:23:48.020388 | 2015-08-22T12:46:18 | 2015-08-22T12:46:18 | 41,201,647 | 0 | 0 | null | 2015-08-22T10:06:37 | 2015-08-22T10:06:37 | null | UTF-8 | R | false | false | 2,717 | r | cachematrix.R | ## Data Science Specialization - John Hopkins University
## R Programming - Programming Assignment #2
## For more information about matrices and the inverse of a matrix,
## I enjoyed this web page https://www.mathsisfun.com/algebra/matrix-inverse.html
## Matrix inversion is usually a costly computation and there may ... |
918cde0e983cb433f3bb07ead3a0d246927bd905 | 2deb9aba70b5cb48b59a103f2bd14da908da5817 | /Challenge3/Old Scripts/FixZeroRow.r | 340eef888f45020354ad8faae10558c2915e3a0f | [] | no_license | maisogjm/FlowCAP-2010 | d0c8b73b2750803b36674fd9a27f1bd83d3d5951 | dc0335e1bcbbc4e6a4ca018138e75193d628704d | refs/heads/master | 2020-04-04T08:50:03.697547 | 2018-11-02T01:16:30 | 2018-11-02T01:16:30 | 155,796,473 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 585 | r | FixZeroRow.r | ########################################################################
## Function to fix a zero row.
########################################################################
FixZeroRow <- function(theRow,numVals,noiseMag) {
##-----------------------------------------
## If all entries are zero, then fix the ... |
8e29cca8a423990272bab749b6c7e811ea2d0c66 | 7ccd725e1c7400b44f744770d36ac197c6d4033d | /tests/testthat/test_25_utopiaPayoff.R | e2085313ac71b937dc1c0a8ead79804135a3a083 | [] | no_license | cran/CoopGame | 9232ea51802816edfd08a2242d30f27af5fb8169 | 250940376f550789b7a2b862e177e46b0aeb9c44 | refs/heads/master | 2021-08-28T10:18:26.244351 | 2021-08-23T17:40:09 | 2021-08-23T17:40:09 | 236,575,654 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,691 | r | test_25_utopiaPayoff.R | boolSkip=F
test_that("Check 25.1 - getUtopiaPayoff - 3 players",{
if(boolSkip){
skip("Test was skipped")
}
v <- c(0,0,0,40,50,20,100)
result = getUtopiaPayoff(v)
expect_equal(result, c(80,50,60) )
})
test_that("Check 25.2 - getUtopiaPayoff - 3 players",{
if(boolSkip){
skip("Test was... |
a45bf83ade505b15cdcffbd66aaf51e734c1d5c9 | 3abf16cf5fba1e25bc7bcd110befaa31a87237c2 | /man/cache_get.Rd | b7cc7a8334ca295dd99dd7a5bb69fb57d99671cd | [] | no_license | mattdneal/cacheMan | 9b13a8eef7b548c14328477e50bcfc122bb97566 | 27aaf954ca55ddc1d40f99c30874a74ba3da9d04 | refs/heads/master | 2021-01-10T07:25:54.173799 | 2016-11-08T13:32:35 | 2016-11-08T13:32:35 | 52,607,383 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 487 | rd | cache_get.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cache.R
\name{cache_get}
\alias{cache_get}
\title{Retrieve from cache}
\usage{
cache_get(function_name, function_call, cache)
}
\arguments{
\item{function_name}{function to retrieve against}
\item{function_call}{function call to retrieve aga... |
f192c8c0757b9358f5df87bf5ceb9f5d7b4f7b32 | 27f615eae91f8548adb1e6ba8da8888417c3ef56 | /R/check.input.ggmanHighlight.R | adb36dbc42ecd5998584b15629e2b68f75e87d4c | [] | no_license | drveera/ggman | 364a572c289799b066f1046e7af952e6cec74ff0 | b264cab4301c861cc033ca639fda8fd9bc694e10 | refs/heads/master | 2023-05-24T00:20:01.242213 | 2019-05-01T17:21:11 | 2019-05-01T17:21:11 | 75,216,178 | 24 | 13 | null | 2021-06-17T10:58:59 | 2016-11-30T18:43:06 | R | UTF-8 | R | false | false | 981 | r | check.input.ggmanHighlight.R |
utils::globalVariables(c("col2rgb","highlight","colour"))
#' This function checks the input arguments to the function ggmanHighlight
#'
#' @keywords internal
#'
#'@return Nothing; internal function.
#'
#'
check.input.ggmanHighlight <- function(){
## ggmanPlot input
if(! any(class(ggmanPlot) == "ggman")){
... |
076596008af2d3289ada32fbc64ea425e3f29d6f | 40288378a4766077330c4de7f645faeaba2988c7 | /local/bedDifferntiator.R | c1e3a638c177a3640c0100ad25f027a1f711f4e2 | [] | no_license | hnakhoul/cluster | ca3b7f03d9b4a9c0f7bb8a5b03bcb13b84a01a1d | b38287e96c36154a23ecb348c666fad8afc7a84e | refs/heads/master | 2020-05-29T14:10:29.300798 | 2012-05-20T01:59:24 | 2012-05-20T01:59:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 468 | r | bedDifferntiator.R | print("Enter the coverage file")
covFile=scan("stdin",what="character",n=1,quiet=TRUE)
cov=read.table(covFile,stringsAsFactors=FALSE)
boo=cov[,3]==cov[,2]
cov[,3][boo]<-cov[,3][boo]+1
# we want data in non-scientific format, without 'e'
cov$V2=format(cov$V2,scientific=F)
cov$V3=format(cov$V3,scientific=F)
cov$V4=forma... |
1511545c8068879f03f371b81d77974e70c30e33 | bc0354b7734b3e0ea8d29bbbc99ba63b063a037b | /Map_construction/Format_map_and_markers_final.R | 4862b981d83fbc2ddefc5e0b1e4b421212184184 | [] | no_license | shehongbing/Rumex_genome | c9070b0d78ba7c2c214786dd6c4aca67272b21d8 | ce2cbecdf583970eee2cd12e642abc354e879b5f | refs/heads/master | 2022-11-13T16:21:19.816598 | 2020-07-09T21:57:10 | 2020-07-09T21:57:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,114 | r | Format_map_and_markers_final.R | library(dplyr)
library(stringr)
library(tidyr)
setwd("D:/Dropbox/Dropbox/Professional/University_of_Toronto/Genomics/Rumex_genome_paper/Finalized_analyses/ASMAP_final/Map_manual_edits")
setwd("E:/Users/Joanna/Dropbox/Professional/University_of_Toronto/Genomics/Rumex_genome_paper/Finalized_analyses/ASMAP_final/Map_manua... |
93e3b9c0e58a04654ceb981fef9d9c8afc123df2 | 2152d53466558f22bba1c8491a83e262b916c524 | /man/mscon.Rd | 4c6466e4b2d3c8c19287b742a078439775d245d3 | [] | no_license | seokhoonj/msodbc | 6e76659adcbb8291dd00417173724d1ec7661d52 | 94a4522eebc686a36440d6fe95f82095b58ad542 | refs/heads/master | 2023-01-28T20:26:15.520762 | 2020-12-15T06:50:50 | 2020-12-15T06:50:50 | 320,268,576 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 435 | rd | mscon.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mscon.R
\name{mscon}
\alias{mscon}
\title{Connect to mssql server}
\usage{
mscon(dsn, database, path, DBMSencoding = "UTF-8")
}
\arguments{
\item{dsn}{is a data source name}
\item{database}{is a database}
\item{path}{is a search path}
\ite... |
c964d7514a60c2c7454fee1b2183ca4c2e257d84 | d9396697675606d97824a787a7b0f8c19619b3f8 | /man/hits.Rd | 27647eec477fe382925c6462da60c4cdaa8077c4 | [] | no_license | qchengray/sommer | 45859dbd6550a6c7069ab4a2d1904da6ed41f6b1 | aca3863a7e1df8b462212c40468e44083c76812f | refs/heads/master | 2021-01-23T04:38:57.350625 | 2017-08-24T07:25:49 | 2017-08-24T07:25:49 | 102,450,483 | 1 | 0 | null | 2017-09-05T07:45:38 | 2017-09-05T07:45:37 | null | UTF-8 | R | false | false | 5,315 | rd | hits.Rd | \name{hits}
\alias{hits}
\title{Creating a fixed effect matrix with significant GWAS markers}
\description{
This function was designed to create a design matrix with the significant markers found by a GWAS analysis in order to use it in the GBLUP or genomic prediction analysis to increase the predction accuracy. The me... |
feeb042ffd18b5c14cc2eae1ef7568a827a2a002 | a6c5ec2e83e02db1436abc6f9508ce101272d25d | /R/Day4.R | d149c56ebb9fc205f81e6bd5a0051e48ac906c31 | [] | no_license | jonathanjohn47/R-assignments | 740065f67e6a0198a1d8c48a05ab6c26fe5c39f6 | 8fe75869168ef1c84379816c5c6b76ccd0a8924d | refs/heads/master | 2020-04-08T07:15:06.777407 | 2018-11-26T08:08:00 | 2018-11-26T08:08:00 | 159,132,644 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,044 | r | Day4.R | sname <- c("Alex", "Lilly", "Mark")
age <- c(25, 31, 23)
height <- c(177, 163, 190)
weight <- c(57, 69, 83)
sex <- c("F", "F", "M")
frame1 <- data.frame(sname = sname, age = age, height = height, weight = weight, sex = sex)
frame2 <- data.frame(sname = frame1[1], working = c("Yes", "No", "No"))
frame3 <- cbind(frame1,... |
e7b90e99d61d3fe7117d78bd7cf962822f1bce8f | a720b0c2326be5bf7b42f47ed3598ec89bb46fc7 | /R/MyluParams.R | e2df8322eecbff7085c13345debe8bd358ad8813 | [] | no_license | cghaase/batwintor-1 | 4e877d7a6f925ff95a976893fc9d2701a5c428e1 | 59dcf1e8d02677246f0932550ee977cdeab29fbf | refs/heads/master | 2021-06-08T20:25:49.334893 | 2018-03-12T22:44:02 | 2018-03-12T22:44:02 | 113,110,505 | 0 | 0 | null | 2017-12-05T00:21:51 | 2017-12-05T00:21:51 | null | UTF-8 | R | false | false | 2,196 | r | MyluParams.R | #' Metabolic paramerters for \emph{Myotis lucifigus}.
#'
#' A dataset containing information on euthermic, torpid metabolic rates,
#' surface area estimations, and other parameters used throughout this
#' package for \emph{Myotis lucifigus} (little brown bat).
#'
#' @format a dataset containg 24 measurements for 1 spec... |
95dbde326ea8085ad5403750e17741391a18645a | fca8d8412242444554dc14cef0684c53b017f18e | /plot4.R | 9fcac2b48892c001772c92b253307017ceaf1cbf | [] | no_license | jacobjozwiak/ExData_Plotting1 | a2322ea41f9356f942998f5925d9cfa9c629a8c7 | f91d2e974dcb8a004af34509cce5a63899782649 | refs/heads/master | 2022-07-10T01:43:01.700359 | 2020-05-11T06:29:06 | 2020-05-11T06:29:06 | 262,956,990 | 0 | 0 | null | 2020-05-11T06:25:27 | 2020-05-11T06:25:27 | null | UTF-8 | R | false | false | 1,118 | r | plot4.R | # plot4.R
# Author: Jacob Jozwiak
#
# Creates four charts in a 2x2 configuration for the dates 1-2 of February 2007.
source("load_data.R")
plot4 <- function() {
data <- load_data(c("1/2/2007", "2/2/2007"))
png(filename = "plot4.png")
with(data, {
#2 columns and 2 rows
par(mfcol... |
1f6381a54747c670f20aa798634f58f216edf2da | f28de1f5e81cd0a9eef4bd749366b5fd09a6b764 | /NBA Salary Analysis/NBA Salary Analysis.R | d8fa19bdfa052b9fac6e8b731e3df405bdf9dd54 | [] | no_license | zackbaker23/Machine-Learning-Data-Analysis-Projects | 260e049f5042177c5eed9014b4c22dbd6c0dfd2b | 4fa2352a577502b19607bd097a84f465964ece9e | refs/heads/master | 2023-02-12T19:41:34.877077 | 2021-01-15T18:39:00 | 2021-01-15T18:39:00 | 282,029,172 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,010 | r | NBA Salary Analysis.R | #Load required packages
library(readr)
library(alr4)
library(dplyr)
library(ggplot2)
library(olsrr)
#Read the data file into nba_data
nba_data <- read_csv("NBA Data.csv")
View(nba_data)
################## DATA MANIPULATION #####################################
#Make followers and turnovers strictly posi... |
8180c7fbddf1194fecb666305a4506ca60888e91 | 1fecedfbcab8c27598e89ea9192b18663d6f6922 | /man/qualitySubpops.Rd | a57c03e7acf3394013c6d180549535d51a1fa6ca | [] | no_license | cran/ConnMatTools | 5ece4ff5e09bf1e4b6a07fcd5a437acbda90694e | 1020c4b9aab79ac76dd58a141e7bd0dccc2e07b1 | refs/heads/master | 2020-12-25T17:56:15.825896 | 2020-02-03T09:30:02 | 2020-02-03T09:30:02 | 18,805,098 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,378 | rd | qualitySubpops.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/jacobi_etal_2012.R
\encoding{UTF-8}
\name{qualitySubpops}
\alias{qualitySubpops}
\title{Quality measure for subpopulation division}
\usage{
qualitySubpops(subpops.lst, conn.mat)
}
\arguments{
\item{subpops.lst}{A list whose elements are vecto... |
eaaf6488ce8da1be9f88d351888a54cf90ee8e0f | 9ab8188d560f8983a04ccde1222582a34e0460c2 | /R/SpatialProvRawData_function.R | 535ee1b79dc05b392930605b5b1b54d94c3ef91e | [] | no_license | ArdernHB/GeoOrigins | 02130869539e786bcc0f9c0396634c95f5d81a14 | 540ff84e5244d7b5a6f6e8ad3dbd04a68fd2a02a | refs/heads/master | 2022-12-03T15:36:05.646386 | 2022-11-15T07:27:40 | 2022-11-15T07:27:40 | 192,945,339 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,776 | r | SpatialProvRawData_function.R |
#' Spatially provenance a specimen from raw trait data
#'
#' This function takes the raw variables of an unknown specimen and reference specimens
#' and uses euclidean distances to calculate a likely spatial provenance. Note that this
#' procedure can only be applied to one unknown specimen at a time. Shape variables... |
d84e5f182c92620f802c3ad44ae202bed455f4d9 | 38a3fe4b8fd21002613cc4f453cc4b1e72e2a0fc | /allnba.R | 6c026a2303a0116b53df6920f92b71ba0c988997 | [] | no_license | tmayhew/alltimeNBA | 00145e1448037754aaab841ed45528db8fc7e3ab | f51afa7a041a0b7352cfc7a199759a62be34b476 | refs/heads/master | 2022-09-05T02:20:45.222474 | 2020-05-19T05:05:23 | 2020-05-19T05:05:23 | 260,075,189 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,319 | r | allnba.R | library(rvest)
library(tidyverse)
library(ggthemes)
library(Rfast)
g1 = read.csv("finalRegSeason/group1.csv")[,-1]
summary(g1$Yr)
names = g1 %>% select(Player, Pos, Age, Tm, Yr)
dat1 = g1 %>% select(-Player, -Pos, -Age, -Tm, -Yr, -GS, -X3P, -X3PA, -X3P., -ORB, -DRB, -STL, -BLK, -TOV, -X3PAr, -ORB., -DRB., -STL.,... |
6aec13d1de14aad79881a961fcf3d7901a4c71da | a806c8ff8c9064d424b4dce9b2fe444d981ae5b5 | /plot1.R | 8db83e8d3e0c10e939e3dcca2d6cc543e805ba0d | [] | no_license | nterpitskaya/ExData_Plotting1 | d650fec71c2f8505ec1c5a18d60780fd2591f2f5 | 9d70da2e690182a7e9bc8ce8c4cafd275f90c33f | refs/heads/master | 2020-03-18T15:54:41.179235 | 2018-05-27T15:11:13 | 2018-05-27T15:11:13 | 134,936,465 | 0 | 0 | null | 2018-05-26T06:43:37 | 2018-05-26T06:43:36 | null | UTF-8 | R | false | false | 556 | r | plot1.R | # read data from the file
hpcall<-read.csv("household_power_consumption.txt", sep = ";", na.strings = "?")
# convert date to date format
hpcall$Date<-strptime(hpcall$Date,"%d/%m/%Y")
# extract only data for Feb 1 and 2 of year 2007
hpc<-hpcall[(hpcall$Date == as.Date("2007-02-01"))|(hpcall$Date == as.Date("2007-02-02")... |
3887052c67d7279594c6b67ebc09fe49f0ded9d6 | 06a13729e9f4bf714c7697247236061f0bce5979 | /R/doubletFinder.R | 079acd56668df6646c8903e24a82f49b75f9e6e5 | [
"MIT"
] | permissive | scfurl/m3addon | 1215919062cd6c857402a1851c5b438fa39870bd | 2e9d0dcc33eec95c8400d1dcf291565fc9d31b98 | refs/heads/master | 2021-08-17T21:09:43.469291 | 2021-07-29T20:59:50 | 2021-07-29T20:59:50 | 193,642,890 | 5 | 2 | null | null | null | null | UTF-8 | R | false | false | 20,058 | r | doubletFinder.R | #' doubletFinder
#'
#' @description Core doublet prediction function of the DoubletFinder package. Generates artifical
#' doublets from an existing, pre-processed cdsrat object. Real and artificial data are then merged
#' and pre-processed using parameters utilized for the existing cdsrat object. PC distance matrix i... |
e1c897d07a7c082244750b6ff87256ac112fc4c9 | 01dd2de04c691e2f5aa7623ccc2fc17e1776c266 | /man/Brick_matrix_isdone.Rd | c261f45842daa972f620c604457616444e20be52 | [] | no_license | fferrari/HiCBricks | 5d9940ae90dab6a92af470b1b6143a02140b2fdb | 9144a2555855494bbe054991167dd84a2e5734a9 | refs/heads/master | 2020-04-30T23:11:41.506943 | 2019-03-22T12:40:03 | 2019-03-22T12:40:03 | 177,138,353 | 0 | 0 | null | 2019-03-22T12:44:11 | 2019-03-22T12:44:10 | null | UTF-8 | R | false | true | 975 | rd | Brick_matrix_isdone.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Brick_functions.R
\name{Brick_matrix_isdone}
\alias{Brick_matrix_isdone}
\title{Check if a matrix has been loaded for a chromosome pair.}
\usage{
Brick_matrix_isdone(Brick, chr1, chr2)
}
\arguments{
\item{Brick}{\strong{Required}.
A string sp... |
3c915f62e179125b52c080637b3a94d61b3080bd | 50fa03be02fbea2f4b08006cbcab6a3b22b1ec15 | /GOterms/Screening Pipeline clusterized compute.R | 4e8837f16f533de9b5bdab6589a8be0e1d4411d1 | [] | no_license | YuWei-Lin/scRNA | cf8894e50600043d55dc223a122ea5b87087c408 | 1a9805d02144eaec695ce9921c92c5c7cac55e7a | refs/heads/main | 2023-07-10T04:47:52.384243 | 2021-08-09T03:48:50 | 2021-08-09T03:48:50 | 392,888,505 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,964 | r | Screening Pipeline clusterized compute.R | # Import Packages
library(cluster)
library(Rtsne)
library(gplots)
# Import GO and processed ssc-RNAseq data
GOIDName <- read.csv("C:/Users/tonyxp/Desktop/CDF_PureCancer_SC_ReadyFiles/GSE75688_Breast/GOID2GeneMSigDB.csv", header = TRUE, stringsAsFactors = FALSE)
GOIDList <- read.csv("C:/Users/tonyxp/Desktop/CDF_... |
0fc20b24b834504e78320a2f2d4159a5e1beaca4 | c194c5236006a758b29bd4d530ad563dc9ecab7e | /inst/apps/regression_plots/ui.R | ee79c84ba004ea17a70185523e656cfaebc1f485 | [] | no_license | Auburngrads/teachingApps | 1087c20a21992433a2f8451db7b1eaa7d1d2cb89 | b79c192e5f74c5e8376674d4fb9e0b95a426fe03 | refs/heads/master | 2021-03-16T07:49:56.579527 | 2020-06-14T12:10:12 | 2020-06-14T12:10:12 | 51,677,745 | 15 | 7 | null | 2018-03-01T03:44:58 | 2016-02-14T03:22:47 | R | UTF-8 | R | false | false | 889 | r | ui.R | ui = fluidPage(theme = add_theme(getShinyOption('theme')),
add_css(),
sidebarLayout(
sidebarPanel(width = 5,
shinyAce::aceEditor(fontSize = 16,
wordWrap = T,
outputId = "regplot",
mode = "r",
theme ... |
e2bffd50a92e6a719f3dd3c129dcfc81bea5026e | 8f53c854ca23303ac0e428a48d362fde4a9cb8c2 | /Regularisation with Lasso,Ridge and Elastic net.R | 817bb344cfd101a49aa791d71b903776e9ed571f | [] | no_license | Tapas1990/Regularisation-Techniques | b79440140b5febc34ae4b272d058b075a160c687 | 990b4cd828e7a99cabe1b5d16cc35a24f85bc53b | refs/heads/master | 2021-01-20T14:17:11.650643 | 2017-05-08T04:19:49 | 2017-05-08T04:19:49 | 90,585,889 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,931 | r | Regularisation with Lasso,Ridge and Elastic net.R | #Setup
library(glmnet)
library(caret)
options(scipen=999)
'%ni%'=Negate('%in%')
#Create training and test Data
prostate=read.csv('https://goo.gl/qmrDcY')
#glmnet doesnt use formula interface.x and y have to be explicitly set also
#also training and test can only be matrix object.
set.seed(100)
train_rows=crea... |
f917393b876e8232a51cf02fd7ab1d50b354bbeb | 4951e7c534f334c22d498bbc7035c5e93c5b928d | /sourcecode/kintsch73.R | 80b899f282bc95cb7d7a9d3a9029e5f7dd83ee7d | [] | no_license | Derek-Jones/ESEUR-code-data | 140f9cf41b2bcc512bbb2e04bcd81b5f82eef3e1 | 2f42f3fb6e46d273a3803db21e7e70eed2c8c09c | refs/heads/master | 2023-04-04T21:32:13.160607 | 2023-03-20T19:19:51 | 2023-03-20T19:19:51 | 49,327,508 | 420 | 50 | null | null | null | null | UTF-8 | R | false | false | 3,767 | r | kintsch73.R | #
# kintsch73.R, 28 Jan 20
# Data from:
# Comprehension and Recall of Text as a Function of Content Variables
# W. Kintsch and E. Kozminsky and W. J. Streby and G. McKoon and J. M. Keenan
#
# Example from:
# Evidence-based Software Engineering: based on the publicly available data
# Derek M. Jones
#
# TAG example_exper... |
313ba3e30bafee40cd76a8b4d7b98010c4610517 | fb6664c4c523cb31c62c1a8362cc86c191a45b7c | /Scripts/CPIscript.R | 2a6a45bacc1ef61dafadae221788fcffa87c7546 | [] | no_license | ProfuTofu/CRH-2020-Spring-Capstone | 91e58f9228b6e89475390ff67ced9221cbdd6c66 | d9766d2665d049ffec35c27d184e9eaead9b657a | refs/heads/master | 2022-08-24T00:41:55.751835 | 2020-05-29T18:19:33 | 2020-05-29T18:19:33 | 265,740,351 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,356 | r | CPIscript.R | #convert first column of dataset to an time-series object
TS_CPI <- ts(CPI[625:873,2],start=1999, frequency=12)
ggarrange(ggAcf(TS_CPI),ggPacf(TS_CPI))
#-------------------------------------------------
#kpss unit root test (statistical test of stationarity), H0 = stationary, HA = not stationary
TS_CPI %>% ur.kpss() ... |
318b958f19b325869564322f413f55eb2ea2cf50 | ebc1cd487bb411d73a288cdf193205f6f6ed89f8 | /tests/testthat/test_metrics.R | 76ecfd394f03f0b3512b0f64d2e8b399f07fe1f8 | [
"MIT"
] | permissive | bbolker/cvms | e95366a693355cd964f315eb585344e919b1115d | 9efa5fd63a46ff09c3695b33690d8a28634eb90b | refs/heads/master | 2021-04-19T04:03:40.781371 | 2019-12-05T18:16:00 | 2019-12-05T18:16:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 25,107 | r | test_metrics.R | library(cvms)
context("metrics")
# Diagnosis by score
test_that("Metrics work for glm in validate()",{
# skip_test_if_old_R_version()
set_seed_for_R_compatibility(7)
dat <- groupdata2::partition(participant.scores, p = 0.8,
cat_col = 'diagnosis',
... |
bd45dc087a2a6358b1c020d478d2823529b9aeed | 594a5c780c6bf31da16e0c29270c74ba6737e842 | /man/JAGS_fit.Rd | 5adcf8d844d9e143eb07a8699adc6d2c5596e06c | [] | no_license | FBartos/BayesTools | 55faad16c0b3558d519161c33b7cf448a34ca739 | 98fa230cf191b9093fb23f878799367d940b19d1 | refs/heads/master | 2023-07-19T08:40:23.734725 | 2023-07-11T13:16:49 | 2023-07-11T13:16:49 | 363,232,801 | 8 | 1 | null | 2023-07-11T13:16:50 | 2021-04-30T18:57:23 | R | UTF-8 | R | false | true | 4,851 | rd | JAGS_fit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/JAGS-fit.R
\name{JAGS_fit}
\alias{JAGS_fit}
\alias{JAGS_extend}
\title{Fits a 'JAGS' model}
\usage{
JAGS_fit(
model_syntax,
data = NULL,
prior_list = NULL,
formula_list = NULL,
formula_data_list = NULL,
formula_prior_list = NULL,
... |
915c5da36463ab4f0efadd9b12f3456453d1e741 | 7a73427bdfd98932c7014f5f02f15e05953edb13 | /R-codes/DivRank.R | ffef6e6888b8482c5d3a545d93bab6afd0871af1 | [] | no_license | haozhestat/DivRank | 2784945ab657e79b8b20916e426b345e919c2844 | 20f6ece1600ec49283d8dd8444f86fc6365d2932 | refs/heads/master | 2020-04-02T04:43:13.909928 | 2016-06-08T18:29:18 | 2016-06-08T18:29:18 | 60,396,036 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,183 | r | DivRank.R | # =============================================================================
# File Name: DivRank.R
# Author: Haozhe Zhang
# Contact: haozhe@iastate.edu
# Creation Date: 2016-06-07
# Last Modified: 2016-06-08 13:28:18 CDT
# ============================================================================... |
b1208ed5ac461c314072cc67ff96b12846e26e9a | cb939b26da3f94f1a0b2d240251ae5b6a62817ac | /lisplib/manual/ch0.r | a97423ab4a0b57d9e52906ba2d6f107af3e10830 | [
"BSD-4-Clause-UC"
] | permissive | krytarowski/franz-lisp-christos | 211926e85efc4e1e681f7613300eb0214554c353 | 7f529800f415d583b4c1f0ae90dec19ad3fb1a8a | refs/heads/master | 2020-06-19T18:09:43.734498 | 2019-07-14T11:05:05 | 2019-07-14T11:05:05 | 196,815,573 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 12,185 | r | ch0.r |
The FRANZ LISP Manual
by
_J_o_h_n _K_. _F_o_d_e_r_a_r_o
_K_e_i_t_h _L_. _S_k_l_o_w_e_r
_K_e_v_... |
ca16a43988d9eee9eebfbff1a6f877553c594500 | 2f3068f3b1011d1325379d7951483c129d5b521c | /R/karyotype-database/lib/selection.R | 872373210e6beb4fb5833000b0396768c6b20090 | [
"Apache-2.0"
] | permissive | hjanime/IGCSA | 928c64e5bb67cc5ce8f801c46accc7fd7f48539a | 9b8f1a5b6e572f780e04ae7698d25540fb7498ae | refs/heads/master | 2021-01-21T00:45:14.105061 | 2015-10-12T13:08:50 | 2015-10-12T13:08:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,226 | r | selection.R |
roll<-function(probs)
{
rand = runif(1,0,1)
match = probs[probs >= rand]
row = match[1]
return(which(probs == row))
}
set.probs<-function(probs, df)
{
for(i in length(probs):1)
df[i,'p']<-sum(probs[i:1])
return(df)
}
select.bp<-function(bpd, s=1000, col=3)
{
bpd = bpd[order(bpd[,col]),]
... |
f4e93b81c22feff26fd6f86b8bf881ccec97e11c | cfb444f0995fce5f55e784d1e832852a55d8f744 | /man/unif2norm.Rd | 39161e5329c5f1fc1977ed68214bdf903924aa2c | [
"MIT"
] | permissive | debruine/faux | 3a9dfc44da66e245a7b807220dd7e7d4ecfa1317 | f2be305bdc6e68658207b4ad1cdcd2d4baa1abb4 | refs/heads/master | 2023-07-19T18:28:54.258681 | 2023-07-07T16:59:24 | 2023-07-07T16:59:24 | 163,506,566 | 87 | 15 | NOASSERTION | 2023-01-30T10:09:37 | 2018-12-29T11:43:04 | R | UTF-8 | R | false | true | 878 | rd | unif2norm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/distribution_convertors.R
\name{unif2norm}
\alias{unif2norm}
\title{Convert uniform to normal}
\usage{
unif2norm(x, mu = 0, sd = 1, min = NULL, max = NULL)
}
\arguments{
\item{x}{the uniformly distributed vector}
\item{mu}{the mean of the no... |
31a14be6d361f4fc217e698a8d9d3b9dc3294a94 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /rlfsm/tests/testthat/test_increms.R | 046014e26872aa39603af33b0e8998fbdabb985e | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,625 | r | test_increms.R |
context("Increment functions checks")
#### Parameter setup
m<-25; M<-60; N<-2^12-M
alpha<-1.8; H<-0.8; sigma<-1.8
k<-2; p<-0.3; p_prime<-0.1
t1<-1; t2<-2
###################
List<-path(N,m,M,alpha,H,sigma,freq='L',disable_X=FALSE,levy_increments=NULL,seed=NULL)
X<-List$lfsm
###################
test_that("increment... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.