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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
92042192935ddb7bf2ca6476cae0ff020c2585d4 | bd89464c96bec12d4a1bd1b18b6822a0aca69dc3 | /Script/BoD_State_9_Comparison.R | 62339027a916624e6de26b4130b8d83e1a091673 | [] | no_license | raedkm/TTI-StateBurden | c27d99b11993c9a54738d5b0b4929ab433fc0a76 | c89273b5fe62a4b811dd168bb23d246ccf53574f | refs/heads/master | 2022-11-16T11:34:34.172996 | 2022-11-02T06:18:26 | 2022-11-02T06:18:26 | 201,295,135 | 0 | 0 | null | 2020-06-18T19:27:33 | 2019-08-08T16:17:29 | HTML | UTF-8 | R | false | false | 3,901 | r | BoD_State_9_Comparison.R | #---------------------------------------------#
#Project : State specific Burden of childhood asthma due to TRAP - 2019
#Part : (09) Comparison tables
#Purpose : Read in census data, income data, NO2 conc, incidence rate (original study), and prevelance rate (original study)
# Followed by joining the data s... |
8dc680c3fb4ad4469f37db9cbfc6c9f9cf65e077 | b996f6021b7c3498d8260944895129772c27815d | /get_functions.R | 96a1563819371dc3a4551e2a51d4631b11250224 | [] | no_license | tastyCanOfMalk/BCIRA | 1c185089e61af9f32799085bedc755d5aead4a27 | f185ac4045f1e57766d966c9d6198e284aeb0261 | refs/heads/master | 2021-01-23T03:37:34.201051 | 2017-04-04T13:41:00 | 2017-04-04T13:41:00 | 86,106,573 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,755 | r | get_functions.R | ####################
# LOAD PACKAGES
# if (require("packrat") == FALSE) install.packages("packrat")
# require("packrat")
if (require("stringr") == FALSE) install.packages("stringr") # string manipulation
if (require("reshape2") == FALSE) install.packages("reshape2") # melting casting
if (require("ggplot... |
354d5b5c396cba484c73a34726f7b1b17d0100f2 | 322737d934a4697320224ab97bdccddf936a7729 | /Text Analytics Assignment/1) Wiki Vandals/preparation.R | f5815653c1027a463668008c11540616cca4c04f | [] | no_license | eleven-yi/Analytics-Edge | 651461b48b374f19391ed56b071989cc0f5582c3 | 8997093e44bd72b5902900038a1faa727eb844d1 | refs/heads/master | 2020-12-11T07:34:22.358890 | 2014-06-05T01:03:34 | 2014-06-05T01:05:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,073 | r | preparation.R | getwd()
setwd("C:\\Users\\Roberto\\Dropbox\\Coursera\\Analytics Edge\\05.2) Twitter Intro to Text Analytics")
dir()
tweets = read.csv("tweets.csv", stringsAsFactors=FALSE)
tweets
str(tweets)
tweets$negative = as.factor(Tweets$Avg <= -1)
tweets$negative = as.factor(tweets$Avg <= -1)
table(tweets$Negative)
str(t... |
d5c258b2c7f5fb94049c8427c967b10bafabc17d | 970908488bcf14ed44cc26768a2a5e64114d16cf | /scripts/05_figure_variants.R | d58698a8ba973450806a2809014b779fc60bff62 | [] | no_license | Stijn-A/SARS-CoV-2_Protection_SGTF_Delta_Omicron_BA1_BA2 | 4d67549d3289cb17a453beddd52b870c25e22760 | 713cb47ed51ac50276ab917a6d98e063e529b3f5 | refs/heads/main | 2023-04-16T23:26:04.905439 | 2022-08-10T08:34:09 | 2022-08-10T08:34:09 | 499,418,118 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,076 | r | 05_figure_variants.R | # Figure S1
data_teststraten_lab_c <- data_teststraten_lab %>%
left_join.(data_teststraten_all %>% select(!Afspraak_start), by = "Monsternummer") %>%
mutate(`S result` = `S result` %>% factor(levels = c("Not detected", "Detected"))) %>%
filter(`S result` %in% c("Not detected", "Detected"))
plot_1 <- ggplot() +... |
dae95c5cfd3e968edbc618c09e805ab2cc3f82e1 | d85d612424631ad5ba4eae914edca72d2f91fd23 | /2014-mira-plos/code/numerical-comparison/util.r | 3eef57fb7160dfa1742280c2e66fe07398f9dc2e | [] | no_license | hesenp/random-paper | 23638bdd3df5ac6b556605bbc72238f00073fed3 | 4630263cd794d7bbd11f1b3bddb12a92c044dc51 | refs/heads/master | 2021-01-20T02:47:51.353891 | 2015-09-26T22:46:19 | 2015-09-26T22:46:19 | 21,009,231 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,092 | r | util.r |
## this file contains the programs used to generate the numbers for
## permutation test. we will generate: 1) mutual information 2)
## brownian covariate, 3) mira score, 4) mean distance.
library(FNN)
library(boot)
library(energy)
## this part of the code generates the test using mutual information.
###############... |
f8c2d0ae9d01775de130249977ac141e1fe3f041 | 0a97f73c1cf1dafca0206c0a1eec08cdf8e7698b | /Supplementary Phase Transition Script FINAL 011017.R | 978cfd185a537c41aad8eb4ef20d195af8f289f5 | [] | no_license | travisjwiltshire/PhaseTransitionsDuringTeamCollaboration | 1f64466dd3facc4598f1d3de8f23df24e46aaa7e | 52273465217a43d627a3f04d87ed6ff55706499b | refs/heads/master | 2021-01-13T08:20:21.836266 | 2020-07-23T12:19:48 | 2020-07-23T12:19:48 | 71,781,249 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,526 | r | Supplementary Phase Transition Script FINAL 011017.R | # Loading packages, functions, and data -----------------------------------
require(tseriesChaos)
require(plyr)
require(entropy)
require(zoo)
require(ggplot2)
require(Hmisc)
require(plotrix)
require(dplyr)
require(tidyr)
#data should be in long format with a repeating ID variable for each team and a c... |
3f0340e246beb17e052ef646dc3c6e9d4490ea98 | dde5026f4e97dc47c951ea9c3695bc1bab9ba7fb | /man/fmriu.io.open_timeseries.Rd | bef6ff2f49b7215e6b30ace81d52e31473bcc357 | [] | no_license | neurodata/mriutils | b7a7114dda0c2ec797864c50cd290f732db4488b | 2dba874c3d8cbad530865de5018bc5ea0a730edb | refs/heads/master | 2021-10-15T22:54:29.103469 | 2019-02-06T10:21:55 | 2019-02-06T10:21:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,368 | rd | fmriu.io.open_timeseries.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/open_timeseries.R
\name{fmriu.io.open_timeseries}
\alias{fmriu.io.open_timeseries}
\title{Open Timeseries}
\usage{
fmriu.io.open_timeseries(fnames, dataset_id = "", atlas_id = "",
verbose = FALSE, rtype = "list")
}
\arguments{
\item{fnames:... |
5cd72eb5c6781d6e2db71d6ee4b891ae55af9d5f | 4c1b5492c2cafe43c4937a36f8168534c6663f12 | /R/utilities.R | 992f5f5f3229341e2dc6f16db7f1814c01062a99 | [] | no_license | muschellij2/ari | af1eb3db1e64dba0c27022a2b470c13dd0a55c09 | b1f3b641194db561914a747c562aceaf3bcff71b | refs/heads/master | 2021-06-04T19:15:38.123110 | 2021-04-28T17:09:22 | 2021-04-28T17:09:22 | 101,906,454 | 2 | 0 | null | 2017-08-30T16:52:23 | 2017-08-30T16:52:22 | null | UTF-8 | R | false | false | 2,518 | r | utilities.R | make_same_sample_rate = function(audio, verbose = TRUE) {
if (inherits(audio, "Wave")) return(audio)
sample_rate = sapply(audio, function(r) r@samp.rate)
if (!all(sample_rate == sample_rate[[1]]) && verbose) {
message("enforcing same sample rate, using minimum")
}
sample_rate = min(sample_rate, na.rm = T... |
af5fea99b07b324e83941853715a318d65e2abca | 8af0800ea15c6ff5ce1c30c1e8bc85102667b669 | /R/bc_trafo.R | 9c9577edb3526882ccc41cdff45960f9489ccb06 | [] | no_license | alexanderrobitzsch/mdmb | 34f0be7820987888101162fd263097c4088ab674 | d31faef05736391bee1122c4a728a606d69d791c | refs/heads/master | 2023-03-06T09:58:19.344444 | 2023-03-01T10:23:41 | 2023-03-01T10:23:41 | 95,305,766 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 367 | r | bc_trafo.R | ## File Name: bc_trafo.R
## File Version: 1.05
bc_trafo <- function( y, lambda )
{
eps <- 1E-3
# lambda <- yj_adjust_lambda( lambda=lambda, lambda0=0, eps=eps )
if ( abs(lambda) > eps ){
# yt <- ( y^lambda - 1 ) / lambda
yt <- log(y)
yt <- ( exp(lambda*yt) - 1 ) / lambda
} else... |
5c76e54dc35fd66ea3acafdd0ccabdc5172e6fc2 | 04a0b8033af0ac604b0e63e30bb86ebb3ecc84ef | /files/w13/w13.R | 42548490882748e796be0d9aacd6d7823785d0ab | [] | no_license | TheBeachLab/htgaa | 3fab2976f3941afe7c85796fcc97b1a5569fb2a3 | 019ad070c34e428cf789da682b2c48acd12a9403 | refs/heads/main | 2023-02-28T12:12:40.231375 | 2021-02-08T14:31:19 | 2021-02-08T14:31:19 | 337,067,346 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 750 | r | w13.R | # GENERAL
require(tikzDevice)
# CASE 2HJJ
setwd("~/Downloads/w13/homework/structure_prediction/2HJJ/")
case2hjj <- read.table("score.fsc", header = TRUE)
tikz('case2hjj.tex',standAlone = TRUE, width = 5,height = 5)
plot (case2hjj$rms, case2hjj$score, main="Case 2HJJ (100 models)\nEnergy vs rms", xlab="rms (Angstrom)", ... |
386171663ea4a390dc44869263b85cce2d3b08aa | 531242379329f04dc4c2d43cb386f0af7d0763c7 | /man/plot-methods.Rd | 749340d95a0e2beb8daa11977276f1bb912008ec | [] | no_license | ipa-tys/ROCR | aabaf23da634fd54a373dec37e5cb8352700cfbc | 3e22ae72aef9fcdd5b3dcc8d4eb8d35bb6115df2 | refs/heads/master | 2021-01-10T19:47:46.098387 | 2020-12-04T17:28:07 | 2020-12-04T17:28:07 | 4,235,237 | 31 | 16 | null | 2020-12-04T17:28:08 | 2012-05-05T17:11:18 | R | UTF-8 | R | false | true | 6,350 | rd | plot-methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zzz.R
\name{plot-methods}
\alias{plot-methods}
\alias{plot,performance,missing-method}
\alias{plot.performance}
\title{Plot method for performance objects}
\usage{
\S4method{plot}{performance,missing}(
x,
y,
...,
avg = "none",
sprea... |
9ad8a8c96a33061241982507c3e415afc65c32c5 | 9b2aa890ed7f5d87af800c61d7ec5ab8a07ffb66 | /numeros/sociables.R | 1f23779504c985e0eb2b7b0a36f2abeb75ff508a | [] | no_license | jjdeharo/General | 65b1456a5ef849d50a86318d825ac81bdf497a8e | 99a7b4616f029c1b1d14427b1dd0ba5fcf785457 | refs/heads/master | 2021-01-23T08:39:44.975976 | 2015-04-11T11:07:16 | 2015-04-11T11:07:16 | 32,942,956 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 768 | r | sociables.R | # Halla los terminos de la serie de números sociables partiendo de n
# Devuelve T si la serie es sociable (periódica) y F si no lo es
# max es el número máximo de términos que se hallarán en cada serie
sociables <- function(n, max=5, salida=T) {
num <- n
n0 <- n
i <- 1
if(salida == T) cat(i,num,"\n")
while(T... |
15763a5549c187405e202b2149ef731e18e85e4d | 3eb3c7f82edbe3e5dc027443113f93d47fabd3d1 | /tests/testthat/test-combine_words.R | 3d3d295a35d76d30cf273d0a6790596b8f56299c | [
"MIT"
] | permissive | dpc-nickwilliams/djprlabourdash | 3a6a95a2a3307400168a3a394238aa36d81b7c1b | 8be8cba6a550b5fbba469542d194aea5bad87b2d | refs/heads/main | 2023-07-16T02:13:43.236199 | 2021-08-31T05:49:10 | 2021-08-31T05:49:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 411 | r | test-combine_words.R | test_that("combine_words() combines words", {
expect_equal(combine_words("a"), "a")
expect_equal(combine_words(c("a", "b")), "a and b")
expect_equal(combine_words(c("a", "b", "c")), "a, b, and c")
expect_equal(combine_words(c(1, 2, 3)), "1, 2, and 3")
expect_equal(combine_words(c(TRUE, FALSE, TRUE)), "TRUE, F... |
dbbb7979077d74f0c49b5f1f579be84262344f8f | 19b4dc0b477493329b284f2a4503111ae2becafb | /slime_mold.R | e411236ac1ef4da28a86e58eacd0677d042ce0c3 | [] | no_license | cherry8177/Slime-mould | c4e8e4f5b89bebab149c837a0328f5464aebe9f3 | 0a05fa8444fe83d84b8c1797aefc525c67829e73 | refs/heads/master | 2020-05-21T11:21:49.286296 | 2018-11-07T00:50:25 | 2018-11-07T00:50:25 | 45,693,302 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,184 | r | slime_mold.R |
#img <- readJPEG(system.file("img", "Rlogo.jpg", package="jpeg"))
# extract the coordinates from the image by finding the center pixels of each node(crazy for loop to reduce the node to single pixel)
library(jpeg)
im<-readJPEG("copy copy.jpg",FALSE)
nw<-im[,,1]
rotate <- function(x) t(apply(x, 2, rev))
nw<-rotate(nw... |
6b3500a24d4e4ec3c44199611d3355ee450c9a79 | 6c441df95b644040eb1317c7eb6d775d1e3184d4 | /BKproj1og2/proj2/b1v07faster.R | bdae737017bc3d5d5284cacff78e817e7b592436 | [] | no_license | pra1981/Master-Degree-files | 194e764443111f002f69f76e026e49dfd83ba01a | 8e18dd1647bf8f3ed4fa29d84874e8db28d3a0c0 | refs/heads/master | 2020-04-25T14:22:45.183224 | 2018-06-26T08:00:22 | 2018-06-26T08:00:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,539 | r | b1v07faster.R |
case <-function(integer,rows,cols){
if(integer==1){#(1,1) first element first column
return (1)
}
if(integer==rows){#(rows,1) last element first column
return (2)
}
if(integer==(rows-1)*cols){#(1,cols) first element last column
return (3)
}
if(integer==(rows*cols)){#(rows,cols) last element ... |
e69096b80e498e55cf6a98a38dae1de5424797fd | 7b102f9c8f2e3f9240090d1d67af50333a2ba98d | /nonfatal_code/mental_drug_cocaine/age_sex_splitting/age_split_byregion_cleaned.R | 4b4d09d6baa538c6bcc558239dbf73e2652fe9b1 | [] | no_license | Nermin-Ghith/ihme-modeling | 9c8ec56b249cb0c417361102724fef1e6e0bcebd | 746ea5fb76a9c049c37a8c15aa089c041a90a6d5 | refs/heads/main | 2023-04-13T00:26:55.363986 | 2020-10-28T19:51:51 | 2020-10-28T19:51:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,997 | r | age_split_byregion_cleaned.R |
#Setup
rm(list=ls())
if (Sys.info()["sysname"] == "Linux") {
j_root <- "/home/j/"
h_root <- "/homes/username/"
} else {
j_root <- "J:"
h_root <- "H:"
}
##Packages
library(data.table)
library(openxlsx)
##Set objects for each age split
region_pattern <- T ##if true will use regional patte... |
8b13a2b15d823549a799345f65272e407b16c751 | 58d4f0b7d4d221bdb2d38328f8375e139981862f | /Topic2_Debt/Zombie_interest.R | ac71b578783ad56c9490c07823884ec3d8266b2b | [] | no_license | tsuilf/fin20 | 9bc544fbc06b17876d7a76335487a62b6990512a | fc637467601b6e13d9e75f266a4022f2e3b7dab1 | refs/heads/master | 2023-03-21T14:47:06.547701 | 2020-02-10T13:09:18 | 2020-02-10T13:09:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,149 | r | Zombie_interest.R | library(tidyverse)
library(tibbletime)
library(lubridate)
library(readxl)
CMMPI <- read_excel("data/CMMPI_Irfil.xlsx")
CMMPI <- CMMPI %>%
mutate(
begin_date = Datesgn %>% ymd(),
short_rate = if_else(is.na(Irfil02), Irfil28, Irfil02),
long_rate = if_else(is.na(Irfil04), Irfil29, Irfil04)
) %>%
sele... |
12ad108ebcb0705c641ba7b6207fecb5966c1062 | e974c37a74c8e6690c230f269fe6384e8e7fc816 | /R/Lib/downloadSingleTickerPrices.R | 74d518e11529a8b1561d868b7376b399a5bf6478 | [] | no_license | aagret/QuantDataResearch | b78854964fd149e347be044262fc1a5a77b5f7a3 | 9a76c6dcd165fd033dd5b781fe9b87e227a168f6 | refs/heads/master | 2020-04-11T09:04:21.460415 | 2018-12-13T16:52:51 | 2018-12-13T16:52:51 | 63,428,533 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 855 | r | downloadSingleTickerPrices.R |
ticker <- "AD NA Equity"
#### load Init and requested functions ####
source("prod-V-0.9/InitFundData.R")
# get oldest date in database
startDate <- min(database$Date)
# get daily Fields
fields <- scan("ConfigFiles/dailyDataFields.txt", what= "character")
# connect to Bloomberg
connection <- blpConnect()
# down... |
655b45d7b4b62ffacf9683c13dc6177682912291 | 281c0b5f629004cdff576c6d43709f4c6d9f2a26 | /run_analysis.R | 5b2b4f01cece822903ab78f49176d79969d2ca4d | [] | no_license | stevodurbaba/Getting-and-Cleaning-Data-Project | f4b956a2c1626704c66913e4637b09a7d38793a4 | e9ae85bbbc5ff087ac97fd8fb5086d7f032a2fdf | refs/heads/master | 2021-01-22T01:06:05.473456 | 2014-05-25T20:49:10 | 2014-05-25T20:49:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,215 | r | run_analysis.R | ## Assumes data file are in the same folder as this R script
## read the data files
subject_test <- read.table("subject_test.txt")
x_test <- read.table("X_test.txt")
y_test <- read.table("y_test.txt")
subject_train <- read.table("subject_train.txt")
x_train <- read.table("x_train.txt")
y_train <- read.table("y_train.t... |
672cdc57555e551da7195371dfb83377f79e62ee | cd679c99468a8d78beca6f971c3ccafb25e48bc0 | /Plot6.r | ee76fafff05da1811e52c71f718e6a457acf0e0c | [] | no_license | DamjanStefanovski/Exploratory-Data-Analysis-Project2 | a1888a052507f5512750fa3a2a20c99b52955dff | 8d79b665fd44a32baeb1d11cea7e69f6a55d7fb7 | refs/heads/master | 2021-01-22T11:28:08.436112 | 2017-05-29T04:40:48 | 2017-05-29T04:40:48 | 92,698,593 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,642 | r | Plot6.r | # Packs
library(plyr)
library(ggplot2)
library(RColorBrewer)
library(ggthemes)
# Setting a theme
theme_set(theme_fivethirtyeight())
# Read Data
NEI <- readRDS("./summarySCC_PM25.rds")
SCC <- readRDS("./Source_Classification_Code.rds")
## elaborate plotdata:Total PM25 emission from Baltimore City a... |
91397066b9f8b166ae01d12d13518af22ec771f1 | d11d7fe9df513536af20898f7dd8c36beec2ed06 | /AR_Scrapping.R | 914deb00550ea5a7945b2e7f66873419f66970e6 | [] | no_license | urosgodnov/Trademarks | b54a1b3e913825ad95c6563504709e1392d707b8 | 3cd8e9685e54c961b96bd13a591c527355ecaf36 | refs/heads/master | 2021-09-06T10:48:14.471968 | 2018-02-05T19:08:24 | 2018-02-05T19:08:24 | 105,199,426 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,383 | r | AR_Scrapping.R | translateNat = function (api_key, text = "", lang = "")
{
url = "https://translate.yandex.net/api/v1.5/tr.json/translate?"
url = paste(url, "key=", api_key, sep = "")
if (text != "") {
url = paste(url, "&text=", text, sep = "")
}
if (lang != "") {
url = paste(url, "&lang=", lang, sep = "")
}
url ... |
9494877d731e8127f0565c5ef7d1b40b072f603b | 4c4b3775c9519bdd2c6e779c091c48ca14b76f02 | /csse_covid_19_data/csse_covid_19_time_series/covid19_visualization/app.R | 0d3385b2798e8d4e04b4b201762a45bd7b0453f7 | [] | no_license | Schubisu/COVID-19 | 507ec60577b42337a5200346de29154ea74c5780 | e1bee18d96f66d0609e38f59beeec01cf86b6dbf | refs/heads/master | 2021-04-02T23:17:27.381174 | 2020-03-26T10:19:03 | 2020-03-26T10:19:03 | 248,335,163 | 0 | 0 | null | 2020-03-18T20:25:16 | 2020-03-18T20:25:15 | null | UTF-8 | R | false | false | 2,690 | r | app.R | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
source('visualization.r')
library(ggpubr)
# Define UI for application that draws a histogram
ui <-... |
91d547b220ba4590d991d2bf8b9b202ec4eaac3f | 10ea266d27c31046cc938255c4bab83f525f09f8 | /plot_load.r | 2767c7eb03a62ddfb53fbb39f957e0ea454b4051 | [] | no_license | sadiquemohd/ExData_Plotting1 | 0826ec2dd86ccd1efd59117039d16a240029ba15 | 9b57a3903586824d41ac7597d2643a48fa4a194f | refs/heads/master | 2020-03-08T16:40:16.379970 | 2018-04-07T09:24:00 | 2018-04-07T09:24:00 | 128,245,846 | 0 | 0 | null | 2018-04-05T18:13:00 | 2018-04-05T18:12:58 | null | UTF-8 | R | false | false | 884 | r | plot_load.r | #Purpose To plotting
# Function to load the ec consumption file
plot_dataset <- function (fileurl, date1, date2)
{
fpath <- "F:/c4proj/"
zipfilename <- "household_power_consumption.zip"
setwd(fpath)
fname <- "household_power_consumption.txt"
if (!file.exists(fname)){
download.file(fileurl,zipfile)
un... |
79526a74a44d9c1589893ffec23503a8e499e5eb | d03c9f06e40d581ac7075376c71ebc008a4a06e1 | /R/install_starred_cran.R | bf467448d18c9e9df5c2aaaa40563202d92b7cbf | [
"MIT"
] | permissive | hadley/batata | 3b90bec20713905aa32a31b70bee82280fef8323 | a606f2448e68bb9e6c798bff548bad2a959bbd19 | refs/heads/master | 2023-03-18T20:57:19.662817 | 2021-03-08T09:55:33 | 2021-03-08T09:55:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,488 | r | install_starred_cran.R |
#' Install Github Starred CRAN Packages
#'
#' @param github_user the Github user name to look for
#' @param n the last 'n' starred repositories. Defaults to 5, in which case it will look for
#' the last 5 starred repositories, filter the R repos and install them
#' @return called for the side effect of installing the... |
0650b43c35857690b3a73af89b0720392f9e5fa2 | e54648b48eaa75e05ffa13dd4e0f7b20d092e344 | /Linear-Lasso-Classifiers.R | afa6bc208cd282df64f99fe741b3dcc87791cbb7 | [] | no_license | MI-12/Comparison-of-AI-Semantic-features-and-radiomics-features | 5b2a239f000cc733cf506b6f1b8ee4b1b78da1c5 | 48d8f923bccfcb2b05cfb7d70b10587e0e35ab94 | refs/heads/master | 2022-11-05T01:53:28.776173 | 2020-06-18T22:30:09 | 2020-06-18T22:30:09 | 265,733,242 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,229 | r | Linear-Lasso-Classifiers.R |
rm(list = ls())
gc()
library("glmnet")
library("pROC")
library("readxl")
library("nnet")
workbook<-"Feature matrix extracted by BigbiGAN from yout training dataset."
Sta = read_excel(workbook,1)
workbook1<-"Feature matrix extracted by BigbiGAN from yout test dataset."
Sta1 = read_excel(workbook1,1)
... |
b362300b51c09526e8d624a4873df1f644b2ebef | 668a228704a96a15d892239ae3c60c0c304001c9 | /_run_all_data_transform_model_selection.r | b017151d4841f3455a938da26ceb921c6917c7f3 | [] | no_license | bertozzivill/viral_load_idm | cd10a56417d9e13237d54adc481cdcdc0d1f5aa7 | ddf98e329a96c424b1402ad055fee48aef0d2b99 | refs/heads/master | 2020-04-06T13:13:27.917848 | 2016-11-02T16:56:53 | 2016-11-02T16:56:53 | 44,878,503 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,085 | r | _run_all_data_transform_model_selection.r | ####################################################################################################
## Author: Amelia Bertozzi-Villa
## Description: Survival model coupling nonlinear viral load progression with informative censoring
## based events.
## Input: this_main_dir: Directory in which the file "a... |
268fc3a5ee8926c174550dde920bdada972a0ce1 | 140965c9a052f9acb869104592de931ba493ca41 | /05 Data transformation.R | 0edec65ca9e379d8ac8a5c2c3a0fa375d0e0b313 | [] | no_license | christopherhadley/textook-R4DS | 61c15bcd4347affbdbd3f4f07d1d34ad676b442a | 0ea33cd68e1f2ea7140d80011ce97081dc574968 | refs/heads/master | 2021-01-21T21:15:42.442055 | 2017-06-19T18:57:06 | 2017-06-19T18:57:06 | 94,804,725 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,346 | r | 05 Data transformation.R | # 5 Data Transformation with dplyr
# Pick observations by their values (filter()).
# Reorder the rows (arrange()).
# Pick variables by their names (select()).
# Create new variables with functions of existing variables (mutate()).
# Collapse many values down to a single summary (summarise()).
jan1 <- filter(flights,... |
eebc5c811d82fc7ce1947b12ef23580b8408aec6 | 35bace0a2490d9e15f021f752c854748c9ff378c | /man/od_fatal_any_opioid.Rd | 80884e8d2f50417d50262401eb6b567369c6792f | [] | no_license | doh-FXX0303/overdoser | 077c0c1eebdf8a3f3a32a0ef2439aee61e546243 | d0314c87545b5fd66026f3bd3d956afc7ce6de38 | refs/heads/master | 2023-03-15T20:48:32.451747 | 2018-10-29T22:47:03 | 2018-10-29T22:47:03 | 569,497,723 | 1 | 0 | null | 2022-11-23T00:46:34 | 2022-11-23T00:46:33 | null | UTF-8 | R | false | true | 500 | rd | od_fatal_any_opioid.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/od_fatal_any_opioid.R
\name{od_fatal_any_opioid}
\alias{od_fatal_any_opioid}
\title{Find any opioid.}
\usage{
od_fatal_any_opioid(data, underly_col, mult_col)
}
\arguments{
\item{data}{input data}
\item{underly_col}{underlying col... |
e8f916f3ef43d1caf7acec4f0d11f74f3ae39f6b | 176422a095eaf12515a9055dcc1b643f1d9e4910 | /site_nutrients/data_setup.R | 2f65afd8171a7c4f2f2cff493add06f1ecda8a41 | [] | no_license | wesbick/Root_paper | 43710a08af0bd5faa882d6c259a455dd4f8a67a6 | 21a8917de875b1c54fc86f0f01cea3ad5b00ed84 | refs/heads/master | 2021-06-30T04:12:25.228319 | 2019-05-29T20:06:44 | 2019-05-29T20:06:44 | 109,291,448 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 371 | r | data_setup.R |
leco16 <- read.csv("site_nutrients/LECO/Bickford_Dec16.csv", header = F, sep = ",", stringsAsFactors = F)
colnames(leco16) <- c("Study", "SiteID", "mass", "PerN", "PerC", "Date")
leco_soils_15 <- leco16[leco16$Study == "BIckford_15_Soils", ]
leco_soils_16 <- leco16[leco16$Study == "BIckford_16_Soils", ]
leco_plant_16... |
584704faf1d2738dc805955c0199c5aa69a2dae4 | 6e2ae783067a77b41b1b4c395ddcd8bbac469b31 | /man/nm_description.Rd | 6f46500430c3f0ad30a5433f5ce743617466e424 | [] | no_license | Eliford/PKPDmisc | 5ff36f8f626a116262bdd550cae5d8401755bf97 | d99608fc1247b855992e18e9bec039394c2c2de9 | refs/heads/master | 2023-03-28T10:46:36.041890 | 2020-04-07T14:40:16 | 2020-04-07T14:40:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 413 | rd | nm_description.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nm_comments.R
\name{nm_description}
\alias{nm_description}
\title{show description output from .mod file}
\usage{
nm_description(filename)
}
\arguments{
\item{filename}{name of .mod file}
}
\value{
string
}
\description{
show description outp... |
4394e8fd0f89260a16580541a87cf55ab54f97fb | 29585dff702209dd446c0ab52ceea046c58e384e | /CRAC/R/distance.luminosity.R | b439dba771d1d3cb934ec3efa3cf2e2091754910 | [] | 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 | 578 | r | distance.luminosity.R | #' Compute the luminosity distance [Mpc/h]
#'
#' @param z redshift upper limit
#' @param cosmo cosmological parameter list
#' @param z0 redshift lower limit
#' @param ... pass to integrate() to control integration accuracy.
#' @return Luminosity distance from \eqn{z_0(=0)} to \eqn{z} [Mpc/h]
#' @references Equation (20... |
2928371d71adeced77c51f706d8f14cb7b9d3487 | e667d89c3a081edd7a1284b652d97688ef603a80 | /R Programming/Exercice 1/pollutantmean.R | 16fc599a2b2b3d25e7c82b30f4ba2b3178048806 | [] | no_license | fabianoal/My-Coursera-Data-Science-Projects | 2d15b8a1148df478e35bd7c06396bafa64595bc7 | b118e02ed26bc920e6f68bc7db6513ac812fe531 | refs/heads/master | 2021-01-01T05:51:12.904670 | 2016-01-24T15:00:59 | 2016-01-24T15:00:59 | 40,630,138 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 223 | r | pollutantmean.R | pollutantmean <- function(directory, pollutant, id = 1:332) {
dfs <- do.call(rbind, lapply(file.path(paste0(directory,.Platform$file.sep,(sprintf('%03d', id)), '.csv')), read.csv))
mean(dfs[,pollutant], na.rm = TRUE)
}
|
6eb381bc7fc11a17e3e1bb0c4c48b57f93bbc673 | 53fbeea7ca52f3b474e79efe34b1bee3f9a52572 | /tests/testthat/test-coerceS4ToList.R | d6df7e3f0db8cf7af42eaf0bb0bb9a727529ff1a | [
"MIT"
] | permissive | csu-xiao-an/transformer | 575aa7a59094e02006d44672c3fa5f79c085c757 | 04658a7d99973ac0d3d9b4484b0e599ecedcf936 | refs/heads/master | 2020-07-26T17:56:40.024193 | 2019-09-09T16:55:50 | 2019-09-09T16:55:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 361 | r | test-coerceS4ToList.R | context("coerceS4ToList")
test_that("coerceS4ToList", {
object <- coerceS4ToList(rse)
expect_is(object, "list")
expect_identical(
object = names(object),
expected = c(
"rowRanges",
"colData",
"assays",
"NAMES",
"elementMetadata",
... |
59ae879b388e596d1b3a272547ea19e4c841a655 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /ggforce/inst/testfiles/enclose_points/libFuzzer_enclose_points/enclose_points_valgrind_files/1609955763-test.R | b611e11b1ad63da73ed695a071c04f13d7a55278 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 195 | r | 1609955763-test.R | testlist <- list(id = 16777215L, x = c(2.83989925879564e-29, NaN, 9.43975066195912e+281, 2.40281901634502e-306, NaN, 0), y = NaN)
result <- do.call(ggforce:::enclose_points,testlist)
str(result) |
fe0a28d8fe1871d35a4617ff570aee4a6fc54697 | 0aa3452bf58964faad6f59faf53340a7f9b79625 | /man/NetFeature.Rd | 310b35593ccf72c1a547bb706c1990a409beb227 | [] | no_license | tanlabcode/arvin | f27495c55aa802d859cb96b4ca3a28f0bec70ca0 | 00101cc93e7999f3a84908ce2d3580063a26eb75 | refs/heads/master | 2020-04-04T12:09:47.084270 | 2018-11-02T20:11:20 | 2018-11-02T20:11:20 | 155,916,312 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 534 | rd | NetFeature.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/NetworkFeatureCalculation.R
\name{NetFeature}
\alias{NetFeature}
\title{Compute network-based features needed for risk variant prediction}
\usage{
NetFeature(Net, nodeFile, edgeFile, snpFile)
}
\arguments{
\item{Net}{a graph object representi... |
1886a9e0188e7ee30539043abe332c741e777366 | 6fa5c9434ad36808fecf6db902e515f71e87e5fc | /R code/National analysis/mergeEBTOthers.R | f74c6914cfb60e011502983ee308d68a721af2de | [] | no_license | ttvand/Master-thesis-Statistics-UEFA2016 | 1cca430e7c9687473a7f8364bb9ddf96e7fad330 | bf662d167fd6c8c6a6e2df6965ee3eee7568bfb3 | refs/heads/master | 2021-01-12T04:25:47.606388 | 2016-12-29T11:36:51 | 2016-12-29T11:36:51 | 77,608,020 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 574 | r | mergeEBTOthers.R | # Clear workspace
rm(list=ls())
# Set working directory
basePath <- "C:/Users/Tom/Documents/Sta dat Tom/Thesis/R/National analysis"
setwd(basePath)
# Load model and summary data
model1File <- "predictProbsNat4FIFAWeights.RData"
model2File <- "predictProbsNatEBT4FIFAWeightsS.RData"
# modelFile <- "predictProbsNat4FIFA... |
e82699576d938ead53dc5de89c3d1c8ab6ac5307 | b6e18b1f022ff87ab51ccfb55164b928f11c1254 | /plot6.R | bd93d946ff56897e70f3abd7ff78c8b06e2b206c | [] | no_license | jpatrickbennett/ExploratoryProject2 | bb7b07043ae63abcbd55b8dc8ed550c6ae20b043 | 84a35d97161f9887ac4a67070c89059965596397 | refs/heads/master | 2016-09-05T10:31:16.221875 | 2015-01-24T21:08:41 | 2015-01-24T21:08:41 | 29,791,731 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 774 | r | plot6.R | ## This first line will likely take a few seconds. Be patient!
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
theseSCC <- SCC[grep("[Vv]ehicle", SCC$SCC.Level.Two),]
vehicleNEI <- NEI[NEI$SCC %in% theseSCC$SCC,]
balt_LA_Vehicle <- vehicleNEI[vehicleNEI$fips == "24510" | vehicleN... |
3dfe306b5db15e5be803cb59fe0822224e996d67 | 2f31813b70d1fd1e343f34ab14645f26313cbc7d | /R/fitSignatures.R | 64100dd01a8260f5435ce38355f747e2d2c15661 | [
"MIT"
] | permissive | yuanjingnan/MesKit | 3a6ce6133a0e013902a4af6c61eb23604dd66d9a | 97113d1f87ff7b3e1ea090d95a6a5d09a5a08bb2 | refs/heads/master | 2023-01-30T13:40:17.214036 | 2020-11-23T13:08:50 | 2020-11-23T13:08:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,101 | r | fitSignatures.R | #' fitSignatures
#' @description Find nonnegative linear combination of mutation signatures to reconstruct matrix and
#' calculate cosine similarity based on somatic SNVs.
#'
#' @param tri_matrix A matrix or a list of matrix generated by \code{\link{triMatrix}} function.
#' @param patient.id Select the specific pati... |
c00c90d512e8e69b36f30ddbf34e6bb3ec5955da | 1803cf018cefcd9b7ae2c980b2e4a294f3cff396 | /man/pairwise.fstb.Rd | a45b39a27c42fc531783f0f8f90a42e11f9151fc | [] | no_license | tomatebio/PopGenReport | 4aa15f90385703d9acc57ced895355f682571a2a | bef87caa305ec8060193828470ebfb5a0afea0d3 | refs/heads/master | 2020-04-15T11:52:27.117366 | 2015-09-03T10:37:29 | 2015-09-03T10:37:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 518 | rd | pairwise.fstb.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/popdynfun.r
\name{pairwise.fstb}
\alias{pairwise.fstb}
\title{Calculates pairwise fsts using a genind object (very fast)}
\usage{
pairwise.fstb(gsp)
}
\arguments{
\item{gsp}{a genind object}
}
\value{
a pairwise fst matrix (same as hi... |
622aa268b6d280bc696e2882796f60f1b60d2793 | f8ce1034cef41685ab2387fa42084ac1ee5c96cf | /chapter14/proc.R | 7db8cace542c17e5ba9e0daa1b68306e8b00740f | [] | no_license | AnguillaJaponica/RProgramming | ab7e15d99153ebe585745289490e6e3df118a35c | ae1401920b5a52795cffc95bd83922f15761e531 | refs/heads/master | 2020-11-28T10:07:02.579925 | 2019-12-23T15:28:23 | 2019-12-23T15:28:23 | 229,777,900 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 656 | r | proc.R | library(pROC)
prob.label <- data.frame(prob = c(0.98, 0.95, 0.9, 0.87, 0.85, 0.8, 0.75,
0.71, 0.63, 0.55, 0.51, 0.47, 0.43, 0.38, 0.35, 0.31, 0.28, 0.24, 0.22,
0.19, 0.15, 0.12, 0.08, 0.04, 0.01), label = factor(c(1, 1, 0, 1, 0,
0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0), levels = c(1,
... |
7e5033a9864c943106adce4999e1a60f70b1d278 | 1352befe44c4df0aff15c8561deede8d45711e6c | /Functions/PowerFlow.R | 3ce8f4afd2a3a490f78f9706ad30ec993d35f171 | [] | no_license | JonnoB/Create_ETYS_network | 5cadbaa76804184bbfcf1380ab464608da463cce | 6efd198527ef1d1d39f85741ac714ee345b53e4d | refs/heads/master | 2021-01-21T19:58:02.014521 | 2018-02-22T08:44:02 | 2018-02-22T08:44:02 | 92,177,917 | 0 | 0 | null | 2018-02-22T08:44:03 | 2017-05-23T13:44:41 | HTML | UTF-8 | R | false | false | 574 | r | PowerFlow.R | PowerFlow <- function(g, SlackRef){
#Calculates the PowerFlow from a graph that contains the following attributes
#named edges, edgeweights, a balanced power generation and demand column, Powerflow (will be overwritten)
#g: an igraph object
#SlackRef: the node to remove from the calculations to prevent the matrix... |
be64edd88df7f7ed4e06af00dfcb5dd750845152 | 4288957ae81853c5c96f41edb3b889d94c77cb01 | /plot4.R | cc15d86b5230d870b6913043dd2554be792464b8 | [] | no_license | sergiotosa/ExData_Plotting1 | 7374eb846f607235bb162e16e85e383474b488dd | 7a0e9b0be841d7dd2ffd8c09735fa7b275ee869e | refs/heads/master | 2020-12-25T05:09:15.795234 | 2014-08-07T14:47:27 | 2014-08-07T14:47:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,035 | r | plot4.R | plot4 <- function(){
## Read the file
subset<-read.csv.sql("household_power_consumption.txt", sep=";", sql='select * from file where Date="1/2/2007" OR Date="2/2/2007"')
date<-paste(subset$Date,subset$Time)
time<-strptime(date, format="%d/%m/%Y %H:%M:%S")
png(filename="plot4.png", height=480, width=480)
par... |
b2076dad772a2a470bd9c2955f149f6b7d2704b6 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.machine.learning/man/lexmodelsv2_list_bot_recommendations.Rd | 46e9d536516048f38f90a0e79cf18caca3d094fb | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,368 | rd | lexmodelsv2_list_bot_recommendations.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lexmodelsv2_operations.R
\name{lexmodelsv2_list_bot_recommendations}
\alias{lexmodelsv2_list_bot_recommendations}
\title{Get a list of bot recommendations that meet the specified criteria}
\usage{
lexmodelsv2_list_bot_recommendations(
botId... |
cfe22817e749e11bd12d12f0412198f468ff2392 | e9a2500087f7d3428b9c42e6e1aa2ced6938f268 | /SizeBiasedMCMCWorking.R | 5ed2f3563b5ac22e4cb1a151c8885c96ae8a044f | [] | no_license | PM520-Spring-2020/Week6-SizeBiasedMCMC | 819a9c37c55f6ef4d7fa3ba3c291d1ea17857c7f | 2be28f3136ed3581ea69e7e5e10a17c8ddd05fc2 | refs/heads/master | 2021-02-05T19:55:24.906232 | 2020-03-02T18:01:11 | 2020-03-02T18:01:11 | 243,825,637 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,241 | r | SizeBiasedMCMCWorking.R | # Size-biased sampling via MCMC
Exponential<-function(dRate,x){
return (dRate*exp(-dRate*x))
}
TruncatedNormal<-function(dMean,x){
y<- -1
while (y<0){y<-dnorm(x,dMean,1)}
return (y) # assume an SD of 1, and truncation at 0 for now
}
SizedBiasedMCMC<-function(Density, Param1,NoOfIts,StepSize,LowRange,HighRan... |
59fb3058b2e9d4970453b1e22449919a0e7d6766 | 8928cca80877279f0c6b3c6d288706cc379847d5 | /rpkg/grocaptss/pkg/R/classify.R | 9335ad38b20308e2350c202b2442355cbabc71c6 | [
"BSD-2-Clause"
] | permissive | andrelmartins/grocap.tsshmm | 5f4ef11df41abdab6e85577d6f9b1acafbc50525 | 88d4d1b02ab41716d708b19dfc4a0275bb96faa3 | refs/heads/master | 2021-01-21T05:16:38.156417 | 2017-02-25T21:11:58 | 2017-02-25T21:11:58 | 83,163,284 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 4,381 | r | classify.R |
#' Classify pairs (in order, [-, +]) as SS, SU, US, UU
#'
#' @export
stable.unstable.classify <- function(pair.plus, pair.minus, bwSet, cage.thresh = 8) {
pair.plus.values = values.preds(pair.plus, bwSet$GROcap.plus, bwSet$CAGENuc.bp.plus)
pair.minus.values = values.preds(pair.minus, bwSet$GROcap.minus, bwSet$CAGE... |
d92d89a6290ebc8e706306c342185e93c620d0c0 | 9e8936a8cc7beae524251c8660fa755609de9ce5 | /man/details_multinom_reg_brulee.Rd | 8066cfffb68fa377fd8b6868ae36cdb56bd1f72d | [
"MIT"
] | permissive | tidymodels/parsnip | bfca10e2b58485e5b21db64517dadd4d3c924648 | 907d2164a093f10cbbc1921e4b73264ca4053f6b | refs/heads/main | 2023-09-05T18:33:59.301116 | 2023-08-17T23:45:42 | 2023-08-17T23:45:42 | 113,789,613 | 451 | 93 | NOASSERTION | 2023-08-17T23:43:21 | 2017-12-10T22:48:42 | R | UTF-8 | R | false | true | 3,039 | rd | details_multinom_reg_brulee.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multinom_reg_brulee.R
\name{details_multinom_reg_brulee}
\alias{details_multinom_reg_brulee}
\title{Multinomial regression via brulee}
\description{
\code{\link[brulee:brulee_multinomial_reg]{brulee::brulee_multinomial_reg()}} fits a model th... |
7bcb5c73e9291795a2c2e81e32064a60df1bce74 | 31928567719ec1812a049e743c1136d39118e73a | /R/internals.R | a5a21d5bf00a00af023df1578e0235c595fb064a | [] | no_license | cran/ICSNP | c94fff63b2616b615fbc1a4c0e0f51b8fb0909b2 | 5efc7e82dc8a2414fd8bea63ed173d81e8c2a105 | refs/heads/master | 2020-02-26T14:58:37.751662 | 2018-03-10T22:03:38 | 2018-03-10T22:03:38 | 17,679,935 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 273 | r | internals.R | norm<-function(X)
.C("norming", as.double(X), as.integer(dim(X)), res=double(dim(X)[1]),PACKAGE="ICSNP")$res
sumsignout<-function(X)
{
d<-dim(X)
matrix(.C("sum_of_sign_outers", as.double(X),as.integer(d), res=double(d[2]^2),PACKAGE="ICSNP")$res,ncol=d[2],byrow=T)
}
|
ffb29da6dfbfe3f0076b63d9db0d78a0eaf9e2a5 | 6ea95cada38629b3aeffe6d5a3e24c4f3bd948a4 | /man/normalize.Rd | 81e02313927957c336044cab4e8abacec9ffa78a | [] | no_license | nickharrigan/Nick | 1c9c2b409c72650a7ceaabeb4f91201d099908f3 | 406450e4ec64e8c8e17ff7ebcf9197947c93ec66 | refs/heads/master | 2020-03-26T21:22:56.104225 | 2018-08-20T07:59:57 | 2018-08-20T07:59:57 | 145,384,523 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 509 | rd | normalize.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/normalize.R
\name{normalize}
\alias{normalize}
\title{Normalize}
\usage{
normalize(x)
}
\arguments{
\item{x}{A variable}
}
\description{
This function allows you normalise a variable. The function takes one variable as an input, a... |
1de9df9cd4120be6846343b0d39c3390bce80ff6 | 809f1752af7fea7029573b732a8b01a2e558442e | /weight.R | 73705393dbe164948bd06b51bbdf1a73ccbcf770 | [] | no_license | krojtous/weights | 3c02928cc4b7b9996863f301d19c344aac6ae746 | f86b9eab219897faaeb34f8d5898a4d15da0cbe9 | refs/heads/master | 2021-01-22T03:43:53.050501 | 2017-02-09T13:30:06 | 2017-02-09T13:30:06 | 81,452,432 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,032 | r | weight.R | #Name: weight.R
#Date: 31.1.2017
#Author: Matouš Pilnáček - Public Opinion Research Centre, Czech Academy of Science
#E-mail: matous.pilnacek@soc.cas.cz
#Description: Weighting of CVVM survey of crossed age, education and sex
library(foreign)
#functions for basic CVVM model
source("model.R")
#CVVM survey data
cvvm = ... |
7b9be142492de669940eb81d21dacc7357ab0930 | 744a39f1517cc98d5b91be460031d04a3db375e6 | /03_variableSelections.R | 823203be235a5931772e408ebe0a8486dff97121 | [] | no_license | jennybc/Stat-545a-2013-HW | ae6071f91b30c2e40796787cccb2f04d9982f869 | 7b3f3a1ca0231a524872c7ed5adbbdcf64483609 | refs/heads/master | 2021-01-18T03:00:56.615003 | 2013-12-08T03:10:45 | 2013-12-08T03:10:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 675 | r | 03_variableSelections.R | # As we did before, we create an environment to hold the data.
main.variable.en <- new.env()
# We load the cleaned binned data.
evalq({
adult.data <- read.table("adult_clean_binned.txt", header=TRUE)
}, main.variable.en)
# We keep certain variables in our data and remove the redundant ones as follows:
evalq({
adu... |
fb6b902ace5dae1ad75fb0b2a6e7b47af8f9c08e | 5a0eb1aed082d69c290070fb2e03c5ecfdc445a9 | /R/Inherit_functions/int_exact_copy.R | 6fd8c533e32f847c278854495460ae71c94b1756 | [] | no_license | gvdr/2016_Forward_Simulation | db82ae66617e549bf2dd66ee984f69990edd2678 | 9ac6494b89544bb07cb289cbea8a7007e4c2b3c8 | refs/heads/master | 2020-12-03T12:55:44.636154 | 2016-08-28T00:11:00 | 2016-08-28T00:11:00 | 66,307,310 | 0 | 1 | null | 2016-08-26T16:00:34 | 2016-08-22T20:53:30 | HTML | UTF-8 | R | false | false | 588 | r | int_exact_copy.R | int_exact_copy <- function(current_interactions, mom_number, child_l_number, child_r_number, new_time, ...){
mom_traits <- current_interactions[which(current_interactions$from == mom_number), ]
child_l_traits <- mom_traits
child_l_traits$from <- child_l_number
child_r_traits <- mom_traits
child_r_tr... |
57cfcf02e0d9f0904abbc070fb052949bca5ff28 | 4a45693543a4d842912a42539b474af3d1d49684 | /man/sp_arrange.Rd | 94f5655dc110306b52b0c7b21c1dc8b1ad3dae12 | [] | no_license | LukasK13/sharepointr | bb23920efe59cce4c58b9f5f1f058704e3e3af5e | 2f955e9ef0db90dc65f0195182ee69dd78f340d8 | refs/heads/master | 2022-12-13T09:22:15.153264 | 2022-12-09T20:58:07 | 2022-12-09T20:58:07 | 179,996,847 | 48 | 15 | null | 2022-12-09T20:58:08 | 2019-04-07T17:05:56 | R | UTF-8 | R | false | true | 664 | rd | sp_arrange.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sharepoint_list_get_pipeline.R
\name{sp_arrange}
\alias{sp_arrange}
\title{Arrange a SharePoint list}
\usage{
sp_arrange(table, ..., .arrange = NULL)
}
\arguments{
\item{table}{A SharePoint list connection
as returned by sp_list()}
\item{...... |
6c95e0573376bb2e6441ff4208a8d8c2b2b722ce | 04a7e4899d9aac6d1dbb0c37a4c45e5edb4f1612 | /R/replace-vecs-with-vecs.R | 279609d120928468aa27340cc8ac6bd1b2ebe478 | [
"MIT"
] | permissive | pbs-assess/csasdown | 796ac3b6d30396a10ba482dfd67ec157d7deadba | 85cc4dda03d6513c11350f7f607cce1cacb6bf6a | refs/heads/main | 2023-08-16T17:22:18.050497 | 2023-08-16T00:35:31 | 2023-08-16T00:35:31 | 136,674,837 | 47 | 18 | NOASSERTION | 2023-06-20T01:45:07 | 2018-06-08T23:31:16 | R | UTF-8 | R | false | false | 2,975 | r | replace-vecs-with-vecs.R | #' Inject vectors of strings into another vector replacing the elements
#' given the start and end indices in the main vector
#'
#' @details
#' Algorithm - Make a list of vector slices of the `main_vec` that are not
#' being replaced, than interleave the vectors in `repl_vecs` with those.
#' If the `start_inds` gives a... |
9c0cd9fb665011923a8f635c3c3f8d22ca39c560 | 227fe346470dbdc79fe8014c0a4f5d5ba5e72fdf | /src/2-Individual View/Manhattan_plot.R | ad90203c68de04c9ae4209ac36e9999364d4a9e8 | [
"MIT",
"BSD-3-Clause"
] | permissive | InfOmics/MUVIG | 022098e745c7900e60ca7b3d4730ed6c8160d850 | 8288a8d1c29c3691849621516414bd10b7dad7dd | refs/heads/main | 2023-07-14T14:52:29.517003 | 2021-08-24T09:24:20 | 2021-08-24T09:24:20 | 308,043,408 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,291 | r | Manhattan_plot.R | # function to create the Manhattan Plot
# R packages required to run the script:
# - tidyverse
# - ggplot2
# - ggrepel
if(!require("tidyverse", character.only = TRUE))
{
install.packages("tidyverse")
if(!require("tidyverse", character.only = TRUE))
{
stop("tidyverse package not found")
}
}
if(!require("gg... |
f9c4ea6a2fcdde41c60452fb4b98273cec4ac2cc | 369df18b3ee9b666e118a8adde0a0494f2257b20 | /method.R | 0b6d06015e0a45ddf73c7eb422f95badcfc387e1 | [] | no_license | jarichardsonccbf/edi_look | c421afe208261ada86e3ee8b25ae8f5db9927b82 | 77296f01c360c109df756c61008f285737060b23 | refs/heads/master | 2022-04-20T03:51:48.945932 | 2020-04-17T15:44:44 | 2020-04-17T15:44:44 | 255,673,963 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,733 | r | method.R | KA <- data.frame(KeyAccount = c("WALMART DISCOUNT STO",
"WALMART NEIGHBORHOOD",
"WALMART SUPER CENTER",
"PUBLIX (JACKSONVILLE",
"PUBLIX (LAKELAND)",
"PUBLIX (MIAMI)",
... |
9b3ca80e2e3b67be6f9eb39491616f8d4f7add13 | abfcaf9a17cf0fa5221d16a880d212b767e08f3c | /VANESSA-DAM-SA/vanessadamsa/inst/vanessadamsa/ui.r | c04044f666f8dd31a1730736bc6619e0d5263b5b | [
"MIT"
] | permissive | orijitghosh/VANESSA-DAM | 9c91276b5bd6d4d44fd31ca68847c545380af8e4 | 79912224ca1d55c2039b6570a058aafa0ad8e95c | refs/heads/main | 2023-04-17T01:09:27.242862 | 2023-02-09T12:07:41 | 2023-02-09T12:07:41 | 326,950,938 | 7 | 0 | null | null | null | null | UTF-8 | R | false | false | 61,995 | r | ui.r | library(shiny)
library(shinythemes)
library(WaveletComp)
library(dplyr)
library(shinydashboard)
library(shinycustomloader)
library(shinyalert)
library(colourpicker)
library(shinyWidgets)
library(shinyhelper)
library(ggplot2)
source("helpers.R")
shinyUI <-
(
navbarPage(
"VANESSA-DAM-Sleep",
... |
c026af2012f984b319eae9a44c7970f4910bdaf0 | edf2d3864db8751074133b2c66a7e7995a960c6b | /R/EMLeastSquaresClassifier.R | ac1e1ce36631d6132b02b8dd06efcb40af311583 | [] | no_license | jkrijthe/RSSL | 78a565b587388941ba1c8ad8af3179bfb18091bb | 344e91fce7a1e209e57d4d7f2e35438015f1d08a | refs/heads/master | 2023-04-03T12:12:26.960320 | 2023-03-13T19:21:31 | 2023-03-13T19:21:31 | 7,248,018 | 65 | 24 | null | 2023-03-28T06:46:23 | 2012-12-19T21:55:39 | R | UTF-8 | R | false | false | 9,998 | r | EMLeastSquaresClassifier.R | #' @include LeastSquaresClassifier.R
setClass("EMLeastSquaresClassifier",
representation(responsibilities="ANY",opt_res="ANY",intermediate="ANY"),
prototype(name="Expectation Maximization Least Squares Classifier"),
contains="LeastSquaresClassifier")
#' An Expectation Maximization like appro... |
6b09a27313f6d47410d5d7390160d617519095dd | 2c5a3c1b0ca9b746ca3657e811466ab9017be59f | /Gotham_Cabs/code/garbage_code/Script1_Regression_tree_lib_tree.R | 68f45a4014b3d392b2511c3c5bd70a96195aeab9 | [] | no_license | ccirelli2/ML_Final_Project_2019 | 5982263cdd2f7ef4818ae9b976dd7525f7dcdc0d | 02b3df31f6a253ac0270ef27545eb46cfac51792 | refs/heads/master | 2020-05-15T13:28:49.872082 | 2019-05-02T20:02:34 | 2019-05-02T20:02:34 | 182,301,101 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,719 | r | Script1_Regression_tree_lib_tree.R | # READINGS_______________________________________________________________________________
'Train Regression Tree using rpart:
- https://www.statmethods.net/advstats/cart.html
Regression Trees using Tree
- http://www.di.fc.ul.pt/~jpn/r/tree/tree.html
Regression Trees
- https://www.datacamp.com/community/tutorials/d... |
97bd6470f4ea924b2250f034c8ff9c16d915c71f | 0a5386794de4a9af32d80465ee3c790e3361ac5a | /covid-19/cov19_make_bed.r | 37412df20c23c7cceab7788b7cb988d0be826a63 | [] | no_license | JonMarten/RNAseq | 66e62260c7494ca0fd109fd1f3b94855b3a7d5d8 | 582e12c8b5ce92341e8f652dfb84754261e497ba | refs/heads/master | 2021-07-09T18:20:32.719827 | 2020-08-07T09:15:39 | 2020-08-07T09:15:39 | 175,254,662 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,172 | r | cov19_make_bed.r | # make bed format phenotypes for tensorQTL for COVID-19
#Chr start end ID UNR1 UNR2 UNR3 UNR4
#chr1 173863 173864 ENSG123 -0.50 0.82 -0.71 0.83
#chr1 685395 685396 ENSG456 -1.13 1.18 -0.03 0.11
#chr1 700304 700305 ENSG789 -1.18 1.32 -0.36 1.26
library(data.table)
library(dplyr)
#setwd("/rds/project/jmmh2/rds-jmmh2-... |
a4cbb7ecfe9db4253c47f2426483268fd5ecab6a | acfc4a18c41c8bcd76ff898ec3899b9e59737474 | /R/Max.Profit.PC.R | e8be7959ffe634c54999d62561d460e84ed67669 | [] | no_license | tomvar/bundling | 8a2d135b69973df75320d2a78ba2a7457147af71 | e8fc6e6a1f7b006a3d9ff59a33bb795bbf677a15 | refs/heads/master | 2021-01-10T21:54:43.301831 | 2018-03-14T16:22:51 | 2018-03-14T16:22:51 | 39,305,990 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,982 | r | Max.Profit.PC.R | #' Find maximum profit for Pure componenets strategy
#'
#' @param r1.r2 NX2 reservation prices of two goods []
#' @param p.1.min.max Vector
#' @param p.2.min.max dfg
#' @param c.1 good 1 parameter of production cost
#' @param c.2 good 1 parameter of production cost
#' @param alfa parameter of scale economics alfa = 0 ... |
10a1bb628de98e0b268263e2e602a5380536ca54 | f186b57cf6e8f1d67055001dbc55a7d6e6d0681e | /man/climater_dap.Rd | 16485c9370097a8bcc07dd182cef4fa3ef8bf2ee | [
"MIT"
] | permissive | mikejohnson51/climateR | 7f005e7ba5e8eb59245cc899b96362d8ed1256a2 | 4d02cd9ccc73f1fd7ad8760b50895a0daaa2f058 | refs/heads/master | 2023-09-04T08:57:09.854817 | 2023-08-21T19:53:33 | 2023-08-21T19:53:33 | 158,620,263 | 138 | 35 | MIT | 2023-08-14T22:52:00 | 2018-11-22T00:07:16 | R | UTF-8 | R | false | true | 1,323 | rd | climater_dap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shortcuts.R
\name{climater_dap}
\alias{climater_dap}
\title{ClimateR dry run}
\usage{
climater_dap(id, args, verbose, dryrun, print.arg = FALSE)
}
\arguments{
\item{id}{The resource name, agency, or catalog identifier}
\item{args}{The parent... |
0f2a4a16f7a667b18abcde5d7fea1b15ed302a0a | aef733f76ffd42db3b47d70326fff01e1003f3d1 | /Nonlinear-Models/ch7-polynomial-regression-and-step-functions.r | 1e9f8864305e48e5b65d4e09f8fd4653508722a9 | [] | no_license | colson1111/ISLR | 03766237bd8ad859a988bfe3906aefc00ebcdec3 | 8d889e602ba1c1b09fb39107ff1e0e2b781ff1a9 | refs/heads/master | 2021-01-10T21:17:48.493009 | 2015-08-10T17:49:07 | 2015-08-10T17:49:07 | 40,409,428 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,313 | r | ch7-polynomial-regression-and-step-functions.r |
# POLYNOMIAL REGRESSION
library(ISLR)
attach(Wage)
fit <- lm(wage~poly(age, 4), data = Wage)
coef(summary(fit))
fit2 <- lm(wage~poly(age, 4, raw = TRUE), data = Wage)
coef(summary(fit2))
fit2a <- lm(wage~age + I(age^2) + I(age^3) + I(age^4), data = Wage)
coef(fit2a)
fit2b <- lm(wage~cbind(age, age^2, age^3, age^... |
0050ec8fc86f00e91b6d3117bf9c661d124acf23 | 44ac6d8f221845534e825eca609ed9d74f342b5e | /CreateNGramFiles/CreateDictionary.R | 37687f4b4495dda77f13dc4d8d475c87b340fe65 | [] | no_license | brianfrancis/CapstoneProject | a66a1619c6a28c4414264807e46ecaeae404fdc5 | 6253c75e930e7366c0a10925e5caba6b829c5d01 | refs/heads/master | 2021-01-12T14:52:56.955536 | 2016-10-09T21:25:20 | 2016-10-09T21:25:20 | 68,934,581 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,693 | r | CreateDictionary.R |
appendToDictionary <- function(corp,
dict.filename, dict.foldername,
initialfile){
library(data.table)
library(stylo)
words <- data.table(make.frequency.list(corp))
setnames(words,"V1", "word")
setkey(words,word)
#setnames(unigramfreq, "N... |
2fb8e643b9457406127f4f0361c31ac7dde99589 | 94849a599e008fd402255b7cd1b0b90a3434a182 | /transportation.R | f25c4af80f3dd92a9dd90bbd82abca3176cbaf39 | [] | no_license | zhaoqiao0120/Sus_Qiao | 6c8a729f5aa0b155fc72fba87b20e7976fab2ee1 | 17eaebe6f8dfa410a4bfd87c06199c8e73b20258 | refs/heads/master | 2023-01-11T13:00:28.878082 | 2023-01-10T05:38:49 | 2023-01-10T05:38:49 | 209,385,054 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,977 | r | transportation.R | install.packages("sf")
install.packages("raster")
install.packages("spData")
install.packages("dplyr")
install.packages("stplanr")
install.packages("tmap")
devtools::install_github("Nowosad/spDataLarge")
library(sf) # classes and functions for vector data
library(raster) # classes and functions for raste... |
4b32809193b52927fcece472cd200e95f12faea3 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/2438_1/rinput.R | f5dfea7daa3f8519e95007d742eac62421acbe5b | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("2438_1.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="2438_1_unrooted.txt") |
4fd88fb2efd1178ff7b533262d4ff16bcc8ec795 | 355c358f22e2b72b2b4489c0c1b15e93e21bd064 | /tests/testthat.R | 5e1d655aec4afb4cd0f3e727cdc08479993b61a4 | [] | no_license | cran/POV | d517e188413cb5d999fcb9a5fb26bc0f00e3021a | c7cbd5f5ec500adc8dc51d30ee116ffb053524f8 | refs/heads/master | 2023-01-15T05:39:37.693859 | 2020-11-16T15:20:05 | 2020-11-16T15:20:05 | 315,988,928 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 50 | r | testthat.R | library(testthat)
library(POV)
test_check("POV")
|
9bbcb392d0eddc72e6e070101af84a3253ee39b8 | 5c42dcf6618e465256a42bb58946eb414d601cd0 | /initialize_country.R | 5dcb254567b9e14b54e07a5081a36bd6514c7d5b | [] | no_license | Ecological-Complexity-Lab/COVID19_vaccine_model | d5091ca7a0ebec96f7ecc1c4698fa8368263c28f | 170605af9cd798d0cb57288cbdcc9cd640ae9c75 | refs/heads/main | 2023-07-27T01:01:13.498480 | 2021-08-20T08:02:28 | 2021-08-20T08:02:28 | 324,159,405 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,917 | r | initialize_country.R | print(paste('Initializing for',current_country))
# Define population size
population_sizes <- tibble(country=c('Israel', 'Belgium', 'Finland', 'Germany', 'Italy', 'Luxembourg', 'Netherlands', 'Poland'),
N=c(8712900,11539.326*1000,5532.159*1000,83517.05*1000,60550.09*1000,615.73*1000,17097.1... |
c8ee58f9b923b9896a71ac82a2d9e5d71ab7b631 | 84c27ec545e7a5e9448d95c0676b882317fafd7c | /tests/testthat/test-268.R | 6399300026a9591ad8fe262f7db4a558e41c0d95 | [] | no_license | OpenMx/OpenMx | ac58c848b4ce63079c79ccad13f972d81c90d348 | cbe1c3207453b92efc96b4fc37205cbe231dda27 | refs/heads/master | 2023-08-24T11:01:53.655345 | 2023-08-20T20:30:35 | 2023-08-20T20:30:35 | 4,393,940 | 86 | 50 | null | 2023-09-01T01:57:08 | 2012-05-21T13:38:34 | R | UTF-8 | R | false | false | 741 | r | test-268.R | library(testthat)
library(OpenMx)
data(demoOneFactor)
context("268")
body <- function() {
E <- mxAlgebra(U%x%1,name="E")
factorModel <- mxModel(
"One Factor",
mxMatrix("Full", 5, 1, values=0.8,
free=TRUE, name="A"),
mxMatrix("Symm", 1, 1, values=1,
free=FALSE, name="L"),
... |
17a3300e707b861134519cf19a6a3132872dcd30 | 96cf6b7c28944616697b5efb2a0cf06ec00dcc3c | /aerolineaJerarquicoCluste.R | ff80708efe5dc06dc0641d5d4f5faff69fc78721 | [] | no_license | alondraSanchezM/clustering | 82301cff806548e6ca35a7722a9838286bc4b06a | 3f257249cb04083fd29816af8b97d9821332f1ea | refs/heads/main | 2023-03-18T17:43:28.222916 | 2021-03-04T19:28:44 | 2021-03-04T19:28:44 | 344,296,061 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,039 | r | aerolineaJerarquicoCluste.R | library(cluster)
library(ggplot2)
library(factoextra)
library(clustertend)
library(dendextend)
library(corrplot)
library(NbClust)
# B. Comercialización para viajeros frecuentes.
aerolinea<-read.csv("RFiles/EastWestAirlinesCluster.csv",header = TRUE, sep = ",")
#---Exploración inicial de los datos
str(aerolinea)
View... |
9db903f0a5778070f9f5a8ebc8c7daa386bd67f1 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sparseFLMM/examples/sparseFLMM.Rd.R | 1a318dfa46d3d016d9c998696ceb4b597a6e703c | [] | 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 | 3,640 | r | sparseFLMM.Rd.R | library(sparseFLMM)
### Name: sparseFLMM
### Title: Functional Linear Mixed Models for Irregularly or Sparsely
### Sampled Data
### Aliases: sparseFLMM
### Keywords: FPCA models,
### ** Examples
## Not run:
##D # subset of acoustic data (very small subset, no meaningful results can be expected and
##D # FAMM est... |
366d46e62191fa841eb651027f986f93bb6bda3e | 8244d6782e753ba56fb9e755aedb7c9466b5ec38 | /job_calc_comp_files_panther.r | c317971d4ab53191bbea5b33a2774df5eaa3cbe8 | [] | no_license | inbal-tz/shen-orr | 8317edacdc58bebe19b86b153731f65b842ab27b | cd25dce56e79f710d181591c3e0b066a4df8a7b2 | refs/heads/master | 2020-09-21T00:39:58.156494 | 2020-04-07T14:52:53 | 2020-04-07T14:52:53 | 224,630,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,030 | r | job_calc_comp_files_panther.r | #!/Local/md_shenorr/R-3.2.0/bin/Rscript
library(readr)
library(dplyr)
panther_orthologs <- select(read_delim("/storage/md_shenorr/inbaltz/panther_orthologs.csv", delim=','),c(2,3,4))
disease = Sys.getenv("disease")
RFST = Sys.getenv("RFST")
setwd(paste0("/storage/md_shenorr/inbaltz/microarrays/",RFST,"/",disease,"/")... |
32ede84397ed7aa4acacf75a26cdb5488875dff1 | 62b7ecdde00f9019fb59862845d8a2f968e85a11 | /iris_notebook.R | c6f8af5c1489ea8ebba4759d7d281758aa0eb388 | [] | no_license | erikbostrom/Iris-data | ecaf423caf5b775fe60e04c7403ae2abdd2fec47 | a6f17da36ad2028cf043f81d4495f12aaceedf6b | refs/heads/master | 2021-05-09T13:50:51.498207 | 2018-01-26T12:14:47 | 2018-01-26T12:14:47 | 119,046,955 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,318 | r | iris_notebook.R | ## ------------------------------------------------------------------------
str(iris)
## ------------------------------------------------------------------------
#iris$Species <- as.character(iris$Species)
table(iris$Species)
## ------------------------------------------------------------------------
summary(iris[iri... |
610817ffddf8192fc76a7a32ae2bf5dcf7608172 | 863c5853c0040a5423ae77d940a602687b0502db | /update.R | 4590398a90df99b2baa65d623f5eb1a77a1f21e5 | [] | no_license | BarryHaworth/IMDB | 23da91ce3ef07a0db0c2934a99091f70a90eb312 | d07100c4bf0319b80d37d95d0dc3d892e94bf4ec | refs/heads/master | 2022-07-12T11:15:54.344575 | 2022-06-25T12:09:03 | 2022-06-25T12:09:03 | 144,531,213 | 0 | 0 | null | 2018-12-03T08:42:51 | 2018-08-13T04:56:03 | R | UTF-8 | R | false | false | 15,758 | r | update.R | # Data Download
# Download and save IMDB files
# Data file info https://www.imdb.com/interfaces/
# Data files https://datasets.imdbws.com/
# This program combines the loading of IMDB data files
# and the ripping of vote details and metascores.
# It is intended as the daily automatic data update
# and replaces the ... |
2c8a613f85f75293f3fbc55627e908f64c20fed9 | eca810397cfa067c4c7f8ced66c4b748b8a1e8c9 | /GamAnalyses_withRace.R | fbbcd028fb854f89e1d13278a17b4ee1eebc3c59 | [] | no_license | PennBBL/pncPreterm | c149319dfdbb801eabf0e0acf15f9db5dc138cec | 936cb62f63f652b2adb393dbafe6bf31891c313b | refs/heads/master | 2022-06-20T18:22:41.423267 | 2020-05-06T13:12:30 | 2020-05-06T13:12:30 | 116,976,795 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,576 | r | GamAnalyses_withRace.R | ##########################################
#### GAM MODELS FOR PREMATURITY STUDY ####
##########################################
#Load data
data.NMF <- read.csv("/data/joy/BBL/projects/pncPreterm/subjectData/n278_Prematurity_allData.csv", header=TRUE, na.strings = "NA")
#Make race2 a factor with three levels (White, ... |
6a6498ed2a6de2943faaac610b3d2ed1c6664716 | ae38a89ef3f46fcd1d84bb99fbe0a10d1b0f5a69 | /ui.R | 10625ff3759889c5b32896ac9dec8a36142a26f9 | [] | no_license | juancho182/shiny | 3e1a36e5e8c07abdebd808cd19369187e50345d8 | ba8226b8a5c3153b30f75b01dd3561fb642594e1 | refs/heads/main | 2023-07-07T03:10:59.120900 | 2021-08-07T00:11:11 | 2021-08-07T00:11:11 | 392,521,232 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,145 | r | ui.R | #
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
# Define UI for application that draws a barplot
shinyUI(fluidPage(
# A... |
0ce5f251eecae3df85d1e94762c284186dbd60d0 | 7dfd2b5a31ac723907f4888c98782084eac920fc | /man/associate_components.Rd | ac29616931f10a4e5d7b87ecc359f6a5f9e6c6e7 | [] | no_license | ehenrion/ChIAnalysis | c9ac7ec9412d841dc7c1ac21706c055800b5600c | e53c25d142d294e26989e2e801d2b8633cf94b2f | refs/heads/master | 2020-03-31T13:30:14.430350 | 2017-01-18T19:51:49 | 2017-01-18T19:51:49 | 152,258,410 | 0 | 0 | null | 2018-10-09T13:44:07 | 2018-10-09T13:44:23 | null | UTF-8 | R | false | true | 744 | rd | associate_components.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AnnotateChIA.R
\name{associate_components}
\alias{associate_components}
\title{Associates components ids and sizes to chia data, as returned by \code{\link{load_chia}}.}
\usage{
associate_components(chia.obj)
}
\arguments{
\item{chia.obj}{ChI... |
a0f19d75d8b5fa71ca7c954839d209c05681e8d4 | 313282460809ca3380cfa5153497d943faef5a3a | /FunFunctions/root_log_function.R | f932a4a236ac8839cb7eb883710e725d0496891e | [] | no_license | chipmonkey/Kaggle | a17fd0f963bb217a09ca4861637ed47b17c3b902 | e304773a3f22b1a32b75b87329dede42799009df | refs/heads/master | 2021-01-10T13:04:15.900860 | 2017-04-16T17:09:16 | 2017-04-16T17:09:16 | 43,185,271 | 1 | 0 | null | 2016-08-28T19:03:20 | 2015-09-26T01:36:23 | R | UTF-8 | R | false | false | 794 | r | root_log_function.R |
rootlog <- function (x, threshold = 0.00001) {
if(x < 0) { stop("can't take the root-log of a negative number")}
mymin <- 0
mymax <- x
myguess <- (mymin + mymax) / 2
myerror <- myguess^myguess - x
while (abs(myerror) > threshold) {
# print(paste0("myerror: ", myerror, " myguess: ", myguess))
... |
8b428af5596ea5a0d3a7ca2b51d8d2c251d84e4e | ae9f99925fa4116d7ab96d34bd81314eb3887e79 | /kod/package/cr07/R/aml.R | 1803d6de7c17f451d03287388f75ed4298dfda83 | [] | no_license | MagdaMlynarczyk/mgr | d7f9d229db21a85e67aab0178f96de6d452000f5 | da77d32438a9d2ec2c155bbebfdde6d4178fb7fd | refs/heads/master | 2020-12-30T12:23:39.231409 | 2017-06-10T11:30:19 | 2017-06-10T11:30:19 | 91,432,067 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 74 | r | aml.R | #' @title eqeqw
#' @description gerge
#' @name data
#' @docType data
NULL
|
477d9efca67e3e535e684f2b6ecd1868f98755b9 | 13b38ec5ab726ef97da01751a704ebe9a626952c | /pmcexplore/man/clean_DAS.Rd | ceeb3e2dc2c91fd7069d63fdb8ae2dab785b5abb | [] | no_license | natgable/pmcexplore_package | d6c31b923fecef5a8e91259e3f986e87b5b44633 | b92812c864ca18c7973677e955eef2c97efbb019 | refs/heads/master | 2022-12-18T10:00:34.133134 | 2020-09-18T14:51:29 | 2020-09-18T14:51:29 | 295,450,743 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 647 | rd | clean_DAS.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clean_DAS.R
\name{clean_DAS}
\alias{clean_DAS}
\title{Clean DAS information created by the \code{get_DAS} function}
\usage{
clean_DAS(das_df)
}
\arguments{
\item{das_df}{A tibble generated by \code{get_DAS}}
}
\value{
A tibble with the column... |
d3922eba5734b5383e1f030b759c24446d659b7f | d86dc6266f527a14c8705a775267e26490b32708 | /man/WGCNA_cytoscape_each_module.Rd | 2a57a54339d3063d69c7688ddaca9f25043eb045 | [
"MIT"
] | permissive | Tong-Chen/YSX | a3c221ea891d9ac5136e35a231606440484e981c | 4bb1d21f3d4fa5703937207fce4301ad5ac3aa16 | refs/heads/master | 2021-06-26T03:19:10.277663 | 2021-01-12T13:14:15 | 2021-01-12T13:14:15 | 172,993,901 | 7 | 8 | null | null | null | null | UTF-8 | R | false | true | 599 | rd | WGCNA_cytoscape_each_module.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/WGCNA.R
\name{WGCNA_cytoscape_each_module}
\alias{WGCNA_cytoscape_each_module}
\title{Output nodes and edges data for each module only. (deprecated)}
\usage{
WGCNA_cytoscape_each_module(edgeData, nodeData, module, prefix)
}
\arguments{
\item{... |
b81b74022664eca1a2dea5c6f430cec99c0007f3 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/anyOutside/libFuzzer_anyOutside/anyOutside_valgrind_files/1610386820-test.R | bed010db2239329b7249de2798affc8f33a0d826 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 560 | r | 1610386820-test.R | testlist <- list(a = -1L, b = -1L, x = c(-15269884L, NA, -16253030L, -436207617L, -16777216L, -16252920L, -16218627L, -33686019L, -1125833062L, -33686019L, -33686019L, -33686019L, -33686019L, 235407972L, 751971372L, -771883523L, -33686019L, -33686019L, -33686017L, -1L, -1703937L, -131587L, -33686019L, -33686019L, -... |
5a86b15e22da078a75c2833b0f05a4058cc109f8 | 254173d2e111c66e40fd40d3c931b4e75e31999c | /Functions/tree.resolution.R | b73fb447a9511de953503ee07611a64d82437a4a | [] | no_license | TGuillerme/CharactersCorrelation | 9a4275752222c5a07502f46727fa13a5484b1c88 | 062ba7d9372da1ef3666710756599663a5a76721 | refs/heads/master | 2023-04-13T01:29:04.482403 | 2023-03-30T15:25:42 | 2023-03-30T15:25:42 | 71,147,759 | 0 | 1 | null | 2019-05-30T06:08:57 | 2016-10-17T14:36:21 | HTML | UTF-8 | R | false | false | 3,710 | r | tree.resolution.R | #' @title Tree resolution
#'
#' @description Get tree resolution
#'
#' @param
#'
#' @examples
#'
#' @seealso
#'
#' @author Thomas Guillerme
#' @export
# path = "../Data/Trees_out/Consensus_trees/Bayesian/Trees/25t_100c/"
# suffix = "con.tre"
tree.resolution <- function(path, suffix) {
## Read the tree files
... |
f746dfa31f5d0c987ed7a0348dbed40c1b74e132 | e0bcd3a0bfa23c1d445c2c738b8e37323a0c3b71 | /script/zzz_archive/unwind_portfolio_level_by_delta.R | 4e729abcbd9b10e0472ed3da29f827f0e98f46ce | [] | no_license | active-analytics/pqam_2018 | 87a017a55c130412e4d090518f2f47a6adb67c9a | cbc0437bb9da5460939641ec39af24070b733e24 | refs/heads/master | 2021-10-20T11:22:43.513713 | 2019-02-27T14:07:28 | 2019-02-27T14:07:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,856 | r | unwind_portfolio_level_by_delta.R | # clearing shit out
rm(list=ls())
cat("\014")
# load packages
library(tidyverse)
library(tictoc)
###################################
## loading parallax 2018 dataset ##
###################################
chr_path_root <- "/Users/Pritam/files/ods/plx_2018/data_output/"
# chain description
df_chain_desc <-
read... |
e93c1205fe79df59c9bd7f63864e81427883ad2c | 89979be00febc21cff5c31d3ce774f0cbfce17b8 | /run.R | a44e217b23a4c792b6c84ec9d8cb29975619bced | [] | no_license | joe-nas/genePhenotypePrediction | f5d37d88215d83ca860a2ab8cd626e72b71f97dd | 4f79b624d6a59e2b6d75392d8c1e44148ece3597 | refs/heads/master | 2020-12-24T17:26:57.561550 | 2015-06-17T20:53:06 | 2015-06-17T20:53:06 | 37,200,968 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,947 | r | run.R | library(GEOmetadb)
# library(GEOquery)
library(plyr)
library(data.table)
library(caret)
library(doMC)
library(exprt)
registerDoMC(18)
# getSQLiteFile(destdir ="../genePhenotypePrediction/" )
con <- dbConnect(SQLite(),'../genePhenotypePrediction/GEOmetadb.sqlite')
gdsquery <- dbGetQuery(con,'SELECT sample_organism, gds... |
c4e17ddd532f893c3f6f57c4a69bea7e4038b21f | a3af6f3f22f37375f2e73f933d7e3a189c2f4e65 | /HW3.R | fadc7dd8d7cd98c6e9468fd4af65416d85ef1df6 | [] | no_license | stevespangler/MSA8190 | 22aae359ac7da271f43b9b89e7862b4c182a7999 | 061f9dcbabf73488674440f5007608990de995ef | refs/heads/master | 2021-01-19T09:14:32.420892 | 2017-02-15T16:01:51 | 2017-02-15T16:01:51 | 82,078,373 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,278 | r | HW3.R | # Problem 1
############
F <- function(x){
y <- x
pts <- length(x)
for (i in pts) {
ifelse(x[i] < -2, y[i] <- 0,
ifelse(x[i] < 2, y[i] <- 0.25*x+0.5,
ifelse(x[i] >= 2, y[i] <- 1
)))
}
return(y)
}
# a
F(1.8)
# b
1-F(-1.4)
# c
F(-2)... |
c6fda5ab8b913c8c52581d853b218b1e45b4452f | 700c56e663c1fcec3cbd9cd0645c61cbd6fc4072 | /OnlineSuperUnif/man/pvalues_simulation.Rd | d08e9831b0e2a4c27387e159a34c6930635da6b7 | [] | no_license | iqm15/SUREOMT | 6d6c63a5132652386cc97793848f4cebec07cc48 | 0019960eea18095ea6dc147a3314f00217ee8ef0 | refs/heads/main | 2023-08-16T06:22:44.073300 | 2021-10-25T05:28:47 | 2021-10-25T05:28:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,452 | rd | pvalues_simulation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_pvalues_simulation.R
\name{pvalues_simulation}
\alias{pvalues_simulation}
\title{pvalues-simulation}
\usage{
pvalues_simulation(dataframe, alternative = "two.sided", input = "marginal")
}
\arguments{
\item{alternative}{A string informing... |
5f2711c91b7793fbcb3158b85dfe1f6cafbdc162 | 6779754ebb67b19261b164d015c596e1ec9dd251 | /man/eval_code.Rd | 85520ba42dd3e4e7da73faaa426041ca92e392d8 | [
"MIT"
] | permissive | dirkschumacher/rcompilertools | df06d2975177a7fc3c4985383aa311aa9882b6aa | 97950299056412fbbe294a505c7d2756116b00de | refs/heads/master | 2021-06-25T13:52:19.688390 | 2021-01-24T21:22:39 | 2021-01-24T21:22:39 | 205,582,293 | 16 | 0 | null | null | null | null | UTF-8 | R | false | true | 272 | rd | eval_code.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compiler-tools.R
\name{eval_code}
\alias{eval_code}
\title{Eval tidy bytecode}
\usage{
eval_code(x)
}
\arguments{
\item{x}{an object of class tidy_bytecode}
}
\description{
Eval tidy bytecode
}
|
660655ea15a5969770543541ed14b85538f29970 | efd84b42aa36f00b1c73d153c0f3c17d67481020 | /titanic/Titanic20.R | a9e6561e47de043946500c846fc9551a9a202a4e | [] | no_license | beaunorgeot/datasciencecoursera | e940c1e5a020817e7ff335f9c27a256305f21f54 | bb8a4dece6918cb5a990645658d21f7f5e6e9945 | refs/heads/master | 2021-04-12T05:16:44.925606 | 2015-09-18T20:58:52 | 2015-09-18T20:58:52 | 31,728,932 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,831 | r | Titanic20.R |
library(caret)
library(randomForest)
library(dplyr)
setwd("/Users/bnorgeot/datasciencecoursera/titanic")
inTraining <- read.table("train.csv", sep= ",", header=TRUE)
testSet <- read.table("test.csv", sep= ",", header=TRUE) #these are unlabeled and used to upload to kaggle.
# CHECK THE PROPORTIONS of survived died.... |
198460c9832a56f85766f6eee2a5d98920637b0d | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /meteor/inst/testfiles/ET0_PenmanMonteith/AFL_ET0_PenmanMonteith/ET0_PenmanMonteith_valgrind_files/1615842256-test.R | 7d23be3eadd1c2de09c2ceb6464afdb1b9901f93 | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 832 | r | 1615842256-test.R | testlist <- list(G = numeric(0), Rn = numeric(0), atmp = numeric(0), ra = numeric(0), relh = numeric(0), rs = numeric(0), temp = c(4.69559353453699e-306, 2.64939413085906e-158, -10930438.4735499, 1.81037721950714e+87, -1.39621374675821e-18, 9.03412513167857e-46, 4.56997008477242e+255, -1.92295507924... |
45cb133faaeab5f48aefb6286fe845555280f8e2 | 3b6fd9148a6c86cd05fc3b9db05cee8b7cbb96fa | /man/freq.Rd | 7e767d133dc7244226e6593f5d720cc31244c4c0 | [
"MIT"
] | permissive | markusdumke/fluid | 604faa7023539c843d44ff6d970663e507c18068 | e7c4c566495e9f76d6b4bacec475ab8a1bb04686 | refs/heads/master | 2020-04-18T09:41:31.133937 | 2019-09-23T18:48:40 | 2019-09-23T18:48:40 | 167,443,315 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 650 | rd | freq.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/freq.R
\name{freq}
\alias{freq}
\alias{infreq}
\title{Show most/least frequent values.}
\usage{
freq(.x, .n = 10, .prop = FALSE)
infreq(.x, .n = 10, .prop = FALSE)
}
\arguments{
\item{.x}{A vector passed on to \link{table}.}
\item{.n}{Integ... |
5a540c65686fd8c4c142bc7b8d3c62024efa23a4 | 7967838192a759a9de5603b011226ca8cba2a05a | /getSPX.R | a194a1d00402262fb79ea3883b814749cc7d8af7 | [] | no_license | dxcv/Asset-Allocation-Model | 8457db8c66b0d2a30927cc261d3e0e74f6b64106 | 87a5674fd57fc33b4beac7c23368c013811f9dc8 | refs/heads/master | 2020-12-03T23:20:13.263414 | 2017-11-14T21:20:06 | 2017-11-14T21:20:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 700 | r | getSPX.R | getSPX = function() {
require(lubridate)
# get data in the "SPX.csv" file and log transform the prices
#get data
spx = read.csv("SPX.csv",colClasses = "character")
clean = function(df) {
colnames(df) = as.character(df[1,])
rownames(df) = df[,1]
df = df[-1, ,drop=FALSE]
df... |
477c17b022622ef49c3180d22eeb7481877a9524 | 5b1f7332090d122e754a2f21e56d752d34edae96 | /app.R | 8d1fbd6f66240c07df5b94e421b3a716f9d5ee5f | [] | no_license | Gedevan-Aleksizde/karaokestudio | 83b46f7c9adcaa4d78fc512f5c01f0e804366f42 | f8aa11ccbfd2402530258f96dc10d18c785707ca | refs/heads/master | 2023-01-28T22:43:34.299495 | 2020-04-04T16:20:43 | 2020-04-04T16:20:43 | 219,550,047 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,368 | r | app.R | source(file = "global_funcs.R", encoding = "utf-8", local = T)
video_id <- "XSLhsjepelI" # miku
video_id <- "iH_YJde1yps" # dorohedoro
lang = "ja-JP"
lyrics <- read_rds("test_lyrics_dorohedoro.rds")
ui <- fluidPage(
useShinyjs(),
titlePanel(
fluidRow(
column(width = 3, "KaʀaokeStudio"),
column(wid... |
5a76314d1fa04f84a298536a29d20de091809d10 | 10e7160c116b33c1c6ef4b919176089cb5177d10 | /man/carto.pal.Rd | 5ce011fcb549102bf309ab1a0ae0fa5449027703 | [] | no_license | riatelab/cartography | 556008a18a06b024791f7d1b1c7e0e2711b4c6f4 | 188a92e7cdc6e51d82ca8cacd970c7bb426f5d84 | refs/heads/master | 2023-08-06T02:16:00.746142 | 2023-01-18T09:30:27 | 2023-01-18T09:30:27 | 37,248,864 | 353 | 46 | null | 2021-02-16T13:03:24 | 2015-06-11T08:27:11 | R | UTF-8 | R | false | true | 2,866 | rd | carto.pal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/palettes.R
\name{carto.pal}
\alias{carto.pal}
\alias{carto.pal.info}
\alias{display.carto.pal}
\alias{display.carto.all}
\title{Build Cartographic Palettes}
\usage{
carto.pal(
pal1,
n1,
pal2 = NULL,
n2 = NULL,
middle = FALSE,
tran... |
bcaaff369d9f675ea08716bbb935b0543b37bc8c | dd3791e85564a7e4ff51b5701b069235ab8d3531 | /man/switchDirection.Rd | 4ae105000172f709f71a31ebb4b8f3ed2b5c1daa | [] | no_license | iamciera/DiffLogo | f0bb4b062a4ed680d36ebce61e568f1dbc030177 | e862f0a10d2a5397ad3f0baa51da22ce158e3b12 | refs/heads/master | 2021-01-22T04:05:19.913562 | 2017-05-19T06:54:39 | 2017-05-19T06:54:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 321 | rd | switchDirection.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pwmAlignment.R
\name{switchDirection}
\alias{switchDirection}
\title{If 'forward' return 'reverse'
If 'reverse' return 'forward'}
\usage{
switchDirection(direction)
}
\description{
If 'forward' return 'reverse'
If 'reverse' return 'forward'
}... |
7dfbbf1ecb5f271ddeb53ac1ab537830f3c97f24 | e1d4cceb6474ac0d600136ffb4fcbdad59762236 | /tests/testthat/test_merge_bed.R | 559c2da533c7a654937caa2615c55b39bb7c2693 | [] | no_license | sgrote/ABAEnrichment | 64a3f24cdefa2b39d2c365e57ea83d81328146c6 | 6f9fb17b300e831900a252c78f3f3efa7b39582d | refs/heads/master | 2022-01-05T16:55:38.319400 | 2019-07-14T14:14:59 | 2019-07-14T14:14:59 | 107,267,872 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 758 | r | test_merge_bed.R |
# context("merge_bed.R")
# input
chroms = c(1,1,1,2,2,2,2,2,2,3,3,4,4,4,5,5,5,5)
starts = c(2,4,10,2,2,2,7,7,7,1,3,8,2,5,1,7,2,3)
stops = c(3,10,12,5,5,5,9,8,10,4,5,10,7,6,2,9,4,5)
bed = data.frame(chroms,starts,stops)
# expected output
chroms = c(1,1,2,2,3,4,4,5,5)
starts = c(2,4,2,7,1,2,8,1,7)
stops = c(3,12,5,10,... |
32902af573deb84174adfad1300d2ea13e6c1124 | 4da90c8651b69da45f45abac575e6ef0e13f3ce9 | /Simulation.R | 3d74d4ea64b4e2b1ae214259ba58d0cfea72ac53 | [] | no_license | qqwjq/BoostedVCR | 16e43aaabeb54e940ea820fea178632c96cf6cd6 | ea6dba95fba284135618a4616331e19681914d85 | refs/heads/master | 2021-01-10T04:53:07.371807 | 2015-11-05T00:27:12 | 2015-11-05T00:27:12 | 45,576,502 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,270 | r | Simulation.R | ##############################################################################
sub.set=T
M=1e+6
setwd("F:\\Research\\MPO\\RPackage")
source("BoostTree.R")
begintime=strptime(date(), "%a %b %d %H:%M:%S %Y")
sum.tree=c()
nu.param=0.01
nBoost.param=5
n=2000
x.vec=rnorm(n)
p=10... |
049e10f297a76644ebf2be6dab4575fe2e6babfd | f6c1ee3cefbec9c3e493ef32389672b5f72b9dd0 | /data/exprDataCleaning.R | 035297da3a93fa259e7ce1935d656de20324f580 | [
"MIT"
] | permissive | isadorafranca/2017_project_5 | 0162257c978aebddfb8480307122bf79cac01f1e | bc6cfb0a2e54cd51363c3bdd77e2dedeecffc702 | refs/heads/master | 2020-08-06T09:00:37.616684 | 2019-01-26T08:34:30 | 2019-01-26T08:34:30 | 212,916,059 | 1 | 0 | MIT | 2019-10-04T23:08:31 | 2019-10-04T23:08:31 | null | UTF-8 | R | false | false | 3,176 | r | exprDataCleaning.R | ### Load my packages
library(magrittr)
library(bigsnpr)
#### First, we will create the gene expression matrix from all people...
# Assumption: All probes are identical for each dataset, and arranging the datasets by Normalization REF will out the DFs in the same order.
exprData <- Sys.glob("./data/E-MTAB-264.process... |
a3a7d7bca36e139a253ee922460ac8dcd5b9f6c9 | 3ea22cd02d20b7b33dc03f5f82aaad973905d355 | /Scripts/Places.R | 7cf9e0700a027bfbe5502f8ac5d11592e014f904 | [] | no_license | Redefine-Studio/Google-Maps-JSON-Visualization-with-R | 702c84ed76b86bb0c22027b7dbe34fa9abadbfd8 | 0194c292d90fe279253f5687d1df8a7e10bb12f8 | refs/heads/master | 2020-03-23T04:41:43.082473 | 2018-07-16T07:50:09 | 2018-07-16T07:50:09 | 141,099,699 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,140 | r | Places.R | # ANALYSE GOOGLE JSON FILES
# © 2018 Schule für Gestaltung Bern und Biel
# Philipp Lehmann, philipp@followscontent
#
#
# Load libraries
# --------------
library(jsonlite)
library(maps)
library(maptools)
library(rgdal)
# =============
# LOAD DATA
# =============
# Global variables
# ----------------
datafile <- ... |
a71ef3d978a391a01dbdb54e6d2833d95989264d | 584f29c4c847e307a1be1fb6df360b1ecce4e39a | /wines-2-data-preparation-outliers.R | 64b67f6be45327b21e0970af2239cb5d26241eaa | [] | no_license | fperes/r-wine-in | 1093316143d8245fdf933c061971a3a3ec309d03 | acbe97b0788a14ac3abaef77d688bf3b72423364 | refs/heads/master | 2021-01-21T22:05:42.476011 | 2017-06-22T22:50:37 | 2017-06-22T22:50:37 | 95,162,727 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 25,071 | r | wines-2-data-preparation-outliers.R | #
# INFNET MIT Big Data - Bloco A - Trabalho de R
#
# Título do Trabalho : Qualidade do vinhos
# Fonte de dados : UCI - base wines
# Autor : Fernando A J Peres
# Data : 2017-06-09
# Arquivo : Análise de outliers
#
#**************************************************************... |
6cd5810e37a70ce2ef4832bcf86883764da8a759 | 1a83ac47bb1ffe39b416dfce1964051fa77d5b7c | /man/crudeMonteCarlo-class.Rd | 82cf6f6c299c935956940f58c2cb298a51a24ea5 | [] | no_license | cran/sampSurf | 9052ab60378e3295ecade04e573e6770c145cf74 | 9388a099e8cef6109c544bcc95770bc9a60670e6 | refs/heads/master | 2021-06-05T21:01:53.864724 | 2021-03-05T14:50:02 | 2021-03-05T14:50:02 | 17,699,448 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,900 | rd | crudeMonteCarlo-class.Rd | \name{crudeMonteCarlo-class}
\Rdversion{1.1}
\docType{class}
\alias{crudeMonteCarlo-class}
%\alias{plot,crudeMonteCarlo,missing-method}
\alias{summary,crudeMonteCarlo-method}
\title{Class \code{"crudeMonteCarlo"}}
\description{ This is the class definition that allows for the
application of crude Monte Carlo sampli... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.