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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9697577ba0e9b7a5a39dd855e72fc526738c2e57 | b4dce79daf932919f53b64a88db5cd90ae1e71a3 | /cachematrix.R | 86e705afd665e8bb3a29edb93228c0ae2e2168d7 | [] | no_license | roccap/ProgrammingAssignment2 | 160919cd4babaaee910b4a7c08a72df17ce6e951 | 39db545da99d0e854ab7864a61b042cfa413cf5e | refs/heads/master | 2021-01-18T08:29:22.301802 | 2016-02-28T23:40:50 | 2016-02-28T23:40:50 | 52,475,844 | 0 | 0 | null | 2016-02-24T21:31:44 | 2016-02-24T21:31:43 | null | UTF-8 | R | false | false | 1,483 | r | cachematrix.R | ## Matrix inversion is a costly computation and there may be some benefit
## to caching the inverse of a matrix rather than compute it repeatedly
## This module contains a pair of functions that cache the inverse of a matrix.
## This function creates a matrix object, thats is really a list containing a
## number of f... |
9420cd43586cfff83403452632993efbc5abcaab | fd0ab0f09d3c07f03e0af82bf93875524c44a0e9 | /tmp-tests/test-auto-postp.R | 3cf2a5ab112c29d0d38e1ff9f84481e58b50ef93 | [] | no_license | privefl/bigsnpr | b05f9e36bcab6d8cc86fb186c37fe94a6425960a | 83db98f974b68132a9a3f3ee7ca388159a4c12b5 | refs/heads/master | 2023-08-02T13:31:18.508294 | 2023-06-30T12:15:55 | 2023-06-30T12:15:55 | 62,644,144 | 162 | 47 | null | 2022-10-12T16:46:15 | 2016-07-05T14:36:34 | R | UTF-8 | R | false | false | 2,086 | r | test-auto-postp.R | library(bigsnpr)
# celiac <- snp_attach("../Dubois2010_data/FinnuncorrNLITUK1UK3hap300_QC_norel.rds")
# G <- celiac$genotypes$copy(code = c(0, 1, 2, 0, rep(NA, 252)))
# CHR <- celiac$map$chromosome
# POS <- celiac$map$physical.pos
#
# obj.svd <- snp_autoSVD(G, CHR, POS, ncores = 4, thr.r2 = 0.1)
# plot(obj.svd)
#
# di... |
e7b71edb9ec7f4289087d54a2027337426a64bb6 | 9a2686d7e4c0830a9d20f26de1570f6c5fc5da9d | /Rcode/kaggleXgbScript.R | 374251c4adb715acd340f48c0992fc9cbc1a1968 | [] | no_license | FourDoctors/Rossmann | 9deb3dc5b5d4532114944ddd41de262441da611b | f4554ca469412952324223b5f7ba6bdccc33e471 | refs/heads/master | 2016-08-12T22:59:34.102855 | 2015-12-11T07:28:06 | 2015-12-11T07:28:06 | 44,999,916 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,714 | r | kaggleXgbScript.R |
## ----loaddata-------------
training <- read.csv("../data/train.csv")
testing <- read.csv("../data/test.csv")
store <- read.csv("../data/store.csv")
training$Date <- ymd(training$Date)
testing$Date <- ymd(testing$Date)
## ----useonlyopenstores---------------------------------------------------
testing$Open[is.na... |
5d7c4ff8c5360782e053b514ca20d555d14da659 | 490416145916e35130588701194a086e41682048 | /run_analysis.R | b0558128e5a1f83f3bea4b1878d978b79013f7c4 | [] | no_license | sergiped/gettingandcleaningdata | 402e1f51c4ad41e48ba598ec431c3eb7887275ff | a114930b4e96ab5ae53557e92cab60e1b6618838 | refs/heads/master | 2016-08-05T23:47:12.016148 | 2015-05-24T21:25:14 | 2015-05-24T21:25:14 | 36,149,104 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,638 | r | run_analysis.R | ## Getting and Cleaning Data Class Project
## Author: sergiped
## Git Repository: https://github.com/sergiped/gettingandcleaningdata
## Define function to that will download and unzip files that we will use
downloadUCIFiles <- function() {
library("RCurl")
zipfile <- "UCI%20HAR%20Dataset.zip"
projectdir <-... |
2e732ea0c1839fe7a18980f25d180d2747870f31 | 4f2743db548d08f57ec5c441011d94c28aa0ccac | /man/as.model.character.Rd | 4ea3a72000b5489b2a802923e97e48be5e3a1e23 | [] | no_license | bergsmat/nonmemica | 85cdf26fa83c0fcccc89112c5843958669373a2a | 8eddf25fdd603a5aca719a665c5b9475013c55b3 | refs/heads/master | 2023-09-04T06:10:48.651153 | 2023-08-28T13:23:18 | 2023-08-28T13:23:18 | 78,268,029 | 4 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,028 | rd | as.model.character.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model.R
\name{as.model.character}
\alias{as.model.character}
\title{Coerce character to model}
\usage{
\method{as.model}{character}(
x,
pattern = "^\\\\s*\\\\$(\\\\S+)(\\\\s.*)?$",
head = "\\\\1",
tail = "\\\\2",
parse = TRUE,
...... |
795b0269bfac17c84ad301509e014c2da33f3067 | 5f684a2c4d0360faf50fe055c1147af80527c6cb | /2023/2023-week_16/founder_crops.R | 2382f9edbf1f01202db1b19b3e91cf4ee96eb605 | [
"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 | 3,253 | r | founder_crops.R | library(tidyverse)
library(sf)
library(patchwork)
library(camcorder)
gg_record(dir = "tidytuesday-temp", device = "png", width = 10.5, height = 8.5, units = "in", dpi = 320)
founder_crops <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2023/2023-04-18/founder_crops.csv')
... |
9d817c3374f9d6f851137d2d09cfb1abb8310bfd | 6acae9f3d4a7e19cead8d78e360f9d3ef7e1d4dc | /leaflet/clustered_map.R | 624bb0edf2912602e8136d5f25b45d9f16a40be0 | [] | no_license | shelbybachman/developing-data-products-course | dc316088737f5e9577967cfec81f691671ec7db1 | c1ec9c8ffec6d61261b6d3d9679a91bfb379e29a | refs/heads/master | 2022-03-02T20:11:34.563571 | 2022-01-12T05:04:20 | 2022-01-12T05:04:20 | 197,085,059 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 606 | r | clustered_map.R | # this script creates a clustered map
library(leaflet)
# create dataframe with points
df <- data.frame(lat = runif(500, min = 39.25, max = 39.35),
lng = runif(500, min = -76.65, max = -76.55))
# create map with points clustered
df %>%
leaflet() %>%
addTiles() %>%
addMarkers(clusterOptions = ma... |
f532a25a8a89e56c4a3bbdbeef99b712b50ba985 | ede0e16eb9ac6dae510f1779514be99aa82c1fe9 | /Rassignment1.R | ff1756b433f98cbf379d013f76bf6f8e4f0bcf5b | [] | no_license | shubhangiBelhekar/R-Assignment | f92407359414075179c46d4441d2928e9d45c150 | 464a294e8df36b769d22e861cd7dd21e9645b4fb | refs/heads/main | 2023-02-25T04:55:09.905537 | 2021-02-05T17:22:21 | 2021-02-05T17:22:21 | 336,340,238 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,180 | r | Rassignment1.R | #{1].Try to write a code for printing sequence of numbers from 1 to 50 with the differences of 3, 5, 10
a <- seq(1,50)
#[2]. What are the different data objects in R? and write syntax and example for each and every object
#R consists of a number of data objects to perform various functions
# Six type of data obj... |
05f7ac03342b28852810ba7551991e6f3f3b4192 | 5c1e2c6d5f10a0dbf01d2ac39e722a9977840f3b | /sandbox-impute.R | 5ec2f51fa28ba8f144514eda769de7e4820e639d | [] | no_license | sarikayamehmet/pumpprediction | 740756cd45961aa3d22146a41815b11944447a3b | 6b2aca076f758bae8b61cd39a3d08492ac982253 | refs/heads/master | 2021-01-18T23:33:00.618008 | 2016-08-17T09:10:31 | 2016-08-17T09:10:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,848 | r | sandbox-impute.R | trainsetImpute.hex <- h2o.uploadFile(path = '~/projects/pumpprediction/training-NA-imp5.csv', sep = ',', header = TRUE)
# trainsetImpute.hex <- as.h2o(trainset.impute.values[,-1])
trainsetImputeFull.hex <- h2o.merge(trainsetImpute.hex[,-1], labels.hex)
trainsetImputeFull.hex$age <- 2015 - trainsetImputeFull.hex$constr... |
210f551966a33b1cdf234783e4c561ec5c2db5e7 | 8c74729a6a4b16837901d4dbb0402132350c9925 | /R/loglik_function.R | a19ee15df5f9368a4fe498e292a2cc8721d99824 | [] | no_license | fwijayanto/autoRasch | 893a123fb51acdec4ee4fa6f1fe8546434e1e4c2 | c2509f84c54c48089ab0730d25ae203cd189b5a6 | refs/heads/master | 2022-11-28T13:23:57.463424 | 2022-11-06T15:30:16 | 2022-11-06T15:30:16 | 243,410,248 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 34,904 | r | loglik_function.R | ##### The general implementation of the log-likelihood and gradient functions of the moodels ######
##### Estimated parameters extractor #####
#
# Mapping the estimated parameters to each variable, i.e., theta, beta, gamma, and delta.
#
# @param nlmPar A vector of the estimated parameters values.
# @param estPa... |
5bed62e506a82389751125f10b50ac25cb73ee1d | b69ea4c85c60f4a3c59d302eea64c620270cfaae | /BRT-code-salvage/helper-funs/jaccard_grid_et_al.R | 7e4bbaa16e7de9a77b4faa9c8116e1ccdf557e06 | [] | no_license | rvanmazijk/Hons-thesis-code-salvage | 52c1dbef9c136afabe385550d0258262c59d2773 | b3492c5f5c212d75631557c8f280c898f91718a7 | refs/heads/master | 2020-03-20T01:30:39.817374 | 2018-08-30T14:30:26 | 2018-08-30T14:30:26 | 137,078,280 | 0 | 0 | null | 2018-08-30T14:30:27 | 2018-06-12T13:47:58 | HTML | UTF-8 | R | false | false | 7,290 | r | jaccard_grid_et_al.R | get_neighbouring_cells <- function(raster, focal_cell_name,
directions = 8) {
adjacency <- raster %>%
adjacent(
cells = focal_cell_name,
directions = directions,
include = FALSE # Don't return the focal cell
)
neighbours <- ... |
b74bc04d5d90073d11d93f6360605fbbacb50ef7 | 9ebb664ae2a778876d05e78ad8985816721e2706 | /Rscripts/DB10_cancer_related/DB10_cancer_blood_comparison.R | 1d337675bb1ccfed3d493bb762b65885aef6357c | [] | no_license | seongyeol-park/Human_Lineage_Tracing | dc35818b629a3960e93a485e60eee26b764ede30 | 5012529fee63fa3f64dc80b18ff0c9968a25b078 | refs/heads/main | 2023-06-03T20:25:41.662730 | 2021-06-22T07:57:37 | 2021-06-22T07:57:37 | 314,397,015 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,286 | r | DB10_cancer_blood_comparison.R |
library(tidyverse)
ch_dt <- read_tsv('/home/users/sypark/00_Project/06_LineageTracing/merged_data/clonal_hematopoiesis/CH_final_list.txt.anv.readc')
ch_dt <- ch_dt %>% filter(case_list == "10_Blood_3s_merged")
ch_dt <- ch_dt %>% mutate(vaf = var_readN/(var_readN + ref_readN))
ch_dt <- ch_dt %>% mutate(var_id = paste... |
a1179e4b2dbd7cb150c0894a860eb20cf8d3b6e9 | 63d0c2310c9a8ed88eb08439bb6d697940d21b66 | /Rcompile | 3ab647f3937ddafca5d8f980c591a7e63837f893 | [] | no_license | stnava/eigenanatomy1 | c716ad7f617f6e50e31241688110764e1169429e | ef8c8ac379a89c9c3bc427cc02733fb6efc16b99 | refs/heads/master | 2021-01-19T20:16:21.460038 | 2014-03-10T15:22:11 | 2014-03-10T15:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 246 | Rcompile | #!/usr/bin/env Rscript
library(knitr)
knit('Eigenanatomy1.Rnw',tangle=TRUE)
knit('Eigenanatomy1.Rnw',tangle=FALSE)
for ( i in c(1,2,3) ) {
system('pdflatex Eigenanatomy1 ')
system('bibtex Eigenanatomy1 ')
}
#system('rm *log *aux *blg *tex')
| |
321d815caf4a8fc9a751b9633dda751e5f3d758c | 4427956ba82fd35ce8ba8c0c61214b63bd607a58 | /man/ifftshift.Rd | 15400ad071e6cfefd4320c75fd867e69652e79be | [] | no_license | romanflury/mrbsizeR | b971e69ca01bc7b4db8780a627957dbde641231a | 936edff8a3f265d3dae8cf65b11d733eb2d8f7a7 | refs/heads/master | 2020-03-16T04:08:44.884321 | 2019-12-10T12:37:18 | 2019-12-10T12:37:18 | 132,504,550 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,224 | rd | ifftshift.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/HelpFunctions.R
\name{ifftshift}
\alias{ifftshift}
\title{Inverse FFT shift of a 2d matrix.}
\usage{
ifftshift(inputMatrix, dimension = -1)
}
\arguments{
\item{inputMatrix}{Matrix to be swapped.}
\item{dimension}{Which swap should be perform... |
01ead16d0b4e67b992a3f85b87157344b8fcb4b3 | b90cf0bd5c664fce3f6f195c5a49636afe4e5dfd | /man/coerce_each.Rd | 65d6d06b2622f992bdb486e4f9074c4bc3399930 | [] | no_license | decisionpatterns/coercion | 77314d6013e6e499cd4282b47bc3a16723aca24b | fae10fb0cb15be112894a91c4bf6ba9796d5b7dc | refs/heads/master | 2020-08-12T18:50:29.078815 | 2019-10-13T13:16:46 | 2019-10-13T13:16:46 | 214,823,025 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 870 | rd | coerce_each.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/coerce_each.R
\name{coerce_each}
\alias{coerce_each}
\alias{coerce_each.data.frame}
\alias{coerce_each.data.table}
\title{Coerce each elements of a container class from one class to a different
class}
\usage{
coerce_each(x, from, to)
\method... |
96e11460a8ddc670f43a1ed30a3f86cf06fb3ce9 | c7c6a02920d4e66df2f8358198989d6cc641e52b | /R code/4_Process TPC model output_zinf.R | 6ee1f7f67e5dc5cf4bb65d5818d97e5939cb2e7d | [] | no_license | rwoolive/Cardinalis_TPC_evolution | f2d1ef51071ba33c7d7a6d2ccc43fe3d8413c2c3 | 937b401687d6977dfd3a58b3d4276b3a173db8e2 | refs/heads/master | 2022-07-17T15:32:10.381269 | 2020-05-19T17:36:43 | 2020-05-19T17:36:43 | 234,155,803 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,044 | r | 4_Process TPC model output_zinf.R |
#### PROJECT: Mimulus cardinalis TPC project
#### PURPOSE: Process TPC model output,
#### export model summary (Table S3)
#### DATE LAST MODIFIED: 2020-05-18 by rcw
#### WARNING: MODEL OUTPUT FILES ARE LARGE AND WILL TAKE TIME TO READ IN.
#### SOME CALCULATIONS (E.G. PERFORMANCE MAXIMUM, P-VALUES, AND B50)
... |
b4c36f83421ec9adfb536b00d7c52d2956d9e349 | 75d958dbb30e634995a732f1fd3682933bd36cef | /plot4.R | 588995e0889d90211fd9d3b25bf79ed4daf33581 | [] | no_license | wpmcdonald2000/ExData_Plotting1 | 6e48e4487348d6e3932d3188a405a95f52c81505 | 0bc045f063b51fa08d8d80748916b26b452416be | refs/heads/master | 2020-12-24T21:36:26.572630 | 2014-06-07T05:41:39 | 2014-06-07T05:41:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,531 | r | plot4.R | # download data from local text file
ElecPower <- read.table(file="household_power_consumption.txt", header=TRUE, sep=";", na.strings="?")
# subset data for selected dates
ElecPower <- subset(ElecPower, ElecPower$Date == "1/2/2007" | ElecPower$Date == "2/2/2007")
# open png file device, name file, initialize size
png... |
9d5fd35c93cb724645670f38cfbd109fe6b0ce3e | 27f53c5a9aa2d0962b5cd74efd373d5e9d9e0a99 | /R/FeatSelControlRandom.R | aa4cf98b76c8cb07670712f91ee02be2e6b23d65 | [] | no_license | dickoa/mlr | aaa2c27e20ae9fd95a0b63fc5215ee373fa88420 | 4e3db7eb3f60c15ce2dfa43098abc0ed84767b2d | refs/heads/master | 2020-12-24T13:44:59.269011 | 2015-04-18T19:57:42 | 2015-04-18T19:57:42 | 31,710,800 | 2 | 0 | null | 2015-04-18T19:57:43 | 2015-03-05T11:29:18 | R | UTF-8 | R | false | false | 544 | r | FeatSelControlRandom.R | #' @export
#' @rdname FeatSelControl
makeFeatSelControlRandom = function(same.resampling.instance = TRUE,
maxit = 100L, max.features = NA_integer_, prob = 0.5, tune.threshold = FALSE,
tune.threshold.args = list(), log.fun = NULL) {
maxit = asCount(maxit, positive = TRUE)
makeFeatSelControl(same.resampling.inst... |
c8c8017a5ab28e617a1b8a81c09a4001f0c31d1a | fb6f4bf4f515ed17cb6027a288f60a53e07abbc9 | /GRS_post_annotation.R | d4238379168ba94d95f6714dbbf83bc7e8997d20 | [] | no_license | AdrianS85/GRS_gene_name_meta-analysis | 8226e6381efb74f8331f549b8cacdf99d5351ed0 | e14dbce716e74a692623db7f0b7d169904c8f14d | refs/heads/master | 2021-10-27T17:19:42.051094 | 2021-10-20T07:15:56 | 2021-10-20T07:15:56 | 207,287,225 | 0 | 0 | null | 2019-11-05T11:47:54 | 2019-09-09T10:50:01 | R | UTF-8 | R | false | false | 10,128 | r | GRS_post_annotation.R | source('functions_for_genename_conversions.R')
source('https://raw.githubusercontent.com/AdrianS85/helper_R_functions/master/little_helpers.R')
opts_ann_1_n = 'Probe_ID_left_from_first_ncbi_annotation_stage'
opts_ann_1 = 'Probe_ID_left_from_first_annotating_stage'
opts_ann_2_n = 'Probe_ID_left_from_second_ncbi_annotat... |
9a3096c7eb79b0a55c923f4f029757dbb645af21 | 65c440894fe681e80b52c9c7fa988ea15c4cb733 | /linear_regression.R | 97f808002b4cfbb7ce8436c3f6c956c654d315ec | [] | no_license | limxuanyu127/Risk-analysis-of-mutual-funds | c645c22b073d04026f11ae37a085d6fceb126dc4 | f2b493aa2280e1ec8f39bfa5d87d4830748dc5be | refs/heads/main | 2023-03-30T04:30:35.957685 | 2021-04-02T17:21:35 | 2021-04-02T17:21:35 | 353,627,447 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,947 | r | linear_regression.R | library(caret)
library(mlbench)
# ----------------- SET UP------------------------------
setwd("C:/Users/limxu/Documents/NTU/Year4/RE6013 Bus Ana/project code")
full.df <- read.csv("EDA.csv")
set.seed(5)
predictors <- c("portfolio_cash", "portfolio_stocks", "portfolio_bonds", "portfolio_others", "portfolio_preferre... |
0d97b34d06327cb886056de5b9e9bf33509dd15b | 08a5f60f07a07b1be41d9656b58643204d37d221 | /man/view_neighbor.Rd | 7440d4eac644f4a5096d4e2a5307b13766a5f5ca | [
"MIT"
] | permissive | denis-or/neighbor | 6028cc117983f1aff9323c27696276dd0b5711f8 | e973adb0c847249cba87d159adfa6c4449315c32 | refs/heads/master | 2023-08-09T12:24:57.525411 | 2021-09-12T21:35:30 | 2021-09-12T21:35:30 | 405,495,900 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 633 | rd | view_neighbor.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/view_neighbor.R
\name{view_neighbor}
\alias{view_neighbor}
\title{View the neighborhood}
\usage{
view_neighbor(nbr)
}
\arguments{
\item{nbr}{A neighbor object create by \code{get_neighbor()} function.}
}
\value{
An object \code{ggplot}
}
\des... |
df6166a642ca8fb87c348c3fc4f750c040a61ccf | 8c95c48d48a5a6a351de57d90b56eb6e2642914c | /TGVsAll_new.R | c3befcf41a71faee07132b54ce29fb087034b3fb | [
"curl",
"Apache-2.0"
] | permissive | janaobsteter/Genotype_CODES | e24dafcf00476a9e0cc989b3c822bd13a391f76f | 8adf70660ebff4dd106c666db02cdba8b8ce4f97 | refs/heads/master | 2021-08-09T14:50:50.721598 | 2021-01-27T14:23:16 | 2021-01-27T14:23:16 | 63,061,123 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,226 | r | TGVsAll_new.R | ################
#Funkcija summarySE
#####################
summarySE <- function(data=NULL, measurevar, groupvars=NULL, na.rm=FALSE,
conf.interval=.95, .drop=TRUE) {
library(plyr)
# New version of length which can handle NA's: if na.rm==T, don't count them
length2 <- function (x, na.rm=FA... |
017922349b41a6ba70126920dff273acaf60ec60 | e0a32598fc787df6bd105b7d2ac7c5476b0d274a | /R/New_Simu_Gen_1.R | c5a3362ac790f50a8d606cc238da6c78d61a873f | [] | no_license | cran/DDPGPSurv | 378369d773bc1eae4b715221b487558bf5716f97 | 789cd0c1322bd120dc5346e2d7f3f7eef37fbaa6 | refs/heads/master | 2020-03-21T10:58:40.885918 | 2018-06-24T11:50:51 | 2018-06-24T11:50:51 | 138,481,875 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,717 | r | New_Simu_Gen_1.R | #Npat is the number of patient
#Ncov is the number of covariates here, which is fixed at 4 for now(including AUC^2)
#Comp_prob_0 and Comp_prob_1 are the probability for different CR
#CR is complete remission status
#mus and sds are the means and sds for AUC
#sigma is the sd for the survival time
#beta is the line... |
bbc3db57707263f54ba20b10d80a44fd0cf38b35 | 780587ca52127daebdf7346458f45db74aac5825 | /R Programming Week 4/rankall.R | 31728b4ae4949aa493403add413af3293a22af7d | [] | no_license | blazyy/assignment_submissions | 9bd3c4ad36352996aedd431e2653f0bc74bfc28d | a32a971e7c3e3542280722fe6eb33a8052dc26e7 | refs/heads/master | 2021-01-26T12:19:30.257896 | 2020-03-24T17:28:59 | 2020-03-24T17:28:59 | 243,433,287 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,164 | r | rankall.R | rankall <- function(outcome, num = "best") {
## Read outcome data
outcome_df <- read.csv("outcome-of-care-measures.csv", colClasses = "character")
## Check that outcome is valid
if(!outcome %in% c("heart attack", "pneumonia", "heart failure"))
stop('invalid outcome')
# Assign appr... |
f8965a68906ffd40bf4e941b925c18da84bb775c | d38ce2d2427bd2127e8286d6e0fd72c8dfe6f2ae | /pop_dens_plot.R | ac9fb42556d0a932380f299013d369bca089117c | [
"CC0-1.0"
] | permissive | giacfalk/GFTS_african_cities | 292b1391d75af42b19194e530212222bc1221e5d | 1905acc6a329a37b28eab3e33cef59ff5ca0b17f | refs/heads/main | 2023-03-03T09:41:35.259673 | 2021-02-18T15:23:14 | 2021-02-18T15:23:14 | 330,647,986 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,227 | r | pop_dens_plot.R | # https://git.digitaltransport4africa.org/data/africa
# https://www.overleaf.com/project/5fb920c2bf03cb0c6e3f8cf3
library(sf)
library(raster)
library(tidyverse)
library(gdistance)
library(GADMTools)
library(ggsn)
# minutes per meter assuming walking speed of 5 km / h
minperm <- 0.012
setwd("D:/OneDrive - FONDAZIONE ... |
bc77aa245ec6579ff971e23422ef80ed384f7e3d | 401cee8191e50cfb14faa52cb35ccc0a439a238d | /data_science_image_clustering/code.R | 14891722ecd01e58f1eaa4dec94d897f0283c0a3 | [] | no_license | ppojun/data_science_image_clustering | 2a61be287201d3f2fa0a9e4e06145875f2b03883 | 85052307c23393a59bacd99d898ce77f2a8531d7 | refs/heads/master | 2022-01-23T03:04:43.309387 | 2019-07-23T08:24:35 | 2019-07-23T08:24:35 | 198,378,845 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,841 | r | code.R | install.packages(\"jpeg\")
#(Installing a library for loading images)
library(jpeg)
#(load library)
image = readJPEG(\'c:/house.jpeg\')
#(Bring in an image and put it in a variable.)
dim(image)
#(You can see that Dimension is X by X 3 (rgb).)
plot(1:2, type=\"n\", xlab=\'\', ylab=\'\')
#(I made an empty plot.... |
f75c817f48554a11a8ebd3f378c0fddf780fc031 | 9528c7e85fe5f70193100f2e00c6616e07d270a4 | /man/ppdb_query.Rd | 102b8d349ea47beb3312aa04ba7b2ff7ef1e2084 | [
"MIT"
] | permissive | cdr6934/webchem | 2630c8ff8d180163d094134d2ebb55f3067ed8d8 | 585fa5d5a91122837fbb924289a3ff77a90861a1 | refs/heads/master | 2020-12-03T05:33:20.504210 | 2015-09-26T12:02:29 | 2015-09-26T12:02:29 | 43,830,232 | 0 | 0 | null | 2015-10-07T16:45:35 | 2015-10-07T16:45:35 | null | UTF-8 | R | false | false | 926 | rd | ppdb_query.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/ppdb.R
\name{ppdb_query}
\alias{ppdb_query}
\title{Query the ppdb for information}
\usage{
ppdb_query(cas, verbose = TRUE)
}
\arguments{
\item{cas}{character; CAS number to query.}
\item{verbose}{logical; print message during process... |
7fb520505ca761de28a0cdec81c1f15a7f9477d8 | a6f4c8c91414d62fad5f8f7f53b1dee9c9d099ee | /R-Portable-Mac/library/iterators/unitTests/basicTest.R | eb166af4db006ac02a9716d303a8504888d2ee0f | [
"GPL-2.0-only",
"LicenseRef-scancode-unknown-license-reference",
"CC0-1.0"
] | permissive | sdownin/sequencer | 6a2d70777fbd8109e26f126229b5ee10348cf4e7 | 045d0580e673cba6a3bd8ed1a12ff19494bf36fa | refs/heads/master | 2023-08-04T08:06:02.891739 | 2023-08-03T04:07:36 | 2023-08-03T04:07:36 | 221,256,941 | 2 | 1 | CC0-1.0 | 2023-02-04T15:06:14 | 2019-11-12T16:00:50 | C++ | UTF-8 | R | false | false | 3,541 | r | basicTest.R | library(iterators)
test00 <- function() {}
# test vector iterator creation
test01 <- function() {
x <- iter(1:10)
}
# test hasNext, nextElem
test02 <- function() {
x <- iter(1:10)
checkEquals(nextElem(x), 1)
for(i in 1:9) nextElem(x)
checkException(nextElem(x))
}
# check checkFunc
test03 <- function() {
... |
6c53ce0d5f28245e2ccbb361f874f0ca1e29db32 | fc18ec80388622ade08d1ed6af6b64cd2b01b687 | /R/do.hex.R | d762ab01776b6603851d9a664af274b6cca3ab2c | [] | no_license | yannabraham/Radviz | 2942d96e8a2fbe337250c10a592aa17b0e1fe514 | c9c0d92c6e0acb7b6df6d913f3835156e0acbe68 | refs/heads/master | 2022-05-15T06:33:44.126045 | 2022-03-25T09:00:31 | 2022-03-25T09:00:31 | 46,946,711 | 9 | 1 | null | null | null | null | UTF-8 | R | false | false | 190 | r | do.hex.R | #' @rdname Radviz-deprecated
#' @export
do.hex <- function(x,...) {
.Defunct(new='hexplot',
msg='the do.hex function is not required anymore, use hexplot directly')
return(x)
} |
a4430294921af44b04943ace77f3c4c1f188e47f | fd7a2effcd87a6c20f020d5ede4b9aed62659cef | /man/species_int_mat.Rd | 4995307c0147bfb60ab07e20b28b702747f70d16 | [] | no_license | plthompson/mcomsimr | a563c22bb1ab1f2a6ca791c49bb8d17bb71cb496 | 50f206140d86a0a59f9cd82603bf22ce2e801798 | refs/heads/master | 2023-02-06T11:43:12.547929 | 2023-02-03T01:03:36 | 2023-02-03T01:03:36 | 244,210,441 | 15 | 2 | null | 2022-01-19T05:14:40 | 2020-03-01T19:28:45 | R | UTF-8 | R | false | true | 1,014 | rd | species_int_mat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sim_setup.R
\name{species_int_mat}
\alias{species_int_mat}
\title{Generate Species Interaction Matrix}
\usage{
species_int_mat(
species,
intra = 1,
min_inter = 0,
max_inter = 1.5,
int_mat,
comp_scaler = 0.05,
plot = TRUE
)
}
\ar... |
6fa74a9c9dcb47039d7c8df3ed9360093bd16a20 | fa9b6c058462ed0ab36a8776326ad549c5c411bb | /man/CVEC.Rd | b0597b989e3584e6a1d3acfb3743dea3a653e3c7 | [] | no_license | cran/EleChemr | 5a93eea2abe305e024a623c587b87af20dd1dcda | aa0935ebef6e9338693345b24c97d52680897e19 | refs/heads/master | 2021-06-19T09:00:44.990030 | 2021-02-09T13:20:03 | 2021-02-09T13:20:03 | 176,323,063 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,739 | rd | CVEC.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/EleChemr.R
\name{CVEC}
\alias{CVEC}
\title{EC behaviour cyclic voltammetry simulator}
\usage{
CVEC(
Co = 0.001,
Dx = 1e-05,
Eo = 0,
Dm = 0.45,
Vi = 0.3,
Vf = -0.3,
Vs = 0.001,
ko = 0.01,
kc = 0.001,
l = 100,
alpha = 0.5,... |
fc2c7290d5658952991f8ca2b1cb6ab9fe8e9127 | 32fe2ee054042792dae03c82a1dd6f172ea3617f | /Figure2A_PromoterMeth.r | 2bd38e1cc2809f302f3c06d2b3208b0533d175b6 | [] | no_license | emmabell42/Bell-et-al-2018 | 0bc03e03b7f1988cccae81be0f6c9333bb9a7900 | 5a73730953ff3b5bb4f2e82c403eec6df9dd52df | refs/heads/master | 2020-03-11T15:42:54.710151 | 2018-05-03T13:15:31 | 2018-05-03T13:15:31 | 130,093,692 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 851 | r | Figure2A_PromoterMeth.r | prom <- read.table("session_20180305 - interacting_genes - promoter info.txt",head=T,sep="\t",stringsAsFactors=F,comment.char="",quote="")
se <- read.table("20161115_corrected_ES_super_enhancer_with_methylation.txt",head=T,sep="\t",stringsAsFactors=F,comment.char="",quote="")
library(vioplot)
names <- c("2i","Serum",... |
7f709600091013446112a27c0b80b44cc879fa66 | bb5da0afd1e157afb3374c078dbf021e0152ea1b | /man/toc.Rd | 19daab54c42bea3c065cea682d054cf16bb3e88c | [
"Apache-2.0"
] | permissive | anu-bioinfo/tumorcomparer | 0edaa7ad85fe85961d6919dee382fcb303c68147 | 8027da9bfca5323c21107c63974cbee3d916bae1 | refs/heads/master | 2023-06-04T07:19:23.390093 | 2021-06-25T13:45:44 | 2021-06-25T13:45:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 269 | rd | toc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tic_toc.R
\name{toc}
\alias{toc}
\title{Stops a stopwatch timer to measure performance}
\usage{
toc()
}
\description{
Stops a stopwatch timer to measure performance
}
\concept{tumorcomparer}
|
33c10338ea4906dfa86c53a0798b0db320921fa3 | 75a6df07e2a2f6c32e021320622287850d6a3329 | /eda/map.R | f007ec0544db9b5ba6a06a1078a3a7df40ffbf40 | [
"MIT"
] | permissive | ss251/info478-project | 42b0e96ff8d036350e24aa40d0225352ffe7a808 | 3ba1f697ee2e82a5eb7a360561a1583c85134d85 | refs/heads/master | 2022-12-30T05:56:08.098524 | 2020-10-12T19:21:12 | 2020-10-12T19:21:12 | 259,414,110 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,740 | r | map.R | library("gdata")
library(tidyverse)
library(maps)
library("rworldmap")
library("classInt")
water_data <- read.csv("water2.csv", stringsAsFactors = FALSE)
water_data_map <- data.frame(water_data$Geographic.Area, water_data$X2017_Proportion.of.population.using.unimproved.drinking.water.sources)
water_data_map <-water... |
6aefff6efd07844ecd3848486ceb143fbe681760 | 3abacd5c249dccb2979277a26be0168597ab1e1b | /man/protectLinkedTables.Rd | 2e78ed1122817f2ee68b0c06654cc05d53e55c09 | [] | no_license | mattdowle/sdcTable | 0c7e367f4c2dac9c5ef425c6f49ba3cf040f29e4 | 68978ca587af61b2018f8f5cd6efafbf776cfaad | refs/heads/master | 2020-04-22T14:17:26.036357 | 2019-02-08T13:34:58 | 2019-02-08T13:34:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 5,616 | rd | protectLinkedTables.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/export_functions.r
\name{protectLinkedTables}
\alias{protectLinkedTables}
\title{protect two \code{\link{sdcProblem-class}} objects that have common cells}
\usage{
protectLinkedTables(objectA, objectB, commonCells, method, ...)
}
\arguments{
... |
fee8dea3262c4f0f50ede4df040cc85d3cfcd69e | f5bacb9e62521a7445ac7bbcdeb36e862d2d622c | /man/permutation_power.Rd | 7b264089345fa352712dc44d75f0766238b8edd3 | [] | no_license | astamm/fdahotelling | 7c4932d2ad02c27c87640c88aefeef34c21022a4 | 2f82b2240817573d74f1bb20d14c6c7867e57122 | refs/heads/master | 2021-01-21T06:24:08.051996 | 2018-06-25T10:01:37 | 2018-06-25T10:01:37 | 83,222,803 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,262 | rd | permutation_power.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simulations.R
\name{permutation_power}
\alias{permutation_power}
\title{Power calculation for the permutation test}
\usage{
permutation_power(mu1 = 0, Sigma = diag(length(mu1)), n1 = 10L,
n2 = NULL, MC = 1000L, alpha = 0.05, paired = FALSE,... |
2f31a499dd882623e59d1319b12eba3220de397b | 89046f847ef46501aa53fec57e74846a1eac8505 | /run_analysis.R | 5bd1fe05ac88e3eb60a954c348663757ab292240 | [] | no_license | kerkrouchick/Getting-and-cleaning-Data-Project | eb479759b03f7e8e537108985fb62d0d28adc1a9 | bb79061c85d044509b6121062e070e452622fb38 | refs/heads/master | 2022-10-11T07:56:43.171481 | 2020-06-12T20:04:11 | 2020-06-12T20:04:11 | 271,877,839 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,628 | r | run_analysis.R | library(dplyr)
library(plyr)
library(reshape2)
library(stringr)
library(tidyr)
download.file("https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip", destfile = "Run_zip.zip")
Run_zip <- "Run_zip.zip"
Files <- as.character(unzip(Run_zip, list = TRUE)$Name)
subject_test <- read.table(unz... |
f40968d0a6d6e83fa4f9d6510abcc7a92a7927f5 | 9e8ea97853a1313a659c300765414cb63037cb0a | /r/science.R | 75b6dafbbbe0cbbd332b587722b5eae9d6ae1d3b | [
"MIT"
] | permissive | ygeunkim/ecg-experiment | d14ef744757dd39666d56d131f9b2f869e6ffa5a | 470943d8e16d1c32775f06820cda5fe9b5aa5b0e | refs/heads/master | 2023-05-15T12:26:37.469729 | 2021-05-31T02:44:37 | 2021-05-31T02:44:37 | 356,441,103 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,630 | r | science.R | # packages------------------------
library(dplyr)
library(readr)
library(tidyr)
# experiment data------------------
ecg <- read_csv("data/raw/ecg.csv")
# diff-----------------------------
ecg_diff <-
ecg %>%
mutate(diff = post - pre) %>%
select(-pre, -post)
# pre-process----------------------
science_ecg <-
... |
d2c964c4154f5982995e21c455ff7b00f7e4a4b0 | b5b43e544d901665cc2a2ff2518fff5b44d882a0 | /man/cleanup_synonyme_table.Rd | a95b556837b16aa37bce8921385830b92017067f | [] | no_license | jamielatham15/bibliographica | 14b894fb16403a22051903598fd2b443709fdb6d | 62bb9feb231c1d6b93960ced52404bcfb496252e | refs/heads/master | 2021-01-23T01:51:17.343584 | 2017-03-03T11:14:56 | 2017-03-03T11:14:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 743 | rd | cleanup_synonyme_table.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cleanup_table.R
\name{cleanup_synonyme_table}
\alias{cleanup_synonyme_table}
\title{Clean synonyme table}
\usage{
cleanup_synonyme_table(f, sep = ";", write = FALSE)
}
\arguments{
\item{f}{File name}
\item{sep}{Separator}
\item{write}{Write... |
ca689762645ce2a5ab1bdaaed40b3fabd11f4762 | 9aab092e74d3287fffff729c47a3f063072f4d5a | /filter.R | d5d332c22eaf5e1e8cefb6e6390dfef6156cfe42 | [] | no_license | pcairns-rgu/Vessels | 87b6625c4a6471d45f023bf75c4a75d48029ea3b | 085903e4ab039d58b9e7b577ac1a1742e62c1093 | refs/heads/master | 2020-07-11T11:34:28.609799 | 2019-08-26T17:45:37 | 2019-08-26T17:45:37 | 204,528,706 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,154 | r | filter.R | #Author: Pauline Cairns Date: 1 August 2019
#Create dataframes from database connection and
#then filters out records from dataframes
#set up of working directory
setwd("H:/Vessels")
#to allow queries to be run on the database
source('connect.R')
#import packages
#all sourced from the packages install ... |
19892b64cbe06f5354d983e7e9e06b3646751c12 | 45587d79f947427f5283fde67c0b02b501eae614 | /model_comparison/03_compare_models.R | 7b5f06e92aa48c2405fa95d7a17c01138ca3cdf6 | [
"MIT",
"CC-BY-4.0"
] | permissive | vankesteren/f1model | 82c8cbafc0bf41ee31803377050d933175f71721 | bc1117450d818e63a2e4f69e6c2b9dca022ca24e | refs/heads/main | 2023-07-09T17:21:00.803991 | 2023-06-26T11:02:16 | 2023-06-26T11:02:16 | 352,695,980 | 4 | 2 | MIT | 2023-02-02T09:30:11 | 2021-03-29T15:40:57 | R | UTF-8 | R | false | false | 14,071 | r | 03_compare_models.R | # Code accompanying the manuscript "Bayesian Analysis of Formula One Race Results"
# Last edited 2022-12-14 by @vankesteren
# Contents: visually comparing models for formula one race results
library(tidyverse)
library(ggridges)
library(cmdstanr)
library(firatheme)
library(patchwork)
library(loo)
# Load data ----
f1_da... |
018a456d50b4507dfaf14171902683bee7d0f420 | b33392b0ad688f07613804f5707b9ce22e787027 | /R/ip_internal.r | ad56e0702dd6db131c7e98c6d165271af462ed31 | [
"BSD-2-Clause"
] | permissive | wrathematics/getip | 3f0a11b46271a6fb64bfcedcbfaaad134b774210 | eaea192ad020d19e51e11c5dddc9bfeb3b46cdd6 | refs/heads/master | 2023-01-28T18:36:41.561075 | 2023-01-23T23:01:03 | 2023-01-23T23:01:03 | 62,585,431 | 6 | 1 | null | 2017-02-20T16:36:50 | 2016-07-04T20:05:44 | C | UTF-8 | R | false | false | 86 | r | ip_internal.r | #' @useDynLib getip R_ip_internal
ip_internal = function()
{
.Call(R_ip_internal)
}
|
a40cd69ac50a2813f5e75a189b026b6ff91c9b2e | 09ce315ccd153a2ca74867ef0017e7c0443a39f3 | /man/hello.name.Rd | 555eb8f88a1d2f945b3c32821e6307baff6ada7d | [] | no_license | MW89/testpckg1337 | eb1269efef52214a5ec583f7d18e1060590e24a0 | 1a9eddb26cb8cc6f9c283039e79d5908c557beae | refs/heads/master | 2021-08-11T07:59:04.156803 | 2017-11-13T11:14:00 | 2017-11-13T11:14:00 | 110,232,594 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 540 | rd | hello.name.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hello.R
\name{hello.name}
\alias{hello.name}
\title{Say hello to anybody}
\usage{
hello.name(name)
}
\arguments{
\item{name}{A character specifying who you want to greet.}
}
\value{
Character.
}
\description{
This function returns the string ... |
f1c6983cd368e9676f64445322819364fc873517 | 542ea44d056fa800a67f80d403c3e92a7f73747d | /drop/template/Scripts/AberrantSplicing/Overview.R | 707f56029d7f29f993a0673e0ec802119ca12e8e | [
"MIT"
] | permissive | gagneurlab/drop | 01dfff87721253559f2c6d4dceb57c194f6b859f | 594d7daaff872604d65ae1537a0fe59f463de6b3 | refs/heads/master | 2023-07-27T18:28:02.999705 | 2023-04-14T09:50:33 | 2023-04-14T09:50:33 | 213,693,892 | 102 | 44 | MIT | 2023-07-07T09:41:58 | 2019-10-08T16:21:43 | Python | UTF-8 | R | false | false | 3,626 | r | Overview.R | #'---
#' title: Aberrant Splicing
#' author:
#' wb:
#' log:
#' - snakemake: '`sm str(tmp_dir / "AS" / "Overview.Rds")`'
#' params:
#' - annotations: '`sm cfg.genome.getGeneVersions()`'
#' - datasets: '`sm cfg.AS.groups`'
#' - htmlDir: '`sm config["htmlOutputPath"] + "/AberrantSplicing"`'
#' input:
#' ... |
2d2918e92c71093628e1c3388eb7a0784ec9cf15 | 8f2987326acb2b2394e776d8a3feb20151e4625d | /msg-harvester.R | dbfeaa92a64c4973a0565c2e6f910221f7b842ff | [] | no_license | MarineGEO/okr-harvester | c0e29e2eeddbb08c8f7e52eea849553313acff1e | dfec18649afdc1c2beb38412c731bee96ef46865 | refs/heads/master | 2020-03-28T14:50:33.219335 | 2018-09-12T19:00:23 | 2018-09-12T19:00:23 | 148,527,951 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,435 | r | msg-harvester.R | # harvest messages in a channel through querying slack's API
# Load packages
library(tidyverse)
library(purrr)
# load the config file that contains the API token
source('CONFIG')
# query API and save all messages to a data frame
url_groupHistory <- 'https://slack.com/api/groups.history'
msgs <- content(GET(str_c(url... |
539deaa65a7cb3746cfe5e84bb51e77e9b8bc3ff | e888224cc0d84041cedcb6ee9968dcb3e86e8ede | /06_normalized_clustering_DH.R | 3ae5f86110a599e0f4516e991b98b4172eef547c | [] | no_license | Driesheylen1/introductiondecember | 75ac883078ba83c0b905977f712c627532d4bd5d | 8d2b042dfc26ded4551070990b3c090c6da5a6a2 | refs/heads/main | 2023-02-24T01:02:07.194685 | 2021-01-27T09:56:09 | 2021-01-27T09:56:09 | 320,223,422 | 0 | 0 | null | 2020-12-10T13:17:32 | 2020-12-10T09:33:12 | R | UTF-8 | R | false | false | 8,411 | r | 06_normalized_clustering_DH.R | library(data.table)
library(ggplot2)
library(GGally)
library(ggrepel)
library(randomcoloR)
library("readxl")
library("reshape2")
library(dplyr)
iam = Sepsis_data_normalized_outliers_out
iam = melt(iam, id.vars = c("ID", "Batch", "Sex", "Age", "Diagnosis", "In_Hospital_Mortality",
"ICU_admiss... |
b866075ae011f2428c90596f317c839619927467 | 03f57d4d510b0c36a6aae6a680c276dd15fa2f40 | /paper/civicmine/fig_prcurves.R | 14053c3372d2c9733ecb6998a94182e8fed5fe68 | [
"MIT"
] | permissive | jakelever/civicmine | d2dc7f7306f82c6623dcf5af465db1fc77eb2193 | 8b8ab1c196c961799dd75eb20510487504eae595 | refs/heads/master | 2023-04-15T02:02:59.253498 | 2023-03-31T16:49:58 | 2023-03-31T16:49:58 | 114,714,074 | 18 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,152 | r | fig_prcurves.R |
source('civicmine/dependencies.R')
AssociatedVariant <- read.table('civicmine/prCurves/AssociatedVariant.txt',header=T)
colnames(AssociatedVariant) <- c('threshold','precision','recall')
AssociatedVariant$reltype <- 'Associated Variant'
Diagnostic <- read.table('civicmine/prCurves/Diagnostic.txt',header=T)
c... |
54d3c9e290bbed0912dc5da3209c41aef2fafce4 | 92972c7a4bbdc0498bb080af75bd36345ab32ea1 | /man/disc_camera_compass_angle.Rd | 1c2b1109d0cfba857d5c1c1f61327d253a31f88d | [] | no_license | beatrixparis/DISC | 1f30ad4f2451350a721586c36e6f05d1860d3aa5 | fc9e384721fdd5b1d11695f7f542af86d4ccf35f | refs/heads/master | 2016-08-11T22:01:10.436084 | 2015-10-18T04:21:10 | 2015-10-18T04:21:10 | 44,465,142 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,451 | rd | disc_camera_compass_angle.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/disc_camera_compass_angle.R
\name{disc_camera_compass_angle}
\alias{disc_camera_compass_angle}
\title{Measure angle between camera and compass}
\usage{
disc_camera_compass_angle(dir, sub = NULL, verbose = FALSE, ...)
}
\arguments{
\it... |
45b4d19a885e9b99f9aef9fea4e17ac05634cd9b | c88845e9dea484df85380f4129b0e00a2d35191e | /cachematrix.R | de7ada1bcdf1256ae8019bc1df8c5a5392a2bcf1 | [] | no_license | whiteRetriever/ProgrammingAssignment2 | 1afd4ce93fd4eb3b7b9862860de6ba4f051e11e3 | 2266b9232c71c8bb200caed82a2c79ec96cb4287 | refs/heads/master | 2021-01-14T11:30:29.104908 | 2015-01-25T20:05:14 | 2015-01-25T20:05:14 | 29,827,580 | 0 | 0 | null | 2015-01-25T19:34:08 | 2015-01-25T19:34:06 | null | UTF-8 | R | false | false | 1,664 | r | cachematrix.R | ## Matrix inversion
## following functions is used to cache the inverse of a matrix
## makeCacheMatrix creates a list containing a function to
## 1. set the value of the matrix
## 2. get the value of the matrix
## 3. set the value of inverse of the matrix
## 4. get the value of inverse of the matrix
makeCacheMatrix <... |
ff93bfb0eaf4c54ca2e7c20c712929752bd76562 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.management/man/appregistry_list_associated_attribute_groups.Rd | a52b5a0f5a4c570cf051c5120da595a59f8ce900 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 988 | rd | appregistry_list_associated_attribute_groups.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/appregistry_operations.R
\name{appregistry_list_associated_attribute_groups}
\alias{appregistry_list_associated_attribute_groups}
\title{Lists all attribute groups that are associated with specified
application}
\usage{
appregistry_list_assoc... |
46acdf419e768e2efbeb72cb1f2de2ee12a43dbb | 8a66a7adca1bef28ea2ef434df194956ca5a3a02 | /gimme/R/print.varLabels.R | cd231642e80f66d1b8a9ac07370dc8ece4820236 | [] | no_license | kaduffy/gimme | 87bd0780ee17e7d50a5b5c898197234f82b6688a | 017bf0444a30eac9711e74f7d5e4888fb9cc99d7 | refs/heads/master | 2023-03-16T23:24:42.145497 | 2022-08-23T15:11:34 | 2022-08-23T15:11:34 | 116,872,716 | 0 | 0 | null | 2019-03-20T22:17:45 | 2018-01-09T21:28:16 | R | UTF-8 | R | false | false | 919 | r | print.varLabels.R | #' Print method for varLabels object.
#' @keywords internal
print.varLabels <- function(x){
cat(
" Original Variable Names \n ", paste0(x$orig, collapse = ", "), "\n\n",
"User-Specified Exogenous Variable Names \n ", paste0(x$uexo, collapse = ", "), "\n\n",
"Lagged Variable Names \n ", paste0(x$lagg,... |
6a5d42645d84d7d66afd3e943e91102d37180aa1 | 12078d8b1524a9028c2cf6540f66f05508fd0e11 | /grades.R | 7ab22fc2ff4070f2a074f8616a8eae492525a505 | [] | no_license | teejas/GradeVisualization | a18d0f5989f4565be4c89423957f3b2c5adf63cb | f95f0a0d4fce40bbc76edac948e70bd1c181d119 | refs/heads/master | 2021-01-20T13:56:02.482400 | 2017-02-21T20:27:50 | 2017-02-21T20:27:50 | 82,723,101 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,094 | r | grades.R | library(ggplot2)
data <- read.csv("dspgrades.csv", header=T, sep=",")
df <- data.frame(data)
cum_gpa <- df$Cumulative.GPA
term_gpa <- df$Term.GPA
names <- df$Name
term_hrs <- df$Term.hours
living_in <- df$Living.in
norm_cum <- (cum_gpa - mean(cum_gpa)) / sd(cum_gpa)
norm_term <- (term_gpa - mean(term_gpa)) / sd(term_... |
57331bb73d8518cee9e9ce9ec14697d3aa980264 | d56cf62cc3e2ac72fe4fa351471e4d7542db6c88 | /NYC_BB.R | d485e2437fa570eef8178e91e3825d6887f8cdfa | [] | no_license | agreen4/bedbugs | 855a008bcaccae41b07793acc244e240525b3dff | f6a23618269ebd8811d871daeac5468bdb17173e | refs/heads/master | 2020-03-23T22:27:47.270689 | 2018-07-27T12:58:42 | 2018-07-27T12:58:42 | 142,177,638 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,707 | r | NYC_BB.R | library(data.table)
NYC_311 <- fread("/nfs/bedbugs-data/City Housing Complaint Databases 2-28-18/NYC_Original_Data_Feb_28_2018/311_Call_Center_Inquiry.csv")
NYC_com <- fread("/nfs/bedbugs-data/City Housing Complaint Databases 2-28-18/NYC_Original_Data_Feb_28_2018/Housing_Maintenance_Code_Complaints.csv")
NYC_vio <- f... |
de8f6e31191315cbe5abfeb4a0e2b196fbaa7751 | dc513cb8c80a9d8e4ec45bc511e77de8759a72b7 | /simulation.R | 269ff856de218019d70b7aa4f20c9723bab31b37 | [] | no_license | TheoVerhelst/Causality-in-Churn | 7632209f99ba175b42cf91ef1f43a1c02c5e58e9 | efb60cb105c61d0ffde5ff25142534ce6fb8a683 | refs/heads/master | 2023-03-20T03:37:35.523722 | 2021-03-16T12:16:04 | 2021-03-16T12:16:04 | 347,121,382 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,532 | r | simulation.R | # Derives the parameters of the bivariate beta distribution such that
# the resulting population respects the proportions beta, gamma and delta.
derive_bivariate_beta_parameters <- function(beta, gamma, delta, A = 1) {
alpha <- 1 - beta - gamma - delta
v <- beta * gamma - delta * alpha
a_00 <- -v + A * alpha
a_... |
ef4ef16e603c0e77b01c61dd9aeaef3325f65f69 | 2d310fd545505bb0fb7396011cd0c4859e8f0927 | /inst/analysis/optimal_comorbid/make_cmb.R | b09555d5f5350ba61a46d25feef36644d49024ac | [
"MIT"
] | permissive | olladapunaresh/pRs | b871d5ccec03b074c2cdc97eacad8c7d14c549dc | e0e81c76c87897930086cbd0fd4a477d481d1f7d | refs/heads/master | 2023-03-18T18:53:56.621307 | 2018-12-10T13:40:08 | 2018-12-10T13:40:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 497 | r | make_cmb.R | library(pRs)
bfile = "/scratch/hpc2862/OH/grs/plink/OHGS_B2_ALL_imp_b_s1"
assoc = c("cad_weights_hdl.assoc",
"cad_weights_ldl.assoc",
"cad_weights_tg.assoc")
p = seq(0, 0.5, by = 0.01)
n_i = c(180000,
180000,
180000)
r_i = c(-0.252,
0.25,
0.318)
h_i = c(0.1572,
0.1347,
0.1161)
h_1 = 0.30
cmb <... |
c9a8db96c81c851c4f6a8d8cc54464913db413c2 | 9c9328e812b8d3edcd9c97af0494110ea3c64054 | /man/NBSpliceRes-plotGeneResults.Rd | dd0497674231e731e116906e57806e7ce71de095 | [] | no_license | gamerino/NBSplice | 90fb5ad934f9a118aa8e6feb1215c2764af6bf52 | ba4d4ee1c23a467eed3d0f5ad3ecc5acb000a5ec | refs/heads/master | 2021-09-08T11:30:16.736683 | 2021-09-03T14:24:59 | 2021-09-03T14:24:59 | 124,399,153 | 3 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,432 | rd | NBSpliceRes-plotGeneResults.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/NBSpliceRes-plotGeneResults.R
\docType{methods}
\name{plotGeneResults}
\alias{plotGeneResults}
\alias{plotGeneResults-methods}
\alias{plotGeneResults}
\alias{plotGeneResults,NBSpliceRes-method}
\title{Method to obtain isoform's relative expre... |
4e2394a4e27a7674e1688a306d3dca3138195d0d | b3618d19fb644bd8fbae8a091cd179a80eaa4da3 | /E323 - Cell identification.R | 73dcf84932007020aa04f517a9d5719c59649797 | [] | no_license | andrewrgross/E323---COVID-pancreas | 1935f166abb62bbe650ceaaf9d9ead075ba942de | f5f81054e4e02f1a68a2cba996cd6adc10cd21af | refs/heads/master | 2022-12-22T09:31:39.668881 | 2020-09-23T17:10:48 | 2020-09-23T17:10:48 | 298,040,370 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,760 | r | E323 - Cell identification.R | ### E323 Cell Identification
### Header
library(QICFIT)
### Functions
### Import Data
query.df.full <- read.csv("C:/Users/grossar/Box/Sareen Lab Shared/Data/Vicky/E283-COVID Infection/Round 2 RNAseq/VW-10228--08--04--2020_FPKM.csv", row.names = 1)
ref.df <- read.csv("C:/Users/grossar/Box/Sareen Lab Shared/Data/And... |
551a62f639e2c7df3dfee72ec5b5d28a1d1f86df | ed8dfa1bf03d10630e22c0b3d9f27227de941752 | /51-60/54.Get_hand.R | fe7ed0bc00cbbdf8f217e950bb00aa00927c273d | [] | no_license | shahronak47/Project-Euler | 3bcd1001ed5a7dfe288e20b1dbb5718aaaa673e5 | 30ba8fa5250bb4a4c755ece09020e0c31f4adac8 | refs/heads/master | 2021-12-24T04:43:35.244694 | 2021-12-18T06:39:04 | 2021-12-18T06:39:04 | 77,676,595 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,880 | r | 54.Get_hand.R | source("/Users/Ronak Shah/Google Drive/Git-Project-Euler/51-60/54.Poker_card_supporting_functions.R")
get_hand <- function(hands_1, hands_2) {
value1 <- substr(hands_1, 1, 1)
suit1 <- substr(hands_1, 2, 2)
value2 <- substr(hands_2, 1, 1)
suit2 <- substr(hands_2, 2, 2)
output1 = is_royal_flush(value1, suit1)
... |
4f8de0cc3be0739934744a7275fca2118ae4d9ed | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.business.applications/man/chime_describe_channel_membership_for_app_instance_user.Rd | 7cc0840e82910f6402f0583986f1d50fb31424f6 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,394 | rd | chime_describe_channel_membership_for_app_instance_user.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/chime_operations.R
\name{chime_describe_channel_membership_for_app_instance_user}
\alias{chime_describe_channel_membership_for_app_instance_user}
\title{Returns the details of a channel based on the membership of the
AppInstanceUser specified... |
0f009087d669de66d6f90fcc1bd43d7ddc3b606d | 49fc9dad8aa96993c49e8f09c668fcc3ae112629 | /R/legendre.R | 34f6c78109e786370fe8958a7b0e78747c8c1fa9 | [] | no_license | NathanWycoff/GenInterpConv | daf2faa3f69505bcee667105c762262263fd77d1 | c798a74ba8acda4b7c7c99931d4b5676d973b2c4 | refs/heads/master | 2020-05-03T11:42:35.620224 | 2019-03-30T20:56:45 | 2019-03-30T20:56:45 | 178,606,974 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,479 | r | legendre.R | #!/usr/bin/Rscript
# R/legendre.R Author "Nathan Wycoff <nathanbrwycoff@gmail.com>" Date 01.19.2019
#' Calculate a degree P Legendre polynomial evaluated at x
leg_poly <- function(P, x) {
if (x > 1 | x < -1) {
stop("Legendre Polynomial defined on [-1,1]")
}
n <- P
ret <- 0
for (m in 0:floo... |
e8eafb7f50f08439f3bde8b9a6381aeed885ab7a | cb453e22a4d3ab7ba7b7a96972887a0d5babb4d6 | /plot4.R | 2b0505eb015454a7c8a3553a40426519dde3f9f2 | [] | no_license | heikalm/ExData_Plotting1 | e4b0c40b5f382daa48850f0c35a0810f4aa50beb | 0e0e8ae87c2defd71d4482a3cd6bb7c085ac8adc | refs/heads/master | 2020-04-30T01:17:50.972769 | 2019-03-19T19:06:46 | 2019-03-19T19:06:46 | 176,525,709 | 0 | 0 | null | 2019-03-19T14:08:02 | 2019-03-19T14:08:01 | null | UTF-8 | R | false | false | 1,551 | r | plot4.R | library(data.table)
filename <- "data/EDAweek1.zip"
if (!dir.exists("data")) {
dir.create("data")
}
# Check for file and unzip
if (!file.exists(filename)){
fileURL <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(fileURL, filename, metho... |
97a4161c1da775e436d1940c8dacfd7a86284515 | f71c9ac51e3dc6d3d255b8548e7a16e208be72bf | /inst/scripts/make-data-human-DLPFC.R | 17c8bc2e6a6f8b40a82ec614c35d23c35ecb4ea3 | [
"MIT"
] | permissive | drighelli/STdata | 1e22a7bbfe1ba31418262796f7bd76b9a5932276 | 39ad07313846916237fe329c567665e77fcbbe3b | refs/heads/main | 2023-02-01T14:37:52.379079 | 2020-12-18T09:18:53 | 2020-12-18T09:18:53 | 321,612,112 | 0 | 0 | null | 2020-12-15T09:08:44 | 2020-12-15T09:08:43 | null | UTF-8 | R | false | false | 4,183 | r | make-data-human-DLPFC.R | ########################################################
# Script to create human DLPFC data object from raw data
# Lukas Weber, December 2020
########################################################
# for more details on this dataset see:
# http://spatial.libd.org/spatialLIBD/
# data can be downloaded as a SingleCel... |
da3fad99e213c569d60f25660d03e90334ce3044 | a0e469d016fa3d8f26cf53c9c332aa2b159120aa | /Riboseq_Normalization_and_limma.R | 2328db4f12072cfc015bebb3f6358ae16c37c360 | [] | no_license | Ornela88/Arabidopsis_Riboseq | c1509bb084ee9b6852bef5ac3b3c59ed07040579 | 6b918f0600eee932e2cb12c9edc81e01449ec548 | refs/heads/main | 2023-02-24T04:35:10.175682 | 2021-02-01T09:15:30 | 2021-02-01T09:15:30 | 313,895,025 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 8,547 | r | Riboseq_Normalization_and_limma.R | #library
options(stringsAsFactors = F)
#if (!requireNamespace("BiocManager", quietly = TRUE))
# install.packages("BiocManager")
#BiocManager::install("TxDb.Athaliana.BioMart.plantsmart28")
#BiocManager::install("Rsamtools")
library(Rsamtools)
library(RiboProfiling)
library(TxDb.Athaliana.BioMart.plantsmart28)
library(o... |
51b24d4441b976cd0255c20f1852b97618ef56ba | 5ed2eda1f12a981732f42a363a3cce46c72c4e67 | /man/signatures.Rd | 37af8565542b89d3818572d32340cea87742468e | [] | no_license | mgaldino/r_we_the_people | 8f7e0029a3af243bb1cb06a3e1bd461e93987921 | eab1e11d26de81b9aa1955824744bd88a23437f0 | refs/heads/master | 2021-01-15T17:02:18.669278 | 2013-06-24T13:42:58 | 2013-06-24T13:43:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 261 | rd | signatures.Rd | \docType{data}
\name{signatures}
\alias{signatures}
\title{Signatures loaded Feb 19, 2013}
\description{
Sample signatures loaded from the API on February 19,
2013.
}
\author{
Yoni Ben-Meshulam \email{yoni@opower.com}
}
\keyword{data}
\keyword{datasets}
|
d873925a2a7afe5248ccaffab1818b663a8b5587 | 163ac854249950435047e5c3ba968f86f4a4521b | /plot1.R | 349b9edb4bbb13440818d6c181b70c9d1b1b1507 | [] | no_license | resoliwan/rGraph_p1 | 08634f2b8ea9f151069547fe01f0ac2412abc2ed | d76860771d7d17ca4045348a98c0d986f8742c0b | refs/heads/master | 2020-05-30T13:09:57.695610 | 2015-02-07T08:31:47 | 2015-02-07T08:31:47 | 30,416,756 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 315 | r | plot1.R | setwd('/Users/lee/machine/rGraph_p1')
source("common.R")
t <- loadData()
#quartz()
png("plot1.png", width=480, height=480,bg="white")
with(t,
hist(Global_active_power
, col = "red"
, main = "Global Actice Power"
, xlab = "Global Active Power (kilowatts)"
)
)
dev.off()
|
de1108cd0f00e3c44eeebcddc938e85c38353e58 | 197a57e980d2ccff2914c3a66eb56641961719c5 | /analysis/raw_scripts/correlations_analysis.R | 5635134d44528469ca903db3f4a4e25be349edf6 | [] | no_license | artwr/srs_work | 2f5b6e6869842e48c43bd11dc1a7f7f4945dd32b | 6fc3fa51248cbf7589889013c057addd78552d4f | refs/heads/master | 2016-09-06T15:11:31.562540 | 2014-05-17T02:56:01 | 2014-05-17T02:56:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,107 | r | correlations_analysis.R | #correlations_analysis
# required libraries
require(Hmisc)
require(spatstat)
require(gclus)
require(plyr)
#require(dplyr)
#
source("analysis/raw_scripts/functions_correl.R")
corr.clean <- readRDS(file = "srs_data/processed/corrclean.rdata")
datavals <- corr.clean[, 16:100]
# names(corr.clean[, 16:100])
# rcorr(as.... |
27e69e0c8fda427169435c5b0acf0ff7f4e0abb3 | 7cd2f8c8139a7f39d33f8943f428ffa3c05b9d13 | /tests/testthat/test__model.interface__get.offset.name.r | 09f14beca8d27d095dbe30807501164542be9f4c | [
"MIT"
] | permissive | Marchen/model.adapter | 18abecd24b7bbe7339f654a43e725a887afcc55c | bf499fff40a120b6a73ed924de255ff1586d4695 | refs/heads/master | 2023-06-07T23:54:31.818713 | 2023-06-04T11:37:35 | 2023-06-04T11:37:35 | 64,151,231 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,842 | r | test__model.interface__get.offset.name.r | #==============================================================================
# Test for has.offset method in model.interface.
#==============================================================================
library(testthat)
library(model.adapter)
#-----------------------------------------------------------------... |
9a04bee9f4d7ee34aaf46f3c586809f37eb0eb77 | f99d825d23a3b84f961c231a0a2fce9a5eb25c2a | /r_sql/sql.R | 7dec6554e7bbdfff7ab06c36e5093de59a513790 | [] | no_license | EaindrayKhin/st2195_assignment_3 | e4c371bd03c1bcaeaf1d3572d4acb80874c8b18e | 3a87f81c82bcb6a27a7817d440de9828d115ba0b | refs/heads/master | 2023-08-25T19:24:26.035985 | 2021-10-28T13:35:32 | 2021-10-28T13:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,134 | r | sql.R | #install.packages("RSQLite")
library(DBI)
library(dplyr)
conn <- dbConnect(RSQLite::SQLite(), "airline2.db")
airports <- read.csv("~/st2195_assignment_3/r_sql/airports.csv", header = TRUE)
dbWriteTable(conn, "airports", airports)
carriers <- read.csv("~/st2195_assignment_3/r_sql/carriers.csv", header = TRUE)
dbWrite... |
62fe6d0530c053eecb1f11ba3292d75c94eda10a | 4951e7c534f334c22d498bbc7035c5e93c5b928d | /statistics/circular/13-ext-reg.R | c54cdee90c9a64c81ab39c86a746852fead9cbb2 | [] | 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 | 1,929 | r | 13-ext-reg.R | #
# 13-ext-reg.R, 23 Apr 20
#
# Data from:
# Correlations between Bugginess and Time-Based Commit Characteristics
# Jon Eyolfson and Lin Tan and Patrick Lam
#
# Example from:
# Evidence-based Software Engineering: based on the publicly available data
# Derek M. Jones
#
# TAG commit_time-of-day fault_time-of-day
sourc... |
657a598a59733bd7c8534a5144412c840582f80d | ab8949a88efbcd69bf595c3df168b639ea420125 | /class_1/class_1.R | 5a09003a288f38e49f45c9e82a895547242a5fa3 | [] | no_license | abdu95/web_scraping_2020 | 402a061a5f84b459bcdf3270166075bad4503d72 | a0b8556c8febe778130dcd9183c8d68ebbb3bc8e | refs/heads/main | 2023-01-19T13:40:55.244326 | 2020-12-01T18:39:36 | 2020-12-01T18:39:36 | 314,953,382 | 0 | 0 | null | 2020-12-01T16:36:23 | 2020-11-22T03:43:51 | HTML | UTF-8 | R | false | false | 1,836 | r | class_1.R |
# lapply ------------------------------------------------------------------
my_list <- 1:10
my_list^2
my_numbers <- NULL
for (variable in my_list) {
my_numbers <- c(my_numbers, variable^2)
}
lapply(1:10, function(x){
return(x^2)
})
#1st element is a vector
#2nd element is a function. function will be applied... |
6eb4e86b7225f43e1ac24556159772f6c425dfd4 | 05e7e0c255573d9f0195f7b8f60eca643b7b2d13 | /R/Yeild.R | 1f0cfabdb1991d1e63b60907b3f701843018573d | [] | no_license | cran/RSSOP | 8d19c483fb6ce74962988c817d7771f8f9a11209 | 5869ab9a3ceb411c3b3bf6fc3e8aef8d7dd53674 | refs/heads/master | 2020-09-13T09:41:02.279965 | 2016-08-30T07:49:10 | 2016-08-30T07:49:10 | 66,818,037 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,032 | r | Yeild.R | Yeild <-
function(object,s.const=0.95)
{
R<-object$operation$Release
D<-object$operation$Demand
Base<-function(Re,De)
{
Criaterian<-rep(0,3)
names(Criaterian)<-c("Vulnerability","Reliability","Resiliency")
if(sum(De==0)>0)
{
De[which(De==0)]<-0.001
cat... |
820ee482067dcf7d29a2dd303694b1c07f13fc95 | 00cc1b888f8c361ff3e744b1f59e020903725581 | /sqrt/sqrt.r | b5a90e696372c672fbf01d1261604066323109aa | [
"MIT"
] | permissive | madilraza/hacktoberfest | 0f7efa0d65b5c0fa518342b8baa38038b86829e5 | d0124689eb3ea84d14d75f6c456caef6757912fd | refs/heads/master | 2020-12-14T23:46:35.360019 | 2020-01-20T05:04:55 | 2020-01-20T05:04:55 | 234,914,286 | 1 | 0 | MIT | 2020-01-20T05:04:56 | 2020-01-19T14:35:44 | C# | UTF-8 | R | false | false | 359 | r | sqrt.r | # SQRT in R example
# Square Root of Positive values
sqrt(64)
sqrt(25.659)
# Square Root of Negative values
sqrt(-10.0897)
# Absolute function will convert the Negative value to Positive
# Next, sqrt will find the square root of 35.659
sqrt(abs(-35.659))
# Square Root on vectors
num <- c(-25.526, 256.32, -36.5, -8... |
6ca8b1456c0a2490630a401e81bbb65f79cc983f | e9c728d8c249396ae1d920e543b069b83f511f9e | /plot1.R | 3c580db544e80f14e4f3f66c156daa801c7385f3 | [
"Apache-2.0"
] | permissive | ankurgiri200/Study-on-PM2.5-Emissions-Data-USA | b97662bd40334d71829eaad9562e02f18ce44fa7 | 0af4c686db587894b6f9c8612c91a4f0bbf5e227 | refs/heads/master | 2022-12-11T07:18:18.450160 | 2020-09-07T19:58:39 | 2020-09-07T19:58:39 | 293,154,783 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 544 | r | plot1.R | source <- readRDS("Source_Classification_Code.rds")
pm <- readRDS("summarySCC_PM25.rds")
totalbyyear <- aggregate(Emissions~year,pm,sum)
barplot(height=totalbyyear$Emissions, names.arg=totalbyyear$year, xlab="years", ylab=expression('total PM'[2.5]*' emission'),main=expression('Total PM'[2.5]*' emissions at various y... |
e28b41ede98348a048f7f9d99692581a64ab9838 | b4c1bc98a83dc8f4ad492911faca4c709c146288 | /man/population_attributable_fraction.Rd | 0208cb48ed3052dab3fbc2d309d8e2875c51b2c1 | [] | no_license | danielgils/ITHIM-R | facd3e74e3b4cdea279245372e3f2ec3bcb35cc0 | 7e306f0aea3e6ea21521104206a0281e5882af13 | refs/heads/master | 2023-09-05T05:33:00.779268 | 2021-11-10T10:07:42 | 2021-11-10T10:07:42 | 277,875,917 | 0 | 0 | null | 2020-07-07T17:04:21 | 2020-07-07T17:04:20 | null | UTF-8 | R | false | true | 480 | rd | population_attributable_fraction.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/population_attributable_fraction.R
\name{population_attributable_fraction}
\alias{population_attributable_fraction}
\title{Calculate population attributable fraction}
\usage{
population_attributable_fraction(pop, cn, mat)
}
\arguments{
\item{... |
0fe90ffcc59c79d57f040a672e9a58f86f7a8b72 | 135725be7153ff6ec6cc79b8db29cdea80ecc875 | /R/1_bedinfo.R | c7334af9f2d4c78903acb07beaed77ee0f8f7423 | [] | no_license | cran/CollapsABEL | f2969755a8fe831eeab9c4971ddd1488a1e39b81 | b3be3f831ba5e9500d016aca0ca768a367e79c84 | refs/heads/master | 2021-01-10T13:18:22.127650 | 2016-12-11T19:35:07 | 2016-12-11T19:35:07 | 55,400,560 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,504 | r | 1_bedinfo.R | plinkTrio <- function(bedstem, must_exist = FALSE) {
ext_trio = c("bed", "bim", "fam")
plink_trio = paste(bedstem, ext_trio, sep = ".")
if(must_exist) {
filePath(plink_trio)@path
} else {
plink_trio
}
}
#' An S4 class representing info about plink files
#'
#' Info about plink files, including the root direct... |
2336c80289e0287db91726d5436d843d92b2e105 | 7ea306ad26dd56de3cc3f586448f9b680bad2696 | /tests/testthat.R | d16f7600d6acac63da416c9960736f8d7f93725c | [] | no_license | Darwinita/FARSpackageLCP | b39ea9e83e9cb44e9134361bb24c04adba565623 | 5dbe4528fd35ed87603cfb35ba871840e9f81586 | refs/heads/master | 2021-06-27T12:04:13.138880 | 2017-09-14T13:08:38 | 2017-09-14T13:08:38 | 103,516,571 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 72 | r | testthat.R | library(testthat)
library(FARSpackageLCP)
test_check("FARSpackageLCP")
|
628fa74e3a345fe316fdcb53d942dbe72c127ca1 | 8f2d33ce811c0667ad82056f70a372ead18478f6 | /R/mapai.R | b6ff761d72f832bc300b69785bf183d04de24942 | [] | no_license | Tomas19840823/transportas_v2 | 6806fd39d1bc0eedf9f9a65bab355d08de574724 | 5fdbe20538cdde54750d21fba457749ad5349a9a | refs/heads/master | 2021-01-19T03:49:08.649313 | 2017-04-24T15:25:39 | 2017-04-24T15:25:39 | 87,336,063 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 501,720 | r | mapai.R | #'
#'
#' This function
#' @keywords mapai
#' @export 1
#' @examples 1
#' @export
mapai <- list(
m1 = function(lng,lat,c1,autopav1,spalva,autolegend,autopav) {
(m <- leaflet() %>% addTiles())
(z <- m %>% setView(lng = mean(unlist(lng)), lat = mean(unlist(lat)), zoom = 10) %>% addTiles(group = "OpenStreetMap") %>% ... |
18728319d9e72269b39e5010dbe893eb5ebfd04b | bf0584087680817f28a4be6656af2f28d307e6a0 | /Scripts/Creating_Texture.R | c60d45d019521345fb1b5175366063b19de1390a | [] | no_license | everydayduffy/Wales_Seagrass_Example_Code | a7db2e97da9fc00f46047bc9e1c28d1141dbc444 | 79bc19f2e86c8bec9b4bb97f50a6a21c19c7302e | refs/heads/master | 2021-05-07T13:54:29.627055 | 2017-12-22T17:35:09 | 2017-12-22T17:35:09 | 109,719,670 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 944 | r | Creating_Texture.R | ##Creating texture layers from the green orthomosaic band
##Read in data
in_rast <- "Angle_Ricoh_BNG_PS2_Ortho_Crop.tif" # RGB orthomosaic
r <- raster::stack(paste0("Data/",in_rast))
r <- raster::dropLayer(r, 4) # drop alpha band
r_g <- raster::raster(paste0("Data/",in_rast),band=2) # green band only
##Calculate te... |
8ba6d316a6a4e1510d513e41ba364bee80297a70 | 63836efbb930c37f39fa02d2ee3ab77db580229e | /man/unlist_as_char.Rd | 3c7022faeab67742713bb3467dbde372ac0ec70d | [] | no_license | srhoads/srhoads | f31a9649de550b114ff8b3386fac8532cc8375ea | 27f86e82b3503222180fe071868e69d094eb3265 | refs/heads/master | 2023-08-23T22:47:05.572527 | 2023-07-21T18:43:25 | 2023-07-21T18:43:25 | 164,003,749 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 259 | rd | unlist_as_char.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions.R
\name{unlist_as_char}
\alias{unlist_as_char}
\title{A function}
\usage{
unlist_as_char(df)
}
\description{
This function allows you to
}
\examples{
unlist_as_char(df)
}
|
6165aca6bffb8fd1ba5099cc4a4d051175124a0e | 4fff451a5028ada8e08289cc0d07a11f003bb615 | /Plot4.R | b99af89c37f60b63de2099f9b0b12bcd4dc4958c | [] | no_license | lsnyder6/Project-2-Exploratory-Data-Analysis | b527d2c2ed94a6bb2a6b421d85dbb41c0f6e6b48 | bd4cf02c0e988923b81c0fa3d0190b70561f948e | refs/heads/master | 2020-04-14T03:39:28.905745 | 2019-01-03T21:20:14 | 2019-01-03T21:20:14 | 163,613,362 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,227 | r | Plot4.R | ## Set wd where unzipped files are stored
## This first line will likely take a few seconds. Be patient!
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
## Use dir() to ensure you have the files. Bring up NEI and SCC in View() to aid in analysis.
## Question 4
## Across the Unit... |
92d27896292a550a3a9327ae0b43e14c014e89be | c13ce1d62b066f4180b0a4b5c4db6a068eae079f | /man/parse_named_map.Rd | 88bfe4d21dcb2b99fb278e0949e04b5abb154f44 | [] | no_license | muschellij2/cifti | 9aa5c0ef0edeafd1a2688166dfc99a8b0e9f661e | 84b7947310dd5657dd22b809ca838e876f03673b | refs/heads/master | 2020-12-24T11:53:10.701313 | 2020-08-10T16:06:53 | 2020-08-10T16:06:53 | 73,105,792 | 4 | 7 | null | 2020-07-20T12:35:01 | 2016-11-07T17:57:04 | R | UTF-8 | R | false | true | 706 | rd | parse_named_map.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/parse_named_map.R
\name{parse_named_map}
\alias{parse_named_map}
\alias{get_named_map}
\title{Parse Named Map from CIFTI}
\usage{
parse_named_map(nodeset)
get_named_map(fname, verbose = TRUE)
}
\arguments{
\item{nodeset}{Set of XML nodes cor... |
ad78247ade88711b2fc935814b5041e3bcffd441 | b5429fcf87899da0705f0bb162b352b0d1977502 | /man/fars_map_state.Rd | 52d5a5b24475aa87dd1737175da0b8f035da2d4b | [] | no_license | danielfsilva88/ex4fars | 5bea358d32f014ce0c6c9464a0433832b64c1799 | 698f403149cbd875e00e6def2a4838494f5490ee | refs/heads/master | 2021-05-17T13:17:36.347331 | 2020-03-29T14:00:32 | 2020-03-29T14:00:32 | 250,794,273 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 577 | rd | fars_map_state.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fars_functions.R
\name{fars_map_state}
\alias{fars_map_state}
\title{Print fars data in a plot}
\usage{
fars_map_state(state.num, year)
}
\arguments{
\item{state.num}{String containing a number of USA state}
\item{year}{String of a year}
}
\... |
4a90f5fa77d35b11bc6d54c31fea1a2029abbeb7 | c5aea334627b71f1f29544009d6615a0de956d4f | /man/get_dummy_df.Rd | 19861de58650dfe00b2fe7915b06f7c6302d2bd6 | [] | no_license | zsigmas/rtsimpack | 0157c711a0fd41debeeef807a178d83de3d9db88 | cd9c61dbf9c8d53d30b25f873aa4f361dc6b133c | refs/heads/master | 2022-11-04T10:58:34.568600 | 2020-06-25T09:08:44 | 2020-06-25T09:08:44 | 274,867,178 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 252 | rd | get_dummy_df.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{get_dummy_df}
\alias{get_dummy_df}
\title{Create dummy data frame}
\usage{
get_dummy_df(ni, np, ntc, random_seed = 1)
}
\description{
Create dummy data frame
}
|
97f49a220b16253a700d6a0a9f3b72cd4602cc45 | b8f952fed76921aa5666d8d49402aa36d2faf207 | /R/categoricalfreq.R | f1e827c1d5750a6e2bb3c3f151456e6618303882 | [] | no_license | datamaneuver/categoricalfreq | 537c42a10545d64b820cb9a904d3b07408420cc6 | 1f15fe8d25099a1a75da7660cb5bf32efb98897b | refs/heads/master | 2020-06-22T10:27:36.309558 | 2019-07-19T18:21:55 | 2019-07-19T18:21:55 | 197,698,800 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 901 | r | categoricalfreq.R |
categoricalfreq1 <- function(data, target_var)
{
d0 <- data[data[target_var] == 0, ]
d1 <- data[data[target_var] == 1, ]
categorical_columns = c()
for (i in 1:ncol(data))
{
if (is.factor(data[,i]))
{
values = c()
values = append(values, c(names(data[i])))
categorical_c... |
7bf149e569059c88b8c562b61701c302d22e09a3 | fbca0cb26d06e18dd5ff84233b6378633a4340fd | /man/my_company_cols.Rd | 1fc242f1aa8e40af47b4ca24cad09d4a123db68b | [] | no_license | bvancil/paletti | 894381b0d90b869e7278f905d61aca44ff3c4ae8 | a557e7684e908135c1cc9b711164ce4a9c41afb6 | refs/heads/master | 2022-11-03T06:34:57.247058 | 2020-06-23T14:17:44 | 2020-06-23T14:17:44 | 274,422,324 | 0 | 0 | null | 2020-06-23T14:07:25 | 2020-06-23T14:07:24 | null | UTF-8 | R | false | true | 783 | rd | my_company_cols.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/my_company_cols.R
\docType{data}
\name{my_company_cols}
\alias{my_company_cols}
\title{Made up character vector of company colours}
\format{An object of class \code{character} of length 3.}
\usage{
my_company_cols
}
\description{
Made up char... |
23a5f86bc2220a4177259881ba8a1a04567e84f0 | 20fb140c414c9d20b12643f074f336f6d22d1432 | /man/NISTkgPerCubMeterTOpoundPerGallonImperial.Rd | 05970cf976288c5165a8dfa32a0b18a4998a43ea | [] | no_license | cran/NISTunits | cb9dda97bafb8a1a6a198f41016eb36a30dda046 | 4a4f4fa5b39546f5af5dd123c09377d3053d27cf | refs/heads/master | 2021-03-13T00:01:12.221467 | 2016-08-11T13:47:23 | 2016-08-11T13:47:23 | 27,615,133 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,023 | rd | NISTkgPerCubMeterTOpoundPerGallonImperial.Rd | \name{NISTkgPerCubMeterTOpoundPerGallonImperial}
\alias{NISTkgPerCubMeterTOpoundPerGallonImperial}
\title{Convert kilogram per cubic meter to pound per gallon }
\usage{NISTkgPerCubMeterTOpoundPerGallonImperial(kgPerCubMeter)}
\description{\code{NISTkgPerCubMeterTOpoundPerGallonImperial} converts from kilogram per cubi... |
9d71fb9459b359f2611eb48f0d4b029c2e55d11d | 188de98cb4489613e3c8903388756557f6bb2b2b | /inst/doc_env/test_suite/testthat/test-cluster-wealth.R | fbdbfb40181a35f1e3319563f0487642a6b27a23 | [] | no_license | regisoc/kibior | 639fdbd895357fe8f5044c6263d67b6fab8fe708 | 4c09013b81280d9d28b7ea267a3333f3de5aaf77 | refs/heads/master | 2023-07-09T03:09:33.266523 | 2021-08-10T14:47:30 | 2021-08-10T14:47:30 | 254,393,785 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,680 | r | test-cluster-wealth.R |
context("Cluster wealth")
testthat::setup({
# remove indices if they exist
remove_all_indices()
})
testthat::teardown({
# remove indices if they exist
remove_all_indices()
})
# start infos ----
test_that("kibior::infos, nominal use, no arg", {
s <- kc$infos()
expect_equal(s$status, kc$clu... |
5aacad2822a9f788dbdb873481ad199b3ef75398 | 8b9a07af06ac1186780260a197ac45713fcda514 | /week1quiz.R | f0677396fba31b72de1d797a0fec9a8d39da7e32 | [] | no_license | dmitrik-git/gettingandclearingdata | b90a919d7fbbfaf5efb8744bcc8d08e64ce210f4 | b12a17525941085b684eab05dc3cab79afc13b78 | refs/heads/master | 2023-01-29T14:44:41.405261 | 2020-12-10T16:47:19 | 2020-12-10T16:47:19 | 316,709,215 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,295 | r | week1quiz.R | # Question 1
# code book https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2FPUMSDataDict06.pdf
fileURL <- "https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv"
if (!file.exists("data")) {
dir.create("data")
}
download.file(fileURL, destfile = "./data/2006survey.csv")
dateDownloaded <- date()
data... |
63c9a968171a9ac5d79b354b7ee27d72525836b6 | 944706304ea9f1ef7a3cb370fbe54894bf2ab074 | /run_analysis.R | fb353e88000b9f4eba0eb07475d87aa0c1aa5935 | [] | no_license | Luckyeva/Getting-and-Cleaning-Data | 142d0958d8096f54814f78e10b6605b34d58f6a4 | ee4e37e806487655499eb14c008d8e68c53f03fa | refs/heads/master | 2021-05-30T18:19:34.700479 | 2016-03-17T15:28:45 | 2016-03-17T15:28:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,007 | r | run_analysis.R | #########################################
# R Script for Getting and CLeaning data
#########################################
# Load data from downloaded text files
filepath <- "/Users/lucky1eva/Downloads/UCI HAR Dataset/train/X_train.txt"
rawdata_train <- read.table(filepath)
filepath <- "/Users/lucky1eva/Downloads... |
79fa4bac11be5fefb1904700a6e9c58cd6297384 | 382eb7b2f50f68282d73bc5d5df2e294168408bd | /R/predict.R | 20fe11bd59189a2d4a12d556a900186c4ec36e24 | [] | no_license | AgrDataSci/PlackettLuce | b4dbbcdaae4c19077c56403f6e437964b03e163a | da6bca1b0ad06eac630b44a7927f358a253a95f0 | refs/heads/master | 2023-06-05T12:14:57.498923 | 2021-05-05T15:23:27 | 2021-05-05T15:23:27 | 342,913,202 | 0 | 0 | null | 2021-05-07T08:07:29 | 2021-02-27T17:15:10 | HTML | UTF-8 | R | false | false | 1,504 | r | predict.R | #' @method predict PLADMM
#' @importFrom stats as.formula model.matrix
#' @export
predict.PLADMM <- function(object, newdata = NULL,
type = c("lp", "itempar"),
se.fit = FALSE,
...){ #na.action?
type <- match.arg(type)
# if newdata,... |
2905d1bf73722fa0d9995b516619170378a585d6 | 8f5ff57feb3468a375ebb36d5392259843f627e8 | /R/facebook.R | d134c5601187e60cfcc36124d77cd8e66c14ef6c | [] | no_license | addixvietnam/gftShinyAuthR | 6a0214b78ca4447c9d37213f18e0cfa2c1c09e91 | 0dd645f03961b429e93ef54e9e86a8cf0f308ce7 | refs/heads/master | 2020-08-26T13:13:50.503290 | 2019-10-23T09:54:26 | 2019-10-23T09:54:26 | 217,022,340 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,293 | r | facebook.R | #' Facebook APIを呼び出す
#'
#' @param path 呼び出したいAPIエンドポイントのパスからバージョン部分を抜いたもの。例: "/me?fields=id,name"
#' @param token アクセストークンをTokenオブジェクトまたは文字列で渡す
#' @param api_version APIバージョン。例: "v3.2"
#' @return APIレスポンスのJSONをリストオブジェクトとしてパースしたもの
#' @examples
#' callFacebookAPI("/me?fields=id,name")
#' @export
callFacebookAPI <- functi... |
546a12d5696c558ed452c676f42663a86282d982 | 3e4b53d0f420e8beebefbc2f5c4e9526d9e27198 | /r/variantkey/man/FindAllRvVariantKeyByRsid.Rd | de4c8a3e43db877f10e523693ebfc1d5710c9fa0 | [
"MIT"
] | permissive | yzharold/variantkey | 5f3fc96e874b5dd607c6901d5f331b80f6667b62 | 37f5096e21e181b4fba27a73071a733b455cc75a | refs/heads/master | 2020-03-27T18:24:11.039072 | 2018-08-28T08:36:36 | 2018-08-28T08:36:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 831 | rd | FindAllRvVariantKeyByRsid.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/variantkey.R
\name{FindAllRvVariantKeyByRsid}
\alias{FindAllRvVariantKeyByRsid}
\title{Search for the specified rsID and returns all the associated VariantKeys in the RV file.
NOTE that the output is limited to maximum 10 results.}
\usage{
Fi... |
e6921faff5e5b1badba56b1204054ba6ea6c37fa | ef1d6fa0df37fa552c4c4625e6e9cb974e8482f0 | /man/sigOvcAngiogenic.Rd | d77aad67bff132d57366fdd9587a3e932a1ea66c | [] | no_license | bhklab/genefu | 301dd37ef91867de8a759982eb9046d3057723af | 08aec9994d5ccb46383bedff0cbfde04267d9c9a | refs/heads/master | 2022-11-28T09:22:02.713737 | 2022-05-30T15:35:53 | 2022-05-30T15:35:53 | 1,321,876 | 17 | 15 | null | 2022-11-07T11:52:05 | 2011-02-02T21:06:25 | R | UTF-8 | R | false | true | 636 | rd | sigOvcAngiogenic.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{sigOvcAngiogenic}
\alias{sigOvcAngiogenic}
\title{sigOvcAngiogenic dataset}
\source{
\url{http://jnci.oxfordjournals.org/cgi/content/full/98/4/262/DC1}
}
\description{
sigOvcAngiogenic dataset
}
\references{
Bentin... |
4c643e655b86797670693f563f733331292aa20f | 0d0d0a8baa83af3ad38ea2e419544db094d4b9fd | /man/goosefish.Rd | f295ced2b03732d4f27e73dd57da27031facc594 | [] | no_license | cran/fishmethods | 81162cf5bf35201c7ce85dd6e9815c4bca6b7646 | ac49e77d9f2b5ee892eb5eae1807e802cddd4ac8 | refs/heads/master | 2023-05-17T13:53:37.128033 | 2023-04-27T07:33:01 | 2023-04-27T07:33:01 | 17,696,062 | 5 | 3 | null | null | null | null | UTF-8 | R | false | false | 849 | rd | goosefish.Rd | \name{goosefish}
\alias{goosefish}
\docType{data}
\title{Mean Length and Numbers of Lengths for Northern Goosefish, 1963-2002}
\description{
The \code{goosefish} data frame has 40 rows and 3 columns.
The mean lengths (mlen) by year and number (ss) of observations for length>=smallest length at first capture (Lc)
... |
dadab36222e36b54e5cb1e3c3d0b051a2b425ba4 | 75db022357f0aaff30d419c13eafb9dddfce885a | /R/indicatorAttributesMatrixPlot.r | df08ffae9229897921f53454e0949866cb6d8a04 | [] | no_license | LobsterScience/bio.lobster | d4c553f0f55f561bb9f9cd4fac52c585e9cd16f8 | b2af955291cb70c2d994e58fd99d68c6d7907181 | refs/heads/master | 2023-09-01T00:12:23.064363 | 2023-08-23T16:34:12 | 2023-08-23T16:34:12 | 60,636,005 | 11 | 5 | null | 2017-01-20T14:35:09 | 2016-06-07T18:18:28 | R | UTF-8 | R | false | false | 2,772 | r | indicatorAttributesMatrixPlot.r | #' @export
indicatorAttributesMatrixPlot <- function(x=nn,groupings='default',attribute=c('ecosystemIndicators')) {
syms = c()
if(attribute=='ecosystemIndicators'){
if(groupings=='default'){
options(stringsAsFactors=F)
groupings = data.frame(nam = c('ResourcePotential','EcosystemStrFunc','EcosystemSta... |
d3f79d1513873a13e55021320868ce1242403538 | ce6dc57e224dca921921be9f2fbfe4ec55ec38d5 | /man/genNextStateTopicModel.Rd | ef39e36b48e387a71fa9542f7dbe1e6bf768929d | [] | no_license | cran/McParre | 30ac4cd65b568c9929e6038c0c568d9233f435d2 | 7429554529d5e33546182b76708e1b147903a8be | refs/heads/master | 2021-01-25T05:22:17.702378 | 2011-09-10T00:00:00 | 2011-09-10T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,331 | rd | genNextStateTopicModel.Rd | \name{genNextStateTopicModel}
\alias{genNextStateTopicModel}
\title{
One-step generation function for Topic Models Gibbs Sampler
}
\description{
For the Latent Dirichlet Allocation model defined below in the reference,
this function generates one iteration of the Gibbs sampler to sample
from the posterior distribution... |
cf7a50ef054d7ceb45efc9f00e9405bebfa4fcf6 | af77cc9ccadb9cf4d451831fdd07abe13503a879 | /yelp/wekafiles/packages/RPlugin/mlr/mlr/man/train.learner.Rd | 32aef78bde0f9b14484f22222dfc5ab8cf729949 | [] | no_license | tummykung/yelp-dataset-challenge | 7eed6a4d38b6c9c90011fd09317c5fa40f9bc75c | 84f12682cba75fa4f10b5b3484ce9f6b6c8dad4a | refs/heads/master | 2021-01-18T14:10:55.722349 | 2013-05-21T09:30:37 | 2013-05-21T09:30:37 | 9,527,545 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,204 | rd | train.learner.Rd | \name{train.learner}
\alias{train.learner,classif.ada,character,data.frame,data.desc,task.desc,numeric,matrix-method}
\alias{train.learner}
\title{train.learner,classif.ada,character,data.frame,data.desc,task.desc,numeric,matrix-method}
\alias{train.learner,classif.adaboost.M1,character,data.frame,data.desc,task.desc,n... |
7aeaa2e4ea50026822ec39d8f3d47d7f6ebdf8a5 | 75991cdb65fae651004424d8081e66d30db7b799 | /scripts/buildMapping.r | 6ca98a00dd0dc1bf039f12fdb566eb8cf7a676ac | [] | no_license | lachmann12/alignmentbenchmark | 5dc11259098859d61313cfa1a8fc9fa4c4a93ef2 | 5e5cdc064fce7171626587de112853cec3add0a1 | refs/heads/master | 2020-06-18T10:05:57.229715 | 2019-07-10T19:43:03 | 2019-07-10T19:43:03 | 195,828,801 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 708 | r | buildMapping.r | library("plyr")
library("stringr")
getMapping <- function(species){
file = paste0("reference/",species,"_cdna_96.fa")
ll = readLines(file)
ll = ll[grep("^>", ll)]
gsym = str_extract(ll, "gene_symbol:.+?\\s|gene_symbol:.+?$")
gsym = gsub("gene_symbol:|\\s", "", gsym)
gene = str_extract... |
0b373cd4933b1375c0ac8a4678e8c1228f458365 | d0ea25c8ccf382f6e412a7bb34dbb0587601c000 | /R/floridaCountyMarital.R | 80d221e6cbd0d065845534fdee6994c859b2dac8 | [] | no_license | lizhongliu1996/marital | 9775af26601f9df191b2edfa2a80e14a42b7e7b2 | 512c63867da313ae5bab100228a388570483d89d | refs/heads/master | 2023-09-05T08:29:25.201590 | 2023-08-18T17:24:36 | 2023-08-18T17:24:36 | 136,665,983 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,380 | r | floridaCountyMarital.R | #' Large SpatialPolygonDataFrame with race data on all the counties in Florida
#'
#' An acs object It can be downloaded using the ACS package. After getting an
#' API key run this line \code{
#' acs.fetch(endyear = 2016,
#' geography = geo.make(state = "FL", county = "*"),
#' variable = acs.lookup... |
f04091b77be55f033f83ddbd54f6f247406880f5 | 731e5e45513f97d973f81c6b035eef0a9f03c385 | /man/raw_data_pci.Rd | 8a70f9647a8178adae18714d5bc9c7f6d630e799 | [
"MIT"
] | permissive | iqtigorg/iqtigprm | 570493c0d3f12516ff5472f053c291664ca9e56b | 084953ff38e72e0b8fdb3afe82ffae9352e751d6 | refs/heads/main | 2023-08-14T05:33:27.451868 | 2021-09-20T14:21:26 | 2021-09-20T14:21:26 | 408,469,185 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,934 | rd | raw_data_pci.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{raw_data_pci}
\alias{raw_data_pci}
\title{PCI patient survey data}
\format{
A \code{data.frame} with 109 rows and 21 variables, which include 14 survey items:
\describe{
\item{ID}{ID of data entry}
\item{ID_LE}... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.