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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8c3ad41a44274cddaf992e0716387b4ccf0bd234 | 011ac744a8e88f027b44be5972d7858722a34545 | /Homogeneous Fleet Composition Problem.R | 41c96fe6ce540a07b8695830ee280628867717bd | [] | no_license | Diego-Fabbri/Homogeneous_Fleet_Composition-Problem | b6cb8aec52f3c02b9c154b91bad134defad8be84 | 6044f7354c0c8b5b8181f752b1bd361064d38229 | refs/heads/main | 2023-06-20T07:00:08.213609 | 2021-07-18T10:36:25 | 2021-07-18T10:36:25 | 387,149,718 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,162 | r | Homogeneous Fleet Composition Problem.R | #Set your own working directory
setwd("C:/Users/diego/Documents/R/Projects/GitHub_Projects/Optimization/Homogeneous Fleet Composition Problem")
# Import lpSolve package
library(lpSolve)
#Import required packages (ompr)
library(dplyr)
library(ROI)
library(ROI.plugin.symphony)
library(ompr)
library(ompr.roi)... |
99bbc3840c1a9476ebb39202f84d2b67ba7649d2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sbpiper/examples/sbpiper_pe.Rd.R | 6186f3b0da2d502b0129220b2e63b6492db16225 | [] | 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,480 | r | sbpiper_pe.Rd.R | library(sbpiper)
### Name: sbpiper_pe
### Title: Main R function for SBpipe pipeline: parameter_estimation().
### Aliases: sbpiper_pe
### ** Examples
## No test:
dir.create(file.path("pe_datasets"))
dir.create(file.path("pe_plots"))
data(insulin_receptor_best_fits)
write.table(insulin_receptor_best_fits,
... |
dd8defc2b5bd504e26b7c5fd3f476d9e25192650 | 7db1059fad04b646a1ef84950b5df8d5163fa9a0 | /tests/testthat/test-symncmp.R | 8f1f5fc730684c6dd95c500423ab232a101afa40 | [
"MIT"
] | permissive | Blockhead-yj/cognitive_training | bd3a615f84b7c6bd37a72e033f7c23355a9c7068 | 309926437a521f08b5cd9a817b4243f118451a88 | refs/heads/master | 2022-12-26T13:00:54.092301 | 2020-05-16T14:53:52 | 2020-05-16T14:53:52 | 303,683,930 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,130 | r | test-symncmp.R | context("`symncmp` test")
library(dataprocr2)
test_that("`symncmp` should deal with normal and abnormal data", {
# testing on normal data
expect_silent(
result_symncmp <- symncmp(
jsonlite::read_json("data_symncmp.json", simplifyVector = TRUE)
)
)
expect_named(result_symncmp, c("pc", "mrt", "dist_... |
7c46adf38a39b7ceb34befc42cd701c067aec393 | 40060cbadf4e2b56d0d28034ce0cbecafa6d88a4 | /man/runORF.Rd | 0c7c28f78016e8707a1d61165d5f1b4ec4343d33 | [] | no_license | meerapatelmd/OncoRegimenFinder | a1f573965e43eb70f695105291a877285e7e8336 | abd2843999e1dcd375f991206f25ba3b030ba95b | refs/heads/main | 2023-02-06T17:15:03.450092 | 2020-12-25T00:11:05 | 2020-12-25T00:11:05 | 319,721,049 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,412 | rd | runORF.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/runORF.R
\name{runORF}
\alias{runORF}
\title{Run OncoRegimenFinder}
\usage{
runORF(
conn,
cdmDatabaseSchema,
writeDatabaseSchema,
vocabularyTable,
drugExposureIngredientTable,
cohortTable,
regimenTable,
regimenIngredientTable,... |
6c3d0e13d366f2efddca6bf498d4cedafdd11fb8 | bf7aaee95ec3383693e16976af58f218cea4ead9 | /igr-app/ui.R | b375e10e4b8d60664265c28cdc5fea8844978d02 | [] | no_license | BroVic/igr-app | 7c624051d66993be670e0695665d1c7c1f4ed090 | baf82e5e311f68c5f01ea71071fac8c7ddbb926b | refs/heads/master | 2021-07-08T11:39:02.813913 | 2016-11-17T16:01:34 | 2016-11-17T16:01:34 | 58,225,115 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 494 | r | ui.R | #ui.R
library(shiny)
igrbank <- readRDS(file = "data/igr-tidy.rds")
shinyUI(fluidPage(
titlePanel(
img(src = "nesrea_logo.png", height = 100, width = 120)
),
sidebarLayout(
sidebarPanel(
helpText("Plot of IGR from various NESREA Offices"),
selectInput("state",
... |
9b1558e27d56bb41a381fc74636e2b0f849f0f64 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/taxize/examples/gnr_datasources.Rd.R | 62d8f0669f672d4e021b59b2ce9e4d127db610d0 | [] | 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 | 554 | r | gnr_datasources.Rd.R | library(taxize)
### Name: gnr_datasources
### Title: Get data sources for the Global Names Resolver.
### Aliases: gnr_datasources
### Keywords: names resolve taxonomy
### ** Examples
## Not run:
##D # all data sources
##D gnr_datasources()
##D
##D # give me the id for EOL
##D out <- gnr_datasources()
##D out[out$... |
42deddda52ea5d92a8b4888d0b52862ece2be8ab | 6496f94b0dacab60bc50668563e78c9378718bac | /MGS662-Project2.R | 8a0dd5582e5d3c8483979882826b7a8b4abf81b2 | [] | no_license | MGS662/Project-2 | 14f40bf4c1508d8659aa45f5e3f50eaf2505e587 | 9d7444059a927cf7c3bca4d4ccd8a976cf5baefc | refs/heads/master | 2020-03-16T00:39:21.199191 | 2018-05-07T22:22:20 | 2018-05-07T22:22:20 | 132,422,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,849 | r | MGS662-Project2.R | #Importing the train data
train<-read.csv('/Users/yashahuja/Desktop/College/Sem 2/Machine learning for IT Managers IE662/BlogFeedback/blogData_train.csv',header=FALSE,sep=",")
#preprocessing the data
features<-train[c("V51","V52","V53","V54","V56","V57","V58","V59","V281")]
#Sampling of data values 'x' and 'b', and ... |
4555d0f1369a5a76c31464aaa32ce6a23966bde3 | 202775810402a48a177b2c7f5b20f3bf45809342 | /R/FUNCOES/FN_AJUSTA_COCA_LS.R | 1ce799bebf95ddb50dc19af143ce973ab2418035 | [] | no_license | emirsmaka/CLASSIFICA_PRODUTOS | a4cd8db15fdc64666e169ebb4a6bf4c0256a2188 | d96810d502bc5ffad07ad454f2879b6c8b989d40 | refs/heads/master | 2023-04-16T12:42:56.126200 | 2021-04-26T11:31:32 | 2021-04-26T11:31:32 | 297,635,969 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 361 | r | FN_AJUSTA_COCA_LS.R | fn_cocacola <- function(x){
y <- x%>%
filter(CPROD_REFRIGERANTE_SEFAZ == 4000601 & VOLUME_SEFAZ == -1)
i_ls <- grep("\\sls\\s",y$PROD_XPROD,ignore.case = T)
x <- anti_join(x,y,by=c("IDNFE","DET_NITEM"))
z <- y[i_ls,]
y <- anti_join(y,z,by=c("IDNFE","DET_NITEM"))
z$VOLUME_SEFAZ <- 1
z$UN_MEDIDA_SEFAZ ... |
4262e2cbd3264d208e6f8ba2729f2de49ff6945d | 99fa87a363c47c5304e101a1e7740e238aa01412 | /inst/appliedPAClassificationScripts/postprocess/postprocess.R | ff05fa7b1321f6b11ce05ddf87083cc88743be24 | [] | no_license | elray1/PACwithDDM | f1d1cc6c249a687feea1dce4d45fe737a53772c4 | 01b6d323986ca05b2b6072318c0fe79d6dff7b31 | refs/heads/master | 2021-05-09T02:18:00.150153 | 2018-01-27T19:29:19 | 2018-01-27T19:29:19 | 119,192,480 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,237 | r | postprocess.R | rm(list = ls())
library("PACwithDDM")
library("irr")
options(warn = 2, error = recover)
pacwithddm_source_location <- "C:/Stat/HMM/PACwithDDM"
combined_results_dir <- file.path(pacwithddm_source_location, "data")
results_dir_base <- file.path(pacwithddm_source_location, "inst/results")
for(data_set in c("Mannini",... |
f901728d2fb688a647a7f2603abe7ad978eb2c3a | dbaa7726a291793aaa12fe882008562026923f75 | /AMS206B_H3.R | 8132b1c5657ac17d4dcf76384fed267ba396e1ff | [] | no_license | msilva00/AMS206B | 8b5cfdd60ed49f4ce24c015a6693eeca40efa04c | f77758f20f4b2db053f71c0aeee67a95c1693ba2 | refs/heads/master | 2020-04-28T19:13:20.020830 | 2019-07-28T20:46:50 | 2019-07-28T20:46:50 | 175,504,665 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,488 | r | AMS206B_H3.R | alpha = 1/2
beta = 1/2
a = alpha + x
b = beta + n - x
#### Problem 6a ####
x = 1
n =10
a
lower = qbeta(0.025, a, b)
upper = qbeta(0.975, a, b)
print(c(lower, upper))
#### Problem 6b ####
# calculate the MAP
theta_hat <- (a-1)/(a+b-2)
# evaluate the first and second derivaties at the MAP
h <- (a-1)*log(theta_hat) + (b... |
a85f98f4c0c90fd4322e05a7ef048f40c04ccdda | d32728e5da852d5dcf04f5952b0cc2490fd164e3 | /man/geom_subgene_label.Rd | 3a81e000d46dadec9995647fd591f8ea698e85e1 | [] | no_license | wilkox/gggenes | b116c5b07b0bc8948c2c094128d82e4e54758c6c | 6c8e540ca94810e79ebee1fbd819a132b35a7747 | refs/heads/master | 2023-08-31T16:16:33.808940 | 2023-07-02T10:36:36 | 2023-07-02T10:36:36 | 83,646,997 | 391 | 52 | null | 2022-03-24T09:44:33 | 2017-03-02T07:16:19 | R | UTF-8 | R | false | true | 2,275 | rd | geom_subgene_label.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geom_subgene_label.R
\name{geom_subgene_label}
\alias{geom_subgene_label}
\title{A 'ggplot2' geom to add text labels to subgenes}
\usage{
geom_subgene_label(
mapping = NULL,
data = NULL,
stat = "identity",
position = "identity",
na.... |
91c20ee35048bda06d46caa304d272d5c2f2d1e9 | c271b5fa67f7d6ca5c248a202e24c6be87ec27f1 | /summary_plot.R | f5b0e118b084eaec7f804bc550105af8259e35e5 | [
"MIT"
] | permissive | qpmnguyen/sc2meta | 35239cba530ee5cffe4da0ee9a1fae0957c1cf9d | 601533a5a9372db702d16102a84c246df1426635 | refs/heads/master | 2022-11-21T13:40:05.746636 | 2020-07-13T15:56:04 | 2020-07-13T15:56:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,021 | r | summary_plot.R | library(ggplot2)
library(plyr)
### Heatmap all
FDR_summary <- readRDS(file = "./data/summary/FDR_divergence_summary.RDS")
KS_summary <- readRDS(file = "./data/summary/KS_summary.RDS")
WMC_summary <- readRDS(file = "./data/summary/WMC_summary.RDS")
simulations_summary <- readRDS(file = "./data/summary/simulations_summa... |
ecf26adbadb18c8322393e613ec2e01cd18d0cd5 | 077c58c20c89820002cb183230e4fae81c3bbc11 | /SCR/R/scr9_2.R | 37ae52c3f0e3673600aceb100d94a6017958bfe6 | [] | no_license | Creatran/SCR | a4b80a45a236f791b39c9387d39690a93bdfc0e1 | 4ccad3eedc6e661616d2c879f662263295fb7bc7 | refs/heads/master | 2023-01-19T16:47:08.079379 | 2020-11-30T19:54:13 | 2020-11-30T19:54:13 | 251,180,799 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,283 | r | scr9_2.R | #' scr9_2
#' @description
#' The solution to the exercise 9_2 for Rizzo's Book.
#'
#' Repeat Example 9.1 using the proposal distribution Y
#' (shape parameter Xt and rate parameter 1).
#'
#' @references Maria L. Rizzo. (2016). Statistical computing with r.
#'
#' @param m a number indicating the iteration numbers. Defau... |
b4dff6d3e30351f9bfbea6271369622abaa332d0 | fb91e76054b3b48c6d43e855875dd67b57724032 | /test.R | 7945b339f772daaadc94597c1894e81a7164d7aa | [
"Apache-2.0"
] | permissive | hbahamonde/Bahamonde_Kovac | 04566b22eac016052bd3b1db64cf6957d68e89b4 | 3aaa6db2500523ee0d366d63bc206114bd936997 | refs/heads/master | 2022-11-09T12:37:31.235781 | 2022-10-28T16:08:33 | 2022-10-28T16:08:33 | 212,148,023 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,683 | r | test.R | library(magrittr)
# W -----------------------------------------------------------------------
W_list = list()
years = 200 ## years matrices with countries x countries
countries = 120
possible_means_0 = 1:years
possible_means_1 = cumsum(rnorm(years,1,1))
for(i in 1:years){
means = possible_means_1
W_... |
460928247a7332962d432b4a8ab03393c4a7a6d9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/UsingR/examples/scrabble.Rd.R | 986b512f9816b94e111e78a4b3497a7dae04f41c | [] | 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 | 836 | r | scrabble.Rd.R | library(UsingR)
### Name: scrabble
### Title: Distribution of Scrabble pieces
### Aliases: scrabble
### Keywords: datasets
### ** Examples
data(scrabble)
## perform chi-squared analysis on long string. Is it in English?
quote = " R is a language and environment for statistical computing \
and graphics. It is a GNU... |
b9060d0af3bbe233c149d3ff9d5c7aca6637368c | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/BivRec/R/bivrecSurv.R | 2b881733d8ddeb2de89c81447363dc74cd7ae28c | [] | 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 | 8,162 | r | bivrecSurv.R | #################### CREATE A BIVREC OBJECT ######################
#####
#' Create a Bivariate Alternating Recurrent Event Object
#'
#' @description
#' This function creates a bivariate recurrent survival object to be used as a response variable in a model formula.
#'
#' @importFrom stats na.omit
#'
#' @para... |
ddaa93ae096a7e7b616a823c0b0b3a17672210f6 | 5d7dbd67d9fa3e8d2589cc7a4a45e9d40b37677b | /Section 6- Abadie-replicate/synth_fisher.R | 791369c56c517dea7bc274f9c8506c9da46c1563 | [] | no_license | ptoulis/synth-fisher | 6b15e5ebdf916c9babb8b44750a7dd81e626681d | 4e24efd06b49f6d18508086f779cbf1ac91a608e | refs/heads/main | 2023-07-05T06:05:49.431916 | 2021-08-26T16:57:24 | 2021-08-26T16:57:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,093 | r | synth_fisher.R | rm(list=ls())
library(plyr)
library(survival)
require(xtable)
## Loads adoption_DataList
## Contains several specifications of the DATA.
source("synth_fisher_DATA.R")
load("smoking_with_dems.rdata")
smoking$unit.num = NULL
cols = c(3:8) # interesting covariates.
#' Used to de-trend X_it
time_trends = function() {
... |
b6447c856bfa72883260b9f181df85a166bf40ed | ff0a2852a43d34bc01f564299d3e4d1751eec56f | /CI_network_files/mr_shrinkage.R | 863bd8dcca9225384763c6ca322946b61af94b95 | [] | no_license | shinilraina/Summer_project | 85ac5755b1e52ac4cff7a5e5ce2f5ec19c66ce36 | 17b2b26775972581ed3c1b0c69432d6a0d9eb0e1 | refs/heads/main | 2023-07-15T13:13:00.986967 | 2021-09-06T10:25:01 | 2021-09-06T10:25:01 | 374,995,157 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,005 | r | mr_shrinkage.R | # Script to try shrinkage of correlation values to make MR matrix positive definite
path<-dirname(rstudioapi::getActiveDocumentContext()$path)
setwd(path)
load("../Results/MR/MR_results.rds")
effect_estimate<-read.csv("../Results/MR/effect_estimate_matrix.csv")
rownames(effect_estimate)<-effect_estimate[,1]
effect_es... |
14583b8a09c2e957b96f0cd1acf89096ee2fdff8 | f5c129a2a22e44fb38e9e049f6b1d285378dde7e | /R/plotFigure2.R | 917d0e3a89c12ea800c2660accdc0e7cc3d90438 | [] | no_license | pughlab/inspire-ctdna | 29fbc5a65abb377a1a8da6cef89a5231399ad974 | 2f3ccbb4b12d9b652dbf773992d67ff75c0e80d0 | refs/heads/master | 2021-03-30T08:26:15.641726 | 2020-10-16T18:52:18 | 2020-10-16T18:52:18 | 248,032,245 | 3 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,266 | r | plotFigure2.R | ###########
# plotFigure2.R
# Created by: Cindy Yang
# Updated: Oct 16, 2020
# This script allows the user to to create Figure 2
# This script requires the plotSwimmer.R function and Data.Figure2.RData
###########
#####
# SETUP
#####
source("./R/plotSwimmer.R")
load ("./data/Data.Figure2.RData")
#######
# PLOT MAIN... |
733cf6d2b75eda3d60d8d8fbf76d4897dfe0a32d | 8113d8a8b485bd31a5c8ee88996f9ea7969e60fb | /plot2.R | 77d5d013130e91ef575661a9756ef1ea87c240d5 | [] | no_license | pjmw/ExData_Plotting1 | c058358185c9b705e90902fd277fe6c77763f903 | fa47424ed1b271edc5fa41e8ffb0491a33df5252 | refs/heads/master | 2021-01-02T22:55:59.702473 | 2017-08-05T13:57:08 | 2017-08-05T13:57:08 | 99,425,465 | 0 | 0 | null | 2017-08-05T13:47:55 | 2017-08-05T13:47:55 | null | UTF-8 | R | false | false | 589 | r | plot2.R | library(sqldf)
library(dplyr)
data <- read.csv.sql("household_power_consumption.txt","select * from file where
Date = '1/2/2007' or Date = '2/2/2007' ",sep=";")
data <- tbl_df(data)
data$Date <- as.Date(data$Date, format = "%d/%m/%Y")
data$datetime <- strptime(paste(data$Date, data... |
adbcc9152d1d7c8aa1e78d089465d756bc5e63ba | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/RBesT/man/preddist.Rd | 7ea8f14985a4d1f98f263b14580c3ec2d2a52e1e | [] | 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 | true | 3,532 | rd | preddist.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/preddist.R
\name{preddist}
\alias{preddist}
\alias{preddist.betaMix}
\alias{preddist.normMix}
\alias{preddist.gammaMix}
\title{Predictive Distributions for Mixture Distributions}
\usage{
preddist(mix, ...)
\method{preddist}{betaMix}(mix, n =... |
e1fdd389cb889aa4bafcb1d844946f3766220f44 | 5308ead5d0602fdca069effe3b186134fe077685 | /Main Figures.R | 674ed2477e81591bc3c4ccafea2495e19e07256e | [] | no_license | haiyangzhang798/EPICON-Drought-Study | 480af065fac458241cb56e57800d3718f47a9995 | 864e7051ca7b0db0bd140123625e8f0dc37e91bf | refs/heads/master | 2020-11-27T16:02:13.012705 | 2018-02-05T05:29:19 | 2018-02-05T05:29:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,287 | r | Main Figures.R | #### Experimental design
# The following code was used in the analysis of data generated as part of a DOE funded project to explore the relationship between drought and microbial recruitment in Sorghum bicolor.
# For detailed descriptions of experimental design, please see the associated publication. In brief, we pla... |
3c4474288a3c79a48a801df7031b7e784b063871 | f4a6173ace305e66d6aa9af8ff825283c7e85f00 | /R/man/format_summarytable_columns.Rd | 682aa280aeede794d11b8b4def4afa5bc096b74a | [
"Apache-2.0"
] | permissive | karawoo/syndccutils | 6528f023f770c760e0c26b40f365a2ca68476269 | 550b4c0839457e3a48ff72636e028a9611065e5c | refs/heads/master | 2020-03-07T13:24:53.453472 | 2019-10-09T16:28:20 | 2019-10-09T16:28:20 | 127,499,939 | 0 | 0 | null | 2018-03-31T04:51:45 | 2018-03-31T04:51:44 | null | UTF-8 | R | false | true | 376 | rd | format_summarytable_columns.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/processing.R
\name{format_summarytable_columns}
\alias{format_summarytable_columns}
\title{Prettify column names based on annotation keys.}
\usage{
format_summarytable_columns(df, facet_cols = c())
}
\arguments{
\item{facet_cols}{}
}
\descrip... |
99035c22710c068896e59a349af7392d3e83f970 | 1337ef316a4bdd44a037e96be4ab98b1191ea005 | /Synth.Infer/man/synth.prep.Rd | 39fe64f69f9083be2d57892bf749743607e1b09b | [] | no_license | MaysonChang/About-Me | 10a77a358780e020f90c24873fd4cd105b5894b3 | fa0399dde5cd2be3f7c867e483d8b85ca3d26e58 | refs/heads/master | 2023-08-28T07:59:27.682056 | 2021-11-09T17:54:13 | 2021-11-09T17:54:13 | 272,926,620 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,521 | rd | synth.prep.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/synth.R
\name{synth.prep}
\alias{synth.prep}
\title{Construct a list of matrices from panel dataset to be loaded into synth.meth().}
\usage{
synth.prep(
data = NULL,
treatment.identifier = NULL,
controls.identifier = NULL,
t... |
390e128d54bcbafb4706efa2c917cb2ba10ec6c4 | 9995fdb4f2b2341db3a9f7e2b036b656e802e38c | /man/checkKKT4BetaStep.Rd | 21e2f626cae52473283ff2930a22055db1b12677 | [
"Apache-2.0"
] | permissive | sverchkov/BaselineRegularization | 100f8c647199ae58ecc0281e2b8cf598525e8d4a | d3c208b543104ae63609fe1320a68ed2015b1e79 | refs/heads/master | 2021-07-04T18:33:11.068161 | 2019-02-12T19:37:56 | 2019-02-12T19:37:56 | 112,363,026 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 629 | rd | checkKKT4BetaStep.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/checkKKT4BetaStep.R
\name{checkKKT4BetaStep}
\alias{checkKKT4BetaStep}
\title{check convergence for beta step}
\usage{
checkKKT4BetaStep(y, X, w, beta, l, lambda)
}
\arguments{
\item{y}{response}
\item{X}{features}
\item{w}{weights}
\item{... |
f068e9b3fd161949868a3186b3e2f3ebeebff4e4 | 4ab888da78d52fcacb6a22affa53f09f9e0da9a8 | /man/prepareSimulationFiles.Rd | d4b1a98e1eba1e89027ad655009f54fd23a5c3f8 | [] | no_license | MarionLi0/antaresFlowbased | a291ead418fe29f99baa0cad9dbb181b2e9ff0b8 | 9207cd7564b4f821f4d25acf30ba7d1f09d5e286 | refs/heads/master | 2021-01-21T18:24:48.240411 | 2017-05-16T12:25:39 | 2017-05-16T12:25:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,468 | rd | prepareSimulationFiles.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prepareSimulationFiles.R
\name{prepareSimulationFiles}
\alias{prepareSimulationFiles}
\title{Prepare files needed for a single simulation run. Write playlist and FB}
\usage{
prepareSimulationFiles(ts, secondMember, scenarios, simNumber,
opt... |
6496ce6a1712b8af666e2f346e420430107f1a1b | f19e54af838ec12a12d753ce09cadb3b6927e949 | /Plot2.R | a812ce89328275f6b938aa8a5787f7ba4a9cfc58 | [] | no_license | Philippe-C/ExData_Plotting1 | c52fcd7a91c00243b3c1e01f11f74012d8df1cb0 | 1f8b5156f36caf8c5b8fccc9a874a09a04c31c83 | refs/heads/master | 2021-01-16T18:52:10.288727 | 2015-03-08T21:22:11 | 2015-03-08T21:22:11 | 31,585,627 | 0 | 0 | null | 2015-03-03T07:41:50 | 2015-03-03T07:41:49 | null | UTF-8 | R | false | false | 559 | r | Plot2.R | # Step 1: Check the presence of the file for loading data - Please refer to the load_data.R file in the repo for more details!
if (!"load_data.R" %in% list.files()) {
setwd("~/ExData_Plotting1")
}
## Step2: Access the data
source("load_data.R")
### Step 3: Creation of the second plot: Global Active Power as a ... |
6a06890690e99e0b768e87f23c53b82e6bddfedc | 6628549379f9c05f0c61583cc889e4a097deb82e | /plot3.R | 9b29c4f76e25833e7f039b408b986c0d3a7609db | [] | no_license | ramyasree92/ExData_Plotting1 | b926e201ac0a46851449f33f4a13c895561d37fb | 3b495dd121ef2a0d2c9163a039d2c00285aefa7a | refs/heads/master | 2020-03-18T15:56:22.162972 | 2018-05-26T13:08:25 | 2018-05-26T13:08:25 | 134,938,350 | 0 | 0 | null | 2018-05-26T07:12:44 | 2018-05-26T07:12:44 | null | UTF-8 | R | false | false | 1,379 | r | plot3.R | library(lubridate) #For
##Reading data and subsetting for date values of 1/2/2007 2/2/2007
power <- read.csv("household_power_consumption.txt", sep = ";")
powerdata <- subset(power, as.character(power$Date) == "2/2/2007")
powerdata <- rbind(subset(power, as.character(power$Date) == "1/2/2007"), powerdata)
rownames(p... |
3871836bee0629b8ddde929df8f87f58785236c8 | 8f98e70fef3d9e7f3dd1fd07f687e01995d0b6d7 | /HW4/hw4_5_input_output.R | f0c26956500dae8e28df5a3a53faa1e5bb3b04f6 | [] | no_license | QihangYang/Computational-Statistics | 63814aa9ce6763f905db3665f1ed8f37391e7dfb | d26c30c3cdddecc7962144da1266439507cecfab | refs/heads/master | 2020-12-22T00:14:32.193964 | 2020-04-10T00:02:23 | 2020-04-10T00:02:23 | 236,611,768 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,040 | r | hw4_5_input_output.R | # HW4: Input/Output
#'
# In this exercise, we will get familiar with the different types of outputs such as `print`, `sprintf`, `message`, etc.
#'
# 1. Compute the mean miles per gallon (`mpg`) from the `mtcars` data set and store it in a scalar `mean_mpg`.
# Using the function `mean`. Use `format` to format the `me... |
925097b33a81f980b02208ebc0748b2e9bb19658 | 781e0e29ef9c326859a53ecfa70514c2eec62f1d | /Analytics 01 Extraction.R | cc6831e033ec5efad39369986f06807473b0c123 | [] | no_license | andrewsahalie/Analytics | 7093d60c74cac6f0b263da09893899ba3f04369f | 24b86d1d399e09b76a849bd043d109160f341492 | refs/heads/master | 2021-01-17T12:46:06.646953 | 2016-06-28T15:09:16 | 2016-06-28T15:09:16 | 59,064,207 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,912 | r | Analytics 01 Extraction.R | # Analytics Data: A data manual exists for these data. See Andrew.
# EXTRACTION: The real extraction code (connecting directly to JSON data) hasn’t been written yet - needs final JSON details.
# This CSV file is the source for now.
# LogsTableRaw<-fromJSON("URLFromCaz")
# Extracting the data
# LogsTable<-LogsTableRaw... |
28fb3391fe5404060f6e5a1f2e7605ef65ce2f93 | 38a052ec391f777d2951b35e57f80bd533e1cda3 | /class_code/class_code_181025.R | 31e68d92798818f0b7ea315d71f44da7b9014526 | [] | no_license | abbiepopa/BSDS100 | c2de879ce725992e0a1a4838f575da100b95171b | 5b858a0dbd9d9452f183a52978aa60dbb13831c8 | refs/heads/master | 2020-03-25T03:11:21.161959 | 2019-02-05T00:56:20 | 2019-02-05T00:56:20 | 143,327,245 | 3 | 4 | null | null | null | null | UTF-8 | R | false | false | 2,344 | r | class_code_181025.R | data("mtcars")
save(mtcars, file = "~/Desktop/mtcars.csv") # won't work
# correct way
write.csv(mtcars, file = "~/Desktop/mtcars_1.csv",
row.names = F)
# txts, write.table instead of csv
my_df <- data.frame(city = c("Austin", "Georgia",
"Vancouver"),
fancy ... |
97da634c5d62851cf5a004eb40874544f7a44c08 | f5d5447166c7ddcd7a12ff8fe35c73f60057b792 | /00_scripts/LEA.R | 9068395a483a36645e89b9fae53d0a4f8ab762c2 | [] | no_license | rcanet/Transcrptomic-approach-P-margaritifera | 1892e0167df38dcfcc5043cca1c5a02a6c30660c | fe51c91a2ce8fd09a353054af2aaf3983d4e679b | refs/heads/master | 2020-03-26T07:03:22.804487 | 2019-04-02T08:57:59 | 2019-04-02T08:57:59 | 144,634,385 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,403 | r | LEA.R | #!/usr/bin/Rscript
setwd("12_LEA")
library("LEA")
genotype = lfmm2geno("data.lfmm")
obj.snmf = snmf(genotype, K = 1:9, entropy = T, ploidy = 2, project="new")
save(obj.snmf, file = "snmf.rda")
print("object snmf saved")
exit
obj.lfmm=lfmm("data.lfmm", "popfile.env", K = 2, rep = 5, project="new")
print("obj.lfm... |
892f530f94a3c818ddd8a274b2058a045cfcca31 | b5e73b7034cb861f5b793cec78f0f840539a70a9 | /Experiment1/R/General_Functions.R | 5c01936bb03e50f651a1603b2ba871cc99756088 | [] | no_license | barslancogs/Drag_and_Drop | 6a338d0918e734a5d1ff472b1e8fbfa0eef0a2b0 | bb46d9b934b6a583840d4b7a8e291efd24a5e691 | refs/heads/master | 2020-05-30T09:12:51.809809 | 2019-10-04T00:40:28 | 2019-10-04T00:40:28 | 189,637,303 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,426 | r | General_Functions.R | # crosstab function to produce crosstab descriptives
source("http://pcwww.liv.ac.uk/~william/R/crosstab.r")
# Import functions
## Gives count, mean, standard deviation, standard error of the mean, and confidence interval (default 95%).
## data: a data frame.
## measurevar: the name of a column that contains the ... |
67c51dd85708030096773487252c285801d2ec6b | 94d9d1198fb596683d506ef2b621dfd67a8f2c12 | /app.R | 90243f21e75ca1a84ca6c767c5730ea70c6fe637 | [] | no_license | anushreeavasthi/SportsAnalytics | 389c05e4d872c846b6a0689398da2783eadac037 | 9386a79c56750eb494429593469acff1236a655f | refs/heads/master | 2023-08-29T23:52:44.141400 | 2021-10-30T00:08:49 | 2021-10-30T00:08:49 | 422,742,970 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 53,114 | r | app.R | library(rtweet)
library(dplyr)
library(tidyr)
library(tidytext)
library(textdata)
library(ggplot2)
library(tibble)
library(purrr)
library(devtools)
library(wordcloud)
library(wordcloud2)
library(RColorBrewer)
library(tm)
library(shiny)
library(datasets)
library(rvest)
library(gganimate)
library(RColorBrewer)
libra... |
6ff3c6b4f136c9355d0513dc8bae3169df958fd5 | 71ee4e97d4857b59eb05ee12a13d497cecdfcfc5 | /Part I - beta_distribution.R | 686ad7d043d2963a212805a54aa09d085da61239 | [] | no_license | nailson/bayesian_statistics_the_fun_way | 8a53f9199817c23e9ab215eb7e8dc3f2458490f3 | 090ebf11d2df0d37571dbbca8d4c6c5889f0279a | refs/heads/main | 2023-02-22T11:39:29.740870 | 2021-01-23T18:37:08 | 2021-01-23T18:37:08 | 307,875,995 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,125 | r | Part I - beta_distribution.R | #install.packages("ggplot2")
#install.packages("reshape")
library(reshape)
library(ggplot2)
library(dplyr)
# PART I - Chapter 5
# Beta Distribution
# Fair coin A, not so fair coin B and C
coin_tosses = list(ifelse(runif(100) > 0.5, 1, 0),
ifelse(runif(100) > 0.3, 1, 0),
ifelse(... |
9d4f81fd7eb1f3ca932f584883a92418354b983e | f2368c5e069c227c12505a6c37e65aa54f047c33 | /man/events.Rd | 4230506df28e1c3fcbbefc5efbf39c9dfd6ac14d | [] | no_license | simrvprojects/SimRVPedigree | 55687ca1c7ad25a816d0e300c7073ee58284d03a | f05187583a43a276354493d434db57b37356a348 | refs/heads/master | 2022-04-01T01:53:41.181100 | 2020-02-09T19:03:52 | 2020-02-09T19:03:52 | 64,960,974 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 436 | rd | events.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Event_Methods.R
\name{events}
\alias{events}
\title{Constructor function for an object of class events}
\usage{
events(life_events)
}
\arguments{
\item{life_events}{The list of items returned by the \code{sim_life} function.}
}
\value{
an obj... |
956a41ac42e7cd8215568da86b92bd9e86f6c6a2 | e82f699df6f012008e86e54df23ea2cbaf157559 | /R/myread.R | 0fd71c5ee9ffe23c4fc804c9723a7cf94261e453 | [] | no_license | emy424/MATH4753 | 11dffabb25848f8ffbadcc1987b38b72c614a1a2 | 837e52170cc3d1994717d9474196f80b632e4edd | refs/heads/master | 2020-12-31T21:01:47.470007 | 2020-04-17T21:14:11 | 2020-04-17T21:14:11 | 239,024,930 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 361 | r | myread.R | dird="C:\\Users\\Emily\\Documents\\STAT\\MATH4753\\"
#' File Reading Function
#'
#' Takes a CSV file, read in the data
#' @param csv
#' Name of the data file
#'
#' @return the data read in from the csv file
#' @export
#'
#' @examples
#' csv = "spruce.csv"; myread(csv)
myread=function(csv){
fl = paste(dird,csv,sep="")... |
0848b5bb67aa6c82264c5ba9ab5931801aab5af2 | b5c8656720b07f660e6a83cd0d334b2a59596c50 | /r-analysis/R/server.R | 8cf44cc05468263070b79d46fb9f34aa5664463d | [] | no_license | forrestsill/abu | e827cb9b21d5022ad97c6fb71bb395d1442bdeb3 | 853688224129398221fa47e50f2f4717a7c55b30 | refs/heads/master | 2020-04-29T01:38:45.185845 | 2019-03-15T15:06:57 | 2019-03-15T15:06:57 | 175,737,149 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,428 | r | server.R | server <- function(input, output) {
output$distPlot <- renderPlot({
# load data
# data <- readRDS("//samba/proj/pmg-east/MBS Inv Team/Investment Process/Infrastructure/Software/ConvictionSurvey/data.rds")
data <- data.table(read_excel("H:/apps/xp/Desktop/AJ Hackathon/data.xlsx"))
... |
35582bf4664eb7943cf595255015cb4c9dedb926 | 50fd7e8cc064a7f35ec30bd8bdf47ab648ee60bf | /man/arseq.mvg.Rd | 40f2b98577f24751284b385a62d9f6afdf34aa1d | [] | no_license | ajitjohnson/arseq | a0c8c4996c7137dbe8bf15d9b559191a27fb7242 | 5da13779253b47d3df07effd59d06053294ab6d2 | refs/heads/master | 2021-11-27T09:59:37.024830 | 2021-10-25T16:17:28 | 2021-10-25T16:17:28 | 205,567,517 | 8 | 2 | null | 2020-02-05T04:53:18 | 2019-08-31T16:14:14 | R | UTF-8 | R | false | true | 700 | rd | arseq.mvg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/arseq.mvg.R
\name{arseq.mvg}
\alias{arseq.mvg}
\title{Most Variable Genes}
\usage{
arseq.mvg(data, variable.genes = variable.genes, dds.object = TRUE)
}
\arguments{
\item{data}{DESeq2 object or normalized expression dataframe}
\item{variable... |
0c8a74c35bd0ebf7dd2a1d9ae813997c87a44050 | 2b3b9231b2b8cfacc1d3054ee673af048e7890e6 | /test.R | 6fadeea03f3b314e76d9efcbd93b67b0a8219a88 | [] | no_license | Dan609/wordcloud | 0e574078b1dcaa656ef29594d0f6d72f68548629 | 676873931b102a56552b32cba385f52d56f92430 | refs/heads/master | 2020-04-13T08:10:33.614327 | 2020-01-23T08:11:22 | 2020-01-23T08:11:22 | 163,074,385 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,262 | r | test.R | #### Text analysis
options(max.print=100000)
library(tm) # for text mining
library(SnowballC) # for text stemming
library(wordcloud) # word-cloud generator
library(RColorBrewer) # color palettes
library(RDSTK)
library(readr)
library(twitteR)
library(qdap)
library(syuzhet)
library(ggplot2)
library(dplyr)
library(pdft... |
f2680de2f51c3537a96c3db8af738793656cb739 | b4aa358205968bbe1424b3375c5d81bdbcc7ed6b | /R/flow_survival.R | aa56288de2945d58d87a7be7f2c1d12b36bd6762 | [] | no_license | fishsciences/DeltaPassageModel | c97d9d2eb2df40bfff504667d214a7b3713f7bf3 | 863f369e1c712e5804a80a3000982f0a5e9f5532 | refs/heads/master | 2020-07-13T07:11:10.722527 | 2020-02-22T00:56:15 | 2020-02-22T00:56:15 | 205,028,464 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 627 | r | flow_survival.R | #' Flow-survival relationship
#'
#' Calculates survival through a reach as a function of standardized flow in Sac3 reach
#'
#' @md
#' @param reach Sac1, Sac2, Sac3, or SS
#' @param flow Standardized flow in Sac3 on day entering reach
#'
#' @export
#' @examples
#' flow_survival("Sac1", -5)
#' flow_survival(... |
41c581c88f3a7861ef236fa0783d746fd330e5df | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/DiscreteWeibull/examples/ddweibull.Rd.R | 9cae1405402dd9ebce43e63a89cfcca884f8daae | [] | 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 | 604 | r | ddweibull.Rd.R | library(DiscreteWeibull)
### Name: Discrete Weibull (Type 1)
### Title: The type 1 discrete Weibull distribution
### Aliases: ddweibull pdweibull qdweibull rdweibull
### Keywords: distribution
### ** Examples
# Ex.1
x <- 1:10
q <- 0.6
beta <- 0.8
ddweibull(x, q, beta)
t <- qdweibull(0.99, q, beta)
t
pdweibull(t, q,... |
54e8b246f56eef25fbfef1537c2b6c544ea0d0da | 102cc3eb35509a8402e940f44fbc4688bf704b1a | /.Rprofile | 32717f19429eb7b2136fc2713e35ecb9912222f6 | [] | no_license | shenfei/DiagonAlley | a21da6bf35ea3681cea0da8c259f7ae5dddf3d87 | 31097a4297511dcec0e018336d5030f31e4cc36a | refs/heads/master | 2023-06-10T13:39:28.142366 | 2023-05-26T07:25:05 | 2023-05-26T07:25:05 | 27,769,747 | 0 | 0 | null | 2023-05-26T07:25:06 | 2014-12-09T14:15:27 | Emacs Lisp | UTF-8 | R | false | false | 713 | rprofile | .Rprofile | # .Rprofile -- commands to execute at the beginning of each R session
#
# You can use this file to load packages, set options, etc.
#
# NOTE: changes in this file won't be reflected until after you quit
# and start a new session
#
.First <- function() {
.libPaths('~/R/library')
options(blogdown.ext = ".Rmd")
... |
2568356bf219ba3555cdc068a6fa87f815a95656 | b36dfb61e11b2ca63bb571c665ddf38ad5475330 | /stringdb_cond1_cond2.R | 0b38ec865f9e394816493e1f14cdd323d4450a68 | [] | no_license | mzuer/breast_project | 83685f855af878c3404df80e839be5f621300212 | 2b23ef1a5f01b9b19f6c795b7fd6e199bf68f5fb | refs/heads/main | 2023-08-27T22:58:21.456109 | 2021-10-27T09:58:39 | 2021-10-27T09:58:39 | 409,911,613 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,572 | r | stringdb_cond1_cond2.R |
# Rscript cemitools_cond1_cond2_proteo_Johansson.R
cond1 <- "HER2"
cond2 <- "LumA"
annotCol <- "PAM50.subtype"
cond1 <- "LumBHer2"
cond2 <- "LumA"
annotCol <- "PAM50.subtype_merged"
plotType <- "png"
myWidth <- 400
myHeight <- 400
cond1 <- "LumB"
cond2 <- "LumA"
annotCol <- "PAM50.subtype"
outFolder <- file.path(... |
bd4211dbc79fdc820a3dc5f199212619d891a6f5 | 0d4a16ddebbb1f26ea0789696b048582dcb8ed6d | /plot1.R | 40b5a5b2fd447fdc8ca4af5cac246434ea06edff | [] | no_license | flebr1/ExData_Plotting1 | e71ca2fe465a128c1d94cc8d30bfcf9991aac3ac | 73076150219d771415cdb6a23eb9dc9521f53f85 | refs/heads/master | 2020-05-27T16:46:21.082517 | 2019-05-26T23:21:58 | 2019-05-26T23:21:58 | 188,708,338 | 0 | 0 | null | 2019-05-26T16:44:05 | 2019-05-26T16:44:05 | null | UTF-8 | R | false | false | 343 | r | plot1.R | #
# exploratory data analysis - project 1
#
# script to generate "Plot 1"
#
source("prep_and_load_data.R")
png(
filename = "plot1.png",
width = 480,
height = 480
)
hist(
hpcDataToPlot$Global_active_power,
col = "red",
main = "Global Active Power",
xlab = "Global Active Power (kilowatts)",
ylab = "F... |
6f22ed94af8dd99a52bd6f3d655f2f2c8ab6daa5 | 921c50c1a6da54e873446cdc2925734216e85155 | /Proyecto/PROYECTO.R | 630391c294735f7bb556490f732181528cd58e6f | [] | no_license | otokani2000/Clustering | 5a6e2ec31ef01bafe6cea60a9c800962976364d0 | cdb122386ae2642796a1b77009c40283e4052e82 | refs/heads/master | 2023-03-23T23:20:03.425995 | 2021-03-21T18:33:06 | 2021-03-21T18:33:06 | 350,076,257 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,659 | r | PROYECTO.R | #Se lee el archivo con la info. del blastp
tabla<-read.table("tabla_ORDENADA.txt")
tabla
#Tenemos 9992 alineamientos de 10000 que en teoría deberían ser.
#Para buscar en que posiciones están los 8 faltantes de los 10000 hacemos lo sig.
#Guardamos la columna 1 y 2 en 2 vectores diferentes y vamos a ver cuales compar... |
f878ccd6913cf4f34e51ee3534e620d300446283 | 2c7ab1015aaa4f74cb1fd037fa663063f770bc46 | /findActive/reduceSpliceEvent.R | da1f59fb7507630c6488abda48157008001e72a1 | [] | no_license | brittanyhowell/spliceAnalysis | 04d217be2aab5723aef4f901f9a37112253f0d29 | be03041a5754f970d9347b22e1828619bab4f919 | refs/heads/master | 2021-01-17T17:25:26.388064 | 2017-07-27T03:53:08 | 2017-07-27T03:53:08 | 70,382,158 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 828 | r | reduceSpliceEvent.R |
setwd("~/Documents/University/Honours_2016/Project/bamReading/Split/Human/Compile")
lEvents <- read.table("landscapeNumEvents.txt")
events <- read.table("AllComp.txt")
subset <- t(data.frame(lEvents[,0:27]))
colnames(events) <- c("All", "Either", "Both", "Stringent")
colours <- c("salmon1" ,"salmon1" ,"salmon1" ,... |
09a90a059da8504e36daa7170b068633ac9a0b91 | 4b9955701ca424c19bec17f0bc4b36f72cfcbcc4 | /man/invert.Rd | dcabdf0cecbeac2ad670548df0000b1fc12a949c | [
"BSD-2-Clause"
] | permissive | mlr-org/mlrCPO | c238c4ddd72ece8549f8b48a79f02f543dac60e5 | e6fc62a4aeb2001a3760c9d1126f6f2ddd98cc54 | refs/heads/master | 2022-11-21T17:30:54.108189 | 2022-11-16T16:08:10 | 2022-11-16T16:08:10 | 100,395,368 | 39 | 4 | NOASSERTION | 2022-10-18T23:46:13 | 2017-08-15T16:08:30 | R | UTF-8 | R | false | true | 1,655 | rd | invert.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/inverter.R
\name{invert}
\alias{invert}
\title{Invert Target Preprocessing}
\usage{
invert(inverter, prediction, predict.type = "response")
}
\arguments{
\item{inverter}{[\code{CPOInverter}]\cr
The retrafo or inverter to apply}
\item{predict... |
ad8c63cb34499a3d7586751f93a418b47967a55a | 17b4fd4a2aa4d7741604e07f585bec783d558dde | /lessons/A_Monday/scripts/B_Amazon_Xray.R | 4ed3852ea5f0369666a3b044eac52a422523f73f | [
"MIT"
] | permissive | anhnguyendepocen/GSERM_TextMining | 41a04517212e5adde60865b6e5b3b1c149b7960d | 0bb2692b1130c9c9fe604e2e610fd057960a44ec | refs/heads/master | 2022-03-27T14:21:53.953619 | 2020-01-16T21:40:07 | 2020-01-16T21:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,559 | r | B_Amazon_Xray.R | #' Author: Ted Kwartler
#' Data: Jan-12-2020
#' Purpose: GSERM: Intro to basic R operations
#'
### 1. Set working directory to your specific movie
setwd("/cloud/project/lessons/A_Monday/data/xRay/forceAwakens")
# Turn off scientific notation
options(scipen = 999)
### 2. Load libraries to customize R
library(ggplot2... |
ae3223861d657ddf70ed677dfc89d8c1faed202e | ac95f4a5c652a9a328068edf009ab67cc8f62bff | /man/hooks_with_bait.Rd | fb2efe3e10929f5a606f5f42f24ae595be889193 | [] | no_license | pbs-assess/gfiphc | 8f200dcef7e36de6ecaef09cdb0383166f9307da | 90ad0b6d4ac6e1b5f52a3e55fc0b7ce0fe0069d3 | refs/heads/master | 2023-06-25T09:32:58.894375 | 2023-06-19T17:42:20 | 2023-06-19T17:42:20 | 177,639,706 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 668 | rd | hooks_with_bait.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{hooks_with_bait}
\alias{hooks_with_bait}
\title{Available counts of hooks returned with bait on them, for each set for all years}
\format{
A \code{list} containing a single \code{tibble} called \code{set_counts}, w... |
ac05e792172a6c5a429047034d12b7a3c25a097f | 25285a1e0fb2d7c194928a7bb021f30ee6751de7 | /R/setNames.R | 19411e3844f37b907c6def3e54e17af7a57734f7 | [] | no_license | pbiecek/PogromcyDanych | e2deb7a548467adcd8ada7cbf06fa896db2635fe | a7812861bf57a0ec63e66da7f3ad3f94899c1628 | refs/heads/master | 2023-09-01T16:05:14.013614 | 2023-08-20T19:57:00 | 2023-08-20T19:57:00 | 28,668,827 | 9 | 1 | null | null | null | null | UTF-8 | R | false | false | 13,986 | r | setNames.R | pushGlobal <- function(name, value) {
tf <- tempfile()
assign(name, value = value)
save(list=name, file=tf)
load(tf, envir = .GlobalEnv)
unlink(tf)
}
setLang <- function(lang = "eng") {
auta2012_eng <- PogromcyDanych::auta2012
pearson_eng <- PogromcyDanych::pearson
galton_eng <- PogromcyDanych::galton
... |
e3e77cca1910400184dba45ef315159d88757772 | 04902011b8f098524a0a73d22400f5e52fdb4153 | /R/EPV.R | 2f1374616b3b7a826fcc3c4a4efb5205d011d3e3 | [
"MIT"
] | permissive | DaDirnbocher/MarkovThiele | 800d0f2d7556b3bd8df964d5b4f8bbcb29f1ff51 | e090c4c51b8eff0f3430470df51d6c65136bde53 | refs/heads/main | 2023-02-17T11:24:34.666300 | 2021-01-17T18:56:38 | 2021-01-17T18:56:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,454 | r | EPV.R | #' The function completeV creates the expected value of future cashflows
#' for all possible states and times.
#' @export
EPV <- function(mc){
trans <- mc[["trans"]]
cashflowPre <- mc[["cashflowPre"]]
cashflowPost <- mc[["cashflowPost"]]
states <- mc[["states"]]
disc <- mc[["disc... |
ba0f7fe4e5c3acf245f712211aea8a8826b1168d | 289f05ddf4a2e10e036d5ccfd2415343fb65f90e | /R/delete_adset.R | 8d4632aa7f48d0abfd4172f66f634feffee52f02 | [] | no_license | JohnCoene/oRion | 6013270bd63f68fe9368560e5b7076dd1760867e | 7078198932e15dc2154437c11d45f4abe13940e3 | refs/heads/master | 2021-01-17T16:11:36.112796 | 2019-06-09T15:07:00 | 2019-06-09T15:07:00 | 54,460,571 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,190 | r | delete_adset.R | #' Delete an adset
#'
#' @description Delete an adset.
#'
#' @param adset.id id of object to delete
#'
#' @examples
#' \dontrun{
#' # authenticate
#' orionOAuth(client.id = 0000,
#' client.secret = "0x00000000x00x0x000xxx0000x0xx0")
#'
#' # list of campaigns
#' camps <- listCampaigns()
#' ... |
37ce34fbfc46f37437274e5d2f69c7dcde7d0f29 | 29585dff702209dd446c0ab52ceea046c58e384e | /cccrm/R/cccvc.R | 3c88260b16dd05eb4951c65be018e4c2e544059c | [] | 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 | 166 | r | cccvc.R | cccvc<-
function(dataset,ry,rind,rmet,covar=NULL,int=FALSE,cl=0.95){
if (int==TRUE)cccvc2(dataset,ry,rind,rmet,covar,cl) else cccvc1(dataset,ry,rind,rmet,covar,cl)} |
f1ae8e32b4cbfbe512c239d6799a3193793a06d8 | f1c52caa027b8e5a5593f9c8c4693d6cbfa107df | /Experiments.R | b3a625b2fef9c1ff7ff7542554395e0e5030a220 | [] | no_license | alexanderAnokhin/SimOpt | 2d39cf03fcf365a7bd9d40be1a8760526266085f | d445e660556bf9a2fc80a74f5fbe1112668f9e11 | refs/heads/master | 2016-08-12T06:48:40.006174 | 2016-01-30T14:07:36 | 2016-01-30T14:07:36 | 50,689,164 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,584 | r | Experiments.R | ## Experiments
## Seed in order to reproduce experiments
set.seed(20160129)
source("Utils.R")
source("SetUp.R")
source("KGPolicy.R")
source("RandomPolicy.R")
##
## Experiment 1. Average performance along the
## measurement budget [5, 100] and number of alternatives {5, 20}
##
## Seed in order to reproduce experime... |
287eda04912d05d314254ed4ae4516c362e44401 | f45c49cff40cae33bcd3261f113afbf895777ca9 | /third/spams-R/spams/man/spams.lassoMask.Rd | dc04e60bc0bf65d9ed6c54bd959a2ac70578778e | [
"Apache-2.0",
"GPL-3.0-only"
] | permissive | yfyang86/cshap | 0dc7bc1d3aa576ee0d1f3ab5eb85176f5c0ba50c | 0c4b3296193a379be2941430657f5c99a6561fcb | refs/heads/main | 2023-04-21T05:52:57.161141 | 2021-04-29T09:23:25 | 2021-04-29T09:23:25 | 360,166,399 | 0 | 0 | Apache-2.0 | 2021-04-29T09:23:26 | 2021-04-21T12:43:08 | C++ | UTF-8 | R | false | false | 2,547 | rd | spams.lassoMask.Rd | \encoding{latin1}
\name{spams.lassoMask}
\alias{spams.lassoMask}
\title{
spams.lassoMask
}
\description{
spams.lasso is a variant of spams.lasso that handles
binary masks. It aims at addressing the following problems
for all columns x of X, and beta of B, it computes one column alpha of A
that solves
... |
db600f4ab77df312ff702100f7486e8af1ec1c3c | e16bad6b016777594f00f3a912a331d84a53bb68 | /All R Codes/Download Unicheck.R | a364a9d9ab93f85fc4631f16071728acfb445c65 | [] | no_license | ashutoshsingh25/R-Scripts | f4d3ad42bd608a752fc8c730a596fb2de04dd6ee | 2f90d158db16a45c6b0ea9cb3ea0287806258df4 | refs/heads/master | 2021-07-15T08:31:57.666827 | 2020-06-11T18:33:13 | 2020-06-11T18:33:13 | 174,949,542 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,064 | r | Download Unicheck.R | library(RSelenium)
?tryCatch
driver<- rsDriver(browser=c("chrome")) #starting selenium server for chrome browser
remDr <- driver[["client"]] #linking chrome browser
remDr$navigate("https://unicheck.com/login/business/")
EMail <- remDr$findElement(using = "css","[class='_1uOq0o']") #selecting email ... |
d0b8405121cedac5a37c3c66796c54b2b5ec7f96 | 7e85a5194f22cec34af956f988277e0ec380105d | /man/tableau_setting.Rd | ba1f594925e1c393bf9a617eb6aa8e4fbb1cd0f1 | [
"MIT"
] | permissive | rstudio/shinytableau | cf9f28ed8a55853d053dc664a3360f439f385670 | 83c752ff861b2db87db5da64174e21b965898e5d | refs/heads/master | 2023-05-29T21:42:08.035909 | 2021-06-05T06:02:20 | 2021-06-05T06:02:20 | 276,984,488 | 62 | 7 | NOASSERTION | 2020-11-04T18:03:25 | 2020-07-03T20:45:09 | JavaScript | UTF-8 | R | false | true | 1,689 | rd | tableau_setting.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/settings.R
\name{tableau_setting}
\alias{tableau_setting}
\alias{tableau_settings_all}
\title{Read Tableau extension settings}
\usage{
tableau_setting(
name,
default = NULL,
session = shiny::getDefaultReactiveDomain()
)
tableau_setting... |
ac95f538715b3e92d17bad50fcb575502a24dfd5 | 9b049c49f418bd480b8adbbb25c81a40c30eb825 | /experiments/experiment1/experiment1.R | 587423eca61664f51b412a2d97a4914f543c4c5a | [] | no_license | parvsaxena/forestpacking | 28c1cc183588a05d23a0c81f4149ac3a6a055947 | dbaa9650976534c4ae5d89482808b5d182c62d66 | refs/heads/master | 2020-09-07T19:19:15.662931 | 2019-04-18T16:29:49 | 2019-04-18T16:29:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,982 | r | experiment1.R | # ---
# title: "Test speed-up and scale-up of R-Rerf against xg and ranger"
# author: "James Browne"
# date: "Oct 10 2017"
# output: html_document
# ---
library(ggplot2)
library(plyr)
data_summary <- function(data, varname, groupnames){
require(plyr)
summary_func <- function(x, col){
c(mean = median(... |
62bbc63503f8b5e5fea5b724da220ac7fa8ec91e | 6e4709c4a2b716998e3e14363eb2b35fc46cd1ee | /man/sel.line.Rd | c3e6cc9f7cd64c738f57e05e9346807de059dd21 | [] | no_license | tectronics/r4ss | 3748ba1d019021d172d46f835a907e5ff29cf058 | fd6090c0a6c20aa452cad30537d1ac89cb6c5db7 | refs/heads/master | 2018-01-11T15:02:39.579318 | 2014-07-12T00:20:45 | 2014-07-12T00:20:45 | 45,520,975 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,448 | rd | sel.line.Rd | \name{sel.line}
\alias{sel.line}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{ a function for drawing selecitivity curves }
\description{
This function is primarily inteded for use by the selfit function.
}
\usage{
sel.line(x, model, sp, min.dist, max.dist)
}
%- maybe also 'usage' for other o... |
d9b06a60ecd4146832c81076dc36d80051c45622 | f2bfd5ceae6bf32cebc28cf18740a8b44e010e7b | /pkg/retistruct/man/kr.yhat.cart.Rd | 012eb4f2f511f824fde6fcc7f16ab90baac9da3a | [] | no_license | davidcsterratt/retistruct | 602972d127b7119df3fda54ac915228d7ac854d1 | f7075b0a8ac84fdc9773300d553c26a11b45ce2e | refs/heads/master | 2023-08-09T20:08:39.039964 | 2023-07-29T09:27:35 | 2023-07-29T09:27:35 | 25,682,590 | 5 | 7 | null | 2017-07-29T09:14:58 | 2014-10-24T10:05:33 | R | UTF-8 | R | false | true | 712 | rd | kr.yhat.cart.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kernel-density.R
\name{kr.yhat.cart}
\alias{kr.yhat.cart}
\title{Kernel regression on sphere using Fisherian density with
Cartesian coordinates}
\usage{
kr.yhat.cart(r, mu, y, kappa)
}
\arguments{
\item{r}{Locations at which to estimate depen... |
e8746c35f9aa6c9c05c7d99bc1ffb83ae965bed0 | 1e921145eebf8c82188a760d9ed47df1716ed00b | /05_QuestionIdentifications.r | 96ceb62209e00b709317f2eaab1377ac51d1d30c | [] | no_license | umisrcps/survey-question-database | 40595538cb2a53c2c4d99a9b46b4fdf4b714c42a | cf7be2ed7381e47da46d0ed4b77b3d9567989c66 | refs/heads/master | 2022-04-02T04:10:57.006801 | 2020-02-25T14:58:05 | 2020-02-25T14:58:05 | 229,795,474 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,793 | r | 05_QuestionIdentifications.r | library(weights)
library(foreign)
library(memisc)
library(data.table)
library(quanteda)
## Load Key Files
load("EachFileExports/02-02_ToplineFiles.rdata")
load("EachFileExports/04-02_QuestionInformationFromDataFiles.rdata")
toplinetransform <- function(x){
qspre <- as.character(unique(x$QuestionID))
qs <- qs... |
deb17caa2e3c81e9aa2c56f893285fa2bc42e0bc | 26ae3eeb7ac438cd4ff6618c6728a574d45dc86b | /Code/Ch14-Missing Value.R | 6765812b4f2158f16001a1464e14915150a7bdda | [] | no_license | queenqueen89/Data_Wrangling | 628696ba5c336f7ee47e6327f212d59223ae001f | 66286537f9a5704aad50966ea0a0cadf51c638f2 | refs/heads/main | 2023-02-24T19:19:34.668500 | 2021-02-04T04:57:27 | 2021-02-04T04:57:27 | 335,839,506 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,845 | r | Ch14-Missing Value.R | #----------Chapter 14 Missing Values----------#
#---------------------------------------------#
#### 1. Test for Missing Values
# (1) test a vector with NA
(x <- c(1:4, NA, 6:7, NA))
is.na(x)
# (2) test a matrix with NA
df <- data.frame(col1 = c(1:3, NA),
col2 = c("this", NA,"is", "text"),
... |
ff63a7d741ca8455844c3825755e920ea6201457 | 0eb5f5076303791fbf3c8a9d25c568c3867ba86f | /Kedar_Shiny_Tutorial/execution_script.R | 0fc1cbcbf054dd4d31833f53a2fad94a682fc1c2 | [] | no_license | aha2140/team-shiny | 10dde0a5b55c92fa03ec4c2b8ed90529565bb80d | b7fa128e20e95dba94fe88b0d3135ba50ef5c6ec | refs/heads/master | 2021-03-12T23:08:32.669448 | 2015-04-26T15:33:04 | 2015-04-26T15:33:04 | 31,603,835 | 0 | 5 | null | 2019-08-22T19:53:58 | 2015-03-03T14:56:18 | R | UTF-8 | R | false | false | 843 | r | execution_script.R | library("shiny")
getwd()
setwd("/Users/kedarpatil/Documents/St-4701 - Data Visualization/team-shiny/Kedar_Shiny_Tutorial")
runApp("old_faithful")
runApp("old_faithful", display.mode="showcase")
runApp("old_faithful_dynamic")
#GO FURTHER - LESSON1
system.file("examples", package="shiny")
runExample("01_hello", disp... |
5a9412593836b433cdbfe93390d13327c0d21590 | 1b141d6887525dd038885603ba0525a4799fb297 | /R/PROC_LOC.R | 1781f3459ed1ba9f1baf9c954d80c68ac8645b90 | [
"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 | false | 1,017 | r | PROC_LOC.R | #' Location of Medical Procedures
#'
#' @param col A column in PTOS data that typically ends with _lc
#'
#' @return It translations of the code into human friendly values.
#' @export
proc_lc <- function(col) {
col_value <- case.(col == 1, "ED",
col == 2, "OR",
col == 3, "I... |
69d16e4622c8e6666ff515121b2a13034647c9d2 | 2c687e32ccf9790bad7675cfc7f8e49d3e6396a6 | /R/get_dCT_singleRep.R | 90c8a9502516b30b19a1d4babc9ea64c9cee4a44 | [] | no_license | pythseq/WARPqpcr | 8f19b9b2b3b4c95920b9bab341f67ffc50e16a38 | 75833ccd8f05612cc4cc7ea68f4c21cada64c858 | refs/heads/master | 2021-02-18T15:28:06.686687 | 2020-02-25T23:07:07 | 2020-02-25T23:07:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,507 | r | get_dCT_singleRep.R | #' @title get_dCT_singlerep
#'
#' @description Calculates the dCT values for all samples in situations where
#' there is only a single biological replicate per condition.
#'
#' @param sampleObj A qPCRBatch object generated from the \code{\link{readSampleSheet}} function.
#' @param hkg A character vector containing the ... |
15123088e1631ed06dee3c6db942dc304d780a9a | f914fbd3a914030c7bc3da68b29ae6ee3c17b749 | /Scripts/draftsEnStuff.R | 38bc283cf70d3ccca3b6a38d120ceacb1ac63627 | [] | no_license | AlexHNova/eop | 2b0b68544baffc78a18e007523cadd288ec4ea47 | 17447d3bb0e89af719b635533c9ee0317f8c9a2f | refs/heads/master | 2016-09-01T14:49:17.014474 | 2016-01-08T13:56:33 | 2016-01-08T13:56:33 | 49,271,193 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,481 | r | draftsEnStuff.R | library(lubridate)
source("C:/Users/Alex H/Dropbox (Nova SA)/Rfunctions/binconf.uur.R")
df_ibutton_data_classified$fire_start <- FALSE
splits <- split(x = df_ibutton_data_classified, f = df_ibutton_data_classified$stand_number)
temp <- lapply(X = splits, FUN = function(stnd) {
if (!("vuur" %in% names(stnd))) {next... |
e24a82bfe7b1a9d1a569556cbf2dd39a9b21e9d6 | b35d2f33a64884781714b46d0e279d5dd5727254 | /data_preparation/R_batch2/step9_prepare_covariate_data_AA.R | 42717203dea4faf8f9544df54debdef87bf5eaf7 | [] | no_license | jasa-acs/Mapping-Tumor-Specific-Expression-QTLs-in-Impure-Tumor-Samples | 229e67c269ccd478c038fbbdaccd5c473bb56c73 | 12975b1aa4f9fa96777bff1c546fa08d45fb5dcc | refs/heads/master | 2020-09-03T23:49:39.778711 | 2019-12-01T20:29:11 | 2019-12-01T20:29:11 | 219,604,850 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,151 | r | step9_prepare_covariate_data_AA.R |
##
## take 0 gene expression PCs and 2 genotype PC
##
# --------------------------------------------------------
# read in sample information
# --------------------------------------------------------
setwd("/Volumes/Moon/TCGA_BRCA/info/")
sam = read.table("brca_samples2use_after_qc_female.txt",
header=TRUE, sep=... |
ece3d08ef3f7013cff2196079ae9b2e3eee2086b | 4d6560931cb362449e07903abd7a3493e7d0f1ab | /mult-regression.R | 37bec15e9d190a179a1663f6c0b4ad4ff17da956 | [] | no_license | RonnyldoSilva/My_R | 9bee1c7c8da93e5a1d2048a285f0f40e3a86b196 | 8a80d6614e0570a5e60fc0ba31d909b37d8e802a | refs/heads/master | 2023-01-14T15:00:23.518601 | 2020-11-18T12:48:49 | 2020-11-18T12:48:49 | 285,350,353 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 210 | r | mult-regression.R | library(readxl)
data <- read_excel("/media/ronn/hd_ubuntu/workspace/my_git/My_R/ageandheight.xls", sheet = "Hoja2") #Upload the data
fit <- lm(height ~ age, data=data)
summary(fit) # show results
#plot(fit)
|
cabd2bd400737324483e595bbfe6b102c7e47cbe | 11f9de6c03b7115273d78ddd6fc2cb9297763d78 | /countriesAbbr.r | fbd5af37bec6a2421622cc37d9a619fad71da7da | [] | no_license | buckeye76guy/UEFA-Champions-Leage-2014-2015-Players-Data | 4f0d61dc14cbc9c7e6a5e1093b256a08fc1cba6d | 201d9e471979e1ee45f3ac5b54c29a7df6fbe989 | refs/heads/master | 2021-01-20T04:36:02.479440 | 2015-07-04T02:08:41 | 2015-07-04T02:08:41 | 38,470,962 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 551 | r | countriesAbbr.r | # Now use Xpath to get list abbreviation to all countries!
library(RCurl)
library(XML)
input <- "http://www.worldatlas.com/aatlas/ctycodes.htm"
html <- getURL(input, followlocation = TRUE)
doc <- htmlParse(html, asText = TRUE)
fullNames <- xpathSApply(doc, "//td[@class=\"cell01\"]",xmlValue)
fullNames <- gsub("\n", "... |
f040d7ae70cd4d92c625eb6c3f24df0bf8af3fc9 | 4117f83ea4a5fa2b1d6d67c664292b744894ba2b | /ui.R | e7d1f2e9ebb82b2f3df9a957d9f33607118300ff | [] | no_license | red1k/ocr | 50cd39f9ba004b5ba133d0b36ed52e837bb6b437 | c4f145bc7738b8d3bde1f9315c4d58b78592f930 | refs/heads/master | 2023-07-25T15:03:07.353370 | 2021-08-28T18:16:46 | 2021-08-28T18:16:46 | 374,390,710 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 928 | r | ui.R | library(shiny)
library(DT)
fluidPage(
fluidRow(
column(2),
column(8,
h1("QR code to TEXT"),
hr(),
radioButtons("qrtype", h4("Turul songono uu:"), c("Oroh" = "in", "Garah" = "out"), inline = T),
),
column(2),
),
fluidRow(
colu... |
f4e8517c612c47a46c2d4f516e86539f4bd1222b | 4d52315ba412db56ae6b179753de3a07d8736e40 | /BINARY/BINtoSQL/BINtoSQL_R.R | 2a416b4d0e8bf457e94512afe85984bc5cd2446a | [] | no_license | ParfaitG/DATA_MIGRATION | 7180bb80b5153642fa70d567ffc4c7387de83aa4 | 470c6fab6ef22ac9051211b8d20d1efc1d7d74db | refs/heads/master | 2021-08-16T00:56:51.919753 | 2020-06-07T21:06:12 | 2020-06-07T21:06:12 | 41,966,932 | 14 | 7 | null | null | null | null | UTF-8 | R | false | false | 341 | r | BINtoSQL_R.R | library(RSQLite)
# LOAD OBJECT
cldata <- readRDS("../BuildBINs/CLData_R.rds")
# APPEND TO DATABASE
conn <- dbConnect(RSQLite::SQLite(), "CLData.db")
dbWriteTable(conn, name="cldata", value=cldata, row.names=FALSE,
overwrite=TRUE, append=FALSE)
dbDisconnect(conn)
cat("Successfully migrated binary data ... |
d7ad812c001c6dc2181f1f682071b22a59ea0537 | 2b2a11cb47b38c673f2ef7409a6f92828e3c4af8 | /ui.R | da6762a36ea4f347570061c822544b69015a6018 | [] | no_license | HariniAsaithambi/CourseEraDataProducts | a27e7ec6a52b395c4524046d3356c8aa10bd9f33 | d1c5021f0a3793ee058fe8e98cf0222b94edaa86 | refs/heads/master | 2022-10-23T11:21:19.356563 | 2020-06-17T16:37:52 | 2020-06-17T16:37:52 | 273,016,230 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,036 | 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
shinyUI(fluidPage(
# Appl... |
ec79a7acd120583e358e8c3c686f86df7cee328f | 51cfad73fc3ee69231927a79d91b0846b9ab2a92 | /markdown/render-scotland-summary.R | d5719d46bfa398c516e8738f71f1da518d2bdea8 | [] | no_license | Public-Health-Scotland/cocin-scotland | 6c374189ab56fb1fe3f110867badee0f970f6a3d | b857b264c835885969eae28006d8d3fcf1d372f7 | refs/heads/master | 2023-07-15T08:51:51.492357 | 2021-07-28T09:48:05 | 2021-07-28T09:48:05 | 258,522,865 | 1 | 0 | null | 2021-08-30T13:56:17 | 2020-04-24T13:39:53 | R | UTF-8 | R | false | false | 819 | r | render-scotland-summary.R | ###########################################################
# Name of script: knit-markdown.R
# Written by: Analysts working in HPS Enhanced Surveillance
# Cell - Hospital/ICU Work Stream
#
# Type of script: Knit Scotland summary markdown report
# Written/run on: R Studio Desktop
# Version of R: 3.6.1
#
# D... |
7165b60456dbfa9331fda7407575944cb2692b37 | 49b9074ebae34d7bcce916d455b785e1cc7043fc | /R/functions.R | 0bf0f78048078d95c8aa0023ae97d3fe3c2a48b2 | [] | no_license | xulong82/bayes.glmm | 0f9bc80d17592b9da9d371d8f8feaf2e892d807b | 09d9fe690c9d0c3295e9913cd49fb969400da1bc | refs/heads/master | 2021-01-10T01:20:51.358277 | 2018-04-11T02:06:03 | 2018-04-11T02:06:03 | 53,289,688 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,610 | r | functions.R | # You can learn more about package authoring with RStudio at:
#
# http://r-pkgs.had.co.nz/
#
# Some useful keyboard shortcuts for package authoring:
#
# Build and Reload Package: 'Cmd + Shift + B'
# Check Package: 'Cmd + Shift + E'
# Test Package: 'Cmd + Shift + T'
#' Choose a stan mo... |
e40f154fc391a5efcf23f2281d6ebcac0d5d92fd | 05eec74a8736ca433d1415f2c3231641ef8a3113 | /man/statFitTbl1.Rd | 294f7735e343d41ebad00c40d14a3131a715eec6 | [
"MIT"
] | permissive | nmedina17/oir | d4aaa1051696f2d5211f513857ff1544dec5c8da | e7a59cfe1d53ec9d3f7cba1e310bd6fb85998c78 | refs/heads/main | 2023-06-29T23:11:34.158595 | 2023-06-22T06:52:57 | 2023-06-22T06:52:57 | 420,233,162 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 458 | rd | statFitTbl1.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/statsTbl1.R
\name{statFitTbl1}
\alias{statFitTbl1}
\title{Mutates lm and summary output, of already-summarized data, onto tbl--needs $varData1, $statTest}
\usage{
statFitTbl1(...nestedVarDataTbl, ....formula)
}
\arguments{
\item{....formula}{... |
10d068b069fe28ca393df245b4a560bcd7c6d069 | 577bfdb8d89707b6d485aff04299c6b4e566f42d | /R/armando_dfs.R | 042cc231cfeca95898cb12979b223561eb48afce | [] | no_license | castillosebastian/NLU_legal_domain | ee64efe068ebe73093f9f198662bb1dd8d0a72f3 | c162376021510656758bb13489e2b85bce802a5c | refs/heads/master | 2023-01-02T15:30:21.690888 | 2020-11-03T15:43:17 | 2020-11-03T15:43:17 | 297,676,845 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,407 | r | armando_dfs.R |
# Armando DFs
# Librearías
source("~/estudios-misc/R/informe.R")
library(DataExplorer)
library(qdapRegex)
boletin_infojuba_N50_RAW <- read_csv("data/boletin_infojuba_N50_RAW.csv")
colnames(boletin_infojuba_N50_RAW) <- c("file", "boletin")
boletines <- boletin_infojuba_N50_RAW
# Encabezado
temp <- str_extract(bole... |
d2520260ab15d275bac0ae0337e87195b5e0d350 | ce5d5469fcc81b9047db1523811193a2edc97761 | /raw_script/PA.R | 95702815797db8fe57145bf2183d57d012b6fb08 | [] | no_license | gwgarrison/ml_project | 5a1f8bd183199edec7a8f294c4578b821e0f50c5 | be4823635f5336562d428202f9d18938f3ed56ee | refs/heads/master | 2016-09-05T10:00:58.149724 | 2014-08-22T22:05:02 | 2014-08-22T22:05:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,777 | r | PA.R |
# project raw script
if (file.exists("F:/machine_learning/assignments/ml_project")) {
setwd("f:/machine_learning/assignments/ml_project")
} else if (file.exists("E:/machine_learning/assignments/ml_project")){
setwd("e:/machine_learning/assignments/ml_project")
} else {
stop("no directory")
}
library(ggplot2); ... |
86018a2efffe514560f06060cb1aae027ec06b68 | 2f7d9d4fcd27d7a0b406c52744260a10b67fec71 | /shiny/ui.R | e255a306429c8a0cdda71e565c08deaa53b916b9 | [] | no_license | ansolotli/shinyapp-decision-support-tool | 3ed96b060ec6515460fdf9f13ca8891f61b8a88f | 827bbba7fe2ebed83cb712207dad07b49a908368 | refs/heads/master | 2022-04-14T02:01:45.955092 | 2020-03-30T12:10:24 | 2020-03-30T12:10:24 | 222,639,036 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,839 | r | ui.R | suppressPackageStartupMessages({
library(shiny)
library(shinydashboard)
library(shinyBS) # popovers
library(stringi)
library(ggplot2)
library(rmarkdown) # needed for deployment
library(reshape2)
library(shinyjs) # enables javascript
library(patchwork) # arrange pie charts
library(dplyr)
library(s... |
9bb1d4e38a0e29d5f498e38b46caf679233f1cbe | a2f1d4c852abe5ce896a2c586ccb0304eea5ddfa | /solutions/day4.R | 4167559a03266e9276ff6dd001727939dd66283c | [] | no_license | mahendra-mariadassou/advent_of_code_2018 | 0126345bd5119bc817532bbaa5ee77182596a2fd | 98f578fc4c212b732fef9db97366e58afa26d3f8 | refs/heads/master | 2020-04-09T20:06:54.362664 | 2018-12-17T15:24:01 | 2018-12-17T15:24:01 | 160,564,437 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,108 | r | day4.R | library(tidyverse)
library(lubridate)
## input
test <- c(
"[1518-11-01 00:00] Guard #10 begins shift",
"[1518-11-01 00:05] falls asleep",
"[1518-11-01 00:25] wakes up",
"[1518-11-01 00:30] falls asleep",
"[1518-11-01 00:55] wakes up",
"[1518-11-01 23:58] Guard #99 begins shift",
"[1518-11-02 00:40] falls asleep",
"[15... |
4364a4d6fedcab05df349d49b11032edff3b3a02 | 16729b86f56fb320d76f604918ce8c84bea474de | /man/cached.Rd | 155bd9b25daa436ac20edacd1167e4bfe55e7e9c | [] | no_license | BAAQMD/cacher | 7c148228b6805e258598c9f2ca3fc2df85df2136 | 7b0b0137f024c49ba92594c492327559d4bfc88d | refs/heads/master | 2021-07-14T04:58:24.162834 | 2020-05-15T03:22:54 | 2020-05-15T03:22:54 | 131,067,521 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 645 | rd | cached.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cached.R
\name{cached}
\alias{cached}
\title{Declare a cached object}
\usage{
cached(
...,
root = cache_root(),
ext = c(".rds", ".fst", ".feather", ".rds.lz4", ".rds.snz"),
verbose = getOption("verbose")
)
}
\arguments{
\item{\dots}{c... |
11d45508f2b7f13032d2490b344ec9e71cec3e61 | 852b1aae6ad8138dc164eafbf4045e3ea5de87c8 | /R/extract_fin_metadata.R | e38eb382539232a395e5b61340bcd57303dadae6 | [] | no_license | PinkDiamond1/fin2ddh | 35bafcb1a3de815d11554d87f85fb45b3d6262d0 | 40ffcf8f79ff3bb9845b742e57ddb1fbf5f82e66 | refs/heads/master | 2023-03-17T00:52:19.799023 | 2019-05-08T01:24:10 | 2019-05-08T01:24:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 368 | r | extract_fin_metadata.R | #' extract_fin_metadata
#'
#' Extract specific metadata from the Finance API JSON response
#'
#'
#' @return list
#' @export
#'
extract_fin_metadata <- function() {
url = "http://finances.worldbank.org//api/search/views.json?limitTo=tables&datasetView=DATASET"
finance_data <- jsonlite::fromJSON(url, simp... |
3f5f18e91e71b0512880f2f99f59c4703866ee69 | 1d2278031396b3acae4bf003e202f77dd1fbe195 | /Script_for_HardyWeinberg_frame.R | a38db08492d4ff0c606f17e33aa2704f153ba06f | [] | no_license | Drumph/Code_snippet | 0706b407b0eb9b2145f533f1fd6250dc20af10a4 | d442e95fa5e274d669095e9902b8b414b4d78f98 | refs/heads/master | 2020-03-16T16:47:15.953457 | 2018-05-10T22:50:34 | 2018-05-10T22:50:34 | 132,803,208 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,685 | r | Script_for_HardyWeinberg_frame.R | Rscript --vanilla --default-packages=utils
args <- commandArgs()
path_file=args[7] ######## Path where the files are stored
file_name=args[9] ######## This file name contains the chromosome number to be used
file_list=list.files(path=path_file,pattern = "\\.hwe")
filenames1=file1[grep(pattern=file_name,file_list)] ... |
7479d08855baced130ea64ca2c39fe9763a03813 | bbd5c1def3e22bc54b5f100150d7d80292719ab5 | /man/validateASR.Rd | 82602ddcbf3206ab5515cfa99032058f2ff450cd | [] | no_license | jeffbaumes/aRbor | d70f25b3c023ee471e6d59d1dc7147e5d7feb153 | e33b8d7f206f684ec64fbf5f095bb198ab49fc52 | refs/heads/master | 2021-01-18T10:38:52.579128 | 2014-11-05T19:33:24 | 2014-11-05T19:33:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 662 | rd | validateASR.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{validateASR}
\alias{validateASR}
\title{Function that uses "leave 1 out" validation of a discrete character model}
\usage{
validateASR(asr, prior = "stationary", plot = TRUE, cex.node = 0.5,
cex.tip = 0.5, cex.lab = 1, cex.actual = 5, pal = rainbow,
label.... |
81b57f72d5d58cd9a4bce818c7bb73baa5436d8b | 4cb3384013df1476e310c04a6f17aa7a1bddcb0b | /plot1.r | b3f7cb7c1c4b8964e5036b42bde50c040695cf21 | [] | no_license | rcoursera1/ExData_Plotting1 | 151dc944373c34e3c0bf2e9f2d70bc45176e308b | 2365707f15dbb87232f9050751618fd7e7a0fcb3 | refs/heads/master | 2021-01-18T02:39:55.308467 | 2014-05-11T20:53:43 | 2014-05-11T20:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 220 | r | plot1.r | source("load_data.r")
png(filename="plot1.png", width = 480, height = 480, bg="transparent")
hist(data$Global_active_power, xlab="Global Active Power (kilowatts)",
main="Global Active Power", col="red")
dev.off() |
d071924679549c651f7ec2ecbe511c5a64bd706e | d1197d5bfac715e2fbf554debcca2f785c0dcc50 | /stan_tutorial.R | 0e87a280400ca6926da7dac553e0a99975f22a61 | [] | no_license | jasonwee-cw/psyteam504 | c3d730b867205028bce3f2ce07543c49ebcdc98f | 02aa5c37995fae595c83c34f0585f4f1d1171215 | refs/heads/master | 2021-01-03T10:44:16.256639 | 2020-04-21T17:58:34 | 2020-04-21T17:58:34 | 240,045,490 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,277 | r | stan_tutorial.R | #Set working directory
setwd("~/Documents/Princeton/PSY504 Statistics")
library(data.table)
library(tidyverse)
library(rstan)
rstan_options(auto_write = TRUE)
#Hi @everyone, for the OLS stan practice, please use the mtcars data linked here: https://gist.github.com/seankross/a412dfbd88b3db70b74b This dataset is inclu... |
e2be6750088606aaed37f159937bac8161cb9c4b | aecd1ebdaefe3976c7f5b4cd9090fcc74b09151f | /lld_plotter.R | 2941d70c5957509a6407ca5ad4fca41f2659448f | [] | no_license | moorelr/plot_llds | 2d80b594193371e6337efc50399d93d9c2ea25b8 | 308d63c58d7e135c580e60f1ecb4e6a310691f61 | refs/heads/main | 2023-03-01T17:40:05.825518 | 2021-02-10T01:09:52 | 2021-02-10T01:09:52 | 337,581,071 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,755 | r | lld_plotter.R | # moorelr/georoc-parser is licensed under The MIT License
# Copyright 2019 Lowell R. Moore
georoc_directory <- getwd()
georoc <- read.csv(paste(georoc_directory, "Georoc_parsed.csv", sep = "/"))
plot_elements <- c("MgO", "SiO2", "TiO2", "Al2O3", "CaO", "Na2O", "K2O")
plot_layout <- c(2, 3)
pdf_w <- 8
pdf_h <... |
ecc67b465c6e151cd3260b476b7e708161c9909c | ed28666d9201bf050c305f0740756f7730a66ef3 | /NatureEE-data-archive/Run203121/JAFSdata/JAFSnumPerPatch9500.R | b7ff9a07f7476141fba33e08e61dd11499a8b34a | [] | no_license | flaxmans/NatureEE2017 | 7ee3531b08d50b3022d5c23dbcf177156c599f10 | b3183abe6bb70f34b400d0f5ec990cce45e10b33 | refs/heads/master | 2021-01-12T08:02:37.153781 | 2017-01-27T15:48:55 | 2017-01-27T15:48:55 | 77,110,421 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 32 | r | JAFSnumPerPatch9500.R | numPerPatch9500 <- c(2534,2466)
|
f61127a8e8d7d1ff10b8d6031199de1692f9383b | 44d6dde8a996445a6997fb512b66a8f02aa1d154 | /man/cities.Rd | 73b2b4b517abc11bae33389a5772929e0777de32 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"CC0-1.0"
] | permissive | cran/inldata | d1a784311f74c0ab92e9e5d99d2ce45e328bf23f | 73fab84452651371661df8e4c0331a18bd63f604 | refs/heads/master | 2022-12-16T19:47:11.841892 | 2020-09-17T11:40:03 | 2020-09-17T11:40:03 | 296,363,559 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,126 | rd | cities.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cities.R
\docType{data}
\name{cities}
\alias{cities}
\title{Cities and Towns}
\format{
A SpatialPointsDataFrame of the \pkg{sp} package with 24 records and 16 variables.
See \code{\link{projection}} dataset for coordinate reference ... |
13b7fe0700d06e635b40f21f31af006422a3973f | 13751f13f4bf7197593d10f21496ebfc8c9ed496 | /GSM/TRX_per_TG.R | f72c758bb0436677cf1ae1db978787155ab1a4fb | [] | no_license | fernandofsilva/Ericsson_Network_Design | e95b1f517e72e0e6b19fc734ee6682ce99acdaec | aa323af684bcea1d563ca64b03e7cc2551060ef7 | refs/heads/master | 2021-10-19T06:36:55.671174 | 2019-02-18T20:01:35 | 2019-02-18T20:01:35 | 91,488,993 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,792 | r | TRX_per_TG.R | # TRX per TG
# This Code is to be used in a Packet Abis Dimensioning for operator TIM
# The input for the code is a SQL query on MoView database
#Load library
library(data.table)
library(RODBC)
############################## Loading databases ###############################
#Connect to SQL moView TIM db
odbcChannel... |
72596f53ca2f8f53c52f5f32eaf1246a99cee321 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /paws/R/datapipeline_service.R | 053d71742872d297fc705297df1995bc1c1671db | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | false | 8,813 | r | datapipeline_service.R | # This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common new_handlers new_service set_config merge_config
NULL
#' AWS Data Pipeline
#'
#' @description
#' AWS Data Pipeline configures and manages a data-driven workflow called a
#' pipeline. AWS Data Pipeline handles the details of sche... |
05e11d469a83985f44a1a716616bfd627ebc357a | 0754d534933ecb6d66d8193b00b0d3ba95eee10b | /man/hmdb_protein.Rd | 995b830ea55b4f8688b72335e64bdd37cb0cfc1f | [] | no_license | vjcitn/hmdbQuery | a5f41aa6d13181b3df312114e4da73e705c78f00 | cb888316a26bbef64e75ebf5ecbbec78448aff40 | refs/heads/master | 2022-11-05T16:29:09.640871 | 2022-10-29T19:59:55 | 2022-10-29T19:59:55 | 104,580,306 | 8 | 4 | null | 2022-10-29T19:59:30 | 2017-09-23T16:04:08 | R | UTF-8 | R | false | true | 417 | rd | hmdb_protein.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{hmdb_protein}
\alias{hmdb_protein}
\title{hmdb_protein: Sept 2017 extract from hmdb.ca of direct protein associations}
\format{
S4Vectors DataFrame
}
\source{
www.hmdb.ca xml
}
\usage{
hmdb_protein
}
\description{
... |
3a55b7eeb1e17bf3cab5ab9e720af69fcfaabce4 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mnreadR/examples/logMARcorrect.Rd.R | fe129b6b4618d6db34c8b14c844bb374fb469eb9 | [] | 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 | 396 | r | logMARcorrect.Rd.R | library(mnreadR)
### Name: logMARcorrect
### Title: Print size correction for non-standard viewing distance
### Aliases: logMARcorrect
### ** Examples
# inspect the strucutre of the dataframe
head(data_low_vision, 10)
# run the correction
data_low_vision_new <- logMARcorrect(data_low_vision, ps, vd)
# inspect the... |
0e991ccc91d37cd2fe1f21d756ac179e1ace5740 | 7efbeabade0b3137d2cb6a12ede18c30617bc15e | /plot1.R | 5f600f5c5c874be94f051303857ec529e416e5b0 | [] | no_license | smuralid1/ExData_Plotting1 | 01195460b97e3fa9d91a02da1ff64f200d702652 | 71623c5910c783a263dc556acc540e68f025f121 | refs/heads/master | 2021-01-15T14:37:57.511922 | 2016-01-10T18:41:27 | 2016-01-10T18:41:27 | 49,365,366 | 0 | 0 | null | 2016-01-10T12:12:53 | 2016-01-10T12:12:53 | null | UTF-8 | R | false | false | 300 | r | plot1.R | Data<-read.csv2("household_power_consumption.csv")
subset_data<-subset(Data,Date=='1/2/2007'|Date=='2/2/2007')
png(file = "plot1.png")
hist(as.numeric(as.character(subset_data$Global_active_power)),col = "red",main="Global Active Power",ylab="Frequency",xlab = "Global Active Power (kilowatts)")
|
c8265f79d56e9e8afcd4d0aedfd23fbc059db5fa | a0b71fb24d340c23c14cf56b1cf0913d591f3abf | /scripts/pls_analysis.R | 25a0c2e63729d9f345ee6dd2a15bf1428116c429 | [] | no_license | ambuneves/Bio722_indiv_proj | 6395bb665349b587120879739143d10f8a2f3f5e | 21a2001d6e4c70eb1c75e18c60e030786a2a4f96 | refs/heads/main | 2023-04-12T16:58:36.843086 | 2021-05-03T16:44:09 | 2021-05-03T16:44:09 | 363,979,277 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,163 | r | pls_analysis.R | #### Load and install required packages ####
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("mixOmics") #For PLS-DA
BiocManager::install("tximport") #To import gene counts from Salmon
BiocManager::install("GenomeInfoDb")
BiocManager::install("org.Dm.eg.db"... |
acfa36729185df712340d9f365bd4061395606ab | 6e557dcce1ef82647b2a840ffd0eb580d4023964 | /R/visualization.R | e4e0f11104e3e131f83ab85959e52cb083f68f15 | [
"MIT"
] | permissive | pat-s/pathogen-modeling | caeeb5bc31ed4a9efb3cb6dcf4fcaa12ec091930 | f8ff9ebf0484c53204f9e36f2f42e3fd0723a4dc | refs/heads/master | 2020-04-10T05:57:27.214165 | 2019-11-07T08:50:43 | 2019-11-07T08:50:43 | 160,842,050 | 21 | 5 | null | null | null | null | UTF-8 | R | false | false | 7,551 | r | visualization.R | #' @title Visualization of partitions used in benchmarking
#' @param resampling_sp A benchmark/resampling object with a spatial resampling
#' @param resampling_nsp A benchmark/resampling object with a non-spatial resampling
vis_partitions = function(data, resampling_sp, resampling_nsp) {
coordinates <- data[, c("x",... |
93ea9a48b88da171f84ed0596c332d3492c84526 | b5c723088885098e0847db9d55d3df68c354e8cf | /R/S.SI.r | 52e6b7e64a1f7397569001abb8914bd955a82d0e | [] | no_license | psirusteam/TeachingSampling | 5fd95cd428bb55319a3a0273c52aa38f14d19a9b | 2659f3b16907055a14aabd722be5bfdd5bd9fad6 | refs/heads/master | 2021-06-04T04:34:18.096049 | 2020-04-21T19:55:59 | 2020-04-21T19:55:59 | 101,214,525 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 202 | r | S.SI.r | #' @export
S.SI<-function(N,n,e=runif(N))
{
c<-matrix(0,N,1)
dec<-matrix(0,N,1)
sam<-matrix(0,N,1)
for(k in 1:N){
c[k]<-(n-dec[k])/(N-k+1)
if(e[k]<c[k]){
dec[k:N]<-dec[k]+1
sam[k]<-k}
}
sam
} |
d0f6dea6d4dbb27e1908bc168fa5c6dc10f9f0b7 | 6f110bbd6ecc249c6a5301d92756d38075c4becf | /R/myviolin_plot.R | e3f33d39e2a8835dcadf71a705efa9dcfd500664 | [
"MIT"
] | permissive | Lian-Lab/LIANLAB | 78b0555fbe8bb2dbe65271bb9580d83056fb92b4 | 379749c2eff6c1adbfc075f69de4255300303634 | refs/heads/master | 2023-05-31T10:07:09.881767 | 2021-06-22T09:56:54 | 2021-06-22T09:56:54 | 342,519,064 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,916 | r | myviolin_plot.R | #' This function is used to plot the stacked violinplot of single cell RNAseq data
#' @details This function is used to plot the stacked violinplot of single cell RNAseq data or any
#' seurat object for specified genes expressed on celltype clusters.
#' @param gene a vector of the genes name to plot
#' @param seurat... |
44f0e18eb6938032977da1371b64d8e19e6bb4b1 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/likert/examples/likert.Rd.R | 6e6a168ca496fa5186a1b061314700f9ff8e5b16 | [] | 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 | 354 | r | likert.Rd.R | library(likert)
### Name: likert
### Title: Analyze Likert type items.
### Aliases: likert
### ** Examples
data(pisaitems)
items29 <- pisaitems[,substr(names(pisaitems), 1,5) == 'ST25Q']
names(items29) <- c("Magazines", "Comic books", "Fiction",
"Non-fiction books", "Newspapers")
l29 <- likert(i... |
55b1ea5041823af5597d8be670aec4abe4b4ab05 | 4fcf35e59be301899576b27f9cd2316af01da09b | /R/RNAseqTFValidation.R | 53e66f638191c8ae1f93529c43d0119fc0aff145 | [] | no_license | FertigLab/ATACCoGAPS | 02511811da902d3dd24755d91808b4b80f99e536 | 536cc18d9dcad4acdd20b7bbf0192993d2003a70 | refs/heads/master | 2023-02-06T06:16:31.746749 | 2023-01-26T20:16:30 | 2023-01-26T20:16:30 | 213,665,688 | 5 | 0 | null | 2022-04-18T19:37:43 | 2019-10-08T14:28:58 | R | UTF-8 | R | false | false | 1,859 | r | RNAseqTFValidation.R | #' Validate TF Findings with RNA-seq CoGAPS
#'
#' Use results from CoGAPS run on matched RNA-seq data to verify TF activity
#' suggested by motif matching analysis of ATAC CoGAPS output. Uses the fgsea
#' package to find enrichment of PatternMarker genes among genes regulated by
#' identified candidate TFs
#'
#' @param... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.