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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bef205a271e56ef3f52fdd16b70153bc325e50ae | bbe35176b05f886a37b2b9f79fd23d59feba5cd4 | /man/tri2cor.Rd | 8692302fea6cd2e6708790d808eb5f6b07689728 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | wjschne/WJSmisc | 5f91a5195c550db66ee7fe51e0bab90c0f4e64ed | 85d58415775ff5f004d101ad2478e4c2b02fe8ba | refs/heads/master | 2023-06-08T21:13:48.444893 | 2023-05-31T14:12:31 | 2023-05-31T14:12:31 | 211,534,399 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 446 | rd | tri2cor.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/main.R
\name{tri2cor}
\alias{tri2cor}
\title{Create square correlation matrix from lower triangle}
\usage{
tri2cor(x, variable_names = NULL)
}
\arguments{
\item{x}{vector of correlations}
\item{variable_names}{a vector of variable names}
}
\... |
4df8c20d44de9f21400d16005255d02757371f6e | fac56cba38e4919be45519605837165d85835fff | /man/country_codes.Rd | b74319dbbb5ecd90088e7b5aa59af986ece70a23 | [] | no_license | mmparker/to1check | 28cb87273ce41e442edc674fd70d4b842052afdd | 808d1bc447760c618af7747d9cee1206ecb43333 | refs/heads/master | 2016-08-06T07:19:13.231958 | 2014-05-29T15:43:52 | 2014-05-29T15:43:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 493 | rd | country_codes.Rd | \docType{data}
\name{country_codes}
\alias{country_codes}
\title{Countries by name and their ISO 3166-1 alpha-3 codes.}
\source{
\url{http://en.wikipedia.org/wiki/ISO_3166-1_alpha-3}
}
\description{
A dataset containing the names and three-letter ISO country
codes of 249 countries, dependent territories, and special
ar... |
89f14093b5b775289f77a29bed8a1aa7a6141177 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/palettetown/examples/ichooseyou.Rd.R | d1a1aedaf9abb31c83d9d1504b27577b9ebb1ddc | [] | 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 | 228 | r | ichooseyou.Rd.R | library(palettetown)
### Name: ichooseyou
### Title: Get a pokemon palette. Alias for pokepal.
### Aliases: ichooseyou
### ** Examples
library(magrittr)
pal <- 'Hoothoot' %>% ichooseyou
pal2 <- 'Pichu' %>% ichooseyou(6)
|
b33d208de376bc9b863408c3b57a89795a52f966 | 0841838ba8723e94b37a1514409a5a9767cbf181 | /MESA_project/code/haplotype_inference/MESA_clean_lab_key.R | 7adc6eea8f3d5a3af5cbe5ef6a9028b5d58f6978 | [] | no_license | kelseysumner/taylorlab | cfa2358b5c552e7853b111de12940983d081de6a | 8801f5d32b7f81f2a66b3efd763cc18c5d35f42b | refs/heads/master | 2021-08-07T03:55:06.004801 | 2021-06-20T21:29:08 | 2021-06-20T21:29:08 | 150,612,627 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 16,390 | r | MESA_clean_lab_key.R | # ------------------------------------ #
# MESA Clean Lab Key #
# October 10, 2018 #
# K. Sumner #
# ------------------------------------ #
#### ----- load the necessary libraries ----- ####
library(tidyverse)
#### ----- read in all data sets ----- ###... |
6bf617e944f4b42fe82c4f6578348dfd1a861e9e | 1d9f5371e86b802c620b4c0adfef7bc5053c319a | /_drake.R | 5c6d2abb5be5dc91b1dbd17d1e794830d0efb3be | [
"MIT"
] | permissive | pat-s/2019-feature-selection | 340c44f527a3210511b0a8ebbf7b80dae55ca6c3 | 63468571dfe8774250e26a418c3034e6da28db38 | refs/heads/main | 2021-12-29T16:41:40.582468 | 2021-12-18T17:11:09 | 2021-12-18T17:11:09 | 119,857,222 | 26 | 12 | NOASSERTION | 2021-12-06T19:34:07 | 2018-02-01T15:49:49 | R | UTF-8 | R | false | false | 2,487 | r | _drake.R | # load R packages --------------------------------------------------------------
source("code/099-packages.R")
# create log directory
fs::dir_create("log")
library("drake")
library("magrittr")
library("conflicted")
conflict_prefer("target", "drake", quiet = TRUE)
conflict_prefer("pull", "dplyr", quiet = TRUE)
confli... |
a8846d907d34579d9e9999f2833ec3d812b68e2e | e35cb922fc6761880140eed88c9af4ed84e43ecd | /man/fun_enrich.Rd | f166eadb2790bf2da18ba9aa4554fb45d2706a10 | [
"MIT"
] | permissive | galanisl/FunEnrich | bff4e21eea9a863a82485847ca0690029fdafab2 | df9329156613cc4f21902919e7fd6c5b58a6821e | refs/heads/master | 2021-01-20T02:54:50.813701 | 2017-07-31T07:16:34 | 2017-07-31T07:16:34 | 89,466,750 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,789 | rd | fun_enrich.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/func_enrich.R
\name{fun_enrich}
\alias{fun_enrich}
\title{Perform BP, CC, MF and REACTOME enrichment analyses}
\usage{
fun_enrich(gene.list, background, id.type = "ENTREZID", benjamini = F)
}
\arguments{
\item{gene.list}{character; A vector w... |
e8f345efe8c1bf0cc028859c2e4e24d01925f5aa | 992a7655ab00edb8c9416b7ea57927b86f187394 | /Codes-tous-projets/GS_Codes-graphiques_Exemples.r | 6e552691629d34da872fad7c3001c8e5e0a7c480 | [] | no_license | lauratboyer/cw-ginger-soproner | f57de9e1c75e398bbc8d6518695f496949e3e95c | 6c0039ba5d3b77c0106b4220798729a2b3d0ae21 | refs/heads/master | 2021-01-18T22:38:40.383647 | 2016-05-01T23:38:49 | 2016-05-01T23:38:49 | 7,609,161 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 87 | r | GS_Codes-graphiques_Exemples.r | fig.2var(var1="Campagne", var2="Geomorpho", typ.fig="point")
fig.2var(typ.fig="point")
|
d04b0ff068dad170b6c0ebc5fd52e2f869351592 | 59a08c32ad43ed83b39c5572aa898d26cce75f0b | /[19-2] Statistical-Computing/sc_assignment_04.R | 170d2ad769bbb8dfddfafa507d5887a997d796f0 | [] | no_license | yourmean/Statistics | bf2d1c85a732e3e0137c7a7c62ece4477de6daa1 | 914df3ae0fb7fac67fe9bee387002df504d29ebb | refs/heads/main | 2023-03-15T01:45:05.307720 | 2021-03-20T12:54:21 | 2021-03-20T12:54:21 | 332,705,631 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,316 | r | sc_assignment_04.R | # Q1 ------------------------------------
# 승산합동법 함수에서 U[0,1] 따르는 난수 100개 생성
random_uni = function(n, seed){
for(i in 1:(n-1)){
seed[i+1] = ((16807*seed[i]) %% 2147483647)
}
return(seed/2147483647)
}
ran_seed = random_uni(n = 100, seed = 2020)
ran_seed
## [1] 9.406358e-07 1.580927e-02 7.063320e-01 3.227508... |
43f5d86ca3e5d001fe0107acf2fed2971d3acd9c | 51a9040d886b1b6894e0786aeb60a1469aeb34c1 | /theory/R_script_plus_data/Confronti ML.r | 95e9bd76d9a73d4ce3bd640a8d1de87c76076c59 | [
"MIT"
] | permissive | franec94/R-Script-Analyses | a566f453a0089f44fb7faf8de5bba9c8dbb440d2 | a9c875759f63b63ceeeb7d44b98092dce075a7e1 | refs/heads/master | 2022-11-14T22:46:38.727969 | 2020-07-11T10:19:01 | 2020-07-11T10:19:01 | 276,652,456 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,207 | r | Confronti ML.r | #### #### #### #### #### #### #### #### #### #### ####
####
#### Confronti tra Machine Learning approaches
#### https://machinelearningmastery.com/compare-the-performance-of-machine-learning-algorithms-in-r/
#### #### #### #### #### #### #### #### #### #### ####
rm(list=ls())
# libraries
library(mlbench)
library(... |
c9dd5383f9b2be61c39a857ab4ca0c3983699626 | 6feb3311bf37803cf677985384487d00825394f4 | /plot4.R | fe039d1373c4616ac002c169e604c9c04aa6fb0a | [] | no_license | PaulaRoberts/ExData_Plotting1 | 0346ee50ddf08263f12d400b1863c8e5b29c16a9 | e393213759554fe5edcc1340a5b4d813ac85fa96 | refs/heads/master | 2021-01-24T03:57:36.274801 | 2015-03-07T23:06:34 | 2015-03-07T23:06:34 | 31,651,981 | 0 | 0 | null | 2015-03-04T10:46:55 | 2015-03-04T10:46:55 | null | UTF-8 | R | false | false | 2,055 | r | plot4.R | # This script creates the fourth plot for Exploratory
# Data Analysis, Assignment 1
# This plot displays 4 plots in a 2x2 fashion
# Download and extract the data file
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
install.packages("downloader")
library(downloader)
down... |
96205b318d960d7900677763c92e94e2ce519d87 | fce7e69b92cef1138e434fd5bac9223d2d8b7055 | /Module09/Conte_ModuleHW9.r | 45a791a52db0921e47bba986aaca94ae16f9d09f | [] | no_license | contej/Statistics_for_Bioinformatics | 958ee8d717dcee5674f3d1770ce5122c68bc76b3 | 8ec73214349b72d8f63fcbb3b6b1f731d0ce2b45 | refs/heads/master | 2021-01-23T01:12:33.938462 | 2017-05-30T17:32:18 | 2017-05-30T17:32:18 | 92,858,560 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,964 | r | Conte_ModuleHW9.r | rm(list=ls()) #clears environment
cat("\014") #clears the console in RStudio
#Problem 1
data(golub,package="multtest") #Load golub data from multtest package
#The row number of the GRO2 gene.
grep("GRO2 GRO2 oncogene",golub.gnames[,2])
#The row number of the GRO3 gene.
grep("GRO3 GRO3 oncogene",golub.gname... |
044cabf0ad98717588723c66094b3d07a58bc47d | 29585dff702209dd446c0ab52ceea046c58e384e | /SimHaz/R/method1.R | ccd2782fad1566a1b138bc52c608d606cd3b4ee5 | [] | 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 | 5,901 | r | method1.R | ### method 1
simulWeib <- function(N, duration, lambda, rho, beta, rateC,exp.prop, min.futime)
{
# covariate --> N Bernoulli trials
expose<-rbinom(n=N,size=1,prob=exp.prop)
# Weibull latent event times
v <- runif(n=N)
Tlat <- (- log(v) / (lambda * exp(expose * beta)))^(1 / rho)
# censoring times
C... |
0c53abff30b7cda523ee648dadc6b398b10407bf | 5726af6f671d6cc37b5d9e8e2b1e5fac946e357b | /Michael/Scratch.R | 38419477f7025f1e9b059cf7c7c792d2d205f979 | [] | no_license | michael-huber2772/STAT5650_Final_Project | 4f2ca34371e0b4a9fe4212df0e12ac75fd5ee477 | 870280e06b9f49af1979005567695723f5a9c49d | refs/heads/master | 2022-06-20T20:15:09.243538 | 2020-05-10T16:53:11 | 2020-05-10T16:53:11 | 256,347,058 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,013 | r | Scratch.R | library(ggplot2)
library(gridExtra)
library(MASS)
library(vioplot)
library(verification)
library(caret)
library(rpart)
library(e1071) # SVM
library(gbm) # GBM
library(klaR)
library(dplyr)
hotel = read.csv("../Data/hotel_bookings.csv")
hotel1 = subset(na.omit(hotel), select = -c(country, agent, company, reservation... |
486cbe1f43e3f8716703125284e46811f8793283 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/OpenRepGrid/examples/indexPvaff.Rd.R | 7e845ec04f2aad079d57c8b3af4e7e3e2ca53c44 | [] | 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 | 281 | r | indexPvaff.Rd.R | library(OpenRepGrid)
### Name: indexPvaff
### Title: Percentage of Variance Accounted for by the First Factor (PVAFF)
### Aliases: indexPvaff
### ** Examples
indexPvaff(bell2010)
indexPvaff(feixas2004)
# save results to object
p <- indexPvaff(bell2010)
p
|
075c8d13700db375ad6ad8e5c8613d9ba3796435 | 2ba22f489011cfb61d6727ab522bf3904f78eefc | /man/simil_groups_cata.Rd | d86e78b2181e14ead1259529576cb3237d24ddd8 | [] | no_license | cran/ClustBlock | 847297472d9cc6f05bad33b23fd78a48938dead7 | eed656e469929805b6c72f465912c965fe9f580f | refs/heads/master | 2023-07-07T05:26:15.786420 | 2023-06-29T17:00:02 | 2023-06-29T17:00:02 | 174,553,356 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,811 | rd | simil_groups_cata.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simil_groups_cata.R
\name{simil_groups_cata}
\alias{simil_groups_cata}
\title{Testing the difference in perception between two predetermined groups of subjects in a CATA experiment}
\usage{
simil_groups_cata(Data, groups, one=1, two=2, ... |
dbb9e4e85f50466851735af5614b2143d1ad9f8b | d07d30d3544f6b59be3bc81b29298b9edcddff1b | /save_my_file.R | 9385a366f84b960848fe3f52fa2fc4bc2d6b376a | [] | no_license | brouwern/FUNCTIONS | 9569a3521abfe32bdef06d02ed86b4f661d97c2e | 010a8c46efc22d5f01aa9ce65e73953b0d2a9c58 | refs/heads/master | 2021-01-01T16:36:43.262233 | 2017-07-28T17:12:38 | 2017-07-28T17:12:38 | 97,870,653 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 706 | r | save_my_file.R | save.my.file <- function(object.,
abs.root. = abs.root.,
rel.dir. = rel.dir.,
file.name.,
extension){
full.name <- paste(abs.root.,
rel.dir.,
file.name.,
... |
adbcd98b91204596830d667e368832da677c16cb | b2eeb5e69ce34680a1aeb6259a549cf0d8153978 | /R/CEUDataRd.R | 8fc7dfccd013bb8afd3e3d9cb2dd32204fd7d255 | [] | no_license | SFUStatgen/LDheatmap | abb3444304c6185287436fc482ae5b45c06f7cfc | 510c60056c371127c4a2fc63c0d1b032717bde62 | refs/heads/master | 2023-03-09T17:57:04.521184 | 2023-02-24T01:15:32 | 2023-02-24T01:15:32 | 131,069,485 | 11 | 5 | null | null | null | null | UTF-8 | R | false | false | 1,353 | r | CEUDataRd.R | #' @name CEUSNP
#' @aliases CEUDist
#' CEUSNP
#' CEUDist
#' hapmapCEU
#' @docType data
#' @title Example data set for LDheatmap
#'@description CEUSNP: Genotypes on 15 SNPs for 60 people
#'
#'CEUDist: Physical map positions of the 15 SNPs in CEUSNP
#'
#' @usage data(CEUSNP); data(CEUDist)
#' @format CEUSNP: A datafram... |
e79b32c7cc37b36b5c761f1f38eb24664ceefbde | 7035407d841fc5c60459f96d63d30cdda1322f67 | /Zero Inflated Poisson model for distribution for 5m 2014-4-21.R | 2081bc07fbb287543de20e7273135dbdaf377d2b | [] | no_license | wangbinzjcc/DeadStandingTrees | cafd634b7e193df5fdea57ad97b6b1f5a2f17adb | f3d95f7e93927ce5c05fea5012588a1a92feb142 | refs/heads/master | 2021-01-02T08:52:48.246776 | 2014-04-22T18:40:25 | 2014-04-22T18:40:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,376 | r | Zero Inflated Poisson model for distribution for 5m 2014-4-21.R | #################################################################
# zero inflated model for distribution wangbinzjcc 2014-4-21
#################################################################
#
# rm(list=ls())
#############################
setwd("F:\\DataW\\DeadStandingTrees")
dir()
##
#dea.5 <- read.csv("DeadData... |
c8d420bca5a1ceb4f1f16d3b617a7babd2fb5459 | 46025f750d612169f2e335133f44e0deb243127a | /Test Functions.R | 82bae488da73e0ebba1fd5292219252080970a00 | [] | no_license | jamesijw23/spades_game | c78e848aef2e5c434d2e0ba0f87470c1444ea100 | e51902a827b42aebf9f160f2fdb985612a59f81e | refs/heads/master | 2020-12-20T20:04:55.209026 | 2020-01-25T16:50:06 | 2020-01-25T16:50:06 | 236,196,131 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,059 | r | Test Functions.R | #####
## Finds out whose turn it is based on who
## won last
#####
determine_turn = function(turn1){
turn2 = turn1+1;
turn3 = turn1+2;
turn4 = turn1+3;
if (turn2 > 4 ) {turn2=turn2-4;}
if (turn3 > 4) {turn3=turn3-4;}
if (turn4 > 4) {turn4=turn4-4;}
return(list(turn2=turn2,turn3=turn3,turn4=tu... |
f1a8e86d36d88fcbf16f06e97af98e3936d17ac3 | 0ffa92734e4571b7c73a09056c056eb443bcf317 | /man/multiverse.plot.Rd | 0ed3b04e98e7f200388a54c1cae92859a00a0b8e | [] | no_license | cran/splithalf | e37ade35d0d6394625efcda27523c5934a44af46 | 68800b85ffdd0c2c99b971a557d50e57c3807564 | refs/heads/master | 2022-08-28T17:37:51.085813 | 2022-08-11T13:30:02 | 2022-08-11T13:30:02 | 87,544,080 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 6,450 | rd | multiverse.plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_multiverse.R, R/threshold.R
\name{multiverse.plot}
\alias{multiverse.plot}
\alias{threshold}
\title{Visualising reliability multiverses}
\usage{
multiverse.plot(
multiverse,
title = "",
vline = "none",
heights = c(4, 5... |
5616a0ecb041eb9f1c2779e2cdf823d56a260391 | 257ffc3438528729b62bc3e7abc24eea2be6193e | /man/write.xts.Rd | 415d40f08e243767dc862ba8a08c53d069ef6fb5 | [
"MIT"
] | permissive | SHUD-System/rSHUD | 91e1ae7f077cf5efa52575a32ed4e692ed8034b9 | 1915a9cf2b241a1368b9768251b2f140454bd94e | refs/heads/master | 2023-07-06T11:07:18.335307 | 2023-07-01T15:08:11 | 2023-07-01T15:08:11 | 224,737,854 | 6 | 0 | null | null | null | null | UTF-8 | R | false | true | 371 | rd | write.xts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/writeInput.R
\name{write.xts}
\alias{write.xts}
\title{Write xts data out into file
\code{write.xts}}
\usage{
write.xts(x, file, append = F)
}
\arguments{
\item{x}{xts data}
\item{file}{file name}
\item{append}{whether append}
}
\descriptio... |
594ebdd499e49e046f2a6add1450c907c9832175 | 02dbb451925f35d1abe781360968596eaa59bcbd | /tests/testthat/test-lazy.counter.R | 6d8eaea9f48515372e37c41b761d5e99a5a1810a | [] | no_license | nutterb/lazyWeave | ad68c57edd703e83124fa7267314de1902050c47 | fe7ba16ff61dabcace079a9399050b2610224bac | refs/heads/master | 2021-06-06T04:26:31.480092 | 2018-01-25T00:19:56 | 2018-01-25T00:19:56 | 4,657,725 | 1 | 0 | null | 2015-07-27T00:59:17 | 2012-06-14T00:34:01 | R | UTF-8 | R | false | false | 25 | r | test-lazy.counter.R | context("lazy.counter")
|
c2845b90bfa397fcbb55abd3f0d49ee1b52bcea9 | 2ae68221fbe1fb2d8f9f9e2e5925bb6e4adb1aea | /plot4.R | 7a8d44879cf50e91bde4a0e06fea568bd948b95d | [] | no_license | iggypro/ExData_Plotting1 | f5c037a72b35b8fa0e807e85dd5064d7a042be38 | fe18005665dfdc66c0afe9311ad2970e52a1a81b | refs/heads/master | 2021-01-18T11:34:23.592137 | 2014-06-06T16:53:39 | 2014-06-06T16:53:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,486 | r | plot4.R | ## Exploratory Data Analysis - Course Project 1
## Plot4 script - June 6th, 2014
## Reading data from "Electric Power Consumption" source
readData <- function(path, startDate="01/02/2007", endDate="02/02/2007")
{
skipRows <- as.numeric(
difftime(as.Date(startDate,format="%d/%m/%Y"),
as.Date("17/12/2... |
e18f4b556375c260382cf64d0cf609fca1063e2f | eb84df48022e055e3df06ec26ffb65e106bc4c9e | /R/corsig.R | 6c2d4dd3bfaab27e596c3f0d69e94a2f039701ea | [] | no_license | MarvinLawPhD/datasummariser | 7367b7a91a8ac47dd1b6b95bd2fdf7f0883f26da | 1391c9f1fb239de47ee079584564ce7718247cd0 | refs/heads/master | 2022-12-01T07:31:13.848704 | 2020-08-11T00:16:31 | 2020-08-11T00:16:31 | 285,495,081 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,106 | r | corsig.R | #' corsig
#'
#' This function follows stats::cor results to provide correlation results and
#' significance based on p-values in a table
#'
#' @param .data a dataframe or matrix with numeric values
#' @param decimals the number of decimals that are shown in the correlations
#' @param method methods used based on stats:... |
3f4905c8bb2cfa44f17253c520788b2a60ebc36a | 73fe2ad06a6bf7e9738b3c5857ec7ab5c0e8e2e2 | /tests/testthat/test_packages/r_err_1/R/foo.R | cecdd3eb198abca346b8189d2dee23722acd5221 | [] | no_license | cran/potools | d0f371639ee442d900260b0efacea76dbbdecb67 | b42203fd72955c8337b7d8a78a4e60e6482c50f9 | refs/heads/master | 2023-06-22T01:19:11.394525 | 2021-07-12T06:00:02 | 2021-07-12T06:00:02 | 381,753,937 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 83 | r | foo.R | f1 <- function(x) {
# notranslate start
base::warning("I warned you!")
x+1
}
|
8ec265c133a76a46cd007145a564f4f8df8e2277 | 58da9138afdd901b4b26622132489a0f4298f32c | /Code/Functions/summarize_impacts.R | 490edbe1b88ddb0a4a65b25bc4c0d8434da9371d | [] | no_license | david-beauchesne/FoodWeb-MultiStressors | cc4f11d773d9a0ef054fd6fff46f72c29f7a431d | 0a8782ac10505d8932e4a3cd92b4b2f2b1304410 | refs/heads/master | 2023-04-18T20:45:59.773816 | 2021-06-22T17:20:54 | 2021-06-22T17:20:54 | 188,241,374 | 0 | 0 | null | 2021-04-13T01:14:04 | 2019-05-23T13:38:21 | TeX | UTF-8 | R | false | false | 6,981 | r | summarize_impacts.R | summarize_impacts <- function(ParamInit, ParamImpact, equilibrium, stability, motif) {
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
# Initial conditions (pre-stressor)
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
# Number of parameters in model
nParam <- length(ParamInit)... |
21caf305eee08218177e1d3f8c3705a0a9f7e806 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/GEint/examples/GE_bias_old.Rd.R | a6bbd01e849418c1b15a663ccf75af87243bf0de | [] | 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 | 380 | r | GE_bias_old.Rd.R | library(GEint)
### Name: GE_bias_old
### Title: GE_bias_old.R
### Aliases: GE_bias_old
### ** Examples
solutions <- GE_bias_normal_squaredmis_old( beta_list=as.list(runif(n=6, min=0, max=1)),
rho_list=as.list(rep(0.3,6)), prob_G=0.3)
GE_bias_old(beta_list=solutions$beta_list, solutions$cov_list, solutions$co... |
f25a40402c5eb60bd214cdc6ba7edbedccc68af5 | d89833cb72d19896cbd0865cdc1e419e55d09872 | /tests/testthat/test-seedframe.R | feb3f214e58f8a0e613f24056a71626b6779e4dd | [
"MIT"
] | permissive | mskilab-org/loosends | b9a8c62db6ea9925ad7b91e204289f29cdf17975 | 45a378ae332ebcb6db75a6d9d3e3f3f214300b32 | refs/heads/main | 2023-08-17T09:15:37.251009 | 2023-08-17T01:22:18 | 2023-08-17T01:22:18 | 338,084,700 | 1 | 0 | MIT | 2023-08-17T01:22:34 | 2021-02-11T16:29:36 | R | UTF-8 | R | false | false | 3,936 | r | test-seedframe.R | library(loosends)
inv.bp.gr.fn = system.file("extdata", "tests", "new_caller_1", "inv.bp.gr.rds", package = "loosends")
inv.reads.dt.fn = system.file("extdata", "tests", "new_caller_1", "inv.reads.rds", package = "loosends")
inv.bp.gr = readRDS(inv.bp.gr.fn)
inv.reads.dt = readRDS(inv.reads.dt.fn)
test_that(desc = "... |
5333527ee18c17f6c1427c24e96e544a995912be | 86f84028c88e9a7fb9aa616fb6f263b4ecfce2ac | /R/api_logout.R | d71fb4f8cb3940a64c5eac2cb0350e0e3a93fea8 | [] | no_license | cran/RobinHood | e9a2d1e95927bba10ada8aac423f0b397f966304 | af813c73bd9daea5c030a03e0abf99577b7d8be2 | refs/heads/master | 2023-01-27T22:28:15.564583 | 2023-01-06T18:10:06 | 2023-01-06T18:10:06 | 168,972,005 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 655 | r | api_logout.R | #' RobinHood API: Logout
#'
#' Backend function called by logout(). Sends a logout call and disables your oauth2 token.
#'
#' @param RH object of class RobinHood
#' @import httr magrittr
#' @export
api_logout <- function(RH) {
detail <- paste("?client_id=",
RH$api_request.client_id,
... |
a6b14098c1f4ee53af99c1c1f7e98ec56acfc674 | 4aa737125e5f9d2163f83362564bcbf863a26058 | /man/plotNcluster.Rd | 3529316d9110c61065ce29178f39e3a9f50406f3 | [] | no_license | cran/DoTC | 3199acd8c40d661290d0c19f1761472f9081f407 | 98c2b179e0a482e71b4f861a7fc3bdb26763a496 | refs/heads/master | 2021-04-05T23:31:00.525552 | 2016-06-17T21:20:50 | 2016-06-17T21:20:50 | 61,398,492 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 788 | rd | plotNcluster.Rd | \name{plotNcluster}
\alias{plotNcluster}
\title{Plot the Cluster Solution Across Varying Fuzziness Parameter}
\description{Plot the cluster solution, ie. the number of clusters, as a step function across varying fuzziness parameter \code{m}.}
\usage{
plotNcluster(fkm, ...)
}
\arguments{
\item{fkm}{Result for ... |
34c4cbee5f9ecca68daafc3853e480af30875bc7 | a7b2eaba9bb75f212a433bbfb7af9fa8a801cd6f | /Conflict measures/Codes/Conflict_measures_wave1.R | 48d442cbb2dcbee1df58cdc99456b2093993131a | [] | no_license | bavuwadah/Conflict-Project | 59a0bedc296fc67fb0b519a9dca7edd8721f6475 | 5e188fb0b6321841be69cc7b42536e5daa6b5db2 | refs/heads/master | 2020-08-08T06:37:15.510962 | 2019-10-08T21:48:32 | 2019-10-08T21:48:32 | 213,759,635 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,373 | r | Conflict_measures_wave1.R | ###################################
#
# Conflict measures for wave 1
#
###################################
library(dplyr)
library(lubridate)
library(purrr)
#
# LOADING DATA -----
#
setwd("C:/Users/avuwa/Dropbox (UFL)/Nigeria ag livestock conflict")
## Events dataset
conflict_event <- read.csv("D... |
461779af45938d4c51de2da5b4627330227dedad | fe37eb48de72c5c9f5babf29646f282c92e05bcb | /fn.varpart.in.R | d565d2f215f65d53b548ff21ce5c20c4aa2bc21e | [] | no_license | takayukiyunoki/spatialIBM | 3cd6dee9632a8a1ef628dc749f8ca272bde53f8c | bbcc06329ddc92cd22b1ff81dda6ce7959b56cbb | refs/heads/main | 2023-07-22T22:53:31.419056 | 2021-09-03T17:46:29 | 2021-09-03T17:46:29 | 307,781,650 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 654 | r | fn.varpart.in.R | # Function to calculating the summary statics of variation partitioning for inicial conditions
fn.varpart.in <- function(PCNM.pos, E.trans, pool, pool.t0) {
varpart.in <- data.frame(matrix(, nrow=1, ncol=0))
varpart.in$n.groups.in <- length(unique(pool.t0$groups))
pool$species <- pool.t0$species
LC <- dcast(pool, locat... |
a5a0f7afc51eaffc6ea05e288aae4f047bbe4b61 | 48d0740e681ee0198933ecbaa7aa86f386e5e216 | /Training Scripts/Project/ui.r | 7cd8ac16af7ac308b195ec7a4c43ffdb93a5a9ed | [] | no_license | Barthurmun/Data_Analysis_R | a3e7ce7876410f1a7d7e3085f5db80c101b16edb | 5f412fbac167cd9a3d6b1c11618b3c274bb2de67 | refs/heads/master | 2022-11-30T22:20:51.378529 | 2020-08-15T21:54:22 | 2020-08-15T21:54:22 | 286,578,662 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,284 | r | ui.r | shinyUI(
navbarPage("Amazon fires",
tabPanel("Dynamic",
tags$img(src="brazil.png", style = 'position: absolute; opacity:0.2; width: 100%'),
sidebarPanel(
selectInput("variable", "Please select the chart type:",
list("Total summary" = "state",
... |
30ac8add7391ecaea07957528a398cfc52106dd8 | 8c1ca8e54e57d1b07c5466fb10f200c4a9d62d59 | /R/flux.calib.R | cb24eff659bf625826621c09f75836cc3ca1caaf | [] | no_license | cran/flux | 61651b39bbf1973f5e983cba69ddaae4c20250ab | ecd586b6c04fdff98a9e1a94112aad35e439bde3 | refs/heads/master | 2022-07-13T10:14:57.646989 | 2022-06-26T05:58:11 | 2022-06-26T05:58:11 | 17,696,089 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,886 | r | flux.calib.R | flux.calib <-
function(dat, columns, calib, format = "%Y-%m-%d %H:%M:%S", window = 3, buffer = 1000, n.cg = 4, rl.backup = 20, attach = FALSE){
# defining the function which does the work
flux.cal <-
function(conz.dat, calib, format = "%Y-%m-%d %H:%M:%S", window=3, buffer = 1000, n.cg = 4){
# do not allow NA measu... |
8dc5443c703b7e7afaf87d1dc7c35be6a1f74949 | 24b4a968fc610819ff6c2a2932491da663bd9d59 | /src/pre-processing data and graphics.R | aa001e5d63d249ee1c50a3ad6030d88a4e33c6e2 | [] | no_license | raquelaoki/ProjectSpring2018 | cdd846ae7941835591e884f8182353531735ff21 | 181c80ef3270e6ff036eab555ea4d605c6b76c7c | refs/heads/master | 2022-02-23T22:34:30.886218 | 2019-10-11T20:18:04 | 2019-10-11T20:18:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,461 | r | pre-processing data and graphics.R | #-------#-------#-------#-------#-------#-------#-------#-------#-------#-------#
#2018/07/05
#Raquel Aoki
#-------#-------#-------#-------#-------#-------#-------#-------#-------#-------#
#-----#-----#-----#-----#-----#-----#-----#-----#-----#-----#-----#
#-----#-----#-----#-----#-----#-----#-----#-----#-----#-----#-... |
97d154608787ae2ee257e9d2d933b5278411325a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Sleuth2/examples/ex1512.Rd.R | b42844670d4f1c5701d2318055026129a948b74c | [] | 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 | 176 | r | ex1512.Rd.R | library(Sleuth2)
### Name: ex1512
### Title: Melanoma and Sunspot Activity-An Observational Study
### Aliases: ex1512
### Keywords: datasets
### ** Examples
str(ex1512)
|
0380871d13396e551180c227750b8a4fdb6da05c | 1eb83aaffb3c50b51fbeb2275f90ed68fec385bb | /R/draws.R | f42042ec99443f706f67ad9386756065f40a18fd | [
"MIT"
] | permissive | dkc88/logitr | 77668c66f29e933cad1515789045359c973bc641 | 73c90f5a4461add80f820bbd1fd6ea2ed4240d4a | refs/heads/master | 2023-05-24T07:10:11.744989 | 2021-06-15T22:48:52 | 2021-06-15T22:48:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,743 | r | draws.R | # ============================================================================
# Functions for taking draws for mixed logit models
# ============================================================================
# Returns shifted normal draws for each parameter
makeBetaDraws <- function(pars, parSetup, numDraws, standar... |
d81a14545e3110301b949fe89c8236d7a6e312ef | 33e9d4855433b8942914e94b312333d357c18918 | /man/rkafka.closeProducer.Rd | 5d22e817456afbc5c5d6b2c17b83d496a664c35c | [
"Apache-2.0"
] | permissive | jurbanhost/rkafka | 8c370c20523bb9999afb73730f7a243bdd3afd66 | 27d4e31bdc2f6004087c7466062f2c939f01e36b | refs/heads/master | 2020-05-03T01:30:53.973396 | 2019-03-29T05:47:48 | 2019-03-29T05:47:48 | 178,339,214 | 0 | 0 | Apache-2.0 | 2019-03-29T05:37:10 | 2019-03-29T05:37:07 | R | UTF-8 | R | false | false | 719 | rd | rkafka.closeProducer.Rd | \name{rkafka.closeProducer}
\alias{rkafka.closeProducer}
%\alias{producer}
\title{
KAFKA producer shutdown
}
\description{
This function closes the KAFKA producer
}
\usage{
rkafka.closeProducer(producer)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
\item{producer}{
Producer which is to be te... |
d1b7d70f03620c62c45869ce6c8f46e23496bea8 | 499fb8e6fc432f7af4092ca97689c8e53f14fffa | /man/x2_itemf.Rd | bb8077d9f550ede8428d1d771f10dba92a2fe0d6 | [] | no_license | SICSresearch/LatentREGpp | e2c7229997ad23b96b6cf6adf03b5ee008cb4254 | 7a9ad36af27a039e16ea9ac69ef3333af0690a40 | refs/heads/master | 2020-12-25T18:07:38.933864 | 2017-03-06T03:20:40 | 2017-03-06T03:20:40 | 66,164,535 | 3 | 1 | null | null | null | null | UTF-8 | R | false | true | 577 | rd | x2_itemf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/goodness_of_fit.R
\name{x2_itemf}
\alias{x2_itemf}
\title{Statistical x2.}
\usage{
x2_itemf(zetas, patterns, G, FUN)
}
\arguments{
\item{zetas}{matrix of estimations of the parameters of the items (alphas, d's, guessing).}
\item{patterns}{li... |
995a9c822d9630823b66c8fd13e786347074f700 | e2443f13b2b5b592dd3d5de22f2d08ad63aba4f7 | /app/ui.R | 5e5672aa2b9ea04b6864ed5c0e8f162e2860befd | [
"MIT"
] | permissive | smartinsightsfromdata/maddata | 0129805171f48bf0f96e3754beb97dd4b2e58128 | d343b4fc2402026cd539cac2f9d54ddd81b727d9 | refs/heads/master | 2021-01-17T05:08:16.935168 | 2014-10-23T17:30:04 | 2014-10-23T17:30:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,404 | r | ui.R | require(shiny)
require(rCharts)
shinyUI(pageWithSidebar(
headerPanel("MADtraffic"),
sidebarPanel(
"MADtraffic",
selectInput(inputId = "x",
label = "Choose X",
choices = c('SepalLength', 'SepalWidth', 'PetalLength', 'PetalWidth'),
selected ... |
4b8355c1a5c702b7bfaf7b31284fe76d19d4c680 | c902d3bb683c8d473272192732eed2f05ae2d2cc | /R/unibisect.R | 819c5a35b7d83ccc1b0fcf058646088bf9c1b6be | [] | no_license | dkahle/kumerical | 43210f99d5e4e2d733d2c9533bde28986912cf84 | bb85c1eb777845ecddd1baf780a371528b4afa73 | refs/heads/master | 2020-03-21T03:55:20.270695 | 2018-06-22T01:17:36 | 2018-06-22T01:17:36 | 138,081,169 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,785 | r | unibisect.R | #' Univariate bisection method
#'
#' Find the root of a function between two points a and b using the
#' bisection method.
#'
#' @param f function
#' @param a lower bound
#' @param b upper bound
#' @param tol tolerance, defaults to 10*.Machine$double.eps
#' @param maxit maximum number of iterations
#' @param bisections... |
329635eac24f3c20566cd0e47a5500bf4c06851d | de97146cdd1331a2fe66108baebb1c38a3f43f3a | /example/02.Enrich/SGA/G5-VS-S5.down.R | 29ac0621d457703adf45baad4201899235d0cd7a | [
"MIT"
] | permissive | pengchy/EACO | 4824ee4e39bb4212fb790977a29c3d00df32f2d7 | 4f0e903f14186d260b6a1f2c15cec7178ab2b329 | refs/heads/master | 2020-06-04T03:27:13.112012 | 2015-08-07T02:04:22 | 2015-08-07T02:04:22 | 40,104,538 | 1 | 1 | null | 2015-08-03T05:16:51 | 2015-08-03T04:10:59 | null | UTF-8 | R | false | false | 1,220 | r | G5-VS-S5.down.R |
date()
source("/panfs/home/kang/yangpc/bin/EnrichPipeline/EACO_r20150201/bin/EnrichSGA.R")
source("/panfs/home/kang/yangpc/bin/EnrichPipeline/EACO_r20150201/bin/sort.data.frame.R")
source("/panfs/home/kang/yangpc/bin/EnrichPipeline/EACO_r20150201/bin/Fisher.Chi.test.R")
supplyID <- scan("/panfs/home/kang/yangpc/bin/En... |
45127d2281cfc04be7e018876141695aabffc691 | e0348679a3661bb43f6e08c6218a7b8802db8544 | /2_Script_Leitura_Base_git.R | 3362e2ccc3381e7970e216d1ebbc74219dee610c | [] | no_license | crfaccin/INMET | 1ebad662e73b18b1626cae6e02b4cefc55c42ac2 | 0cf403aafa00459ed97ca92880f8b3b2e0ae3dc1 | refs/heads/master | 2022-02-16T05:08:56.735284 | 2019-09-03T03:39:51 | 2019-09-03T03:39:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,078 | r | 2_Script_Leitura_Base_git.R | library(rvest)
library(tidyverse)
library(httr)
library(XML)
# Lista de estações do INMET
estacoes <- data.table::fread("Estacoes")
#lista_estacoes<-read.csv("estacoes.csv", header = TRUE, sep=";", skip=1)[,3]
# Função que extrai os dados do INMET a partir de um link
# O link deve ser do site do INMET
ler_... |
ba4820fbd5fc0f2c1df07502f00e2e1fa564450b | 9e64931578c45424e26d9296abaa35b76d2e4d9f | /investment/data_prep/sample_4_flowermeasure.R | 95d1671c4dc38bb79cbb99abab12a7e1472bd97e | [] | no_license | dbuona/proterant | 246aee53781c184ecb9b00156928e677240b3298 | e7dbcd0b0e0153bed2a0b87b266111afd9a9fb51 | refs/heads/master | 2023-06-12T14:27:58.639503 | 2023-06-06T18:32:30 | 2023-06-06T18:32:30 | 80,126,531 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 926 | r | sample_4_flowermeasure.R | ### Explore the prunus data
rm(list=ls())
options(stringsAsFactors = FALSE)
graphics.off()
library(stringr)
library("ncdf4")
library(raster)
library(ggplot2)
library("brms")
library(dplyr)
library(purrr)
library(tidyr)
setwd("~/Documents/git/proterant/investment/input")
d<-read.csv("midwest_round1Dec11.csv")
d.measur... |
ad2eb94c0d617bd8bfa4f26357e11247acd64d12 | 1aa181d71afabca430b05437149e1a45ac35d5d5 | /testdata/create_testdata.R | ba05c997dc045a043870fc2e55f1fc092614ff69 | [] | no_license | maxplanck-ie/DGE-viz | fa49a354797cf44b71ff1acbc810fdcb1a787050 | b2660a325629496fcafa857c0a58f51bf4719157 | refs/heads/master | 2023-03-03T07:41:56.213459 | 2021-02-15T12:56:53 | 2021-02-15T12:56:53 | 155,186,623 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,208 | r | create_testdata.R | source('../helpers/helpers.R')
config0 = parse_yaml('../config.yaml')
# BiocManager::install("pasilla", lib = '/rstudio/rauer/Rlib_DGE-viz_3.6.0')
# BiocManager::install("DESeq2", lib = '/rstudio/rauer/Rlib_DGE-viz_3.6.0')
# BiocManager::install("edgeR", lib = '/rstudio/rauer/Rlib_DGE-viz_3.6.0')
lib.dir0 = config0['l... |
c6e0eb3bab0ea3ddbdb733b4cac2884ce2edecf3 | 42d2f0089120491588b857fbffd6a811ade40fd6 | /R/utils.r | aa5b0620249fc9cf8352cce9909f911fd15741c0 | [] | no_license | assaforon/bootkappas | 1429cea310b93fa71188d357b419c5281e21545d | cf5a6be79fe81794f8610d6137abdc6b94b16cb4 | refs/heads/master | 2021-01-15T11:58:23.564635 | 2017-09-15T22:33:05 | 2017-09-15T22:33:05 | 99,637,960 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 482 | r | utils.r | #'
#
#
genperms<-function(orig,B,strata=NULL,boots=TRUE)
{
if(!is.null(strata))
{
if(length(strata)!=length(orig)) stop("Length mismatch.\\n")
orig=paste(strata,orig) ### appends strata ID to individual ID to avoid ID aliasing
resort=unlist(lapply(split(orig,strata),identity)) ### rearranges obs in blo... |
4682a7670d4fae0620410376cb4e30827cfc5c84 | e2c990cc4e5f9f1d3f1eca68a237da8c78d6125a | /tests/testthat/test_ArraySchema.R | 5b3632ce23fa791352866fa2342c3629fbd73333 | [] | no_license | wrathematics/TileDB-R | 2e32727f3054bc303c4ed69796d453ceaf8ac34e | cfd461d92ce3b6a33e8c6946284c26a499084ae0 | refs/heads/master | 2020-03-15T08:01:40.849145 | 2018-05-03T19:52:45 | 2018-05-03T19:55:46 | 132,042,246 | 0 | 0 | null | 2018-05-03T19:46:30 | 2018-05-03T19:46:29 | null | UTF-8 | R | false | false | 2,840 | r | test_ArraySchema.R | library(tiledb)
context("tiledb::ArraySchema")
test_that("tiledb::ArraySchema default constructor works", {
ctx <- tiledb::Ctx()
d1 <- tiledb::Dim(ctx, domain=c(1L, 100L))
dom <- tiledb::Domain(ctx, c(d1))
a1 <- tiledb::Attr(ctx)
sch <- tiledb::ArraySchema(ctx, dom, c(a1))
expect_is(sch, "ArraySchema")
}... |
09eef3b5c30d8958828bff37e223550e60131c83 | 1c5e993681ab00b3eb698d05f84e1daf2b4723e9 | /man/sampleBxy.Rd | 19955dd7da885b8450a9af6cb77bd56640ab7c16 | [] | no_license | cran/EDISON | d4e9ecb9187ec33efa2276d00ca5b37a487159e1 | 9d3d3660629fe0ee9fa81697452c47369485fa3a | refs/heads/master | 2021-01-21T21:55:02.171225 | 2016-03-30T21:04:12 | 2016-03-30T21:04:12 | 17,678,892 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 777 | rd | sampleBxy.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sampleBxy.R
\name{sampleBxy}
\alias{sampleBxy}
\title{Sample regression coefficients.}
\usage{
sampleBxy(xi, y, Sig2, delta2)
}
\arguments{
\item{xi}{Response data.}
\item{y}{Target data.}
\item{Sig2}{Sigma squared.}
\item{delta2}{Signal-t... |
0dc2979b472b21a6d8d435d459f942ea9de6918b | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.security.identity/man/cognitoidentity_list_tags_for_resource.Rd | ac6bb2c7aa38738027e1207a1c801a20fe2a549a | [
"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 | 997 | rd | cognitoidentity_list_tags_for_resource.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cognitoidentity_operations.R
\name{cognitoidentity_list_tags_for_resource}
\alias{cognitoidentity_list_tags_for_resource}
\title{Lists the tags that are assigned to an Amazon Cognito identity pool}
\usage{
cognitoidentity_list_tags_for_resour... |
3678f3bd5d2788997658af2b490d505eba7f73f4 | 10c2dbb072e022a11a61f3a86d7f327cae85aa6e | /man/vep_region.Rd | 7c8684c8e58d1d5ab1a634ba3684a08c7c0c9f09 | [] | no_license | dwinter/rensembl | 3dda8f10637de87d1663b4a4771baddc2322c8f4 | 2225df9968dfb1ad8bc3c9c6d1cc8c950cd65453 | refs/heads/master | 2020-05-30T05:44:51.784053 | 2016-10-25T21:20:21 | 2016-10-25T21:22:56 | 29,898,025 | 2 | 3 | null | 2015-10-12T18:13:29 | 2015-01-27T04:55:32 | R | UTF-8 | R | false | true | 370 | rd | vep_region.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vep.r
\name{vep_region}
\alias{vep_region}
\title{Fetch variant consequences from regions}
\usage{
vep_region(region, species = "human", format = "json")
}
\description{
Fetch variant consequences from regions
}
\examples{
vep_region(c("21 26... |
c463e72e38d53ba9cb5167a3c8b7b36a06fb115a | 4a5266a00d51e309496527eea724a2133988d23a | /scripts/plots.R | 63b837cba5ec7fbfef38d599b6f769921d7757cb | [
"MIT"
] | permissive | clint-leach/optimal-design | b33522c2fc87fc4246d89cbff527509394b1e637 | 81e237dd365a135bb46f32bf39d92dd7c5104de1 | refs/heads/master | 2023-04-12T04:47:18.346349 | 2021-08-09T17:49:42 | 2021-08-09T17:49:42 | 277,606,855 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,684 | r | plots.R | library(magrittr)
library(plyr)
library(ggplot2)
library(patchwork)
library(reshape2)
# Reading in output from julia code
data <- readRDS("output/data.rds") %>%
arrange(sample(1:100, replace = FALSE)) %>%
mutate(lat = rep(1:10, 10),
lon = rep(1:10, each = 10),
y = as.numeric(y))
post <- readRD... |
ed1afbf396bdd92447019851c132a815a4bbe360 | 43418fa45f03b4c68c9e6f6fcefdec462105f6ee | /man/eV2L.Rd | 925fb5fd9a26de499d2c9e796e01182353cc2a65 | [] | no_license | cran/dielectric | 9e66a9271b93042cb0d31de23be8f496663ee687 | 6c0e1164e5ba3c1da87a9b014c701d1236cbb0de | refs/heads/master | 2020-04-06T03:31:31.574027 | 2012-03-04T00:00:00 | 2012-03-04T00:00:00 | 17,695,498 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 266 | rd | eV2L.Rd | \name{eV2L}
\alias{eV2L}
\title{eV2L}
\usage{
eV2L(energy)
}
\arguments{
\item{energy}{energy in eV}
}
\description{
Unit conversions
}
\details{
Unit conversions
}
\seealso{
Other conversion: \code{\link{L2eV}}, \code{\link{L2w}},
\code{\link{t2eV}}
}
|
a848a501e9d4844dfe3947be591f6d1bd5e4cd59 | 83bfc2ffa4b4e28c1c6ea877c204931980a3e99d | /reports/PCB_resampling/PCB_total_glasso_graph.R | a3ac3d66f001d68695c7b3f3b95b917d9d4e123b | [] | no_license | wal615/prime_project | 0d555626292a713d94700e565363681e2e2e514e | 8a85b47ecbcaf4419ca33588fd607019226bf3ca | refs/heads/master | 2022-07-04T20:58:33.789355 | 2020-05-05T20:13:16 | 2020-05-05T20:13:16 | 111,431,232 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,822 | r | PCB_total_glasso_graph.R | library(data.table)
library(tidyverse)
library(ggforce)
setwd("~/dev/projects/Chen_environmental_study/")
### fixed fixed
# lasso
load(file = "./result/PCB_resampling/simulation_result_list_fixed_fixed_total_glasso")
table_fixed_fixed <- rbindlist(result_list_fixed_fixed_total_glasso)
total_glasso <- table_fixed_fix... |
576a96b13fd8d1e83cc3452bc9e7864b9aefb6e2 | 1e9c9f2a9639db7cdb032aae69cb4d99aef1d3a5 | /dataCamp/openCourses/dataAnalysisAndStatisticalInference/4_foundationsForInferenceSamplingDistributions/5_question2.R | f839565215004b672a8713b8234c535615627b65 | [
"MIT"
] | permissive | sagarnikam123/learnNPractice | f0da3f8acf653e56c591353ab342765a6831698c | 1b3b0cb2cff2f478006626a4c37a99102acbb628 | refs/heads/master | 2023-02-04T11:21:18.211654 | 2023-01-24T14:47:52 | 2023-01-24T14:47:52 | 61,184,927 | 2 | 1 | MIT | 2022-03-06T11:07:18 | 2016-06-15T06:57:19 | Python | UTF-8 | R | false | false | 1,004 | r | 5_question2.R | # Question 2
#######################################################################################################################
#
# If we're interested in estimating the average living area of homes in Ames using the sample,
# our best single guess is the sample mean: mean(samp1).
#
# Depending on which 50 homes ... |
0185c9957218f08ccfc423618b84819da50c323a | 02649b1fb964689f49e87c4c5ac906f17cd73760 | /man/GenerateSeriesToCutoff.Rd | 594bf570431d5e990be84140a46a707d33870d46 | [] | no_license | grieman/grieman | 02e4058e679d17610e6a28004fa044883c9390f3 | 6acf5cd5be335ad340fda40a01bf5a3480fcdced | refs/heads/master | 2021-01-18T17:54:44.693810 | 2017-07-31T20:30:54 | 2017-07-31T20:30:54 | 86,822,985 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 828 | rd | GenerateSeriesToCutoff.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GenerateSeriesToCutoff.R
\name{GenerateSeriesToCutoff}
\alias{GenerateSeriesToCutoff}
\title{GenerateSeriesToCutoff}
\usage{
GenerateSeriesToCutoff(N, mu, sigma, cutoff_point, starting_point)
}
\arguments{
\item{N}{Maximum length of series}
... |
742525a17c45c28bc37e6f8665df486d0acd3665 | 1bcbbf7a623d2605e4951096c6e6c78204b02dac | /orderbookVPIN.R | b38ee244393e8cc321cfdab04c0038df18d60cb5 | [] | no_license | qg0/rltrading | 5153bdf80680df3b32778de0cfb745ef2840be08 | f78045ec021bdc257e856dc926039276d97e47a5 | refs/heads/master | 2021-06-14T08:43:25.942764 | 2017-02-24T17:53:36 | 2017-02-24T17:53:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,553 | r | orderbookVPIN.R | ##VPIN
#install.packages('fasttime',repos='http://www.rforge.net/', type="source")
#install.packages("data.table")
require(data.table);
require(fasttime);
require(plyr)
# Now we have an xts data frame called 'stock' with a DateTime index and...
# two columns: Price and Volume
# Vbucket=Number of volume b... |
1ae709db3f8b1f5097751d7592a51d0b50086841 | f497fa661eac1e041e8516b3f07ba9c753a4a421 | /cachematrix.R | 6a5a9cfe23718e42d1a05e4a06b9835905ef5b0c | [] | no_license | brianddatascience/ProgrammingAssignment2 | 9ad16a4e1fa86a2487f0fe2b1ee4faca102f0c21 | d1734c7f7e30f40017b2013aa7fda369b84d1f0e | refs/heads/master | 2021-01-18T07:56:19.875871 | 2016-09-03T22:54:39 | 2016-09-03T22:54:39 | 67,312,352 | 0 | 0 | null | 2016-09-03T21:23:53 | 2016-09-03T21:23:52 | null | UTF-8 | R | false | false | 1,322 | r | cachematrix.R | ## These two functions implement a special version of
## inverting a non-singuler matrix in such a way as to
## cache the computation so that once performed, if the value is
## requested again, it will be returned having to recompute it.
## The function makeCacheMatrix takes the matrix we wish to invert
## and con... |
76aad3b745383f9002627dd85e45eddd194543a5 | 43c419ef955c3cefc82642f6289e37948df582f1 | /tests/testthat/test-detect_entities.R | 18db2b5e5e2b1960fe32fc13ead67a7ee0099388 | [] | no_license | cloudyr/aws.comprehend | c3a50c8d20d74d673acdb849bc6271b6ba7e139b | d48c95542c28f268d67929c8ea828437a7a9d72b | refs/heads/master | 2023-06-07T22:16:02.674457 | 2020-03-18T14:58:34 | 2020-03-18T14:58:34 | 124,287,441 | 12 | 5 | null | 2023-05-31T17:07:53 | 2018-03-07T19:59:01 | R | UTF-8 | R | false | false | 1,098 | r | test-detect_entities.R | context("detect_entities")
body = get_request_body()
test_that("detect_entities works on single string", {
output <- with_mock(
comprehendHTTP = mock_comprehendHTTP,
detect_entities(text = body$single$Text,
language = body$single$LanguageCode)
)
expected <- read.table(sep="\t", text="... |
69ed2e478661444ae8e2c187fc9e5cc181a9ef6a | 0ef1a314914e88740dbe33b248a552a57c0b261d | /MBQhsi/R/DEgd.R | 986bb09530e227e7ffec148f6c9c2bd0fcb3cbea | [] | no_license | rocrat/MBQ_Package | 845d25faed797835d916ed646496f26f78254521 | b8c4f978fce36cfd3deb5cb2604372b00bf68e15 | refs/heads/master | 2021-01-21T13:25:37.952739 | 2016-05-17T19:13:40 | 2016-05-17T19:13:40 | 53,088,771 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 464 | r | DEgd.R | #' @title Dr. Dave Ellis Grass Diversity
#'
#' @description Calculates the partial HSI given the grass diversity.
#'
#' @param x Grass Diversity measured as the total number of both annual and perennial grass species on a given home range throughout the year.
#'
#' @return Returns the relative HSI value
#'
#' @usage GD... |
d4e222f1fb32c44bfab5f7743f8932564d18c0ad | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rtweet/examples/tweets_with_users.Rd.R | f6cd2f34464e6ce0caf01fb32686742d8d7de09d | [] | 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 | 590 | r | tweets_with_users.Rd.R | library(rtweet)
### Name: tweets_with_users
### Title: Parsing data into tweets/users data tibbles
### Aliases: tweets_with_users users_with_tweets
### ** Examples
## Not run:
##D ## search with parse = FALSE
##D rt <- search_tweets("rstats", n = 500, parse = FALSE)
##D
##D ## parse to tweets data tibble with use... |
f2bc86717513e41b0e12f437aa8d7c38b953e5b2 | 9667a66174faccda6a378d03ebd2cccb46c199ae | /mapper1.r | d85fc0aefbb3e37189c00e883b7d282c16f6037d | [] | no_license | regstrtn/hadoop | ae72fa491d9b5ffa655622593ae649950cd2292f | 20ef146285d805a3c9ee09456031cd1c1161f8f9 | refs/heads/master | 2021-06-09T16:39:09.438672 | 2016-12-13T09:07:37 | 2016-12-13T09:07:37 | 72,678,189 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,092 | r | mapper1.r | #!/usr/bin/env Rscript
# wc_mapper.r
#args = commandArgs(trailingOnly = T)
args = c(10)
input = file("stdin", "r")
df = data.frame(title = character(), id = character(), numtags = numeric(), stringsAsFactors =F)
anyna = function(fields) {
for(i in 1:length(fields)) {
if(is.na(fields[i]) || fields[i]=="") return (... |
b69fd3a820ca6d665bf9cf7ff5df42a6f30b4aaf | 83bce7e127191950acd99126225b513a5f63a5f4 | /data_prep.R | 0ca2865cb226795c8cb5cb77f525b3b7b365cab2 | [] | no_license | Yi5117/Stat-517-Statistical-Learning-and-Predictive-Modeling | 62e25dac484573c9f9008a6cc9160b0d94123176 | ac4d2b026c34dfa1a981fd2eaee2b5ce1e120628 | refs/heads/master | 2020-04-05T06:03:21.943530 | 2018-12-11T20:19:59 | 2018-12-11T20:19:59 | 156,623,722 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 994 | r | data_prep.R | library(dplyr)
library(reshape2)
read.train <- function(){
#Load train data
cls <- c('factor','factor','Date','numeric','logical') #Classes for Store, Dept, Date, Weekly_Sales, isHoliday
train<- read.csv(file='data/train.csv',colClasses = cls)
train<-tbl_df(train)
}
read.test <- function(){
#Load... |
96197269d404afa32d1573aecd5284c619ffcf3b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/CoxBoost/examples/estimPVal.Rd.R | 2efd5173b0b937c6d17e7ba4d598cd4cce40bcb7 | [] | 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,056 | r | estimPVal.Rd.R | library(CoxBoost)
### Name: estimPVal
### Title: Estimate p-values for a model fitted by CoxBoost
### Aliases: estimPVal
### Keywords: models regression survial
### ** Examples
## Not run:
##D # Generate some survival data with 10 informative covariates
##D n <- 200; p <- 100
##D beta <- c(rep(1,10),rep(0,p-10)... |
59ad543f78da1666323fcbbfbac1d95bcb0600f6 | 636aafe5cef2627f72b317675574ba69ad57337e | /groupe-006/R/stat.R | cce765aad07ff6007b9223bdf71901a84c79b775 | [
"MIT"
] | permissive | RemiFELIN/Projet-R-Gun-violence-data | 1062536e72a0b21de29b2188752381ee19f03559 | cd7b88249810aede8350d0e82c97c0bac744f3bf | refs/heads/master | 2022-03-26T02:40:02.082944 | 2020-01-07T14:13:16 | 2020-01-07T14:13:16 | 222,500,687 | 0 | 2 | null | null | null | null | ISO-8859-1 | R | false | false | 4,902 | r | stat.R | # STATISTIQUES ET TESTS D'HYPOTHESES
#
#
# import libraries
library(knitr)
library(dplyr)
library(readr)
library(ggplot2)
library(tibble)
library(stringr)
library(gridExtra)
library(scales)
library(lubridate)
library(ggrepel)
library(leaflet)
library(rgdal)
library(tibble)
library(purrr)
library(splitstackshape)
libra... |
8d3974854fefe914367cc030d71257355429b858 | 72b398fdaa9301a8876e7f6095f3572eb412e5b9 | /analysis/names_special_characters.R | fbc709cf75cc1a0daf7f654fa4ff4d04970f988d | [] | no_license | mariariveraaraya/PhD_render | 37c9a9a4d9e1a453d07a356e7f352f2ffe194d80 | 168834f1d446f9b027ce54244f86c3462ba1c4ef | refs/heads/master | 2023-08-29T12:15:02.113638 | 2021-10-04T05:30:31 | 2021-10-04T05:30:31 | 413,006,724 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 788 | r | names_special_characters.R | # reproducible data
plates <- data.frame(WatexCl = rnorm(100), ConcuM = rnorm(100), Depth = rnorm(100))
# alter the default plot margins so the
# superscript in the y-axis label is completely displayed
par(mar=c(5,5,4,2))
# draw the plot
plot(WatexCl ~ ConcuM, data = plates,
col = as.numeric(1),
pch = as.... |
e8f658b1152e80361c86b18156b7950f51d65d45 | 0aadcf7d61193d1a2405370cbad3764f565cdf3e | /man/get_worldclim.Rd | 02f469616c07d4a42b113daed36a1b06c3ff154a | [] | no_license | rsh249/vegdistmod | da662a75579ab32b7b462aa2e1547ae9b8caac61 | cc4e5f0c31fa1ef7d53e8127f0a57001c1b04403 | refs/heads/master | 2021-01-17T10:01:22.940779 | 2019-01-28T16:45:12 | 2019-01-28T16:45:12 | 59,592,035 | 4 | 0 | null | 2016-10-19T19:21:41 | 2016-05-24T16:58:17 | R | UTF-8 | R | false | true | 1,002 | rd | get_worldclim.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_climate_data.R
\name{get_worldclim}
\alias{get_worldclim}
\title{Download WorldClim data for modern or paleo models.}
\usage{
get_worldclim(period = "cur", model = "", version = "1_4",
varset = "bio", res = 2.5)
}
\arguments{
\item{peri... |
b05682bb1df95f5ce267d65ee08cd13802e2ecf8 | 6464efbccd76256c3fb97fa4e50efb5d480b7c8c | /cran/paws.end.user.computing/man/workdocs_deactivate_user.Rd | f32a87b61da0af0031183d71c4dc943874fe8985 | [
"Apache-2.0"
] | permissive | johnnytommy/paws | 019b410ad8d4218199eb7349eb1844864bd45119 | a371a5f2207b534cf60735e693c809bd33ce3ccf | refs/heads/master | 2020-09-14T23:09:23.848860 | 2020-04-06T21:49:17 | 2020-04-06T21:49:17 | 223,286,996 | 1 | 0 | NOASSERTION | 2019-11-22T00:29:10 | 2019-11-21T23:56:19 | null | UTF-8 | R | false | true | 797 | rd | workdocs_deactivate_user.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/workdocs_operations.R
\name{workdocs_deactivate_user}
\alias{workdocs_deactivate_user}
\title{Deactivates the specified user, which revokes the user's access to
Amazon WorkDocs}
\usage{
workdocs_deactivate_user(UserId, AuthenticationToken)
}
... |
88fbe2aa4790b667ad8921201cb6f2b871010417 | 1ad0d4313389f1c4dd6abd6dbf4b3d78b9944e25 | /scripts/AG_2_5_PPI_network.R | a124747ce6e1717a0f31a7d736e4f5d3f7903918 | [] | no_license | ag1805x/EDTOX | ce996813d7630740f0ed5b08919f405081b074b7 | 2107df6d815a69f7a52e750ea994a09fb15700a2 | refs/heads/master | 2023-01-31T01:04:58.143025 | 2022-10-18T06:04:58 | 2022-10-18T06:04:58 | 548,797,477 | 0 | 0 | null | 2022-10-10T07:41:08 | 2022-10-10T07:41:07 | null | UTF-8 | R | false | false | 1,202 | r | AG_2_5_PPI_network.R | # Updates:
# (1) Updated STRIGdb versio from 10 to 11.5
# (2) Due to major update in STRINGdb, only combined scores are now available and the threshold also need to be changed
library(STRINGdb)
library(igraph)
library(org.Hs.eg.db)
combscore<-0.85 #based on pareto
# string_db<-STRINGdb$new(versio... |
40cd9723f01639eb3cc418deb0eb2fc60e8290c7 | 0982fb077cd59436811077b505d4377f7c3a3311 | /R/view_dr_surv.r | fcad4528523342537c6471e6003ae221cfa6a43f | [] | no_license | teazrq/orthoDr | c87a851477b84693b81905423cc7db32659dd795 | b009267a5b0124008711f556f1642f9fb880a5f2 | refs/heads/master | 2023-07-06T23:52:36.724019 | 2022-07-19T21:14:17 | 2022-07-19T21:14:17 | 106,500,687 | 7 | 8 | null | 2023-06-22T04:16:27 | 2017-10-11T03:24:50 | C++ | UTF-8 | R | false | false | 4,309 | r | view_dr_surv.r | #' 2D or 2D view of survival data on reduced dimension
#'
#' Produce 2D or 3D plots of right censored survival data based on a given
#' dimension reduction space
#'
#' @param x A `matrix` or `data.frame` for features (continuous only).
#' The algorithm will not scale the columns to unit var... |
96df89515670168a4ceb7b11f54492e20b475490 | 6464c0bf7dd71c0b46e31585ce37c1861d2e1b25 | /Animation.R | f3733e5bf654149037d5c4274b07d14e913e019f | [] | no_license | quantumesx/TadroSimulation | 950fa4cb5b746eec951a7922526dcded54aaf82b | ec5fbf88c082c72de6e2c6d6d32ef810d4e62774 | refs/heads/master | 2021-06-18T15:31:39.911431 | 2017-06-27T15:37:04 | 2017-06-27T15:37:04 | 94,559,011 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,156 | r | Animation.R | ### Animation
results
animate.tadro(results)
animate.tadro <- function(results){
for(i in 1:n.iteration){
# creating a name for each plot file with leading zeros
if (i < 10) {name = paste('000',i,'plot.png',sep='')}
if (i < 100 && i >= 10) {name = paste('00',i,'plot.png', sep='')}
if (i >= 100) {... |
2c7f3dffb0ecaefb77ad7e9fcf562b99fa99f813 | 5a739c45535c97844af5dfc126be6954e7747890 | /tests/testthat.R | 079b9aeaf5bd3107f13ea7e7c1446b3139d4f1af | [] | no_license | cran/colorplaner | d0ed6c8c910c78801bd57a35ad67ee63b207b1f6 | bcd3ce49ef8b4a778efd15854c815f9517069f34 | refs/heads/master | 2020-12-25T22:47:26.090640 | 2016-11-01T11:07:29 | 2016-11-01T11:07:29 | 68,783,370 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 88 | r | testthat.R | library(testthat)
library(ggplot2)
library(colorplaner)
test_check("colorplaner")
|
c1d05ee9f7f0bec7feebe15d72af42d8ee67ef82 | 360df3c6d013b7a9423b65d1fac0172bbbcf73ca | /FDA_Pesticide_Glossary/sulfentrazone.R | 54d1b9cefb3f3d4d43511a7ad6d515da10f19464 | [
"MIT"
] | permissive | andrewdefries/andrewdefries.github.io | 026aad7bd35d29d60d9746039dd7a516ad6c215f | d84f2c21f06c40b7ec49512a4fb13b4246f92209 | refs/heads/master | 2016-09-06T01:44:48.290950 | 2015-05-01T17:19:42 | 2015-05-01T17:19:42 | 17,783,203 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 234 | r | sulfentrazone.R | library("knitr")
library("rgl")
#knit("sulfentrazone.Rmd")
#markdownToHTML('sulfentrazone.md', 'sulfentrazone.html', options=c("use_xhml"))
#system("pandoc -s sulfentrazone.html -o sulfentrazone.pdf")
knit2html('sulfentrazone.Rmd')
|
9cb93b6c15c78b21240cb3ab8f1144d8712197d0 | c5707b03ca4c5015fdd48aa98a87c1d038b0ed7f | /mc/man/neo4j.query.mc.Rd | 4b806bdae9eee3c1f517d0b4304650cc8790f4f4 | [] | no_license | nhtuong/mc-r | e145ab2a130c90ab57ea0ce7fc10e2f740f39e9a | 50e523c1ce2d8ec323f7cb3a58e2d8edd8dc211d | refs/heads/master | 2020-05-17T16:05:53.766057 | 2015-01-07T11:44:01 | 2015-01-07T11:44:01 | 33,657,174 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 277 | rd | neo4j.query.mc.Rd | \docType{methods}
\name{neo4j.query.mc}
\alias{neo4j.query.mc}
\title{Executing a query of Cipher language}
\usage{
neo4j.query.mc(querystring)
}
\arguments{
\item{query}{}
}
\description{
Executing a query of Cipher language
}
\author{
Hoai Tuong Nguyen
}
|
41a57794d47f2c1aeb5db19b82bf59ac8045444e | 7567e449b26cc1c25817bc4490c615761ca74344 | /SamplingScript.R | 0cf7ab59e608eec303aa453e98d21b88b3e079ab | [] | no_license | mhandreae/ChangePoint | b33646a20459cc8bfa654a8620a0fd41caae9ab3 | b7c47e82097ca0b07ea87282765922cf97534540 | refs/heads/master | 2021-01-10T06:30:51.437407 | 2016-03-11T15:08:35 | 2016-03-11T15:08:35 | 53,002,742 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 388 | r | SamplingScript.R | ## Sampling model 6, irregular times with random intercept
require(rstan)
require(rstanarm)
setwd("~/Projects/ChangePoint")
load(file="Fit/MarginalChangePoint7.Rdata")
load(file = "Data/continuous_data7.Rdata")
# with the updated stan file
fit7 <- stan(fit=MarginalChangePoint7, iter= 1000, chains = 4,
d... |
43bfc845aa43599a15ca58832fb3e6d4f67b1ffc | 51c61fe400ce7226a52ff66c629fd97cb919fb1a | /R/get_grid.R | 35c33fe1a334b08171840addb7b622fc55f39258 | [
"MIT"
] | permissive | henckr/maidrr | 306d0fe29884d935ae3ced23622eb2366c54f6f9 | 262d90e94b91fbaa289c590335e33ae43e26c50b | refs/heads/master | 2023-07-25T01:54:39.947147 | 2023-07-17T14:35:44 | 2023-07-17T14:35:44 | 252,255,074 | 7 | 6 | NOASSERTION | 2023-07-17T14:35:46 | 2020-04-01T18:26:13 | R | UTF-8 | R | false | false | 1,069 | r | get_grid.R | #' Get feature grid
#'
#' Get the grid values for features based on the observed values in the data.
#'
#' @param var Character string or vector giving the names of the features.
#' @param data Data frame containing the original training data.
#' @return Tidy data frame (i.e., a "tibble" object). The columns contain th... |
de7ad396b9814dea14804214ade8eca5d8eabd5f | 5d0bc9fa9c48a468d115e9930f5eac66a0764789 | /inst/snippets/Figure2.6.R | 13e5913cc50b22cc0383d13d4302ed1f097c0ba3 | [] | no_license | rpruim/ISIwithR | a48aac902c9a25b857d2fd9c81cb2fc0eb0e848e | 7703172a2d854516348267c87319ace046508eef | refs/heads/master | 2020-04-15T20:36:55.171770 | 2015-05-21T09:20:21 | 2015-05-21T09:20:21 | 21,158,247 | 5 | 2 | null | null | null | null | UTF-8 | R | false | false | 141 | r | Figure2.6.R | head(TimePopulation, 3)
favstats(~ estimate, data = TimePopulation)
histogram(~ estimate, data = TimePopulation, type = "count", nint = 20)
|
907142048c0c06b4bf78b1af70ab37ecd0a998e1 | d07ad97624709efdb6a65e758eb98972ac12ef8c | /exercises/exc_03_05.R | 49cddce52a0c88100a5bf782efc00f235ecd317c | [
"MIT"
] | permissive | jminnier/RBootcamp | 17e3118cb820788c2b9628ed4a7b5e33ffe9342c | b359a92641527e55dbfee18fe418a8eebdb2eec4 | refs/heads/master | 2020-06-14T08:56:56.091966 | 2019-07-08T18:58:03 | 2019-07-08T18:58:03 | 194,964,808 | 1 | 0 | MIT | 2019-07-08T18:58:04 | 2019-07-03T02:23:52 | CSS | UTF-8 | R | false | false | 241 | r | exc_03_05.R | library(dplyr)
biopics <- readRDS("data/biopics.rds")
#add your comparison to the end of this filter statement
crimeFilms <- filter(biopics, year_release > 1980 &
type_of_subject == "Criminal")
#show number of rows in crimeFilms
|
3a2abcc274954baf45e213179fee360e2f336a86 | 35c9e4d193140845a8f649ba00fa548bfe4c9f7e | /tests/testthat/test_demos.R | 27f68630cf4e786ea5caedb817386e5ac1f7110e | [] | no_license | jhellewell14/ICDMM | 0cd2dd98d052d9c6fa64036629b064e334bc8eae | 5653caa0da1076c4afc935f07d633120eba95dcb | refs/heads/master | 2022-10-30T07:10:17.350290 | 2020-06-22T09:55:42 | 2020-06-22T09:55:42 | 274,096,145 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,102 | r | test_demos.R | context("test-demos_run.R")
source("eqm_soln_varying_nets.R")
test_that("model_run demo runs", {
set.seed(1234)
# define input parameters
init_age <- c(0,0.25,0.5,0.75,1,1.25,1.5,1.75,2,3.5,5,
7.5,10,15,20,30,40,50,60,70,80)
init_EIR <- 10
admin_str <- NULL
time_period <- 30*1
prop_treate... |
0460de1dc37942932ed2129402b5738f0b73cb5b | d53e84c25a103426600dfac806b9cfc110f29ebb | /recommend.r | bc3c0747ef8cdfa95ffb6f63cd0b30a781696fb3 | [] | no_license | rvazquezv/Titanic | 42a608c6e4556ffb197be9dfaf3867ad9026c3d6 | 8b66e7721c7e8dffbe716d2b7ffe1cb6dcec1d3f | refs/heads/main | 2023-06-03T22:23:45.737013 | 2021-06-21T10:52:32 | 2021-06-21T10:52:32 | 372,794,499 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,481 | r | recommend.r | ############################################################################################################################################################
## Recommendation Systems questions
############################################################################################################################... |
0a92d850b14501e37fd5fbd8fe9ed4c74abe2c70 | 70ef716830bc1496cd75a1d19bc130d950e9dc26 | /Hi-C/plotHeatmap.R | 82b250215aeb5fcd0228bac496a296799fd31a71 | [] | no_license | shenlab423/2CLC-Project-Code | ec56427d764cfa040d0e22b1ed02286821aa772a | 1ba667520a1c170b59ac7fb119dfbd380e4ed4c7 | refs/heads/main | 2023-08-27T11:42:48.402982 | 2021-10-22T10:37:24 | 2021-10-22T10:37:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 642 | r | plotHeatmap.R |
tclc_enhancer <- read.table("2CLC.compartment.txt",sep=" ")
library(gplots)
rampCol1 <- colorRampPalette(c("blue","white","red"))(100)
pdf("2CP-2CLC.pdf",width=6,height=6)
heatmap.2(as.matrix(log2(tclc_enhancer)),trace = "none",col = rampCol1,Rowv = F,Colv = F,density.info = "none",breaks = seq(-1,1,0.02))
dev.off()... |
6eb81513546abe792077ab11723cadd0ac9380ab | 16d96ea48eba2cad07ac33a2e9c5630ba1b65e62 | /MyFacebook/analisis_comments.R | e7a3bdece7479e8608632befea10814d971caec8 | [] | no_license | nerudista/DataViz | 0986dd1f93b609569b087c031fd9b4e39e7546b3 | 41078583efff58f9331b1635ed055a69fe7205e1 | refs/heads/master | 2021-07-01T00:29:27.198820 | 2020-12-22T04:24:21 | 2020-12-22T04:24:21 | 228,298,420 | 6 | 2 | null | 2020-12-22T04:24:23 | 2019-12-16T03:53:53 | HTML | UTF-8 | R | false | false | 12,030 | r | analisis_comments.R | pacman::p_load(tidyverse,
tidytext,
tm, #para los stopwords
quanteda, #para el text mining
quanteda.corpora,
syuzhet, #para el nrc_sentiment
ggthemes,
wordcloud,
reshape2, #para el acast
... |
ddbf60e9448640cfd79b8b8481969bd273f6a4c6 | dff2b8e81e7be006a30f748e99ae7bea29287813 | /week4/q2.R | 0a3bbe1a9d22c1a69bab296bd341cdfb6008cf0e | [
"Apache-2.0"
] | permissive | jigyasu10/mining-massive-datasets-1 | 900172eec0181ea64ed6abac3e9b87d957d949ee | 2887452d1f073c8ada5417faa08d5b0a6fbc0533 | refs/heads/master | 2021-01-17T10:39:57.533316 | 2014-11-23T14:00:54 | 2014-11-23T14:00:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,083 | r | q2.R |
week4_q2 <- function() {
# alpha = 0
a <- 0
X <- rbind(c(1,0,1,0,1,2*a),
c(1,1,0,0,1,6*a),
c(0,1,0,1,0,2*a))
print(X)
n <- nrow(X)
cmb <- expand.grid(i=1:n, j=1:n)
# print(cmb)
C <- matrix(apply(cmb,1,cos.sim, X),n,n)
rownames(C) <- c("A", "B", "C")
colnames(C) <... |
6a7309c1fe9a92c1908ca31943881afbe9189a3b | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/FDRreg/man/FDRreg-package.Rd | 2a673a93e275c7aa0866203a8211eaefd83f34e8 | [] | 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 | 2,406 | rd | FDRreg-package.Rd | \name{FDRreg-package}
\alias{FDRreg-package}
\docType{package}
\title{
False discovery rate regression
}
\description{
Tools for FDR problems, including false discovery rate regression. Fits models whereby the local false discovery rate may depend upon covariates, either via a linear or additive logistic regression mo... |
ac8d0ac96d7219f8a9c5c1771892fbe5d0ce23f7 | 92554d4f4a1238ad4dec9c7ac51c7ccd32b8b50c | /man/test_junc_gr.Rd | c19d5c59143851de55fdda21f7224bacbd4a15f8 | [] | no_license | jmw86069/splicejam | a1fbe599ac8ae286a66569db84bb69bbf5674ab7 | 04d7c2d08461a6dfe7eb1890434afe9c6e9e9fd8 | refs/heads/master | 2022-12-11T06:53:14.337405 | 2022-11-28T19:41:02 | 2022-11-28T19:41:02 | 139,864,732 | 20 | 5 | null | null | null | null | UTF-8 | R | false | true | 1,935 | rd | test_junc_gr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/jambio-data.R
\docType{data}
\name{test_junc_gr}
\alias{test_junc_gr}
\title{Sample junction data GRangesList}
\format{
GRangesList where each GRangesList item represents
a distinct biological sample. Each GRanges item represents
one splice j... |
b4884885c1927198443b36d58f695329fabc7ecd | 3083e64fbf83e3375e268ed1e079d857dc3f508f | /R/eventPlot.R | b537ab3b3ac945d1f18fb2ae7590514462ad5964 | [
"MIT"
] | permissive | KWB-R/kwb.event | 25b4b8518e2d52d6c39dcbee0fc8c4227eba6c1d | 7fe54ea62fa3b88992098b59af4c562104c9c427 | refs/heads/master | 2023-04-13T01:02:20.711538 | 2022-06-08T16:51:50 | 2022-06-08T16:51:50 | 136,062,520 | 0 | 1 | MIT | 2022-06-08T16:51:51 | 2018-06-04T17:50:35 | R | UTF-8 | R | false | false | 11,413 | r | eventPlot.R | # plotMergedEventInfoForValidation ---------------------------------------------
#' Plot merged Event Info for Validation
#'
#' @param mergedEvents data frame containing information about merged events,
#' i.e. containing columns \code{tBeg.event1}, \code{tEnd.event1},
#' \code{tBeg.event2first}, \code{tEnd.even... |
65f379fde0737239958bc5492b0002a00adb85b0 | 9423d6bc590daebcad6c8227d3d452c48a1b2c94 | /iTOL/Generating_.tre/CALeDNAformatter.R | 82b848f0b085692ea1235c0f1d815ad4dd7122d4 | [] | no_license | SamuelLRapp/CALeDNA-NPS-AIS | 3dca81202e27d774f4a4a983e6f9583a4c03d689 | 38bcec9b757757e4f004bdc5fb18b31c3d266e87 | refs/heads/main | 2023-06-05T18:45:16.100468 | 2021-06-17T21:15:39 | 2021-06-17T21:15:39 | 334,285,397 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,402 | r | CALeDNAformatter.R | #### take in google sheet/data frame and bring them all into 1 column
X<-file.choose() #
GoogleSheetData_domain <- read.csv(file = X) #filled in domain info, because it was missing on taxize
#https://docs.google.com/spreadsheets/d/1czLS8ZBG-2ykZzEPpOLvWCmkyVJF2SnatQhcJlz3aFA/edit?usp=sharing
num_rows <- nrow(GoogleSh... |
59c405b726cf1c5197716cf0802b51ce239dcd8a | 1b141d6887525dd038885603ba0525a4799fb297 | /man/rename_columns.Rd | 2bce091581c3ac71792df2d5e65839932f0453b5 | [
"MIT"
] | permissive | mjkarlsen/traumaR | c7b032ad24f5511d891348cf40b764e14a4d784b | dd52deec08282e8955c5fea6ad1fb7b2a80e0a9f | refs/heads/master | 2022-09-17T04:17:13.452037 | 2020-06-06T18:47:08 | 2020-06-06T18:47:08 | 260,229,827 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 359 | rd | rename_columns.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/02 - Column Renaming.R
\name{rename_columns}
\alias{rename_columns}
\title{Renaming PTOS Data}
\usage{
rename_columns(.data)
}
\arguments{
\item{.data}{A dataframe of PTOS data}
}
\value{
It translations of the code into human friendly values... |
8df4856517d3264c3f8a6ca2e045218cd529d546 | ff8f992ac991c5adb2532702d73aa1ff0675fcee | /rached.R | 52cbe290a69c5488c3613c152c154989826d3146 | [] | no_license | zzj/rached | ae8262a0e9ba16faa0e40dff36e114984366208b | fe849bccc5a0ba9ab2847b3101ec0ac341aa5baa | refs/heads/master | 2016-09-05T23:33:30.046633 | 2013-01-16T16:15:01 | 2013-01-16T16:15:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,250 | r | rached.R |
rached.folder <- "temp.folder/"
rached.initialize <- function() {
if (!file.exists(rached.folder)) {
dir.create(rached.folder)
}
}
rached.clear <- function() {
unlink(paste(rached.folder, "*", sep=""))
}
rached.initialize()
rached.legalize.filename <- function(k) {
gsub("/",".",k)
}
rached.key <- fun... |
1cd040e8ed36d7c85f54abc69f27812f1e9e60d6 | a0c2f62ff97e3c65a2db9a31b6fb2396fc49d832 | /R/igbTrack.R | 93ae3172f3418d506f3c37ec4dad9e3983cbd664 | [] | no_license | gmbecker/rigbLite | 602272a345d67b173f8376b2a1f694a963a5639f | b478f5323eaf839b0bd750b22ad536a52ecb98bb | refs/heads/master | 2021-01-10T00:53:40.174665 | 2012-05-30T16:39:47 | 2012-05-30T16:39:47 | 3,603,919 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,015 | r | igbTrack.R | #
#
#This code was automatically generated. Do not edit.
#
#
setClass( Class = "igbTrack" , representation = representation( genome = "character" , loadmode = "character" , refresh = "logical" , uri = "character"))
if (!isGeneric( "genome" )) {
if (is.function( "genome" ))
fun <- get( "genome" , mo... |
99d0cffdeff3ad97b29eefc99a9eeb00b734413d | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /VUROCS/man/clar.Rd | 580b7dbf97d4e08b0ef2bc22dc9e0f3c62de6180 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 819 | rd | clar.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clar.R
\name{clar}
\alias{clar}
\title{Cumulative LGD Accuracy Ratio}
\usage{
clar(y, hx)
}
\arguments{
\item{y}{a vector of realized values.}
\item{hx}{a vector of predicted values.}
}
\value{
The function returns the CLAR for a vector of... |
b5d86cf1935600a8a0101c9d22c9ecc7fce67b22 | da15f54df71d9d46e07e841a106b7d9fe8f60795 | /man/pssm.Rd | c1b2276731682d13ed1ebda298bd904f87aea81d | [] | no_license | tlfvincent/LOGICOIL | 6ad972df5c8ccb98fbaa865250ad895e072dae5b | ef3a02267a0586510343247bc5bda60c13019d46 | refs/heads/master | 2016-09-05T09:51:37.613331 | 2014-04-13T04:24:50 | 2014-04-13T04:24:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,893 | rd | pssm.Rd | \name{pssm}
\alias{pssm}
\docType{data}
\title{Profile scoring matrix derived from the LOGICOIL training set.}
\description{
This data set contains the Position Specific Scoring Matrix (PSSM) used as the LOGICOIL training set. This dataset was compiled from the CC+ coiled-coil database. This PSSM is used by LOGICOIL to... |
4337c64ad3efc747a5241141b2bd8657af0444a1 | dedf1e4fc2c6b7bc13144ef8c6a947397ded70c2 | /R/convert_data.R | d87e2c51efb840c7fa87453b7c5d8c14135fb2eb | [] | no_license | bips-hb/survnet | b345f04596471f63a1a19627e7ba0219206c9467 | 99ac8a5a0071dd770195b0c8dceb7eea01fc080f | refs/heads/master | 2021-06-05T18:45:24.047076 | 2021-06-03T12:55:23 | 2021-06-03T12:55:23 | 147,163,906 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,285 | r | convert_data.R |
#' Create binary response matrix for survival data
#'
#' Creates matrix with at-risk and event information. Format: (S_1, ..., S_K, E_1, ..., E_K). Dimensions: obs X 2*causes*time.
#'
#' @param time Survival time
#' @param status Censoring indicator: 0 for censored observations, positive values for events.
#' @param ... |
7ea940faeac8911cacbc2f9ac5fc30ea7ed5b8a0 | 06464f8bb8aa0a555cbe5ecce40400dbcb5964e4 | /R/deprecated/economic-index.R | 8db4e1cefd0348451b10f695147c5bb059f516a2 | [
"Apache-2.0"
] | permissive | bcgov/bc-econ-status-indices | 36476d58abb2218a37c32aa95a8c06f7e229e475 | b7ba948db2eadbfdeb27b6461308dac53124d20c | refs/heads/master | 2021-06-10T12:35:22.604824 | 2021-05-03T19:03:44 | 2021-05-03T19:03:44 | 179,336,900 | 3 | 0 | Apache-2.0 | 2020-04-15T00:40:54 | 2019-04-03T17:20:39 | R | UTF-8 | R | false | false | 2,497 | r | economic-index.R | # Copyright 2019 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... |
68017dac952d265db5059a825ade4ac780f6027c | 7dc4161819947091b1d15533e7d3fba4f4497885 | /First Semester/2013_MWeekday.R | 6edb164f32346f042a76c6f64df9dbec7ebe1844 | [] | no_license | StanleyLin-TW/IM-Project | 40cf622cefa0cc7a02e98aa3f2035107b43da440 | c8ce2e9cb0ae9cbd46bfa0ec57e09a7ef562eefd | refs/heads/master | 2020-04-08T04:21:31.015276 | 2019-01-09T07:34:29 | 2019-01-09T07:34:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 401 | r | 2013_MWeekday.R | library(ggplot2)
#Generate the data
A=read.table("/Users/StanleyLIn/Desktop/專題研究/2013Mfreq_wd")
print(A)
names(A)<-NULL
print(A)
df <- data.frame(gp = 1:7,y = A)
#Set Aesthetic attributes and assign Geometric objects
ggplot(df, aes(x = gp, y = A))+geom_line(color="#CAA661")+ scale_x_discrete(limits=c("Mon","Tue","Wed",... |
d8a8687bfd04712b40dc48c1f29750b04f85b12a | 6a10a4fa507a99f20302af79377215218b1633d2 | /scripts/xgboost2.R | 2ec2711a142bf1803f74701fe52a2f8c9372fa0f | [] | no_license | sahilthapar/dataminingproject | 341bb9107a92bd9ed44fd7686ff23c84579fa4af | fec41687e8a18182df87f60e5731c8ccdf000c3b | refs/heads/master | 2021-01-18T20:19:45.358979 | 2017-04-27T15:33:03 | 2017-04-27T15:33:03 | 86,957,566 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,285 | r | xgboost2.R | library(readr)
train.raw <- read_csv('./data/train.csv', col_types="ncDnncccc")
test.raw <- read_csv('./data/test.csv', col_types="nncDcccc")
store.raw <- read_csv('./data/store.csv', col_types='nccnnncnnc', na='')
# Parse features to factors
train.raw$DayOfWeek <- as.factor(train.raw$DayOfWeek)
train.raw$Open <- as.... |
89701c633f7a22818da73da5d9f2055f731ddeea | 1a8b54238141f92403b9306e49c7c24964705247 | /man/gym_type.Rd | 72ca408a2a9bf52358992b6dba8edf14216827e4 | [
"MIT"
] | permissive | EmanuelHark12/pkmnR | f790f0f3473859ea686b2d4d85ef4549bf5c6d68 | 7d3a8fc2fa55009b349741801314a1242e6932af | refs/heads/master | 2023-05-04T08:19:08.288495 | 2021-05-29T01:32:12 | 2021-05-29T01:32:12 | 351,294,000 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 534 | rd | gym_type.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/poke_type.R
\name{gym_type}
\alias{gym_type}
\title{gym_type}
\usage{
gym_type(tipo)
}
\arguments{
\item{tipo}{the pokemon type.}
}
\value{
The dataframe of gym leader of certain type.
#' @references Pokémon and Pokémon character names are ... |
f69fd1eced39564eea8ed9293479ce1526472b1c | ffc36327dbb1de374d190a702f9a677e27663afa | /R/osler_package_table.R | 504d91d7670c8ecb08ae071606c5fe9acd782ca2 | [] | no_license | muschellij2/oslerInstall | 0d8e07bb26c853cba118c9cc9f7658509db2d99d | b6e9570a55fdf04999ab9cff48aa3877643539ce | refs/heads/master | 2021-01-15T10:57:39.233621 | 2017-08-07T17:22:01 | 2017-08-07T17:22:01 | 99,600,597 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,205 | r | osler_package_table.R | #' @title OSLER Package Table
#' @description Returns the table of OSLER packages
#' @return \code{data.frame} of packages with commit IDs
#' @param path Path to the table of package
#' @param long Should the data be "long" (with respect to stable/current)
#' @export
#'
#' @note Package information is obtained from
#' ... |
dbee2b01769d4d231c53a4617b8a2fe7548514cf | 29d87698c80e23cad4d31dafad48fee6a4e899fb | /R/geodetic.R | 6e7fb99f3e5802a10d2a3635a481acb8572f17e9 | [] | no_license | fostergeotech/Vs30_NZ | 56459df71b8d0148bf89cfe548a78b5f707c69bf | 2760af63199f48ed326e370ccfd9ec8a78891aa2 | refs/heads/master | 2020-04-10T15:42:52.496050 | 2020-01-16T22:39:57 | 2020-01-16T22:39:57 | 161,119,831 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,048 | r | geodetic.R | # geodetic.R
# Just geodetic conversions. For applying to objects of type sp*
# (spatialPointsDataFrame, spatialPolygons, etc.)
# Note to self - NZ coordinate systems described here
# http://gis.stackexchange.com/questions/20389/converting-nzmg-or-nztm-to-latitude-longitude-for-use-with-r-map-library
library(sp)
co... |
b4563b400e75333829ed12e410318c75c1fa12e3 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/XVector/examples/XVector-class.Rd.R | 37e33d800ada854ccb93417f8a9a3727b527318c | [] | 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,824 | r | XVector-class.Rd.R | library(XVector)
### Name: XVector-class
### Title: XVector objects
### Aliases: class:XVector XVector-class XVector length,XVector-method
### bindROWS,XVector-method subseq subseq<- subseq,XVector-method
### subseq<-,XVector-method as.numeric,XVector-method show,XVector-method
### ==,XVector,XVector-method cla... |
2c10b5abbe25ba57a88489119602003122bfd2a7 | ff1e9b73b54de979d7615de579a3783eab0c6677 | /r/two-fer/two-fer.R | e78b1f4aad84f175acb9cf23e570f0ac18983379 | [] | no_license | jdm79/exercism | f40119aff56f70c6889162e6951fca25bef44bb6 | d6dd3650fa9c606988890aa4767e2ffe1299b6a9 | refs/heads/master | 2023-01-13T20:51:13.289018 | 2019-08-01T15:35:16 | 2019-08-01T15:35:16 | 165,097,791 | 0 | 0 | null | 2023-01-04T20:57:13 | 2019-01-10T16:57:02 | Swift | UTF-8 | R | false | false | 80 | r | two-fer.R | two_fer <- function(input="you") {
sprintf("One for %s, one for me.",input)
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.