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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a4d29cb75b296f97e62ab8cf4d39c31226d4a79e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/multicolor/examples/multi_colour.Rd.R | 15072e0e60c4b21f83e76a91834cf863effdc0ed | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,011 | r | multi_colour.Rd.R | library(multicolor)
### Name: multi_colour
### Title: Multi-colour text
### Aliases: multi_colour
### ** Examples
## Not run:
##D multi_colour()
##D
##D multi_colour("ahoy")
##D
##D multi_colour("taste the rainbow",
##D c("mediumpurple",
##D "rainbow",
##D "cyan3"))
##D
##... |
0893a9586814fa5fce035512906081e7321900f5 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/bpcs/man/create_index_with_existing_lookup_table.Rd | 6422df0cd3b5a9ad282d6b58bd6b041f2048fe19 | [
"MIT"
] | permissive | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 970 | rd | create_index_with_existing_lookup_table.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bpc_helpers_indexes.R
\name{create_index_with_existing_lookup_table}
\alias{create_index_with_existing_lookup_table}
\title{Create two columns with the indexes for the names
Here we use an existing lookup table. Should be used in predicting}
... |
80941cf567e7071022a56143e68cae23238ec563 | 767e36f775543750ced47685a5f1df035c12f1c2 | /R/save_as_csv.R | af859e15679217faebee813d662a7a522c4dabca | [] | no_license | clemonster/nameplay | 041c590eb69cc7bbf42b0fce9e06e7f2100a5e85 | e1bd98e75fd8cea82449a1fbb4a4a0ff4706faed | refs/heads/master | 2021-07-12T07:10:48.671766 | 2017-10-16T23:37:52 | 2017-10-16T23:37:52 | 106,831,358 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 889 | r | save_as_csv.R | #' saves a dataframe as csv
#'
#' @param df the data frame we want to save
#' @param path path to the csv file to be created
#' @param row.names row names
#' @param ... all other parameters for write.csv
#'
#' @return nothing
#' @export
#' @importFrom utils write.csv2
#' @importFrom assertthat is.dir
#' @importFrom as... |
663a94ad0ced6a76da5b375dfdd7dd4c4a80b147 | aaaabb97ca1c7b08a147cd32c3886dae0e805d30 | /Src/Apriori functions.R | dd2279f0b2da9ad2cae10e315fde8342cfdda035 | [
"MIT"
] | permissive | ZyuAFD/DTW_Apriori | 0c69aa4248f80056902cfa2dcee7fb0bb02663c4 | 80412d649eb882b23120bc58bf6d2c9ccbe52ff9 | refs/heads/master | 2021-01-21T22:14:44.460309 | 2018-02-23T18:01:55 | 2018-02-23T18:01:55 | 102,137,999 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,216 | r | Apriori functions.R |
MatchEvtPtn=function(Event_info,AddPC=TRUE)
{
library(arules)
library(stringr)
# min confidence and length need to be specified based on model
minConf=0
minLength=7+AddPC
Event_info %>%
mutate(PC_diff=ifelse(rep(AddPC,nrow(.)),PC_diff,"")) %>%
# These columns... |
70f71d836dae2c966d0f1082db3e42b92499302e | c255c8e7ed8057413fece1823ffe78ed2b88ba35 | /GettingData.W4.Q4.R | 61840bf63659110eefee6ae314300a4935ee2e14 | [] | no_license | soroosj/Getting-Data | a93b569c834010d8fc687cff8bfb214598300f47 | debfb4bbddf14fda169bb7d82b7cf3d5075e29f6 | refs/heads/master | 2021-05-09T18:52:03.764841 | 2018-03-04T20:23:28 | 2018-03-04T20:23:28 | 119,175,877 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,005 | r | GettingData.W4.Q4.R | #1. load package(s) into R
library(tidyverse)
library(stringr)
#2a. download file(s) to local directory
gdp_url<-"https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2FGDP.csv"
download.file(gdp_url,"gdp.csv")
education_url<-"https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2FEDSTATS_Country.csv"
... |
0c6bfa9805ab802dbaa407bb666bda512f6dfe95 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rstan/examples/stanfit-method-plot.Rd.R | a7c37416bf9d79761e6df8c5c3fea24b06ce0ad8 | [] | 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 | 572 | r | stanfit-method-plot.Rd.R | library(rstan)
### Name: plot-methods
### Title: Plots for stanfit objects
### Aliases: plot,stanfit-method plot,stanfit,missing-method
### Keywords: methods
### ** Examples
## Not run:
##D library(rstan)
##D fit <- stan_demo("eight_schools")
##D plot(fit)
##D plot(fit, show_density = TRUE, ci_level = 0.5, fill_co... |
b05a4ea803be156b535a4acd73d2fc741534279c | 502d0505e01e1c1385571cf5fb935630614896de | /man/plotLegend.Rd | 2198d89ab84d943200e54389e2fb1de586e94c04 | [] | no_license | b2slab/FELLA | 43308e802b02b8f566ac26c972dc51e72a340c0e | 53276c4dfcb8cb4b5a688b167ba574d0f85228a6 | refs/heads/master | 2021-03-27T20:53:29.212810 | 2020-10-27T15:33:01 | 2020-10-27T15:33:01 | 24,852,722 | 14 | 4 | null | null | null | null | UTF-8 | R | false | true | 751 | rd | plotLegend.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotLegend.R
\name{plotLegend}
\alias{plotLegend}
\title{Internal function to add a legend to a graph plot}
\usage{
plotLegend(GO.annot = FALSE, cex = 0.75)
}
\arguments{
\item{GO.annot}{Logical, should GO annotations be included?}
\item{cex... |
5cffb4d345e96ecb081b01183df21343464e1159 | 00ea524f9956e17f045d83e5a78c810042f4c867 | /CAP/man/drugTable1.Rd | b4eb625f76d6ea102b275e9da1fd7951683706b8 | [] | no_license | ABMI/PneumoniaTxPath | 2d81cd4ea6303d72c2f10da5bd3113c475d33bc6 | 468235e560d1e91a2b27f146ef17aa4a9a4dd464 | refs/heads/master | 2023-03-28T04:58:01.534131 | 2021-03-23T02:43:37 | 2021-03-23T02:43:37 | 278,856,134 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 917 | rd | drugTable1.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/drugPathway.R
\name{drugTable1}
\alias{drugTable1}
\title{get table1 about drug exposure}
\usage{
drugTable1(
drugExposureData = drugExposureData,
cohortDatabaseSchema = cohortDatabaseSchema,
cohortTable = cohortTable,
cohortId = coho... |
3538df3940d3e106ac6063333931cd26870a38e5 | b040e78795d547af081f046040d819f1f9f3d6b0 | /script/fun2_transcriptoemIndex.R | 3efa1927d49f0aea0675d52adc6fd89137b9e39e | [] | no_license | ljljolinq1010/developmental_constraints_genome_evolution | ee91616dfc1229104cfa30798399c41f45b200aa | 8b51bb1fbbb75f52b34a47139d8a90bb0f999977 | refs/heads/master | 2021-09-15T02:54:19.033229 | 2018-05-24T13:45:52 | 2018-05-24T13:45:52 | 110,563,844 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,806 | r | fun2_transcriptoemIndex.R | ##### index function #####
index<-function(transcriptome,interestData,interestParameter,orgName,ylim1,ylim2,title) {
## merge two datasets
## paralogs number file only contain genes with at least one paralog, we need add genes without paralog
if (interestParameter=="Paralogs.Number") {
transData<- merge(tran... |
9c3ab86c47309cd070df662be59274d485214a59 | 4255a7c5a467c6ade48b0a5699089fe1b2082b5e | /man/check_identical_header.Rd | 352b2fa0b0ee06e6187cfe80fbed453738e1589e | [
"MIT"
] | permissive | jianhong/HMMtBroadPeak | 02978e06fcdf3c14dc4b2a4645018593b8c370b8 | 7a2932fb943e66d9154282b690f8e762967dc539 | refs/heads/main | 2023-06-07T15:15:24.245428 | 2021-06-23T20:35:10 | 2021-06-23T20:35:10 | 353,410,515 | 2 | 2 | null | null | null | null | UTF-8 | R | false | true | 392 | rd | check_identical_header.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/HMMtBroadPeak.R
\name{check_identical_header}
\alias{check_identical_header}
\title{helper function to check the bam file header}
\usage{
check_identical_header(bams)
}
\arguments{
\item{bams}{Bam file of treatments and controls}
}
\value{
se... |
2bdd1dcfbb7849392ae7c299179ad50fd370aea5 | e325da8106789cffb6950b1492eb8d1ab6fb41f0 | /R/try-patient-sharing-hhi.R | 8a825b715ee004f1750d2c85398d983507756524 | [
"MIT"
] | permissive | graveja0/health-care-markets | 1aec79caad5155d6586f770cf06446c9d3efe256 | da89d1375f287c2a393b2fbe93411ba6b4c079ae | refs/heads/master | 2023-06-09T17:26:46.548666 | 2023-05-28T17:16:01 | 2023-05-28T17:16:01 | 166,048,364 | 37 | 11 | null | null | null | null | UTF-8 | R | false | false | 6,646 | r | try-patient-sharing-hhi.R | #' ---
#' output: github_document
#' ---
# The objective of this file is to construct physician-level HHI measures.
suppressWarnings(suppressMessages(source(here::here("/R/manifest.R"))))
source(here("R/map-theme.R"))
source(here("R/shared-objects.R"))
source(here("R/get-market-from-x-y-coordinates.R"))
source(here("... |
f14f0baa747f30e80715cf32f998915aceeb3732 | 110965c3d64b535adfe23c0e409b304767f6941b | /run_analysis.R | d06b52cfada31fb41c49bbf705174a681943af08 | [
"CC0-1.0"
] | permissive | etphonehome2/Getting_and_Cleaning_Data | 4c7dfd50f1534aaa60cb7bfd4c927910e9b6664d | e64af1bff80e3a033a93fcfaff155f3f79df2cac | refs/heads/master | 2016-09-11T13:46:17.703551 | 2015-06-21T03:32:17 | 2015-06-21T03:32:17 | 37,789,445 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,018 | r | run_analysis.R |
# ----------------------------------------------------------------------------------------------------
#
# run_analysis.R
#
# ----------------------------------------------------------------------------------------------------
setwd("I:\\MyData\\Training\\Getting and Cleaning Data\\CourseProject")
getwd()
require("d... |
6afad496bec19dd9bb54e105cb3fdabdf146c9c2 | c9df90ca1c6f04662ab56722d6e5fcfae9586e90 | /R/GetCmat.R | 3736317df61b479f11316ecadac7cb4743bb0bd1 | [] | no_license | HerveAbdi/DistatisR | 5b899bcf565c988cbadb636c0f4520b89f6e0c94 | 96c24d8a03d9f10067a5c5c26042c77d25aa1cc0 | refs/heads/master | 2023-08-29T05:28:14.289849 | 2022-12-05T00:13:45 | 2022-12-05T00:13:45 | 124,935,297 | 6 | 1 | null | 2022-09-01T14:24:29 | 2018-03-12T18:44:45 | R | UTF-8 | R | false | false | 1,117 | r | GetCmat.R | #' @title GetCmat
#' @description Computes the RV coefficient matrix
#' @param CubeCP A 3D array of cross-product matrices
#' @param RV Boolean, if TRUE, GetCmat computes the matrix of the RV coefficients between all the slices of the 3D array, otherwise, GetCmat computes a scalar product.
#' @return A matrix of eithe... |
8d840be7d39ed3e2aa5c8437e65a0da64505955d | acc0b1c9d24d8784e5b7ec9009400c067b6ba353 | /dataTransformation/R/combineSources.R | 4bd25ef77aecdf1d560209ad81e600420ee8957c | [
"CC0-1.0"
] | permissive | ivozandhuis/dwarsliggers | 611c22699e10605d6bdb43015bb37f365aad0dc5 | 33c051b280ba92cdd9753b34050bf813db52a502 | refs/heads/master | 2023-02-05T02:39:33.181522 | 2023-02-02T08:15:25 | 2023-02-02T08:15:25 | 228,387,452 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,395 | r | combineSources.R | setwd("~/git/dwarsliggers/")
source("dataTransformation/R/transformMedewerkerslijst.R")
source("dataTransformation/R/transformBevolkingsregister.R")
source("dataTransformation/R/transformPersoneelsregister.R")
source("dataTransformation/R/transformBelastingkohier.R")
source("dataTransformation/R/transformRoutes.R")
#... |
6fff010c98ffc3ec588f52061a5b15b42e5acf49 | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googlebloggerv3.auto/man/Page.author.Rd | 8ca016e1b47abcf0af3b1eb70e1a026f5971e3b1 | [
"MIT"
] | permissive | GVersteeg/autoGoogleAPI | 8b3dda19fae2f012e11b3a18a330a4d0da474921 | f4850822230ef2f5552c9a5f42e397d9ae027a18 | refs/heads/master | 2020-09-28T20:20:58.023495 | 2017-03-05T19:50:39 | 2017-03-05T19:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 914 | rd | Page.author.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/blogger_objects.R
\name{Page.author}
\alias{Page.author}
\title{Page.author Object}
\usage{
Page.author(Page.author.image = NULL, displayName = NULL, id = NULL,
image = NULL, url = NULL)
}
\arguments{
\item{Page.author.image}{The \link{Page... |
98964aa2a0f743d28fccbea70333c67d0e1ca87e | ffe99240aeea52977d8b08eb1c385d972b7818c8 | /plot1.R | 7cf283e9e2d9b7a7831718a49e07edbc35bee844 | [] | no_license | fridanellros/ExData_Plotting1 | 0e68e6dc9b7bdd30e0d5b2b32baf51f6bdc3b585 | a071dfeb12fbb9809ed572c17faabd0e7fe8e2e0 | refs/heads/master | 2021-01-14T09:45:43.257612 | 2015-04-11T18:43:04 | 2015-04-11T18:43:04 | 33,776,332 | 0 | 0 | null | 2015-04-11T13:17:25 | 2015-04-11T13:17:22 | null | UTF-8 | R | false | false | 688 | r | plot1.R | # LOAD
data <- read.table( "household_power_consumption.txt",
sep = ";",
header = TRUE,
colClasses = c(rep("character",2),rep("numeric",7)),
na.strings = "?")
# PROCESS
require(lubridate)
data$Date <- dmy( data$Date )
dates <- d... |
664658e371ad3997d9455ff3e13744f44f941b7c | 4f3acdccda11715665419446096b0eb0b35af8c3 | /scripts/Paepalanthus/tree_and_matrix-paep.R | 1c6a6d4f42d943bfc50641dce755ea42da8dec01 | [] | no_license | souzayagob/no_one-size-fits-all | 47e09fcbfafb77488b9b93c28278127b6182f9f9 | e675e7dfa87ba865810ef65b909f7502a0806995 | refs/heads/main | 2023-04-15T17:35:18.408256 | 2022-11-07T15:09:32 | 2022-11-07T15:09:32 | 493,011,704 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,920 | r | tree_and_matrix-paep.R | #This code is intended to prune and manipulate the phylogenetic tree and create a
#presence/absence matrix
#=====================================================================================================#
library(ape)
#===========================================================================================... |
7c4abeb025bebd5556c119e1540974446d806ad7 | 12676471ec4e7015048e854817b3c253828df917 | /econometrics-001/01__1/15_1.2.4._______R_11-16.R | 8e61a12bcbd8da92b4e12b4be677ac958f91c2e3 | [] | no_license | bdemeshev/coursera_metrics | 9768a61e31e7d1b60edce9dde8e52f47bbd31060 | a689b1a2eed26816b2c5e4fd795136d5f9d1bb4f | refs/heads/master | 2021-11-01T14:15:56.877876 | 2021-10-24T13:16:59 | 2021-10-24T13:16:59 | 23,589,734 | 19 | 58 | null | 2021-07-25T10:51:56 | 2014-09-02T18:07:06 | HTML | UTF-8 | R | false | false | 2,979 | r | 15_1.2.4._______R_11-16.R | # if you see KRAKOZYABRY then do
# File-Reopen with encoding - UTF-8 - (Set as default) - OK
library("psych") # описательные статистики
library("dplyr") # манипуляции с данными
library("ggplot2") # графики
library("GGally") # еще графики
d <- cars # встроенный набор данных по машинам
glimpse(d) # что там?
help(cars... |
a98ab60b57ccc32eb2e70b82e2dd4b839b313247 | ae703e19ee171d6182a93946350ee41117c1c235 | /run_analysis.R | 8209ef5c4b639dc7c9ce7af0d15aac8604fd6f6c | [] | no_license | monsteragain/courseProject | f4a72efa0981baa59ca6368fa63c1e0fae102fb0 | 1170ff2faff4193d75a62222a19ad2c15cd8d097 | refs/heads/master | 2016-09-06T15:53:50.949094 | 2014-11-24T00:37:19 | 2014-11-24T00:37:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,518 | r | run_analysis.R |
##Read X_test and X-train data, use 'rbind' to merge the data and store it in 'data' variable
data <- rbind(read.table("UCI HAR Dataset/test/X_test.txt"),read.table("UCI HAR Dataset/train/X_train.txt"))
##Read and rbind subject_test.txt and subject_train.txt
subjects <- rbind(read.table("UCI HAR Dataset/test/subject_... |
cb0b9d35dc8accdfe1e650568dba50d00a347046 | 4042c33db4606452e80bf20e763d388be2785372 | /pkg/R/nw_setup.R | 5378bca81149cfc9253c8f35d905807f919d6b46 | [] | no_license | RodrigoAnderle/EvoNetHIV | 992a5b735f8fac5255ea558ec2758251634ffaab | 4bef435b0c5739d6baba9f80c93ac046e540647e | refs/heads/master | 2023-08-25T14:01:38.754647 | 2021-09-24T16:48:29 | 2021-09-24T16:48:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 831 | r | nw_setup.R | #' @export
nw_setup <- function(params){
nw <- setup_initialize_network(params)
#--------------------------------------------------------------
#estimate initial network (create argument list, then call fxn)
netest_arg_list <- list(
nw = nw,
formation = as.formula(params$nw_form_terms),
targe... |
e9d810b63d2955520d9c9fb01446737545319358 | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.storage/man/efs_create_mount_target.Rd | f6b5669c0b63f314c5a0b71cf28d153550af6372 | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 6,582 | rd | efs_create_mount_target.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/efs_operations.R
\name{efs_create_mount_target}
\alias{efs_create_mount_target}
\title{Creates a mount target for a file system}
\usage{
efs_create_mount_target(FileSystemId, SubnetId, IpAddress,
SecurityGroups)
}
\arguments{
\item{FileSyst... |
546bbb8ec1401c0c4cf5145d22b6769595981b48 | 84af362583c9562a8a5225986d877b6a5b26ef0a | /man/yf_collection_get.Rd | 5558a04c24571b1267403191e1ea218d75b6239b | [
"MIT"
] | permissive | ropensci/yfR | 945ef3f23a6f04560072d7436dd5c28e0f809462 | b2f2c5c9f933e933821b5a92763c98f155b401bd | refs/heads/main | 2023-05-23T19:12:44.048601 | 2023-02-16T10:48:15 | 2023-02-16T10:48:15 | 375,024,106 | 19 | 6 | NOASSERTION | 2023-01-30T17:18:11 | 2021-06-08T13:44:11 | HTML | UTF-8 | R | false | true | 1,548 | rd | yf_collection_get.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/yf_collections.R
\name{yf_collection_get}
\alias{yf_collection_get}
\title{Downloads a collection of data from Yahoo Finance}
\usage{
yf_collection_get(
collection,
first_date = Sys.Date() - 30,
last_date = Sys.Date(),
do_parallel = F... |
178bfd8b213b596ac0015afb6e7f8cd850aea5a1 | c0a0e4ee67152f89ea3bdb22a0752946c969ebf2 | /scripts/happ_maier_merz.R | 2245b9c6213a0b61eec26a00a2b34093b1341653 | [] | no_license | PirateGrunt/cotor_correlation | eb1fac9fdc96523ea06c09d234b115fc09a2af3b | 398158b82818e12153dba1858060e61a2de5bd2b | refs/heads/master | 2020-03-26T11:48:17.772123 | 2018-09-24T00:36:08 | 2018-09-24T00:36:08 | 144,860,602 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,886 | r | happ_maier_merz.R | library(tidyverse)
library(magrittr)
munge_triangle <- function(str_in, lags) {
tbl_triangle <- str_in %>%
str_replace_all('\\.', '') %>%
str_split('\n', simplify = TRUE) %>%
str_split('[:space:]+', simplify = TRUE) %>%
extract(, -1) %>%
as_tibble() %>%
map_dfc(as.numeric)
names(tbl_triang... |
3ff8666170141d482e8424423dd49caeef861b22 | 1eee16736f5560821b78979095454dea33b40e98 | /thirdParty/HiddenMarkov.mod/R/mmglm1.R | 765bb029b2ad2d20d3e3e92d5abecc2db5a9282d | [] | no_license | karl616/gNOMePeaks | 83b0801727522cbacefa70129c41f0b8be59b1ee | 80f1f3107a0dbf95fa2e98bdd825ceabdaff3863 | refs/heads/master | 2021-01-21T13:52:44.797719 | 2019-03-08T14:27:36 | 2019-03-08T14:27:36 | 49,002,976 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 700 | r | mmglm1.R | "mmglm1" <-
function (y, Pi, delta, glmfamily, beta, Xdesign,
sigma=NA, nonstat=TRUE, size=NA, msg=TRUE){
if (msg)
message("NOTE: 'mmglm1' and its methods are still under development and may change.")
if (glmfamily$family=="binomial" & all(is.na(size)))
stop("Argument size must be spec... |
65546608f6e6e44b56dc5e0f3c3547835ea872f4 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/starma/examples/stcov.Rd.R | e4bc8a309a2040a086e3d66af6878920b0e7a5b9 | [] | 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 | 329 | r | stcov.Rd.R | library(starma)
### Name: stcov
### Title: Space-time covariance function
### Aliases: stcov
### Keywords: starma stcov
### ** Examples
data(nb_mat) # Get neighbourhood matrices
data <- matrix(rnorm(9400), 100, 94)
# Compute covariance between 2-nd and 1-st order neighbours, at time lag 5
stcov(data, blist, 2, 1,... |
b78363943c6e47cc32431b9bf2a1d13f4582e7da | 301bd6d09d7aa29572e944755e1966832db29066 | /cachematrix.R | bfe0fee55dbd46179aefbe39b15f6478aa605514 | [] | no_license | chewlwb/ProgrammingAssignment2 | a001cd2d30c70bb4a865d26091f126b466fef1f4 | 53fcc6b651dbe7b65eee71d4fc12c6bfb2e03f88 | refs/heads/master | 2021-01-18T10:27:07.349087 | 2015-03-21T13:02:24 | 2015-03-21T13:02:24 | 32,588,762 | 0 | 0 | null | 2015-03-20T14:35:37 | 2015-03-20T14:35:35 | null | UTF-8 | R | false | false | 2,376 | r | cachematrix.R | ## makeCacheMatrix creates a special "matrix, which is really a
## list containing a function to
## set the value of the matrix
## get the value of the matrix
## set the value of the inverse of matrix
## get the value of the inverse of matrix
makeCacheMatrix <- function(x = matrix()) {
inv <- NULL ## initialize inv... |
d281a9dc0cf0341025687f1bc6786f26a24eb955 | c95d61a58f83ea3beae1949c2e4cd8e5f1186c01 | /BM-challenge/tabs/11. pyro.R | 13eb4d2c7a35991e9440ba81842a57e4c2ea600c | [] | no_license | TMBish/TMBisc | d9da0e75320b47a5e539f6124430dc49cef61e4f | 79378a7e18e02afaf9679ef8f914d9b21f39e453 | refs/heads/master | 2023-02-22T19:14:11.210224 | 2023-02-16T06:55:09 | 2023-02-16T06:55:09 | 172,413,835 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,844 | r | 11. pyro.R | pyroTab =
fluidRow(
column(width = 8,
tabBox(
title = "Pyro: wood chopping and fire construction",
id = "tabset1", height = "600", width = 12,
tabPanel("Challenge Description",
HTML(
"<strong> <big> Overview </big> </strong> <br/>
... |
e61f2bb4c0058ec2cb9f35359088b5ac231e0672 | ac3738c440117527327ec58affb38f7d887adc91 | /scripts/allelefreqs.R | b8f37af14084be239e1781cebb806035d21c0abe | [] | no_license | jpgerke/KrugQx | 7e27bbf725563413b5694432bec5f84056cb91df | c83b874b7bf71d45ca07c0765fe8231b121f6ccf | refs/heads/master | 2020-04-05T23:29:30.991478 | 2015-08-16T03:01:28 | 2015-08-16T03:01:28 | 38,621,692 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 860 | r | allelefreqs.R | #!/usr/bin/Rscript
rm(list=ls())
load_obj <- function (f) {
env <- new.env()
nm <- load(f, env)[1]
return(env[[nm]])
}
# allelefreqs <- function (filename) {
# myobj <- load_obj(filename)
# return(myobj)
# }
#
# getfreq <- function (geno) {
# return(sum(geno) / (length(geno) *2 ))
# }
#
# calc_freqs <- f... |
bd951252aea0f2ea994e837fb369a4b705b47e40 | 83d93f6ff2117031ba77d8ad3aaa78e099657ef6 | /R/gtimer.R | 4621d839fad7c48d9bef3e252955b660a0f779a9 | [] | no_license | cran/gWidgets2 | 64733a0c4aced80a9722c82fcf7b5e2115940a63 | 831a9e6ac72496da26bbfd7da701b0ead544dcc1 | refs/heads/master | 2022-02-15T20:12:02.313167 | 2022-01-10T20:12:41 | 2022-01-10T20:12:41 | 17,696,220 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,260 | r | gtimer.R | ##' @include methods.R
NULL
##' Basic timer widget
##'
##' Calls FUN every ms/1000 seconds. A timer is stopped through its \code{stop_timer} method which is called using OO style: \code{obj$stop_timer()}.
##' @param ms interval in milliseconds
##' @param FUN FUnction to call. Has one argument, data passed in
##' @par... |
cddaac299a25a670be8829d4fbdcb55d8c6001ca | e1632c4e03c43bf56894760274e0a4c891395645 | /ms_initialize_adjacency_matrix.R | 2d5ccad5c0b4f0798daf0c4b0db9ced273fe06b9 | [] | no_license | johnchower/ticket_to_ride | 0c5596df43bb0a438600dc0b96b934ed3d1312e7 | 9d76fcb714b9e7da8c9501fef36e3e6e975211b8 | refs/heads/master | 2021-01-19T05:30:00.026202 | 2016-07-27T00:22:34 | 2016-07-27T00:22:34 | 64,262,098 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 422 | r | ms_initialize_adjacency_matrix.R |
library(dplyr)
library(magrittr)
city_df <- read.csv("city_graph.csv", stringsAsFactors = F) %>%
select(city_1)
city_df %<>%
{
matrix(
0
, nrow = nrow(.), ncol = length(.$city_1)
, dimnames = list(1:length(.$city_1), .$city_1)
) %>%
as.data.frame
} %>%
{
cbind(data.frame(... |
cc9f5566a634ce8f05ac34c4a714bca9bcca1581 | 02203a5e1487c6bf95647b38038e2428c261aad7 | /R/qm.R | 65da8d5ce1e7f9f86ffb214e8942e7ce7f0802db | [] | no_license | cran/gdalUtils | 8793292640f94d0f8960804f0ba9d4b5099baad7 | 9aa3955becca0970f98513ca20e4bff56be44d81 | refs/heads/master | 2021-06-07T07:27:23.972525 | 2020-02-13T19:10:02 | 2020-02-13T19:10:02 | 17,696,298 | 3 | 8 | null | null | null | null | UTF-8 | R | false | false | 302 | r | qm.R | #' qm
#'
#' Wraps an input in quotation marks.
#'
#' @param x Character or Numeric.
#'
#' @return A character string that begins and ends with quotation marks.
#' @author Jonathan A. Greenberg
#'
#' @examples {
#' qm("Hi!")
#' qm(42)
#' }
#' @export
qm <- function(x)
{
paste('"',x,'"',sep="")
} |
8a893dbaf0becf74dee174f62a96b15e31defc4f | 589df3701d3012b0335d0f9e6090163ac160493c | /fn-train.r | 3f7383e0c2417549a4673d8f528ca999ad9ffc08 | [] | no_license | brentonk/ppp-replication | e8cdbef86723e6448d8efeecb36819c6ab9f6141 | 00e856ce3f054dfaeec9cf6fa1e6170c49df24f9 | refs/heads/master | 2020-04-28T14:04:50.412568 | 2019-04-22T21:15:31 | 2019-04-22T21:15:31 | 175,327,182 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,907 | r | fn-train.r | ################################################################################
###
### Functions to train a Super Learner on the imputed CINC data
###
################################################################################
library("caret")
library("dplyr")
library("foreach")
library("tidyr")
## Take a list... |
dbdefc902ffe5924d71c7c4a790ecead1d20aa8f | 03e2a998e7764557d8333cd7063c1a06a5b2ec73 | /R/session script.R | 6d00adbb67e8001eedaf82422d8ed17b7fdda0f6 | [] | no_license | jordache-ramjith/Project-1 | 0dee5e8da6d89a737a9fa26fea58b2f4a48472c6 | f4f9f90970d379ec9a0e0463ff64f6142e0e88de | refs/heads/master | 2021-09-09T12:57:34.224794 | 2018-03-16T10:22:48 | 2018-03-16T10:22:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,532 | r | session script.R | library(usethis)
#a function of the package usethis
edit_r_profile()
#this will allow us to use the package in future sessionswithout needing to call it from library
if (interactive()){
suppressMessages(require(devtools))
suppressMessages(require(usethis))
}
create_package("iemand")
###Go to package descript... |
953f51e30fb22910ed9dc6fd3d755bd4553cd2c2 | 46a1b4c7844e1287ce184ff4fb01fe74626460c1 | /tests/runTests.R | 37ef9b9fc5e2add033d4bd905607946c8134275d | [] | no_license | LihuaJulieZhu/NADfinder | 7d3d810e5f35102efa69967a87e70d1dd64aad5c | 2cf769212c7049274d84d9657eade65570a61384 | refs/heads/master | 2020-03-06T18:20:10.973542 | 2019-03-22T16:39:49 | 2019-03-22T16:39:49 | 127,005,268 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 238 | r | runTests.R | require("NADfinder") || stop("unable to load Package:NADfinder")
require("SummarizedExperiment") ||
stop("unable to load Package:SummarizedExperiment")
require("testthat") || stop("unable to load testthat")
#test_check("NADfinder")
|
9936e277ab13176eccf1971cd1c0a5e8eda3cdf3 | fa3b78a6076dc9e4d46a087c6ee0f7d7e1d97f99 | /GPX2CSV.R | 0206b25d612040849ff029b0f173f0961cc8d8c9 | [
"MIT"
] | permissive | quantixed/GPXanalysis | 012202e1dfa0a92950c25a33f3ab9af93b6f0b78 | 2e8072aaf52f5c497af01bc2fe69908b97a58e60 | refs/heads/master | 2021-08-16T00:23:21.301564 | 2021-01-19T22:16:32 | 2021-01-19T22:16:32 | 77,203,820 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,389 | r | GPX2CSV.R | library(XML)
library(lubridate)
library(raster)
shift.vec <- function (vec, shift) {
if(length(vec) <= abs(shift)) {
rep(NA ,length(vec))
}else{
if (shift >= 0) {
c(rep(NA, shift), vec[1:(length(vec)-shift)]) }
else {
c(vec[(abs(shift)+1):length(vec)], rep(NA, abs(shift))) } } }
# Parse the ... |
955267cd03aaadfcdff7ae7e5509d0dcb2578619 | a2564d11f5b60532ad6c3ab2a850ffb996879819 | /man/run_from_file.Rd | 2ba1f934cc41fc1111d06edcfceaf59779e71b3e | [] | no_license | marcrr/BgeeCall | 6aace1d3be82bfb6e291f1b04c6330a60924fb7e | c85802f1a90f76d701899c9e1962fb5a76bc74e0 | refs/heads/master | 2020-04-20T20:21:25.778673 | 2019-02-01T18:57:39 | 2019-02-01T18:57:39 | 169,074,371 | 0 | 0 | null | 2019-02-04T12:21:51 | 2019-02-04T12:21:51 | null | UTF-8 | R | false | true | 795 | rd | run_from_file.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/runCallsPipeline.R
\name{run_from_file}
\alias{run_from_file}
\title{generate present/absent calls from a file}
\usage{
run_from_file(myAbundanceMetadata = new("KallistoMetadata"),
myBgeeMetadata = new("BgeeMetadata"), userMetadataFile)
}
\... |
a8d1342ca89392709d8c8efe7deb43b409bdb35f | d220633376ccc1cb5cbe654a69d0459792c4d2ce | /01-Data_Functions.R | 652f2285a4b09a48011c12d44ee68bc8da681f7e | [
"Apache-2.0"
] | permissive | jamiahuswalton/Analysis_Dissertation_Scripts | 5b93ffbf25f31a517c42768d4927d88cece424c3 | dbec4e82fb09f7f6c0ac2da4b5ca05db6c99c08b | refs/heads/master | 2020-04-07T03:41:46.070652 | 2019-07-01T15:04:09 | 2019-07-01T15:04:09 | 158,026,449 | 0 | 0 | Apache-2.0 | 2019-05-03T15:47:50 | 2018-11-17T21:28:30 | HTML | UTF-8 | R | false | false | 52,693 | r | 01-Data_Functions.R | # Remove teams from raw data (Clean raw data) ----
remove_a_team_from_raw_data <- function(data, teams_to_be_removed, name_of_team_number_col){
clean_data <- data
for(team in teams_to_be_removed){
team_to_remove_from_inventory <- which(clean_data[,name_of_team_number_col] == team)
clean_data <- clean_data[-... |
739ed41832ae801c46cee3d42b6c0360ef4c1690 | 3ae034f636da3885d76ed09f03222520d557f8b9 | /inst/tinytest/test_Utilities.R | 5918a4b143d6f2cac66bd746bb443c80270d2e4c | [] | no_license | vlcvboyer/FITfileR | e32b03762ac55bfb6ac8e38aeb0f7ed6dadf549c | 90f52e716022123a02ecd2c44bdb73967d3f467c | refs/heads/master | 2023-07-09T05:02:09.914129 | 2021-08-11T08:11:07 | 2021-08-11T08:11:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 460 | r | test_Utilities.R |
############################################################
## convert double representing a uint32 into a raw vector ##
############################################################
## Should fail with negative or too large values
expect_error(FITfileR:::.uintToBits(-1))
expect_error(FITfileR:::.uintToBits(2^32))
e... |
a5b54d67017b80a6d2d232c4d6e41bab390f2b7d | 426a32c372432dd23462b558aa24c5e100cbbcab | /man/AlleleRetain-package.Rd | 7112da0a79ca1045a22e618ff7c2226890f19fef | [] | no_license | cran/AlleleRetain | 6e2922aa67a095effbc38e9c9822a8faa4d93e0b | 5d47ba944a152f41220c92d4dd525ec95a07e990 | refs/heads/master | 2021-06-06T14:13:37.494126 | 2018-01-11T18:29:41 | 2018-01-11T18:29:41 | 17,677,695 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 602 | rd | AlleleRetain-package.Rd | \name{AlleleRetain}
\alias{AlleleRetain}
\title{ Allele Retention, Inbreeding, and Demography }
\description{
Simulates the effect of management or demography on allele retention
and inbreeding accumulation in bottlenecked populations of animals
with overlapping generations.
}
\details{
Typically, t... |
e51ab8fa20023bded079966ed61355bd9c994fc0 | d69bc1641e7e83034660f0408b3e8fd65cfced80 | /weighted_jaccard/GAGE_simulation/plot_sim_error_weighted_jaccard.R | de72929229d0000bfc09dc2ee929c6f3074324e7 | [] | no_license | cchu70/perfect_mapper | 1e9cf48d62bcd79c2b02d903ab48460e59c17d09 | eca3850b499c3d62a73be35ca0075db90b870dcf | refs/heads/master | 2020-06-17T09:16:32.039692 | 2019-08-16T15:35:16 | 2019-08-16T15:35:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,027 | r | plot_sim_error_weighted_jaccard.R | # Rscript to plot the performance of weighted jaccard weighting schemes, table output from Simulated Reads Weighted Jaccard Performance Percentages
library(ggplot2)
args = commandArgs(trailingOnly=T)
out=args[1] # Output name (no type ending)
table=args[2] # Weighted Jaccard Performance Percentage output
var... |
8eff69ad7578600ae7b70c482f59b97e85c615da | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.management/man/licensemanagerusersubscriptions_list_instances.Rd | 83fd88300bc7a010acb659c9b15f441e503de5c7 | [
"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 | 921 | rd | licensemanagerusersubscriptions_list_instances.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/licensemanagerusersubscriptions_operations.R
\name{licensemanagerusersubscriptions_list_instances}
\alias{licensemanagerusersubscriptions_list_instances}
\title{Lists the EC2 instances providing user-based subscriptions}
\usage{
licensemanage... |
2d53c36519a1e9b370f285960183ab6757180328 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/spatstat/examples/closing.Rd.R | 5a8fc11a11ac1b19a9ec3fb5482bd6b9b1b52d22 | [] | 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 | 304 | r | closing.Rd.R | library(spatstat)
### Name: closing
### Title: Morphological Closing
### Aliases: closing closing.owin closing.ppp closing.psp
### Keywords: spatial math
### ** Examples
v <- closing(letterR, 0.25)
plot(v, main="closing")
plot(letterR, add=TRUE)
plot(closing(cells, 0.1))
points(cells)
|
8f1bdb02e7c21fd7a024fd55d91dc5248f8b3b3b | 2d58f4d5eae4139a72ab36c255238536486b4ff7 | /GameGP/R/Classification.R | d8ac8ff5f64e1b55957dd790b6a3c28c0eee5d33 | [] | no_license | ahle-pro/datamining | 39758cc665e7fc359d6d404ad1340f0300902e37 | ba8e149dfd5b9d8eb65c0055ecae256d06250b69 | refs/heads/master | 2021-08-31T07:08:20.252750 | 2017-12-20T16:02:53 | 2017-12-20T16:02:53 | 114,905,772 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,504 | r | Classification.R | library("readr", lib.loc="~/R/win-library/3.3")
library("data.table")
library(dplyr)
setwd("D:/projects/Data Mining")
dataSrc <- readRDS("data/dataStat.rds")
pdf("report/program_classif.pdf")
getPrograms_X<-function(df){
# create a table
table = data.table(df)# table1: table with less columns from source data
t... |
c807701c283d3e0565cda0d1e7e6928a10fc9861 | 6666615e41404182c1b0421c49c80e0fe223ab78 | /1_master.R | a3805bb47d4784da96187b62f2e71ee480fb5b39 | [] | no_license | PerinatalLab/PubMed_AbstractMinining_for_Genes | d8891a5dd56f3696baf48d801ee561b3640cb21d | c736a0084ba1f451baf0035e59e853e69cc17a64 | refs/heads/master | 2016-09-05T12:56:57.670311 | 2015-07-12T22:26:29 | 2015-07-12T22:26:29 | 37,733,156 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 843 | r | 1_master.R | #!/usr/bin/Rscript
# passes arguments to the bash script that takes care of PubMed abstracts
setwd("~/Biostuff/MOBA_GESTAGE_GWAS/PREGNANCY_GENES/PubMed_2015Jun_GYNECOLOGY")
bash_script = "./1_extract_Abstracts_from_PubMed_output.sh"
# abstracts that are downloaded from PubMed
file_list1 = list.files("./PubMed_RAW/")... |
20c7ce76c73bf1c2855450cbca1094249bd98597 | c91350b98d6c2d6c067cd796742795847c6fd631 | /vignettes/man/spectrum.id-set-PsmDetail-method.Rd | c55fe314cf9effe17c75925b17c767421c2c489c | [] | no_license | gccong/ddiR-sirius | 127673f8fca158449e50dafc462ec78c234a5d55 | 6b1792d06e6ff094349e89b5cbee7144763b932d | refs/heads/master | 2021-01-19T04:18:49.242352 | 2015-12-13T22:29:01 | 2015-12-13T22:29:01 | 62,987,187 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 429 | rd | spectrum.id-set-PsmDetail-method.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/psm.R
\docType{methods}
\name{spectrum.id<-,PsmDetail-method}
\alias{spectrum.id<-,PsmDetail-method}
\title{Replaces a PSM spectrum.id}
\usage{
\S4method{spectrum.id}{PsmDetail}(object) <- value
}
\arguments{
\item{object}{a ProteinDe... |
6a51a74fa77a7e568d038b42f6911cdc86dc3606 | b6fd15efff8945a1f0b8501f422cbe6d9f4c23e9 | /Anul III/Sem 2/Tehnici de Simulare/Proiect/cod.R | e2ce02209df7af216865608d06e7a3601cce5e09 | [] | no_license | andreim9816/Facultate | 729a14fb60755e36fca01355162253f088fabf3e | 8eae7f73fd8ab5fd11de3f1fa744a1837abd49e0 | refs/heads/master | 2023-03-06T09:59:53.477012 | 2022-03-11T22:47:17 | 2022-03-11T22:47:17 | 175,485,457 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,051 | r | cod.R | library(shiny)
library(shinythemes)
# Functie corespunzatoare intensitatii procesului Poisson
LAMBDA <- function(t) {
if (0 <= t & t < 3 * 60) {
c <- -t ** 2 - 2 * t + 25
} else if (3 * 60 <= t & t <= 5 * 60) {
c <- 14
} else if (5 * 60 < t & t < 9 * 60) {
c <- -0.05 * (t ** 2) - 0.2 * t + 12
} els... |
813205c69f8b5c500632368fe99032f2dbe806a1 | 29585dff702209dd446c0ab52ceea046c58e384e | /OligoSpecificitySystem/R/security.r | f2640c2cc323920a4a04cdb8670524dae506d455 | [] | 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 | 632 | r | security.r | "security"<-function(){
if (length(txt4)==1 & length(txt1)==1 & length(txt2)==1) tkmessageBox(message="Error. Please, load before at least 2 databases")
if (length(txt4)==1 & length(txt1)==1 & length(txt2)==1) stop()
if (length(txt4)==1 & length(txt1)==1 & length(txt3)==1) tkmessageBox(message="Error. Pleas... |
dc31ebf5deb5a55ee42e0c536c3613982ed2fad5 | 5c90adf11c63ef8a8f05e310d72d61edcb8f31d3 | /avg_duration.R | e6c8a048789d2944dade5a312789f2491de53051 | [] | no_license | JohnnyFilip/Average_game_duration | fecb098d1583061194548c4fdaa35d372ac56225 | 7bb32ea2a116d700a74afed6761dd6b17932f8b0 | refs/heads/master | 2021-01-17T23:22:32.781817 | 2017-03-29T05:53:23 | 2017-03-29T05:53:23 | 84,218,892 | 0 | 0 | null | 2017-03-07T16:29:32 | 2017-03-07T16:02:28 | null | UTF-8 | R | false | false | 7,576 | r | avg_duration.R | library(jsonlite)
library(plotly)
library(magrittr)
library(plyr)
library(tidyr)
# AVerage game duration by patch
avg1 <- fromJSON("https://api.opendota.com/api/explorer?sql=SELECT%0Apatch%20%2C%0Around(sum(duration)%3A%3Anumeric%2Fcount(1)%2C%202)%20avg%2C%0Acount(distinct%20matches.match_id)%20count%2C%0Asu... |
2b1fc92f180f128e588a237ea11f659b01a53a61 | 9096176d4a3a6305e08250fa1a7c9b5c2930f20f | /scripts/usa.R | 6bc25e2b6059c6a573b49ef8292cb550aaa1c158 | [] | no_license | cg0lden/subnational_distributions_BFA | 6c9ad7ff1be1ce39a34a6e60724ae3a659c54364 | 4a8e3fb69691ee9b85be3ab9a064df5dc998bd30 | refs/heads/master | 2023-05-05T11:33:42.087553 | 2021-05-25T19:39:35 | 2021-05-25T19:39:35 | 300,038,711 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,900 | r | usa.R | # NHANES data cleaning for SPADE
# Created by Simone Passarelli on 11/23/2020
library(tidyverse)
library(haven)
library(here)
library(janitor)
# Clean day 1 data and sync names. Keep necessary vars only
nhanes_day1 <- read_xpt(here("data", "raw", "United States", "DR1IFF_J.XPT")) %>%
clean_names() %>% mutate(mday=1... |
475e509e545facda920869dcaeb7ef1ddc3a1b7e | df8e6ea4375e01082e05966c39aca2fa7c733aef | /R-Code/makePlot.R | 80ae5a9388b16626f8739566cde528fd33016a68 | [] | no_license | vrrani/IntegrativeRegressionNetwork | 9b1669fbe9d3c7a63251f3b91d94e4b809825d10 | 2c41b39a592eae0dd4d8af6c534a88d3c73b07db | refs/heads/main | 2023-01-08T01:01:37.346132 | 2020-11-01T10:32:05 | 2020-11-01T10:32:05 | 308,850,692 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,214 | r | makePlot.R | maxIter <- 100
for( method in c("fused", "GFLasso", "Lasso", "SGL", "SIOL") ) {
maxX <- 0
for( i in 1:length( Wset ) ) {
X <- Wset[[i]][[method]]
maxX <- max( maxX, max(X[upper.tri(X)]) )
}
print( sprintf("%s %f", method, maxX) )
pdf( sprintf('figure_Breast_%s.pdf',method),width=... |
b5ced5b9b8f86e36900cc66f1d9d3645e2f8d152 | 84f5ac25a17b16191b40d979b4d4fc0bc21b0b9e | /man/key_sentiment_jockers.Rd | 560a7b5b57adc9ba379c185b57a57f5659cdaa7d | [] | no_license | cran/lexicon | 1d23c81e51c828020110b9f7d2d01980bdf78bf3 | 03761ddba87f3ac1dd6af743508a7e8303be061b | refs/heads/master | 2021-01-12T01:03:22.432056 | 2019-03-21T09:40:03 | 2019-03-21T09:40:03 | 78,337,774 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 725 | rd | key_sentiment_jockers.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hash_sentiment_jockers.R
\docType{data}
\name{key_sentiment_jockers}
\alias{key_sentiment_jockers}
\title{Jockers Sentiment Key}
\format{An object of class \code{data.frame} with 10748 rows and 2 columns.}
\usage{
key_sentiment_jocker... |
4213b6ecd475b99aabd53351ff49dd386ab5acd8 | 7ac8a44774d4e3f69fc5ffa55bdde5903c722e7f | /R/Visualizing_data.R | afc3de4930aa3dcfdbc0d4126cb6a7b1c031e485 | [] | no_license | emmaSkarstein/Citizen_Science_Skarstein_master | e75910b931629a759f599f8660238bec0e3af3b3 | 73a8163d577456eefd7c685ea3d21adc52a4a44d | refs/heads/master | 2021-07-09T19:32:45.701585 | 2020-10-20T13:23:19 | 2020-10-20T13:23:19 | 207,277,325 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,741 | r | Visualizing_data.R |
library(sf)
library(sp)
library(ggplot2)
library(ggpubr)
library(dplyr)
library(fishualize)
library(hexbin)
library(tidyr)
library(knitr)
library(summarytools)
library(pander)
library(maps)
library(maptools)
library(PointedSDMs)
library(patchwork)
library(inlabru)
library(colorspace)
source("R/Model_visualization_fu... |
d05c4bed32dd7d7c665434a8202aa54e6d1fd4f3 | 9132996d08213cdf27c8f6d444e3f5b2cfdcfc85 | /tests/testthat/test_all_positive.R | d8353640de47042f909073fc4ede00d7ea98b13b | [] | 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 | false | 3,382 | r | test_all_positive.R | test_that("x = default", {
expect_tidy_error(all_positive(new_waiver()), "recognized")
})
test_that("x = numeric", {
expect_true(all_positive(c(0, 1, 2, NA)))
expect_true(all_positive(c(0L, 1L, 2L, NA)))
expect_false(all_positive(c(-1, NA, 0)))
expect_false(all_positive(c(-1L, NA, 0L)))
expect_error(
a... |
628e7c1c1fbaa335ccbee2760e61a18abd5a4ac8 | 1983b21fb4d2dafa7f5d0e1196e5889253a60206 | /Codes/data_frame.r | 6be0716d993fca4c0d086ac73cddb2c147b8f942 | [
"Apache-2.0"
] | permissive | hackwithabhishek/R-Programming-Knowledge | 7348cc376a935732e6e3003502a6cf0a51181ec2 | 365664003655964b25bf84aee2e1c706efdff83f | refs/heads/main | 2023-03-19T06:11:14.443380 | 2021-03-19T11:36:42 | 2021-03-19T11:36:42 | 346,687,501 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,400 | r | data_frame.r | #basics of data frame
S.No=1:5
df<-data.frame("S.no"=S.No,
"Name"=c("John","Marry","Joseph","Mohan","Rihanna"),
"Age"=c(32,26,20,43,26))
str(df)
df1<-data.frame("S.no"=S.No,
"Name"=c("John","Marry","Joseph","Mohan","Rihanna"),
"Age"=c(32,26,20... |
85e495b6287a16b991238dfedbbf681c551ba1e4 | cf1f32300d37750c4c74ea0b44c61888fd3a9a2e | /R/04_graphing.R | 4ce4f1f92afd092e030728fcd19a633bcdaf8875 | [] | no_license | UPGo-McGill/city_summaries | f47f1e654b0da4827f00fa1a180b9e2ecbcb97d3 | ece792a27ba6e57b2bd13375d2fa07b7f161e7d1 | refs/heads/master | 2020-05-30T23:13:20.805172 | 2019-06-06T14:40:55 | 2019-06-06T14:40:55 | 190,011,487 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,429 | r | 04_graphing.R | ############## GRAPHING #################################
source("R/01_helper_functions.R")
# Set up timeframes
year_prior <- as.POSIXlt(End_date)
year_prior$year <- year_prior$year - 1
year_prior_prior <- as.POSIXlt(year_prior)
year_prior_prior$year <- year_prior$year - 1
# Active airbnb listings over time
figure2... |
39d4a3f062d0ce4b52308bcb0ec439856b1b64a5 | dcac5a647b01cce1d99ee5ab1bd1c14c2eb0467e | /R/sl_R/crawlers/R/twlottery.R | 45f272ecc3580dfe7b5d10d2bf1efb46d93f5e9d | [] | no_license | slchangtw/R_Basics | de9dbef37660b18acb7471968891cd944cabc660 | 6a7b67558ed8cfee5f403fd1301b505680a82071 | refs/heads/master | 2021-06-16T23:31:11.051427 | 2017-05-28T14:37:04 | 2017-05-28T14:37:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,849 | r | twlottery.R | #' ---
#' title: "台灣彩券"
#' author: ""
#' date: "`r Sys.Date()`"
#' output:
#' html_document:
#' toc: yes
#' ---
#+ include=FALSE
knitr::opts_chunk$set(eval = FALSE)
#' ## Load Packages
library(httr)
library(rvest)
library(magrittr)
#' ## 台灣彩券 (GET) {.tabset}
#' ### Fill In
url <- "http://www.taiwanlottery.co... |
052d7c15ea95b46a9c4e8336c232eaf6ca14a659 | d1d9c9a8197f8ae7060c1b2eea02c62e4529c6ad | /PDS/Slides/scratch.R | 59e39c96a80c9d55aeb20b1ef8fcea2a7845c423 | [] | no_license | jmontgomery/jmontgomery.github.io | bd0ec322b7416ef811ff5265b7b8edcb9337fe8b | a9a01ef49b6cff50b8a6fd3a4ca58ba5684fe426 | refs/heads/master | 2021-09-23T09:17:22.152539 | 2021-09-12T19:23:01 | 2021-09-12T19:23:01 | 99,852,460 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 674 | r | scratch.R | library(shiny)
runExample("01_hello") # a histogram
###
setwd("~/GitHub/jmontgomery.github.io/PDS/Datasets/SenateForecast")
senateData<-read.csv("PollingCandidateData92-16.csv")
stateName<-"North Carolina"
stateData<-senateData %>%
filter(state==sateName & cycle==2016) %>%
select(c("Poll", "daysLeft", "Cand... |
f9796f19840ddc1ba349357be3e30d60f26de638 | 9d941f38054390183c6215f47bb29db422d0c876 | /man/acf2.Rd | f98fafd9311f3ed60c3e406f657ed7b8ea617249 | [] | no_license | egedib/astsa | e9b54be69a517be48d8cd56daf0062adcec7df65 | 2a5e8d69e2f0ed62dca2fd37ed34a514fc8ed96f | refs/heads/master | 2020-05-03T10:01:04.206943 | 2019-03-30T14:43:07 | 2019-03-30T14:43:07 | 178,569,127 | 0 | 0 | null | 2019-03-30T14:28:24 | 2019-03-30T14:28:24 | null | UTF-8 | R | false | false | 3,358 | rd | acf2.Rd | \name{acf2}
\alias{acf2}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Plot and print ACF and PACF of a time series
}
\description{
Produces a simultaneous plot (and a printout) of the sample ACF and PACF on the same scale.
The zero lag value of the ACF is removed.
}
\usage{
acf2(seri... |
37ff6460327ec26830206139837aacaa8f714928 | e08c16082eec850673cce70157cb71f55531d0b0 | /code/plot2.R | b8c7eff17e2575afec8d0bbc5c2dbf003d337c1b | [] | no_license | helenwan/ExData_Plotting1 | 723d3a100dc588d30fcfe4506955c463db7b377c | 4fdd973e2321507ece7864f72eef72748409be8c | refs/heads/master | 2021-01-22T07:03:46.363918 | 2014-05-11T23:21:10 | 2014-05-11T23:21:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 577 | r | plot2.R | # only read in data from 2007-02-01 and 2007-02-02
data <- read.csv(pipe('egrep \'^Date|^[1-2]/2/2007\' household_power_consumption.txt'), header=T, sep=';')
# open 480x480 pixel png file called plot2.png
png(file="plot2.png", width=480, height=480, units = "px")
# create new column of DateTime objects
data$DateTime <... |
29106a3e114af9d825b81419f570cc8fa997382e | 84a1906fcf51e71e12fc6c04dfae9bb4e5d314ce | /Rscripts/PCA.R | 0703f4cbb329c4f199aa68e4656f8b1860f69fe6 | [] | no_license | RyanSchu/gwasqc_pipeline | 4224fcd4af2e000fbc8c5a71cb3e44d4ccaed048 | bece21065427fd30f257a63fb58ee3fac2b22ba4 | refs/heads/master | 2020-03-24T18:44:52.514828 | 2019-03-18T19:23:29 | 2019-03-18T19:23:29 | 142,898,699 | 2 | 4 | null | 2018-09-21T14:57:39 | 2018-07-30T16:08:27 | Shell | UTF-8 | R | false | false | 3,828 | r | PCA.R | library(dplyr)
library(tidyr)
library(ggplot2)
library(argparse)
parser <- ArgumentParser()
parser$add_argument("--hapmapdir", help="directory where all the hapmap files are written")
parser$add_argument("--val",help="full path to eigenvalue file")
parser$add_argument("--vec",help="full path to eigenvector fil... |
d3281b1c0f6adde22099337c2e3811e1ee6d94c8 | 42231220c4194fcef7c12819b72bb6c53c0b68d2 | /man/UMRactiveSet_trust.Rd | 8d60a68eebd83c43f6e4a534eb2cad04417141b1 | [] | no_license | cran/UMR | d710c18c2f42ee71981925aee02f37dc724b17fc | 2ce99462b3ef013db95fa703af901f280a5f9fd4 | refs/heads/master | 2023-07-11T06:36:57.461127 | 2021-08-14T08:00:09 | 2021-08-14T08:00:09 | 292,347,400 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,789 | rd | UMRactiveSet_trust.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/UMRactiveSet_trust.R
\name{UMRactiveSet_trust}
\alias{UMRactiveSet_trust}
\title{An active set approach to minimizing objective in Unlinked Monotone
Regression}
\usage{
UMRactiveSet_trust(
yy,
ww_y = NULL,
grad,
hess,
UMR_curv,
... |
8a1a0ee75bf291c71e0801b33732200af362f3c7 | 89d8f5e676682c487f2143afa352251a7ee11a1a | /man/getPhyloNames.Rd | b0f17b1b48246dc3eff91f65d89df397b8b9d8b4 | [
"MIT"
] | permissive | galacticpolymath/galacticEdTools | 36d5cb580877c36f03f6f80f8d0e400c8a5d5a3d | 32be95593eda122bfe359f724ddd17acad1d647d | refs/heads/main | 2023-04-11T22:25:43.780344 | 2022-07-08T23:33:08 | 2022-07-08T23:33:08 | 379,769,787 | 0 | 0 | NOASSERTION | 2021-07-06T02:02:09 | 2021-06-24T01:22:04 | R | UTF-8 | R | false | true | 1,456 | rd | getPhyloNames.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getPhyloNames.R
\name{getPhyloNames}
\alias{getPhyloNames}
\title{getPhyloNames}
\usage{
getPhyloNames(speciesNames, nameType, clearCache = F, quiet = T)
}
\arguments{
\item{speciesNames}{a name or vector of common or scientific names of orga... |
59f719c958a7bdf40eeb5212979f657ea2b4ad3a | 5cd797823ac3e1b404b71b758cfceab9d41fd1b6 | /MASA_Sentiment_Analysis.R | 1933a25b6a5015a9edd5697f89510d13ac33ef4a | [] | no_license | matthewfarant/News-Tweets-Sentiment | ffec9707b73dd3fc724a2ac364be396899433531 | 313195c6b6f865a5204dbdbb9044cc1b8e532f03 | refs/heads/master | 2023-06-28T19:59:12.028962 | 2021-08-07T13:24:26 | 2021-08-07T13:24:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,974 | r | MASA_Sentiment_Analysis.R | ########### PACKAGES #############
if (!require('rtweet')) install.packages('rtweet'); library('rtweet')
if (!require('tidyverse')) install.packages('tidyverse'); library('tidyverse')
if (!require('tidytext')) install.packages('tidytext'); library('tidytext')
if (!require('textclean')) install.packages('textclean'); li... |
e457933921c8afbedaa3104fb210a44604051162 | 184180d341d2928ab7c5a626d94f2a9863726c65 | /valgrind_test_dir/do_divisible2-test.R | 87cc6554857277ccbade5708b614f8607bf48d2e | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 223 | r | do_divisible2-test.R | function (x, nThread = 1L)
{
e <- get("data.env", .GlobalEnv)
e[["do_divisible2"]][[length(e[["do_divisible2"]]) + 1]] <- list(x = x,
nThread = nThread)
.Call("_hutilscpp_do_divisible2", x, nThread)
}
|
af5635179f3b974bc2bde2dc4be67b85826876c9 | f5fdd56afdca7f8d9165ddfac54d6d005e3ffa0c | /RBioDeg.R | 07584915e06da85e38b8f8386402fd2478f0b395 | [] | no_license | pjkowalczyk/PhysicochemicalPropertyPredictions | 866e04eb8cb869f7eeabffe7424840fec29b2a77 | 4a8020c4c0dd36abf8989ceb55591f36a117dd4e | refs/heads/main | 2022-12-24T19:05:19.187489 | 2020-10-08T15:50:55 | 2020-10-08T15:50:55 | 302,376,811 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,052 | r | RBioDeg.R | library(rcdk)
library(tidyverse)
library(magrittr)
library(purrr)
library(stringr)
library(caret)
library(corrplot)
library(ggplot2)
library(ggthemes)
library(pROC)
library(egg)
# read data
## training data
train <-
read.csv('cache/TR_RBioDeg_1197_descrs.csv',
header = TRUE,
... |
2ca81b092ee85269c9f2a3c37b0ea69b172b247e | e61d4e17b5683e6c5c79588588aa302f24b03863 | /R_Test_File.R | 984c37602333bd3c13486fcfb62eb40caf1bde0b | [] | no_license | Joseph-C-Fritch/web_scrape_project | 89466e585b3e10dab0be11e1d2d7c803945d1962 | 0d56f349421d8f564a4ade6ce15c4bda7be11407 | refs/heads/master | 2020-04-22T02:05:24.170732 | 2019-02-12T19:06:26 | 2019-02-12T19:06:26 | 170,035,903 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 86 | r | R_Test_File.R | library(dplyr)
xrp_price_df = read.csv('./xrp_price.csv', stringsAsFactors = 'False') |
5b482b6e30a86e55e4de3286146a293f7373c612 | 342bd673b3cf5f3477eac4c23c7ba8b32d6e7062 | /shiny/server_1_loadModels/server_1_loadModels.R | d6bd4514d53fdccb4942183a6c9218ab78827d19 | [] | no_license | GRSEB9S/eSDM | 4f3575b77fdffe4ebad35028e5dd67aef49da1af | a26b9ac92127346fe0d9e22c3eb6376b8ff88a77 | refs/heads/master | 2021-07-13T06:35:28.689723 | 2017-10-19T18:26:26 | 2017-10-19T18:26:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,993 | r | server_1_loadModels.R | ### Code for loading models and converting them to SPDFs
###############################################################################
### Flag for if any model predictions are loaded
output$loadModels_display_flag <- reactive({
length(vals$models.ll) != 0
})
outputOptions(output, "loadModels_display_flag", suspe... |
c5fa95924f4d22ac1b4e3a33f51714206aae5e3e | 7be74683083a548d47b31fa6cb826c061c1d2aea | /non-linear/non_linear_lab_6.R | 65f4d2275c45672e68edb9a225d40331fa041742 | [] | no_license | AnatoliiStepaniuk/ISLR | 32b7ab6c9fed20c92dba36016c474b4d9b697ce9 | f613a1c56a594f4594c813cbe8f35b55d4263f99 | refs/heads/master | 2021-01-09T06:35:46.439090 | 2017-02-12T13:22:29 | 2017-02-12T13:22:29 | 81,018,010 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,449 | r | non_linear_lab_6.R | library(ISLR)
set.seed(1)
# (a)
all.deltas <- rep(NA, 10)
for(i in 1:10){
glm.fit <- glm(wage~poly(age,i), data=Wage)
all.deltas[i] <- cv.glm(glm.fit, data=Wage, K=10)$delta[2]
}
min.delta <- min(all.deltas)
d <- which.min(all.deltas)
par(mfrow=c(1,1))
plot(x=1:10,y=all.deltas,col="red",type="l",ylab = "CV error",... |
1f7dc4bf0127c9db91762ebeaff289f2c4ef1bb2 | cb01200aef78010bbce2477944aec53357334de4 | /script work/working scripts.R | 16c347eaae4ba088b67a554da3e175453e2f617c | [] | no_license | S-AI-F/Open-Geo-KPI-App | 4a5a14891ac94deb3671943673d35acbb8250815 | a78da0578c519979efc9c418c44a7c2c70674491 | refs/heads/master | 2023-06-28T10:48:36.702859 | 2021-07-21T11:22:34 | 2021-07-21T11:22:34 | 263,057,928 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,096 | r | working scripts.R |
library(shinyjs)
install.packages("shinyjs")
# get map data
geodata_world <- ne_countries()
# rename country code and name variables
names(geodata_world)[names(geodata_world) == "iso_a3"] <- "iso3c"
names(geodata_world)[names(geodata_world) == "name"] <- "NAME"
# get worldbank data
attribute_data <- wb(
indicator... |
1a17533e2828adf65f2accfc305d619d5a849303 | 0f56baca4f5779b5e389311a658f9e6c06617502 | /man/preds.Rd | 8fc0ff93c96f0a40fce47fa4ec8ce4600c38a102 | [] | no_license | cfree14/datalimited2 | 4e01d6547b6735ee71403da228af6efee4df6621 | 152a352899585951ff09b52d26181f22d3e09dda | refs/heads/master | 2023-08-17T12:23:13.694125 | 2023-08-04T14:09:57 | 2023-08-04T14:09:57 | 115,050,731 | 16 | 5 | null | null | null | null | UTF-8 | R | false | true | 605 | rd | preds.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{preds}
\alias{preds}
\title{RAM Legacy Database catch-only status predictions}
\format{A data frame with 161 rows (stocks) and 57 variables including B/BMSY estimates
and status estimates.}
\usage{
preds
}
\descrip... |
1a813667600961627fb0e8c4cc10e8515ed7f353 | 6ae2d6b27576cc8c75a7e02256db410e5007a8b2 | /tests/testthat/test-dir2.R | ffcfa0332ccdfd9a4c15d85455fe8fcfb7da25bb | [] | no_license | HughParsonage/hutils | 3c2cec1b1a01179219deb47df0dc9e6a3a127435 | 11e6f828876bbc87a42d43a0ee8084ee6d9a6765 | refs/heads/master | 2023-02-20T04:27:01.996815 | 2023-02-10T05:18:04 | 2023-02-10T05:18:04 | 88,268,552 | 11 | 2 | null | 2022-04-13T08:31:57 | 2017-04-14T13:09:05 | R | UTF-8 | R | false | false | 2,181 | r | test-dir2.R | context("test-dir2")
test_that("Error handling", {
skip_if_not(identical(.Platform$OS.type, "windows"))
library(data.table)
expect_error(dir2(.dont_use = TRUE),
regexp = "Windows")
expect_error(dir2(path = raw(1)),
regexp = "`path` was a raw, but must be a string",
... |
171d70d85fb338ce68ec30b7f1d27a95e39de2b9 | bec2aef1fa0722ad373f0a51bcf119c3028855aa | /chap03/mpg.R | f189af1ac171d5dca057c1d3916401a904c8f07f | [] | no_license | floraOuO/R | 751a275163758716806752e98f1a4cd3f06f6cc2 | 4cace0f4158513b08701c2c4f9987d2c1803d8f6 | refs/heads/master | 2020-04-28T04:02:56.088121 | 2019-03-22T09:07:50 | 2019-03-22T09:07:50 | 174,962,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 470 | r | mpg.R | library(ggplot2)
library(sqldf)
x=c("a","a","b","c","d","d")
qplot(x)
mpg
sqldf("
select distinct manufacturer from mpg
")
sqldf("
select count(*) from mpg
")
sqldf("
select manufacturer,round(avg(cty),2) as cty_avg,round(avg(hwy),2) as hwy_avg from mpg
group by manufacturer
order ... |
7f6858b6b727fbafe58b028eab287c25809c5a28 | 2a4b11fd17377f5cf06ef1f89585c71266b8b1c9 | /descr_stat_barpie.R | efc571e185d5d21c76d9061d971350c728a08757 | [] | no_license | AhyonJeon/covid19-petitons-analysis | 6ca1f3017dcfe127e936c5824d28e5df5dc4e8b5 | ed69de78646352dd071fc53c5ed0f22bf3a1072f | refs/heads/master | 2023-04-18T22:48:22.591345 | 2021-04-18T06:56:04 | 2021-04-18T06:56:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,147 | r | descr_stat_barpie.R | # 라이브러리
library(dplyr)
library(ggplot2)
library(RColorBrewer)
library(reshape2)
library(data.table) # setdt() 사용하기 위해
library(plyr) #desc()를 사용하기 위해서 필요하다.
# 코로나 전후 청원데이터 불러오기
before <- read_csv("before_covid_petition_enc.csv")
after <- read_csv("after_covid_petition_enc.csv")
total<- rbind(before, after)
# category ... |
986d8a1510c88a86a12321588e39dda5898f48c4 | 2d320d9af4bed14cc1bbfceb0e8014dcf6a82fe7 | /Chapter5/auxFun/F_genNormal.R | d323383c7b32fb54da9e6d2e4122586902849cec | [] | no_license | sthawinke/DoctoralThesis | a5be71706a63d650f24c2a4bc43dd549c627e887 | 924b9c93ffa1b2939a93d8e88a372d1ce65efb09 | refs/heads/master | 2020-12-13T22:53:05.279324 | 2020-01-21T13:35:24 | 2020-01-21T13:35:24 | 234,554,358 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,061 | r | F_genNormal.R | #' Generate normal data
genNormal = function(estList, nPop, n, p, FC, TPR){
if((n %% nPop)!=0) stop("Choose even group sizes!")
groupIndComp = rep(seq_len(nPop), times = n/nPop)
p = min(p, length(estList["coef",]))
## Sample parameters
coefSampled0 = sample(estList["coef",], p)
nOTUs = round(p*T... |
bed8feb65862e2eab2edae1f008ed24bb23720cb | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/SpatialNP/examples/spatial.location.Rd.R | 282b7d28bd3e44393397d4bb31812b0e150524b0 | [] | 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 | 501 | r | spatial.location.Rd.R | library(SpatialNP)
### Name: Spatial location
### Title: Multivariate location estimates based on spatial signs and
### signed ranks
### Aliases: ae.hl.estimate ae.spatial.median spatial.location
### Keywords: multivariate nonparametric
### ** Examples
A<-matrix(c(1,2,-3,4,3,-2,-1,0,4),ncol=3)
X<-matrix(rnorm(300... |
d827cc2793a3520ddd1ba3d7629ab58ed7ad3a7e | 1e6970ee8f6b77a0881a2561c2b2836da0d66ac2 | /R/celsius_to_kelvin.R | 4ba68fa9c376366eeeacabc63286c27a6d69758e | [] | no_license | brilu815/tempConvert | 9fd89c80fc434c171454b05dc9481b723bbf170e | 675b4d859d964238ee06e78a7d0917af3adb2284 | refs/heads/master | 2021-01-18T22:29:32.843677 | 2016-11-02T00:58:48 | 2016-11-02T00:58:48 | 72,590,089 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 126 | r | celsius_to_kelvin.R | celsius_to_kelvin = function(temp_c){
temp_f = celsius_to_fahr(temp_c)
temp_k = fahr_to_kelvin(temp_f)
return(temp_k)
} |
94014347ec8fef263030514bd26997e69eb25ddb | ea319f995c73653e2e43a1c0b0924757b7e19304 | /rscripts/submit_createApsimSims.R | 7bafaeb25a008d0f688834afaecfb9a73f9f6391 | [] | no_license | cla473/AG_WHEATTEMP | 0d25c943c08fcb752be8b49250ffb4a711c0c97e | 383459818dae42883ae1f9134710bdb3b1999408 | refs/heads/master | 2020-03-23T04:16:40.890878 | 2019-03-27T22:02:21 | 2019-03-27T22:02:21 | 139,104,642 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,808 | r | submit_createApsimSims.R | #Builds simulations using data from GridSoil.7z (needs to be extracted and converted first) and Ross' met files
rm(list = ls())
library(tidyverse)
library(xml2)
apsimLoc <- "//OSM/CBR/AG_WHEATTEMP/work/ApsimNG-LC/apsimx/"
baseApsimxFile <- "//OSM/CBR/AG_WHEATTEMP/work/ApsimNG-LC/prep/BaseWithCultivars.apsimx"
metLoc... |
3dea5db7934056ed2a22ef6cf34c89474c855336 | 1d8e6bb24a98389c46db0db658db539f7917c6ea | /problems/problem002.R | a8483611143f7dd0b395cd333d6764c9a817ceae | [] | no_license | parksw3/projectEuler | 6609c5950344494476976ad4464f75264b8e5b48 | 133c4915d59d3ce43ab869fe6bf99e51158f135d | refs/heads/master | 2020-04-06T06:54:48.299332 | 2016-08-31T12:29:59 | 2016-08-31T12:29:59 | 65,112,736 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 140 | r | problem002.R | fib <- c(1,2)
i <- 2
while(fib[i] < 4e6){
new.fib <- fib[i] + fib[i-1]
fib <- c(fib, new.fib)
i <- i + 1
}
sum(fib[fib%%2 == 0]) |
f9e1827acbf230f7013ff46afbea3df7ab5f3e39 | f753c3187e80b854c1600ef93ac3006851535bbc | /R/buoyData.R | 51d73c64b9409e9d889c76e5dac5761497d09e5f | [] | no_license | NOAA-EDAB/buoydata | 42055c8b5e55919927a9fce7ef069c6d7351bf04 | ad6eceaf1c6c7f998db623f79fbcf8127d620529 | refs/heads/master | 2023-02-25T10:40:04.467643 | 2021-01-28T16:38:53 | 2021-01-28T16:38:53 | 238,990,643 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 337 | r | buoyData.R | #' buoydata: Extract buoy data from ndbc
#'
#'Tools to aid in extraction of data from the nbdc website
#'
#'\itemize{
#'\item Get_ functions to get data.
#'\item functions to manipulate the data, aggregate the data
#'}
#'
#'To learn more about using \code{buoydata} click the index below
#'
#'
#' @docType package
#' @na... |
65fee7d83bfaa1adb8c2eb64ff68e280189f1f86 | 8ac91b65f4b3674d5fa514b304940712bab78dc8 | /plot4.R | dd5b3b685a1262684297fd39a258f5bcb75bd51a | [] | no_license | adanlp/ExData_Plotting1 | 1ad01af7129cb2bd4a4d624fb4201fc79e75ad9b | a9f3cafac5494d013263ac5b4995ab72664d9a93 | refs/heads/master | 2021-05-14T02:09:16.548604 | 2018-01-08T00:34:48 | 2018-01-08T00:34:48 | 116,588,050 | 0 | 0 | null | 2018-01-07T18:11:49 | 2018-01-07T18:11:49 | null | UTF-8 | R | false | false | 1,869 | r | plot4.R | # plot4.R
#
# Construct the corresponding plot for Plotting Assignment 1
# for Exploratory Data Analysis. In this case, plot4.png
#
# Define the source of data and a name for our file
my_url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
my_file <- "household_power_consump... |
1bc4646fbf6b0fedb5dc3c5cec6f2963802069c1 | 2cb79ce691200221321447a586864810a138a562 | /workflow/scripts/figures/disagreement_gender.R | 1a45629f4458583abdcc3368725c0bda43c4ea71 | [
"MIT"
] | permissive | murrayds/sci-text-disagreement | 8cc76bf829577eadc9058a170b65af5b6249d63c | e70d5a16a9b770a4110980e9bacd90f361065d8a | refs/heads/master | 2023-06-05T08:47:54.587986 | 2022-01-03T18:48:45 | 2022-01-03T18:48:45 | 288,233,573 | 2 | 1 | MIT | 2021-08-20T14:15:14 | 2020-08-17T16:42:15 | TSQL | UTF-8 | R | false | false | 3,858 | r | disagreement_gender.R | #
# disagreement_gender.R
#
# author: Dakota Murray
#
# Plots a barchoart of the gender differences in disagreement
#
source("scripts/figures/themes.R")
source("scripts/common.R")
FIG.HEIGHT <- 6
FIG.WIDTH <- 5
library(dplyr)
library(ggplot2)
library(tidyr)
library(readr)
suppressPackageStartupMessages(require(optpar... |
4d90a5018c3d85f57ec547241fda6f952ecc5fe8 | 57612442b949ad63fdf319006fa32b50270b8e89 | /best.R | 07c4812859f49d2358caff316ea97af63607026b | [] | no_license | zieka/r_programming | add79e86d272ea90982c6c6dbd612df5b0b38ce5 | 77a9368ecd6fd97d49d83f8a8eab8be26fb17a1d | refs/heads/master | 2021-01-10T22:03:44.188911 | 2014-06-22T01:21:59 | 2014-06-22T01:21:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,362 | r | best.R | #
# best.R
#
# Copyright (C) 2014 Kyle Scully
#
# Author(s)/Maintainer(s):
# Kyle Scully
#
# Function returns a character vector with the name of the hospital
# that has the best (i.e. lowest) 30-day mortality for the specified
# outcome in that state. The hospital name is the name provided in
# the Hospital.Name variab... |
60e543b71368c432ec3f9875fb263f5177323d86 | 118960cf373053fe99ca322d17e47b07fe6eb4c9 | /R_scripts/hdf5_lib.R | b47ea3f0bab20b3377d816c4dde96a658da4bad4 | [
"CC-BY-4.0"
] | permissive | DeplanckeLab/ASAP | 19b7926586db7beae943b1b232d399dc5376bd78 | 5795b7d7329b303973f4549cd78d0a7ae00bd91e | refs/heads/master | 2023-08-25T06:24:26.055799 | 2023-08-22T15:38:39 | 2023-08-22T15:38:39 | 86,680,770 | 21 | 12 | null | null | null | null | UTF-8 | R | false | false | 2,903 | r | hdf5_lib.R | require(rhdf5) # For handling Loom files # loomR is deprecated
error.json <- function(displayed) {
stats <- list()
stats$displayed_error = displayed
write(toJSON(stats, method="C", auto_unbox=T), file = paste0(output_dir,"/output.json"), append=F)
close_all()
stop(displayed)
}
# Close All handles
close_all ... |
54146459cf21b4cc108ca9b4cd17e6e89e6894ed | 31deaad1827ec16f80447a5e06c601d354e034a6 | /inst/shiny-examples/testapp/app.R | 772934593f14402e86ab64dd95c307c747ebe1d8 | [] | no_license | schliebs/trollR | 1976355e538d749b4ceb85763b4fd1fa864de462 | 365b65ea7f5b5af0fec2d45ead9867e40e1cec03 | refs/heads/master | 2020-03-11T14:04:17.049910 | 2018-04-19T17:03:20 | 2018-04-19T17:03:20 | 130,043,175 | 10 | 1 | null | null | null | null | UTF-8 | R | false | false | 864 | r | app.R | library(shiny)
source("modules.R")
ui <- fixedPage(
h2("Module example"),
actionButton("insertBtn", "Insert module")
)
server <- function(input, output, session) {
observeEvent(input$insertBtn, {
btn <- input$insertBtn
insertUI(
selector = "h2",
where = "beforeEnd",
ui = tagList(
... |
c4dd937e7516e0e6f4073c37404dc1becc9df92d | eb61601e2a01b8ffe2b039cd3f4002ab4530fae0 | /roller/tests/testthat/test-check-times.R | aca0fee89fa93d3df6ac16f65042dede68ca9bde | [] | no_license | ronishen86/hw-stat133 | 7fc597fca74ad4365a1d6db4526b794d3eee2449 | 769d836a2d17f65b8e997b8d7b6ada18e0d8cd97 | refs/heads/master | 2020-03-30T00:19:11.536294 | 2018-12-01T20:14:44 | 2018-12-01T20:14:44 | 150,516,127 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 279 | r | test-check-times.R | context("Test check roll arguments")
test_that("check_times works with ok vectors", {
expect_true(check_times(1))
expect_true(check_times(33))
})
test_that("check_times fails with invalid numbers", {
expect_error(check_times(.5))
expect_error(check_times("a"))
}) |
583b89d241d7ec1f76d78a5e94e8b80cef4b5e11 | 11b20d7df0aecb79ba43e83ec271362da0cdc928 | /R/reporting.R | d5ccee59aa3b5973ef86e9fa1df725f3f436ed06 | [] | no_license | pinusm/Mmisc | 63b5b8ce5e7262ae14dc102ebe06b5d990a14d3f | 509a248d3564b557ef2c5eee6ca47a3a2a9b60ab | refs/heads/master | 2021-06-06T06:44:00.360151 | 2021-06-03T06:42:31 | 2021-06-03T06:42:31 | 138,485,843 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 10,995 | r | reporting.R | #' convert numeric p-values to strings for reporting, without leading zero
#' @param p a p-value in numeric value
#' @export
pvalue.correct <- function(p){
p <- p %>% as.numeric
pvalue = dplyr::case_when(p < 0.001 ~ "< .001",
p < 0.01 ~ "< .01",
p < 0.05 ~ ... |
6d52fe9cd5121068c0dc449b0c3c30ff090d76bb | 3176c7f008fabb7a406241149808fc2f7cacec4d | /man/minExactMatch.Rd | fad2020bc4f28e0d448bc2f8cf3d7b8e5f94f19b | [
"MIT"
] | permissive | markmfredrickson/optmatch | 712f451829c128c4f1fd433e2d527bb7160e8fcc | 51e0b03a30420179149be254262d7d6414f3d708 | refs/heads/master | 2023-05-31T05:11:01.917928 | 2023-04-06T13:18:58 | 2023-04-06T13:18:58 | 1,839,323 | 37 | 18 | NOASSERTION | 2023-01-26T18:45:56 | 2011-06-02T20:49:32 | R | UTF-8 | R | false | true | 1,527 | rd | minExactMatch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/feasible.R
\name{minExactMatch}
\alias{minExactMatch}
\title{Find the minimal exact match factors that will be feasible for a
given maximum problem size.}
\usage{
minExactMatch(x, scores = NULL, width = NULL, maxarcs = 1e+07, ...)
}
\argument... |
9858828a1deea58ea918c1e92826fad376d24c47 | 718de5af14276062cf57b96c2ed3f32a0fc74312 | /man/clusterGenes.Rd | 7a2e21e28411476b1b91e339ce24b873da43d196 | [] | no_license | cole-trapnell-lab/monocle | 34976ee5f1d7960245b30aa1ef07ff16cbb97092 | 5ad275623499b1830863d36b6a7db334460948bd | refs/heads/master | 2021-01-10T22:53:24.172037 | 2016-05-15T20:14:22 | 2016-05-15T20:14:22 | 70,340,167 | 2 | 1 | null | 2016-10-08T15:25:47 | 2016-10-08T15:25:46 | null | UTF-8 | R | false | false | 908 | rd | clusterGenes.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{clusterGenes}
\alias{clusterGenes}
\title{Plots the minimum spanning tree on cells.}
\usage{
clusterGenes(expr_matrix, k, method = function(x) { as.dist((1 -
cor(t(x)))/2) }, ...)
}
\arguments{
\item{expr_matrix}{a matrix of expression values to cluster t... |
7233d52a6f0727e89f249ae4ae763114022eac24 | 9032d2c38dd8060bce037372e585de09e9a813d9 | /man/Gcontrol.Rd | 74e701ee6afc090328b320e7020d5b79e7c0bd2a | [] | no_license | huihualee/DLMtool | 34e2dde7b978d71bf356c995d829601d12c6b809 | 2cbec6a21ddf04e44455c6bafde5910a568ffeb9 | refs/heads/master | 2021-01-16T22:27:15.259416 | 2014-09-11T00:00:00 | 2014-09-11T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 946 | rd | Gcontrol.Rd | \name{Gcontrol}
\alias{Gcontrol}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
G-control harvest control rule
}
\description{
A harvest control rule proposed by Carl Walters that uses trajectory in inferred surplus production to make upward/downward adjustments to quota recommendations
... |
631fdd249d065a532a42c517c7b2980b22537e3d | 0e19f4fc4f1908d238934e421a1de8480654ca42 | /HorseRacingPrediction/LogisticRegression/Regression.r | 6d08c7f63729c44e9ed3be117da7590a23fe1814 | [
"CC-BY-2.0"
] | permissive | nitingautam/sa2014 | a7aaf7499463933b57c815afacd4291722a02346 | e8574ffb76c92860e1f13f2895c4423cd3aaa4ca | refs/heads/master | 2021-01-15T18:08:30.516493 | 2015-01-07T13:56:06 | 2015-01-07T13:56:06 | 30,122,732 | 5 | 0 | null | 2015-01-31T19:05:04 | 2015-01-31T19:05:04 | null | UTF-8 | R | false | false | 363 | r | Regression.r | # Load the data and take a look at it.
data <- read.csv("C:\\Users\\Gary\\Documents\\Presentations\\SoftwareArchitect\\HorseRacingPrediction\\LogisticRegression\\Data.csv");
head(data);
# Predict win/lose based on mile time and weight
logit <- glm(Win~MileTime+Weight, data=data, family="binomial");
summary(logit);
#... |
a3af06b64acc3dac9f3b88006f402f518b3d5861 | cd8a77f7c6c09c32ffa6205cac6ba295bb97d838 | /cachematrix.R | e81371461bd8c80711b3cb76f604d0b9f425b5b2 | [] | no_license | tamasfrisch/ProgrammingAssignment2 | 16233dc529d4e4452abb0b4bdf14dedad4963f9f | e648e38c3d821ec9f621d0132facd83ade87a860 | refs/heads/master | 2020-12-25T20:54:10.811425 | 2014-09-16T23:51:21 | 2014-09-16T23:51:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,356 | r | cachematrix.R | ## Coursera Programming Assignment 2
## Scoping exercise
## makeCacheMatrix generates a list, taking a matrix as an input
## The list contains 4 functions, basically methods that set and get the matrix and its cached inverse (invMatrix)
## Note that there is no checking of the values in the setinverse function.
makeC... |
886d873acbe5f1c8f78bbbc52712de445d9db27e | 2cf5744042a9802bc019c0557848db8fbfda0d39 | /man/MRIaggr-plotLesion3D.Rd | a3a1fb412fd4d77293df90a72b61e459c5ce6b7c | [] | no_license | cran/MRIaggr | bcc874f1253ab7b168e4a6d68bc66e8556b7d330 | 099c3227ac60fdad71aa5c1b79bf53b91a92e177 | refs/heads/master | 2021-01-21T21:47:16.132229 | 2015-12-23T23:44:19 | 2015-12-23T23:44:19 | 31,946,742 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,992 | rd | MRIaggr-plotLesion3D.Rd | \name{plotLesion3D}
\title{3D plot of the lesion}
\alias{plotLesion3D}
\alias{plotLesion3D,MRIaggr-method}
\description{
Make a 3D plot of the lesion. (experimental version)
}
\usage{
\S4method{plotLesion3D}{MRIaggr}(object, mask, edge = FALSE, Neighborhood = "3D_N6",
numeric2logical = FALSE, spatial_... |
9a172a862b18638a712cf2eb6e9f3ebe3fda6ff4 | e42721b2bf31675a294e14b2d59111a1b83de58b | /R/GSE27034.R | bc41246f917d383784f554bfd402af374aa21345 | [] | no_license | szymczak-lab/DataPathwayGuidedRF | d60fdd2a07cf69359f147b7956a27b03d1b9dd02 | 8af8869378e6aae27b727f1417e51c30564f4a34 | refs/heads/master | 2020-12-11T06:42:48.292639 | 2020-01-27T09:16:50 | 2020-01-27T09:16:50 | 233,790,509 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 746 | r | GSE27034.R | #' GSE27034
#'
#' This is a preprocessed hallmark data set with COAGULATION as target pathway.
#' A Genome U133 Plus 2.0 Array is utilized to analyze peripheral artery disease in blood tissue. The study was performed in an unpaired design.
#'
#'
#' @docType data
#' @keywords datasets
#' @name GSE27034
#' @usage data(... |
1caf576d45ec5e28392471afa6a7b7946157b581 | b3db9e15f1112a4ac9d58213396d6a6fff5e8e6f | /man/lasso.Rd | c8dd2ce62b932e46feebcdb47c40ff43ca902ee8 | [] | no_license | Yannuo10/BIS557-HW4 | 700300059bef7ce37090430d0db0e5b51f01f66d | 9d558ffab0dbb8308a91eb37157d25e51a70f60b | refs/heads/main | 2023-01-16T05:06:56.773266 | 2020-11-23T08:17:25 | 2020-11-23T08:17:25 | 315,206,771 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 602 | rd | lasso.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lasso_py.R
\name{lasso}
\alias{lasso}
\title{lasso() function}
\usage{
lasso(form, df, contrasts = NULL, lambda)
}
\arguments{
\item{form}{a formula;}
\item{df}{a data frame used for the function;}
\item{contrasts}{a list of contrasts for f... |
e4a7413b9a7b392f8d934deecd99a6c1dc7d1407 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/fDMA/R/fDMA.R | 299acc8b78d2cac82ce128b3110d5f6ddd66ecf3 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 34,298 | r | fDMA.R |
fDMA <- function (y,x,alpha,lambda,initvar,W=NULL,initial.period=NULL,V.meth=NULL,kappa=NULL,
gprob=NULL,omega=NULL,model=NULL,parallel=NULL,m.prior=NULL,mods.incl=NULL,
DOW=NULL,DOW.nmods=NULL,DOW.type=NULL,DOW.limit.nmods=NULL,progress.info=NULL,
forced.model... |
2ba52d2323b30132bf106e43b4483b2f648a217b | d06f4860f0815281085689b706a923740476b386 | /landing/code/newsletter/src/Create_report.R | 8db61e73c24f675c2dac3dc561a503c8bb24197a | [
"Apache-2.0"
] | permissive | jacobgreen4477/withmakers.github.io | b94d3a9e6247e161328224761047ad3478f4e436 | 28d3b68572b195f9bc84a44f32d31228dd31a16b | refs/heads/master | 2022-01-08T21:31:08.236198 | 2019-05-15T11:55:35 | 2019-05-15T11:55:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,320 | r | Create_report.R | # title : Write weekly report
# author : Hyunseo Kim
# path
path_local <- "C:/Users/user/Documents/ds/2econsulting/newsletter/"
path_git <- "C:/Users/user/Documents/2econsulting.github.io/data/newsletter/"
# Set today and wordcloud's url, subject
today <- gsub("-","",Sys.Date())
fileName <- paste0(path_local, "inpu... |
5f47a415ea9fccacd149f5bc77d0f0114047bdd6 | 142283d08a3e4d48c76f3837a891f528bc1900c4 | /man/get_providers_table.Rd | 7e7224769db830b298ed4430129b8d49bc6294b3 | [] | no_license | pachevalier/WidukindR | 6f57731c86f2ada9214381642a51cdee5aa4dd84 | f1c467956274bf9fec5e5d8ce6fe0643e5b8c629 | refs/heads/master | 2021-01-01T03:55:23.953998 | 2017-04-06T15:53:47 | 2017-04-06T15:53:47 | 56,228,009 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 357 | rd | get_providers_table.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_providers.R
\name{get_providers_table}
\alias{get_providers_table}
\title{Get Providers Table}
\usage{
get_providers_table()
}
\value{
a tibble
}
\description{
This function returns a data frame with data on providers
}
\examples{
get_pro... |
7733b9ffe18da8cc11f890774363c4f3479f1a0c | e853edce6dc05ffa97588aba87cefad284acc8d4 | /Rank 1/1_data_cleaner_basic.R | f543f649c2b0f025a2ba8965d34c52868c9b4137 | [
"MIT"
] | permissive | BenJamesbabala/The_Ultimate_Student_Hunt | 3cbf66d8f55985da0e9b51252263617cc312d404 | edef8e81a07f7aacf67caf290ceaf5f3dba79b8d | refs/heads/master | 2021-05-04T08:42:02.427769 | 2016-10-07T09:30:05 | 2016-10-07T09:30:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,184 | r | 1_data_cleaner_basic.R | library(caTools)
library(lubridate)
#---------------------------------
# Reading the train and test sets.
#---------------------------------
train <- read.csv('Train.csv', stringsAsFactors = FALSE)
test <- read.csv("Test.csv", stringsAsFactors = FALSE)
#--------------------------------------------------------------... |
52f3a8e2c984db3d28bdc4cc78a3bf5f5c28c74f | 5845a56588bef70f613a610d23f7833069f6dab2 | /pkg/R/alignment_plot.R | 49170cf5cf48d32b9371e0540851563f889f5ae0 | [] | no_license | DrRoad/dataquality | fdc537b0d2e71785253bf8b3423dbd022a3177ff | 96d930ef6469b73b8eb6a4db29273772f457bc2a | refs/heads/master | 2022-01-27T07:03:35.073584 | 2013-11-25T10:05:39 | 2013-11-25T10:05:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,835 | r | alignment_plot.R | alignment.plot <- function(src.nrow, ref.nrow, matched.nrow, src.name="source", ref.name="reference") {
require(RColorBrewer)
require(grid)
grid.newpage()
datnames <- c(src.name, ref.name)
datwidths <- convertWidth(stringWidth(datnames),unitTo="npc", valueOnly=TRUE)
parts <- c(src.nrow - matched.nrow,
... |
06eb716b3cccd621f92896fec284adb9e4c4a556 | 0ad2a36dcd4191ac4da79933f66f08855489b934 | /man/kmModel.Rd | 835d1b9f0d0ed22c0eef16b0e72c4402085ab343 | [] | no_license | schiffner/mobKriging | 75f3f035b70d314361f3f117c492cbcb399007b4 | 3fac343fd86cac72f032b2a148c62d4dfde8f20d | refs/heads/master | 2021-01-22T01:04:40.175978 | 2014-08-13T20:17:21 | 2014-08-13T20:17:21 | 22,139,892 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,571 | rd | kmModel.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\docType{data}
\name{kmModel}
\alias{kmModel}
\alias{kmModel-class}
\title{\code{kmModel}}
\format{\preformatted{Formal class 'StatModel' [package "modeltools"] with 5 slots
..@ name : chr "kriging model"
..@ dpp :function (formula, data = list(), ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.