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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b06003ecf8eede73d8cdec51e5b1b19c887ec6fe | 2140b0f4a3556b5dc76a4e1749cbcb7ea1d0a61b | /scripts/plot.R | 1eeb89b466b3ca8f94a274c84661062ed1f36ace | [] | no_license | sashahafner/NH3MTC | aa53173461029f3c4446a69aa2bc1d1d50f48f60 | ae913b6036b9956205bda6fa3b93c0ed32b67e7a | refs/heads/master | 2023-04-08T10:20:44.339685 | 2021-04-08T11:40:24 | 2021-04-08T11:40:24 | 300,247,350 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,236 | r | plot.R |
ggplot(dl, aes(tc, log10(tcn), fill = tc)) +
geom_boxplot() +
facet_wrap(~ interaction(stor.type1, source), scale = 'free') +
labs(x = 'MTC type', y = 'MTC') +
theme(legend.position = 'none')
ggsave('../plots/log_box.png', height = 4, width = 6)
ggplot(dl, aes(tc, tcn, fill = tc)) +
geom_boxplot() +
facet... |
4bdf84d8a1d25fce4603a9402539e47dc5eb5093 | 7357817e8a37471f8605dbbe78915efc0eaa9299 | /First competitions/Santa's Workshop Tour 2019/showdata.R | dbfd48ac154e53be69e1cf782fedb8ff1f2b7f52 | [] | no_license | PasaOpasen/Competitions | 8f15ac3c1a9cc744eac266b9deea5fa25d2420c1 | f701d9bb492f63b934a5b490800df171ee052817 | refs/heads/master | 2020-12-27T06:52:50.987987 | 2020-09-04T16:19:27 | 2020-09-04T16:19:27 | 237,802,501 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,813 | r | showdata.R | bes=read_csv("res.csv")
res= bes$assigned_day
choise=-res
choise[res==choises[1]]=0
choise[res==choises[2]]=1
choise[res==choises[3]]=2
choise[res==choises[4]]=3
choise[res==choises[5]]=4
choise[res==choises[6]]=5
choise[res==choises[7]]=6
choise[res==choises[8]]=7
choise[res==choises[9]]=8
choise[res==choises[10]]=9
... |
6b68bb05f5e92f79b4965befcc8c61cd30cd04d6 | a2a7872c86f4a5cd1f109c91f11bf9cd3f4464ca | /man/vboot.coxnet.Rd | d0d2ab356ff48be561bf771f6c9e469c0abefa5e | [] | no_license | guhjy/BootValidation | d614cee9842d190e787e17ae14edf4a95fb1f985 | 8c76591b3553921080d4b68c314f86329f9ae741 | refs/heads/master | 2020-09-11T10:40:28.223939 | 2018-07-24T06:27:40 | 2018-07-24T06:27:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 964 | rd | vboot.coxnet.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/parallel_vboot.R
\name{vboot.coxnet}
\alias{vboot.coxnet}
\title{Internal bootstraping validation cox glmnet model}
\usage{
\method{vboot}{coxnet}(fit, x, y, s, nfolds = 5, B = 200,
cv_replicates = 100, n_cores = max(1, parallel::detectCore... |
739d5583918829ccc3c63bd9281d1e9510024598 | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /B_analysts_sources_github/road2stat/ShinyDSCR/server-core.R | 167ffe46e10756daf90cc4b1c8ed93d00dcabc11 | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 528 | r | server-core.R | library('xlsx')
# A rewrite of write.xlsx2() since it has logical problems and fails the write
xn.write.xlsx = function (x, file, sheetName = "Sheet1",
col.names = TRUE, row.names = TRUE) {
wb = createWorkbook(type = 'xlsx')
sheet = createSheet(wb, sheetName)
addDataFrame(x, sheet, col... |
c262468a21f5e832b31d08ccc87eb1fd815ea680 | 850313938cfab881133a7d9caaacf790b56feca8 | /banco_candidaturas_resultados.R | 374ec76be4e604881d752bc4526585fb97e82ab3 | [] | no_license | marinamerlo/dissertacao | 2a6a7f13151186714b028d78bf503c5ebca8648b | 19b76a86c923f6912c7fe57f5f8f32fb6ee54a1e | refs/heads/master | 2020-12-30T10:50:38.147621 | 2018-07-25T14:44:36 | 2018-07-25T14:44:36 | 98,828,270 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,347 | r | banco_candidaturas_resultados.R | #configurando a pasta em que os arquivos serão salvos
setwd("C:\\Users\\d841255\\Desktop\\dados")
#abrindo os pacotes que vou usar usar. Eles já estavam instalados.
#install.packages("readr")
#install.packages("dplyr")
library(readr)
library(dplyr)
library(data.table)
########################################
#####... |
bf105ae7d77b3a2f884e83fb38ce3df98aebdd69 | 919c4a7c851054cf60111d183e47881c3e0967e9 | /cachematrix.R | a0292f99d7f3af381e8e8486eec4bc92370bd15d | [] | no_license | syablokova/ProgrammingAssignment2 | d5dcedbad76f7c12d5f85203208f98589bc34793 | 7af799d4a1a7ba8e33122f9362069d8ea1aaa32a | refs/heads/master | 2021-07-15T18:35:57.746134 | 2017-10-21T19:23:37 | 2017-10-21T19:23:37 | 107,748,046 | 0 | 0 | null | 2017-10-21T03:23:52 | 2017-10-21T03:23:51 | null | UTF-8 | R | false | false | 1,542 | r | cachematrix.R | ## This script has functioins for creating a matrix object, calculating inverse matrix and storing
## results in the parent enviroment. When the cacheSolve function is called
## it first checks out the cache before running expensive calculations,
## making the process a lot more efficient.
## example:
## myData = mat... |
f26129b5f80108f60ced9bc6c1027f06293c85f9 | f7746a5ccce8d8413f63ee03163501be63b22904 | /tp2-correction.R | 9f54c25ad40fde21f4284f9b7139387ee482b710 | [] | no_license | katossky/panorama-bigdata | 6392c28fb3197f959a5be61ec7feb1e8f80783d8 | 2dbd9f03b7ecc9dbde1359934eff0090459812e4 | refs/heads/master | 2020-07-04T18:15:33.281748 | 2020-03-26T09:20:51 | 2020-03-26T09:20:51 | 202,369,631 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,546 | r | tp2-correction.R | # Ex 3.1
library(dplyr)
library(RPostgreSQL)
pw <- "YojCqLr3Cnlw6onuzHU3" # Do not change the password !
drv <- dbDriver("PostgreSQL") # loads the PostgreSQL driver.
# (Needed to query the data)
# This is the proper connection.
# The same object will be used each time we want to connect to the database.
con <- dbCon... |
a6c7192a11699a576d90b1e23163fd2cf3818387 | 2386da2a8a68f29bfb78d806ad6252d6e9bf3a1a | /R/.svn/text-base/perform.all.inference.R.svn-base | 8c016853c8fe4c81cdefb6f77f62e6f09efedf41 | [] | no_license | vitalinakomashko/mGenomics | 4b4c601198ed1a10c07ee5f1b0422e35b84950cf | 140b79c94361e8a814d35e6456c8c178c0e78c83 | refs/heads/master | 2021-05-27T13:50:09.713370 | 2013-03-20T00:24:07 | 2013-03-20T00:24:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,502 | perform.all.inference.R.svn-base | perform.all.inference <- function(dat, adj.var, meta.data, i=1, sva=FALSE) {
# Move through each unique covariate
results <- list();
for( cov.num in 1:ncol(meta.data)) {
covariate <- meta.data[[cov.num]]
# cat("variable",cov.num," class",class(covariate),"\n")
which.nas <- is.na(covariate)
if(class(covariate)... | |
a20fe08f426271cb347403c26d710403f70879c3 | 81b443dbe06b02c7ce9c36878a34d79c5863db7b | /chapter-1-chapter-2-augmented.R | 6fef4fa4cf36d0f963d94aeff94b68d4bcf69614 | [] | no_license | aejb22122/Analyse-de-donnees-these-paris-saclay | 7367be49a56938a9fa5a2f3f3113744aa3a45d01 | 53e278ff71e5de0050cce269606162e65ac760a2 | refs/heads/master | 2020-12-02T16:28:50.690770 | 2020-01-14T22:25:23 | 2020-01-14T22:25:23 | 96,557,982 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,039 | r | chapter-1-chapter-2-augmented.R | # ---- Thèse de doctorat Annick Eudes JEAN-BAPTISTE ----
# Codes de réplication des calculs du Chapitre # 1 - augmentés d'autres calculs
# ---- Préliminaires ----
# Cleaning the session form other the objects in the environment
remove(list=ls())
ls()
# setting the working directory
setwd("~/OneDrive/Documents/2_Dat... |
66afa4c01ad8203a8b69ba44c9b4b563fe81e924 | 313732a7fbbf99c82c305f6aaa59e9002494fd51 | /Proses Investasi Investor/Analisis_3.r | b575bad6432b03303851207d62ab54f4835ef0c1 | [] | no_license | mzfuadi97/RstudioQ | 9cae6d46e2d7d370c4f4c59e7351a02b9c735d36 | 06d48dfd8ece935b93ef06dbf94a3bd9f380c5a8 | refs/heads/master | 2023-08-24T05:19:26.672127 | 2021-09-22T16:17:39 | 2021-09-22T16:17:39 | 408,685,241 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,286 | r | Analisis_3.r | library(dplyr)
library(lubridate)
library(ggplot2)
# Trend Investor Register
df_investor_register <- df_event %>%
filter(nama_event == 'investor_register') %>%
mutate(tanggal = floor_date(created_at, 'week')) %>%
group_by(tanggal) %>%
summarise(investor = n_distinct(investor_id))
ggplot(df_investor... |
f909681167ad4e1d9ec4ae2c22f231ba60215a08 | 2c38fc71287efd16e70eb69cf44127a5f5604a81 | /tests/testthat/test-utils_functional.R | cfe8c692009f3250387175ca7639d31525beaf07 | [
"MIT",
"Apache-2.0"
] | permissive | ropensci/targets | 4ceef4b2a3cf7305972c171227852338dd4f7a09 | a906886874bc891cfb71700397eb9c29a2e1859c | refs/heads/main | 2023-09-04T02:27:37.366455 | 2023-09-01T15:18:21 | 2023-09-01T15:18:21 | 200,093,430 | 612 | 57 | NOASSERTION | 2023-08-28T16:24:07 | 2019-08-01T17:33:25 | R | UTF-8 | R | false | false | 592 | r | test-utils_functional.R | tar_test("map_chr()", {
expect_equal(unname(map_chr(letters, identity)), letters)
})
tar_test("map_dbl()", {
x <- as.numeric(seq_len(4))
expect_equal(map_dbl(x, identity), x)
})
tar_test("map_int()", {
expect_equal(map_int(seq_len(4), identity), seq_len(4))
})
tar_test("map_lgl()", {
expect_equal(map_lgl(c... |
64052acd46759bd70cf09136d00b121e3d753de8 | 0749efd772a2daf6215d4377c42803a73bf860e3 | /R/EdgingtonMethod.r | af4f45cda4640f1bddba907da333bc4c5b5ddc21 | [] | no_license | cran/combinationpvalues | 1c17b8f03e767c274ef1642a91f20ffe8dc1df00 | 4b3daaa44a47aa1a7a9a1f6e8107535bcffe32f5 | refs/heads/master | 2023-07-18T04:31:47.436486 | 2021-09-03T18:00:02 | 2021-09-03T18:00:02 | 368,922,105 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 642 | r | EdgingtonMethod.r | #' @title Edgington Method
#'
#' @description #' Combination p-value method that uses Edgington statistic
#' Summation i=1 to n pi where p equals p-value
#'
#' @param x #' SumOfPs
#'
#' @return Combined P-value
#' @examples
#' Output <- SumOfPs(0.1,0.3,.7)
#' Final <- EdMethod(Output)
#' @export
#' @importFrom dplyr "%... |
31aabec7385b837f4c3f2fce0e1fbaa4cfe7e5a5 | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.compute/man/ec2_allocate_address.Rd | 0cdbf06bcbb859180200a50c6968c763b248fe45 | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 5,743 | rd | ec2_allocate_address.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ec2_operations.R
\name{ec2_allocate_address}
\alias{ec2_allocate_address}
\title{Allocates an Elastic IP address to your AWS account}
\usage{
ec2_allocate_address(Domain, Address, PublicIpv4Pool,
NetworkBorderGroup, CustomerOwnedIpv4Pool, D... |
03f813b374f09810f0c6184c43a4968c4f507483 | 8576630b68703160c81fc06b95a450b5db017cb0 | /ui.R | 9511e2c23e88f2a84351e07caa5e60560cc43e83 | [] | no_license | CWesthoven/demi | 6fcda3c86498a0517cf2c9977967d5ebf094bc84 | a11f8b8b64e8bb99e1d32a21b77cedfbd7ae300c | refs/heads/master | 2020-08-07T17:28:56.361717 | 2019-10-08T04:27:18 | 2019-10-08T04:27:18 | 213,538,043 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,501 | r | ui.R | library(shinydashboard)
dashboardPage(
dashboardHeader(title = "Psudoboat"),
dashboardSidebar(
sliderInput("comb", "Combat:",
min = 0, max = 100, value = 50
),
sliderInput("puzz", "Puzzle:",
min = 0, max = 100, value = 50
),
sliderInput("soci", "Social:",
... |
6fcf0315e1103f70fe916c65dd00516d49124699 | 1dbc5e6d521d86e4eb1e6c6d8bd5ed471d77c254 | /Codigo/Descritiva.R | 6b2306eba81b6870060581ea13043a4a07a364cb | [] | no_license | JoaoVideira/IAP-Receita | cb7ecb30b10246eaed6029dc57fe9aaeaa15834d | 74080ea8ab8004e2ebe70d678e17d63a98eafea3 | refs/heads/main | 2023-06-17T01:26:56.081107 | 2021-07-19T15:29:22 | 2021-07-19T15:29:22 | 301,699,273 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 634 | r | Descritiva.R | #Análise descritiva dos dados da base: "basepainel"
install.packages("xray")
library(xray)
anomalies(basepainel)
distributions(basepainel)
install.packages("visdat")
library(visdat)
vis_dat(basepainel)
vis_guess(basepainel)
vis_miss(basepainel)
vis_cor(basepainel[,5:15])
install.packages("dlookr")
library(dlookr)
eda... |
2561d3e0a803829d348536bfc1f99f785b9e4682 | 398a50731ba81a8fc9b05ed0307b41966dfe78b4 | /cachematrix.R | 981a20afd05c8126ec654634eeea8447f64079a5 | [] | no_license | plringler/ProgrammingAssignment2 | cb273c1fcc0ca00eeedeb831e71f52f44b931413 | c5ee43ed5cb1abf11880488324f524edccdd053f | refs/heads/master | 2020-12-25T00:55:28.916314 | 2014-05-24T04:31:21 | 2014-05-24T04:31:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,564 | r | cachematrix.R | ## The functions makeCacheMatrix and cacheSolve take a matrix, make a list of functions
## to set the matrix, get the matrix, set the inverse of thee matrix, and get the inverse
## of the matrix. Once the list is created, it can be called from he cacheSolve funcion, which
## will take this special list, calculate and ... |
79999ba732013710c6d92f358225a1f1f9d8f6b1 | c278cd820003d18052f32f37409cfbb11ccc6d1b | /man/R_bar_ceiling.Rd | 8eda6e2fb91e864307cd27b65b14cf4e34aacb2e | [
"MIT"
] | permissive | ashander/phenoecosim | d4433c86fa96d1873d02cab0cb6d119d31412a01 | 1fe278475b6189dd675ca97688d3a2fa86476c42 | refs/heads/master | 2020-12-26T04:38:28.976657 | 2016-06-27T02:40:50 | 2016-06-27T02:40:50 | 14,127,841 | 1 | 0 | null | 2016-05-08T01:08:46 | 2013-11-05T00:32:15 | R | UTF-8 | R | false | true | 657 | rd | R_bar_ceiling.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{R_bar_ceiling}
\alias{R_bar_ceiling}
\title{Compute population growth rate under stabilizing selection and ceiling regulation}
\usage{
R_bar_ceiling(R0, Wbar, N, K)
}
\arguments{
\item{R0}{basic reproductive number}
\item... |
6f99972c327c961d29d2401e907a2170c6775424 | 1e7af84e367e61bca72bd85e8cce15ccf40a5f1d | /R/tune_grid.R | 60f05fe5ba1d47ab33b7a1d0cf819b64cc22dba1 | [] | no_license | milosvil/caretTuneGrid | 2e7cac5cf70a5ac64689af154874d7daeb420bf4 | 6045e782650ffb4133b35dfee508c6620a942b79 | refs/heads/master | 2021-04-27T21:48:51.758247 | 2018-05-10T20:11:11 | 2018-05-10T20:11:11 | 122,407,108 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,687 | r | tune_grid.R | tune_grid <- function() {
model_exist <- function(c7, method) {
for (i in 1:length(c7)) {
for (j in 1:length(c7_data[[i]])) {
if (method == c7_data[[i]][[j]]$method) {
return(TRUE)
}
}
}
return(FALSE)
}
get_params <- function(c7, method) {
for (i in 1:length(... |
90328fa8c4a6cebde86fc974ca3b6e30737aa0f6 | e6cb6c696e671d9fea22a33dc3b06a990d9eac27 | /createtextfilesfromhtml (1).R | 6443282166489f233ee08c2847d0e074fef858bb | [] | no_license | ankit51/indix_data_monster | a139df8fe10ab99be63f88b81e0d3a37940f0a0e | 660c2f14ea66c57150b5dbad96e2ce6a0bef59fa | refs/heads/master | 2020-07-31T16:22:53.905824 | 2016-11-13T05:52:45 | 2016-11-13T05:52:45 | 73,596,290 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,985 | r | createtextfilesfromhtml (1).R | # This is the second part of the code (2 of 3) submitted to Indix datamonster hackathon and three parts combined handle classification of
# product pages from others
# The code reads each of the html files from trainingdatafolder directory and converts it into text file
# then write the text files to trainingdatafold... |
ffec40e611e968142ea8943b8bea4af1b603648b | afbc278644d03a69a62fb3f602697151d4b083ab | /R/evaluate.R | 2bd4cef310c48f7a85039f6fbd772554b268796c | [] | no_license | FJValverde/entropies | 6f0b54b1d289d052763f929987f026b8425d5dbb | d9bbbbc5d9759e5d0d84955d8dc0f012ea8de0b6 | refs/heads/master | 2023-05-02T04:46:32.020156 | 2023-04-24T18:46:58 | 2023-04-24T18:46:58 | 44,973,393 | 1 | 4 | null | null | null | null | UTF-8 | R | false | false | 2,843 | r | evaluate.R | #' A function to evaluate confusion matrices and contingency tables.
#'
#' Provides also the EMA and NIT over that provided by perplexities.
#'
#' @param data Either a \code{\link[base]{table}} working as an n-way contingency
#' table or a \code{\link[caret]{confusionMatrix}}
#' @return At least, the concatenation... |
d9bfba35899e2459acb90574e14cc3b1108be345 | 8f795c3dd3d10105f636854d1abaf58e5ad49d8c | /cachematrix.R | 346d41789a3b1e81d8874dc415ead3d727c94fe1 | [] | no_license | liamvt/ProgrammingAssignment2 | a391da0a686b288015372160722fd9eabb66bc49 | 90fd1a2888ccb32696cf25213cc47fdcb590b432 | refs/heads/master | 2021-01-18T00:30:24.504623 | 2015-04-27T03:49:37 | 2015-04-27T03:49:37 | 34,555,660 | 0 | 0 | null | 2015-04-25T04:45:54 | 2015-04-25T04:45:54 | null | UTF-8 | R | false | false | 1,513 | r | cachematrix.R | ## makeCacheMatrix is a function that stores a list of functions that operate
## on the matrix given as its argument x.
## Cachesolve stores the inverse of the matrix x in the cache
## Takes the argument x, outputs a list of four functions (set, get, setinverse
## and getinverse)
makeCacheMatrix <- function(x = matri... |
918ff900501dc337a20c1c195f783229cf80c8b5 | a6e37171b21874eabd8031fbb965b9927b643664 | /R/telomere_genes.R | 62776844032e301051cd458f8c7f1af89884ac94 | [
"Apache-2.0"
] | permissive | ibn-salem/telomere_genes | 530dfc3ffaef8f185a7080e40eac482687703286 | c555386dca0919ec08faacb28b2842c59e0c1960 | refs/heads/master | 2021-08-18T19:30:50.893556 | 2017-11-23T17:08:42 | 2017-11-23T17:08:42 | 108,840,653 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,239 | r | telomere_genes.R | #'
#' A script to get all human and mouse genes with theire distance to telomeres
#'
# load required packages
library(GenomicRanges)
library(TxDb.Hsapiens.UCSC.hg38.knownGene)
library(TxDb.Mmusculus.UCSC.mm10.knownGene)
library(biomaRt)
library(tidyverse)
source("R/get_telomere_dist.R")
#-------------------------... |
2b12158a31695cfca15abcb06887d62622975338 | 42ff40e63ba5c362f8067a7503aa7d1aa2263109 | /analyses/R/Fstats_Ho_Significance.R | 7ab71f9e918b370d01512d048cd68c8886aff53f | [] | no_license | mfisher5/PCod-Korea-repo | 686820f87625e5a7ea68c97c9286b783199c267e | 90324e4431292fda757abb364bcc002dd4117e7e | refs/heads/master | 2021-01-01T16:37:52.932264 | 2018-08-20T23:12:16 | 2018-08-20T23:12:16 | 81,503,317 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,025 | r | Fstats_Ho_Significance.R | # Purpose: testing for significant changes in Fis, Ho per population
#
#From: MF 6/10/2018
#
#
#
# ---------------------------------------------------------------------------------
# Import these libraries
library(readr)
library(reshape2)
library(dplyr)
# Set working directory
setwd("D:/Pacific cod/DataAnalysis/PCod... |
7f0598100c316b1a9f43d154c069bb7b7bd3ec5d | 58bbdaff8ead843c3d6f1464bb9369551d453c3c | /static/download/minicursos/R/2019/aula1/Aula1.R | 645a813000f51ab4e186ead8516b5aba880e9086 | [] | no_license | pet-estatistica/site | 3e30e37cc26a8e4f38a0b94f2bbb568538cf7820 | 36ac97ed0f7c7e7e3a9663d9d012a7b3e075aec0 | refs/heads/master | 2022-10-27T21:32:45.170179 | 2022-10-17T02:02:59 | 2022-10-17T02:02:59 | 144,061,167 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 16,792 | r | Aula1.R |
##################
# #
# FUNÇÕES #
# #
##################
## Funções Iniciais
## ------------------------------------------------------------------------
c() # Cria um Vetor
getwd() # Mostra o Diretório de Trabalho Atual
setwd('C:/Diretório') # Muda o Diretório de T... |
1fd2b882a12fc37cda0e8b1eef3a69db2d9d133b | c0bce42fcea5993c3d9976248c157f4a4433db0b | /figure_CLL/code/23_analysis_chisquared.R | 6bd7a3db0e40a8aa71195378e0a7b7ba8d97e0b0 | [] | no_license | ChenPeizhan/mtscATACpaper_reproducibility | a01b22f43c6222a56e04e731d68de7440c3cfc76 | e543610bf29dbac1094994c54d3e7edd41609d5a | refs/heads/master | 2022-12-11T11:31:24.877462 | 2020-08-29T18:40:36 | 2020-08-29T18:40:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,748 | r | 23_analysis_chisquared.R | library(data.table)
library(dplyr)
# Set up a data frame for plotting
dt <- readRDS("../output/PT1_X2.rds")
dt <- dt %>% arrange(desc(obs_x2)) %>%
mutate(rank = 1:n(), padj = p.adjust(obs_p), obs_log10p = -1*log10(obs_p))
dt$perm_x2 <- sort(dt$perm_x2, decreasing = TRUE)
dt$perm_log10p <- -1*log10(sort(dt$perm_p, de... |
7c6c5afb4420cacc7e6f69defd2b9c2e731f7dee | 76e1ad0b4fea46946939c33e795b73d86ba2124b | /task4/traintest.R | 75d0909ea6bbe17858273711d595b0e5bbb426a1 | [] | no_license | guidogallopyn/TextPrediction | a559940bd1e05ea9ff1e07a71c87dbc4b51ccba5 | dfeb4d109c686ea004cd1736a60cf418b7f37970 | refs/heads/master | 2021-01-02T09:15:11.169480 | 2015-04-27T18:21:36 | 2015-04-27T18:21:36 | 34,554,810 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,560 | r | traintest.R |
# split Capstone corpus in training, eval and test set and store
# subsample the training set in smaller pieces
# 1% small
# 3% medium
# 10% large
setwd("~/Documents/Courses/DataScience/CapStone")
library(tm)
#corpus <- PCorpus(DirSource("data/final/en_US/"),dbControl = list(dbName = "db/enUSfinal.db"))
corpus <... |
4fed83361a25808918abec57c97e266048af8790 | fddbf4eb21d1723823810e906d5d747162dabf7c | /basic stats.R | 154cc2cc8e17b3b22038547bfc004d9eab548750 | [] | no_license | Swetapadma94/Basic-Statistics | 9a52cb23db593fd13341500d8e0a18e848f2f8de | 53d1bd278854f294a64ffc71b6df211004cf0fcd | refs/heads/master | 2022-10-03T07:07:43.225895 | 2020-06-05T18:11:58 | 2020-06-05T18:11:58 | 269,731,884 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,064 | r | basic stats.R | data("quakes")
quakes<-datasets::quakes
View(quakes)
summary(quakes)
head(quakes)
head(quakes,20)
tail(quakes)
tail(quakes,10)
sum(quakes$depth)
sum(is.na(quakes))
quakes[,c(1:4 )]
quakes[1:4,2:4]
quakes$dept
colnames(quakes)
plot(quakes)
plot(quakes$long)
plot(quakes$depth,type = "b")
plot(quakes$dep... |
181a28246569c6b0db7d567c5af74692ac94154f | 2f3fcf80cd963b69167248d90510d3d0e59c4eb7 | /R/fancy_tree.R | 8ae4c220a65e1e952fc422e41cb8039993e28cd4 | [] | no_license | FabianGrammes/R_scripts | 177e9e93e4538a98773eb4ecf6c00dab9c5ef182 | 60a6a65488b373418e2865f0fc1491b8ab68ad12 | refs/heads/master | 2020-12-24T16:32:59.783829 | 2016-04-04T07:47:00 | 2016-04-04T07:47:00 | 41,821,432 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,458 | r | fancy_tree.R |
# Tip lables do not match in order
# -- function to list the alignment blocks --
find.algn.interval <- function(x){
out <- list()
out$range <- c(1, length(x))
xx <- ! x %in% 24:25
out$ival <- list()
oi <- FALSE
idx <- 0
for( i in 1:length(xx) ){
if( oi == FALSE & xx[i] == TRUE ){
... |
19ef6dfb7567ced5c785322d60ee77772549448a | 4d10b72d98206f2da0fafc4dacdc0c2d8598f174 | /plot24052021.R | 94ecc60c2a051d877a2a7309e378a3fea0615b74 | [] | no_license | d2525456d/ER | a2418cb12da9c48ba3383926db3b19edcceadb4b | d765927a654fe6bac74e1e12d7e2ff8f08cb3c44 | refs/heads/main | 2023-08-01T10:33:42.411642 | 2021-09-30T05:02:54 | 2021-09-30T05:02:54 | 359,309,520 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,885 | r | plot24052021.R | #cau1
methods(plot)
help(plot)
setwd('D:\\downloads\\New folder')
Benthic <-read.table(file="RIKZ2.txt", header=TRUE)
Benthic$fBeach <- factor(Benthic$Beach)
plot(Benthic$Richness,type="p")
plot(Benthic$Richness,type="l")
plot(Benthic$Richness,type="b")
plot(Benthic$Richness,type="o")
plot(Benthic$Richness,ty... |
86f63d6c9f495468ee456d8c80f2dd51b117d819 | 2a9e9f7a1537d3d49f1553695a6d473fcbdd24f6 | /man/forecast.Rd | 9f042dcddfdfba836da03d2e200c0e4e0fd14fdf | [] | no_license | asl/rssa | 66a16e6bd373bf0c588aedb2ce595d182cb43575 | a39fc8271eb2a4926f15fe48f331673218c51974 | refs/heads/master | 2022-08-30T02:05:23.745208 | 2022-08-22T14:12:33 | 2022-08-22T14:12:43 | 161,125 | 45 | 25 | null | 2018-07-03T21:48:00 | 2009-03-27T18:14:31 | R | UTF-8 | R | false | false | 3,806 | rd | forecast.Rd | \name{forecast}
\alias{forecast.ssa}
\alias{forecast.1d.ssa}
\alias{forecast.toeplitz.ssa}
\alias{predict.ssa}
\alias{predict.1d.ssa}
\alias{predict.mssa}
\alias{predict.toeplitz.ssa}
\title{Perform SSA forecasting of series}
\description{
All-in-one function to perform SSA forecasting of one-dimensional series.
}
... |
e32ad074edb117392d6bd3acf779fca7473d633f | 984569f23dc3be101d69ab868da1f73c235b6c23 | /SummaryWorkbook/data.R | 76bbb06a13db0282630728f66fda31a2f6554a65 | [] | no_license | mobro-git/Hydrogen-Analysis | 01a081b319232d827f6cc0988d72d263ee291982 | 88675124a0bd3ee8caf7d2e45fb84ce2a8b65ca8 | refs/heads/main | 2023-04-17T11:15:19.939613 | 2021-04-29T21:01:19 | 2021-04-29T21:01:19 | 342,646,488 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,625 | r | data.R | ## ----Setup------------------------------------------
setwd("SummaryWorkbook/")
source("library.R")
source("functions.R")
source("graphing.R")
myfiles <- list.files(pattern = "*.csv")
data <- lapply(myfiles, read_csv)
names(data) <- c("com","dummy","elc","emis","flex","ind","res","trn")
list2env(data, envir = glob... |
07e525772817c6f0070859911a528acf3bec123d | 5e8b99ec5db5a5b65c916b7eb013fb9358f2722c | /man/anynames.Rd | aab9f8bbc529f7b3e2bb47b794a04e57fd06346f | [] | no_license | cran/lambda.tools | 726c6c330e59da4b56f97115bd56c4b49b481145 | d438dde6ecd1655c20cf3b7445ce2f75ce6bde75 | refs/heads/master | 2020-12-12T22:47:16.225850 | 2016-05-11T18:06:28 | 2016-05-11T18:06:28 | 17,696,974 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,560 | rd | anynames.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/any.R
\name{anynames}
\alias{anynames}
\alias{anynames<-}
\title{Get the names of a data structure. This attempts to
create some polymorphism around lists, vectors, and data.frames}
\arguments{
\item{data}{Any indexable data structure}
}
\va... |
df5373dbac384502a593c3be10374c29907b5fe9 | 89fb97e3cc23abd1ad7909b80248056462def3f3 | /man/tmodTagcloud.Rd | b9e5cf7c1b30d17e4154077b2d8ef1c1312eb4b0 | [] | no_license | january3/tmod | 2316ade2d253196ca54b68d95ea449154efbafc9 | 1c5f882e78089f62132ff6fe65e9e9b0577e78f5 | refs/heads/master | 2023-04-06T00:43:18.160542 | 2023-04-04T10:17:44 | 2023-04-04T10:17:44 | 195,234,071 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,949 | rd | tmodTagcloud.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multivariate.R
\name{tmodTagcloud}
\alias{tmodTagcloud}
\title{Tag cloud based on tmod results}
\usage{
tmodTagcloud(
results,
filter = TRUE,
simplify = TRUE,
tag.col = "Title",
min.auc = 0.5,
max.qval = 0.05,
plot = TRUE,
wei... |
73e77fa18277fbdb26720e925e056d5745718db8 | ca8b5df44305bee5da209a4c73b1a915fb87fa6b | /plot2.R | 24c0c0eab0b8d3e127d5377c5df1762e07c74fe4 | [] | no_license | SelinaChan/ExData_Plotting1 | 95cb205889ad08588bc4dd9f18ad6d05346bd3cb | 20df0df561fadefaa69efef4e4d312166edff521 | refs/heads/master | 2020-05-31T17:57:34.357140 | 2017-06-12T11:05:12 | 2017-06-12T11:05:12 | 94,042,744 | 0 | 0 | null | 2017-06-12T01:17:45 | 2017-06-12T01:17:45 | null | UTF-8 | R | false | false | 1,350 | r | plot2.R | # loading the dataset of household_power_consumption
# and then making plot2
#read the data in
household <- read.table("household_power_consumption.txt",header = TRUE,
col.names = c("Date", "Time", "Global_active_power","Global_reactive_power","Voltage","Global_intensity","Sub_metering_1", "Sub... |
105a92b7958aa3154c922c9908ff355916dad66a | b869e753d5a4f433b768085235754a0038f42dd4 | /Código Dash.R | 34a386615e057910cb850a7109971c56dc2f315e | [] | no_license | nativanegas/prueba | 835824d07f4ad9efdac62cb580199b57897b7d4c | c5de747ad0079a3f7b35636d45998b755c7c7ac8 | refs/heads/master | 2023-02-27T04:48:12.800905 | 2021-01-31T20:15:00 | 2021-01-31T20:15:00 | 272,299,274 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 3,481 | r | Código Dash.R | library(sf) #Contiene funciones para codificar datos espaciales.
library(ggplot2) #Sirve para crear gráficos y mapear
library(tmap) #Importa mapas temáticos en los cuales se visualizan las distribuciones de datos espaciales.
library(tmaptools) #Conjunto de herramientas para leer y procesar datos espaciales.
library... |
67f0d7354ff4f8e8eedd8ec1bbb6e3deb5994b76 | 6d3c4121289e2de67100a093fa2b615845eb199b | /R/makebreaks.R | bdf5ddd5f053f92a6f8acce2bcc4fd6e67c3f735 | [] | no_license | zzxxyui/ihm | 057728fe28f1320f6c276ac1761a61c5e2dda3a6 | 82ae8351ce8c9d3b145567d11e1273786cabfe25 | refs/heads/master | 2020-06-14T07:39:42.023810 | 2019-07-03T00:02:49 | 2019-07-03T00:02:49 | 194,950,090 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,218 | r | makebreaks.R | makebreaks <- function(dataset, breaks) {
minbr <- min(dataset, na.rm=TRUE)
maxbr <- max(dataset, na.rm=TRUE)
if(minbr == maxbr) {
stop("min and max are identical in the dataset. Quitting")
}
breaklength <- 256
computebreaks <- TRUE
if(!missing(breaks)) {
if(length(breaks)==1) {
breakleng... |
48e870a18f9298a835bfe0070c6c265076ea9fea | 3329cc000d2caf88175a4933f04533fc460cbebb | /Teste.R | bf759d4724dbfa7a340a7838484f3828452acfed | [] | no_license | brmatheusluiz/PublicoPolicial | a00166403ba710d1e7e14789bc6017b3736c3935 | c878e7c1c1e9f9b0de998a52e04b8e9750cc566b | refs/heads/main | 2023-02-04T16:21:05.472657 | 2020-12-22T15:29:50 | 2020-12-22T15:29:50 | 320,060,703 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,594 | r | Teste.R | #Limpar
rm(list=ls())
library("ggplot2")
library("dplyr")
library("readxl")
library("ggridges")
#Arquivo Conseguido pelo link:
#https://dados.gov.br/dataset/sistema-nacional-de-estatisticas-de-seguranca-publica/resource/feeae05e-faba-406c-8a4a-512aec91a9d1
dados <- read_excel("indicadoressegurancapublicaufjul20.xlsx... |
7fe0da5933642cead1298af62f3b1ec912c8aaa0 | f9c75fd77a428475a84028e08e3c05d016f9fc9b | /ques5.R | 82aafe0a77a5f054255313831b6fcbef4d319959 | [] | no_license | SathvikKP/Data_Analytics_R_Programs | 8b8055f5f599896500dc6f37684d761543e3c023 | 88be6414954a55a336824cb206367e0a317a562c | refs/heads/main | 2023-03-07T08:00:03.458038 | 2021-02-16T21:02:14 | 2021-02-16T21:02:14 | 339,530,114 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,786 | r | ques5.R | setwd("/home/user/DA_LAB/final_exam_practice")
dataset <- read.csv("ques5.csv",header=TRUE,stringsAsFactors = FALSE)
print(dataset)
preprocess <- function(x)
{
if (x=="newspaper")
{
return (1)
}
else if (x=="radio")
{
return (2)
}
else if (x=="tv")
{
return (3)
}
else
{
return (0... |
c3422c69a0d048b445be7d6b2d811c9c54819f1a | a456eeb492b0f2511a84b352f5f7ac0b104faf8a | /figures_code/plot_posterior_example.R | e92dda97585c71e93dfd7b1ac92025d241f82326 | [
"MIT"
] | permissive | ImperialCollegeLondon/BART-Int | 81a16ed3a074d24579ba8b03556f7737e609db73 | cbf870aabc562eb105d3d4779097a093fe16cda6 | refs/heads/master | 2023-01-07T12:58:32.983260 | 2020-11-06T10:16:20 | 2020-11-06T10:16:20 | 267,342,223 | 7 | 2 | MIT | 2020-11-06T10:16:21 | 2020-05-27T14:31:12 | R | UTF-8 | R | false | false | 8,408 | r | plot_posterior_example.R | # !/usr/bin/env R
# Load required packages
library(MASS)
library(cubature)
library(lhs)
library(data.tree)
library(dbarts)
library(matrixStats)
library(mvtnorm)
library(doParallel)
library(kernlab)
library(MCMCglmm)
orangered <- rgb(1, 0.271, 0, 0.3)
dodgerblue <- rgb(0.118, 0.565, 1, 0.3)
# define string formatting
... |
e111b200a132d70b050e6d1d5880cdf745da0613 | 3ce9f380710a6e69958073ad9c7451a3e50c1cc9 | /updateDataExchanges.R | fe7406edfc8cda9d1d486f6b5233b28e07dc867e | [] | no_license | helixscript/geneTherapyReportPipeline | 78fe9d351cb3cece0af76fd092028d783e312042 | 30740bbdaa1b033af50e97b5c0b05f7055571ccc | refs/heads/main | 2023-08-27T12:19:14.303054 | 2023-08-07T18:14:48 | 2023-08-07T18:14:48 | 350,525,178 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,961 | r | updateDataExchanges.R | #!/opt/R-3.4.4-20180823/lib64/R/bin/Rscript
library(dplyr)
library(readr)
library(RMySQL)
projectDir <- '/media/lorax/data/export/projects'
outputDir <- '/media/lorax/data/export/projects/exchange'
softwareDir <- '/media/lorax/data/software/geneTherapyReports'
d <- data.frame(file = system(paste0('find ', projectD... |
dae9585991f9c0418cae2580a1bd11ef413dbd87 | 5e613fdaaf680b7220a9331133d79a7dcbca8acd | /R/deps/taxize-master/tests/test-all.R | 689b52a160c9a3efdfbdf15823e1c8eab9fb5a31 | [
"MIT"
] | permissive | hmarx/Alpine-Sky-Islands | df0fd965ca4e1d4e3071aa9362ee615a5510175d | 72ab7d914fea6c76c9ae105e042e11088a9be87f | refs/heads/master | 2021-05-01T02:44:59.818086 | 2017-08-08T15:02:45 | 2017-08-08T15:02:45 | 39,544,747 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 38 | r | test-all.R | library(testthat)
test_check("taxize") |
112e9df76d652310e569ab01d7b23295f4644695 | 07ca789edc86a0df1ccfc4b7fe89eb4b416f6e78 | /SCRIPTS/Emory/get_ann.r | 89c82ab5835b3e54793e4a6c65ff7ba51ad4f20d | [] | no_license | niaid/h5n1-chi-010 | 1316b5cbcb34b9699ef0405d0d97d66b9bfbbf0d | 35487afdd368bb91c9693d5b79750c98b326614c | refs/heads/main | 2023-05-24T14:47:00.117636 | 2021-06-23T21:24:04 | 2021-06-23T21:24:04 | 379,733,109 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,052 | r | get_ann.r | source("SCRIPTS/0_initialize.r")
fn = file.path(PROJECT_DIR, "DATA_ORIGINAL/Emory/GPL13158.annot.gz")
library(GEOquery)
# geo = getGEO("GPL13158", AnnotGPL=T, getGPL=T) # get annotation directly from GEO
geo = getGEO(filename=fn) # use predownloaded data for reproducibility
ann = geo@dataTable@table
dim(ann)
... |
81403b8170c7420ece1f968f83a5d590aaecae29 | 9ef2241db80df30e3b2201b961e92ebb2a2f869d | /Webscraping Extracting Table.R | 1175b6bc2086654b39202a3f88913f96063d8f62 | [] | no_license | nbizzle23/Web-Scraping | 9a7377a89f4718160e52c604dca686fc0db95923 | 19eaafb0ab93dc8cf2b665cb310cb788549f145e | refs/heads/master | 2022-11-23T11:14:08.217766 | 2020-07-30T18:30:53 | 2020-07-30T18:30:53 | 279,686,359 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 540 | r | Webscraping Extracting Table.R | #Webscraping Extracting Table
library(rvest)
#Download the HTML and turn it into an XML file with read_html()
orlando <- read_html("http://www.bestplaces.net/climate/city/florida/orlando")
#Use html_table
tables <- html_nodes(orlando, css = "table")
html_table(tables, fill = TRUE)
#Create data frame of extact tab... |
3c8965dba4158aee2cd2154a8cce3c47e409606f | 99a16aa031c6d3e6d1a1c9849523c09ee3de11b2 | /Udacity/Project 3 - Prosper in R/Prosper in R.R | 78de6b2069cd8b4a0163fc997a1b793721f10c0a | [] | no_license | Ntweat/Projects | 7d2eb6fd10601323c5f9e70dde860eacc43daf3b | b5ce907f2a8ee8fda55da820c7461fdc5b2b1b89 | refs/heads/master | 2021-09-12T09:44:59.222690 | 2018-04-16T01:21:29 | 2018-04-16T01:21:29 | 99,296,336 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 840 | r | Prosper in R.R | ---
Examine and Summarize Data Using R - Prosper
=============================================
**By: Saurabh Hinduja**
---
## Introduction
This section contains information about the dataset selected, reasons why the dataset was selected
*Dataset Selected:* Propser
**What is Propser**
There are many peer to p... |
ea0feade256bd702b37a4cd64592041b76d82136 | 60f33fdf39113d7c2a4dec149725e596ad227f48 | /R/get_xy_lims.R | ec2e308a4b1a82d038c1c642ea00b5e531ed0264 | [] | no_license | BenaroyaResearch/limmaTools | 958907faef92b7e0ffac1e3f63d1f7483af97c84 | a8c8aa109c95cf852fc48f870d7dda7134aa5a94 | refs/heads/master | 2023-06-02T01:44:15.792587 | 2021-06-22T22:14:01 | 2021-06-22T22:14:01 | 75,264,990 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,574 | r | get_xy_lims.R | #' Accessory function for determining x and y limits for volcano plots
#'
#' This function determines appropriate x and y limits for volcano plots or sets of volcano plots.
#' @param topGenes a data frame or list of data frame. Each data frame typically contains the output of a call to \code{topTable}. Must contain gen... |
5d2961a9a3bf481fcb714c5616db38ac618051d1 | 037bee00f2fe46ae4708eeed46bf519d87f10f7c | /R/degree.R | 83dd9a4bd6ce0d6a51fc3fff16774bce8a5faed3 | [] | no_license | cran/HyperG | 60e03023748d5cd16fe0ad1b52dbb6b6d9993228 | 48fea6d712fa369a6a85d486ce490a9fb0bac605 | refs/heads/master | 2023-03-23T09:26:59.501007 | 2021-03-04T08:20:11 | 2021-03-04T08:20:11 | 344,524,380 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,764 | r | degree.R | ## HyperG R Package
##
## Copyright (c) 2021 David J. Marchette <dmarchette@gmail.com>
##
## Permission is hereby granted, free of charge, to any person obtaining a copy
## of this software and associated documentation files (the "Software"), to deal
## in the Software without restriction, including without limitatio... |
f493c3919ff25da6bd4a356bf369522c8933a1d8 | 34e9163c89795d6b398c4418c7047a242581bf43 | /LogisticRegressioncreditcard.R | 774e69e59bdd85d72c32e82544bd5ae0aac0e6e4 | [] | no_license | lokeshlav95/Logistic_regression_creditcard | 50550c5afe1486a791e4e85ff35f9e348ff4a308 | 81c987739233598cab3d3206ab78506e1ac57068 | refs/heads/master | 2022-11-06T23:28:36.814339 | 2020-07-07T19:22:22 | 2020-07-07T19:22:22 | 277,903,418 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,115 | r | LogisticRegressioncreditcard.R | credit_card <- read.csv(file.choose())
View(credit_card[-1]) #except first column selecting all
str(credit_card)
install.packages("caret")
library(caret)
dmy <- dummyVars(" ~ .", data = credit_card,fullRank = T)
model <- glm(card~.,data = credit_card,family = "binomial")
summary(model)
prob <- predict(model,ty... |
09d81b06406781fd9d7dd70aa8a659a49aa506df | 7b757b26bf190e35b2917e02d20ff796b6073369 | /scripts/flux-appendix-figs.R | c70a4163ce7ad51fe9625595464dbfbbc1359a56 | [
"MIT"
] | permissive | BNU-Reggie/jgr-co2-flux | 5db923dce3269f039db074a5a5f01227643e13b7 | ab2cfcf37b3e6c0fe4fdad584400a8baa3a7c29b | refs/heads/master | 2020-05-25T04:38:10.562818 | 2018-06-06T18:07:32 | 2018-06-06T18:07:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,084 | r | flux-appendix-figs.R | ## code for appendix figures + reviewer response plots following revision
library('ggplot2')
library("mgcv")
library("plyr")
library("dplyr")
library('reshape2')
library('gridExtra')
library('extrafont')
## read in regvars and co2expl and models
regvars <- readRDS("../data/private/regvars.rds")
expl <- readRDS("../da... |
09568306d3a833b100b0e509295c1a41a7a3d0fd | 7d3e7c1d0a80ac881103bef9c1ba8a2a8693fddd | /R_Tutorials/Significance_Testing/conf_5pct.R | 45bddecba1b080ad7d367f6f45f3bc64274ea931 | [] | no_license | wagafo/Applied_Statistics | aa6c7418e14bad7154b1405847147e962d42cd47 | 3d1b9fe9ec4f8187b1bcb80c0b7a2cfa75b1460a | refs/heads/master | 2021-06-26T21:30:43.063498 | 2020-11-22T12:14:44 | 2020-11-22T12:14:44 | 184,111,016 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 391 | r | conf_5pct.R | x <- seq(-8,8, length = 2000)
dat <- data.frame(x=x, y=dnorm(x))
g <- ggplot(dat, aes(x = x, y = y)) + geom_line(size = 1.5) + xlim(-4, 4) + scale_y_continuous(limits=c(0,max(dat$y)))
suppressWarnings(g <- g+ layer("area", stat="identity", position="identity",mapping = aes(x=ifelse(x>qnorm(.95),x,NA)),
para... |
cacc18aa530989ca94a875a06f8d72185db7e6ae | 97570cb7c88c56149495e2c3056ede83e81960ea | /extra/temp.R | fdbb47302cec842be495ad0b89270654147e6b28 | [] | no_license | Jess050/honours-project | 75438cc7cbef4ee6a4f15bc587019424a635f3b9 | a1a65a9b96c2f1515210968e2d39472f3dd57466 | refs/heads/master | 2020-03-16T06:50:14.921900 | 2018-11-19T07:39:12 | 2018-11-19T07:39:12 | 132,563,664 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,645 | r | temp.R | # analysing temperature data
# load libraries ----------------------------------------------------------
library(tidyverse)
library(ggpubr)
library(dplyr)
library(lubridate)
library(gridExtra)
library(ggplot2)
# load data ---------------------------------------------------------------
load("D:/honours/honours-pr... |
0cb70d132cc9e9cf08eb96d8c8f1fa07b3245e5c | 84ca86a2b97ef2856e131433d6fc6076a13534fe | /scripts/functions_richness.R | d436e4f88cb72db161670f15bfd91601abf3a095 | [] | no_license | oueme-fungi/oueme-fungi-transect | 8063947f4c58f2d1309329f4e432348ec66de6b9 | 143b9b746bfbb0213288ca753b242de470688abb | refs/heads/master | 2023-04-06T07:30:27.125367 | 2021-04-12T11:07:43 | 2021-04-12T11:07:43 | 162,268,464 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,470 | r | functions_richness.R | # functions to calculate targets for ASV/OTU richness comparisons
nonzero_asv_counts <- function(seq_table, platemap) {
tibble::as_tibble(seq_table, rownames = "file") %>%
tidyr::extract(
file,
c("seq_run", "plate", "well"),
regex = "([ipS][sbH][-_]\\d{3,4})_([0OT]{2}\\d)_([A-H]1?[0-9])_ITS2"
) %>%
... |
7d0864257473512fd1aacd7e9af34daf5f317470 | fef507ac41bb7749840e7f5141ba87fde26d6f95 | /code/analysis/07_layer_differential_expression/deprecated/03_layer_DE.R | 982076cbbfb55b3f332bf0714ad9bd7cc43cdd4b | [] | no_license | LieberInstitute/spatialDLPFC | 84bc2f0b694473182d315b4d39ab3d18c2dd3536 | 840700ae86cdd414e024d9658b09dd11712ef470 | refs/heads/main | 2023-08-04T03:37:18.425698 | 2023-07-25T18:27:36 | 2023-07-25T18:27:36 | 314,001,778 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,657 | r | 03_layer_DE.R | # library(sgejobs)
# sgejobs::job_loop(
# loops = list(spetype = c(
# "wholegenome", "targeted"
# )),
# name = "03_model_pathology",
# create_shell = TRUE,
# queue = "bluejay",
# memory = "15G")
# To execute the script builder, use: sh 03_model_pathology.sh
# Required libraries
# library(... |
e37611236f5f52296fc1d52f06418311763bd4c8 | 27d63cba653bba104d6632d045195c54b52226ad | /man/unlevered_beta.Rd | 3966d0260f63f92b25b60420713e2444c1158375 | [] | no_license | olaoritsland/finmod | e6cb3a5083a27cb6b53563f5c759fd6403e5416c | 1e09e682130b916709f01da6f2a529977fdb6ce5 | refs/heads/main | 2023-05-01T12:48:02.855987 | 2021-05-04T15:48:40 | 2021-05-04T17:30:54 | 350,452,438 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 425 | rd | unlevered_beta.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/unlevered_beta.R
\name{unlevered_beta}
\alias{unlevered_beta}
\title{Unlevered beta}
\usage{
unlevered_beta(
url = "http://www.stern.nyu.edu/~adamodar/pc/datasets/betas.xls",
industry,
time_period = "last",
...
)
}
\arguments{
\item{u... |
127e62e4375b1a5738f5b5a3009e7d43cf03eaca | 462dc2c286ffa1f61f04ee130ab83adb7be12bda | /man/bigsearch.Rd | c007d8a529e440b436b60c4f7c113d0b4c006627 | [
"MIT"
] | permissive | gaurav/rvertnet | 5b5c26b4247fb01989ff84d3d8afc08a031bbab9 | 0c65bb5c9dfe4c8f81242a8108d66ee1c89b0542 | refs/heads/master | 2021-01-23T04:40:23.252882 | 2017-01-27T20:38:22 | 2017-01-27T20:38:22 | 80,369,929 | 0 | 0 | null | 2017-01-29T20:20:12 | 2017-01-29T20:20:12 | null | UTF-8 | R | false | true | 4,450 | rd | bigsearch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bigsearch.R
\name{bigsearch}
\alias{bigsearch}
\title{Request to download a large number of VertNet records.}
\usage{
bigsearch(specificepithet = NULL, genus = NULL, family = NULL,
order = NULL, class = NULL, compact = FALSE, year = NULL,
... |
21d69bdbd659ca8ba542105ef452a8d296a6a826 | 29585dff702209dd446c0ab52ceea046c58e384e | /lessR/R/Histogram.R | 75075f0814a594a43bbb8cb6863f7f4fa9a962e0 | [] | 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 | 7,343 | r | Histogram.R | Histogram <-
function(x=NULL, data=mydata, n.cat=getOption("n.cat"), Rmd=NULL,
color.fill=getOption("color.fill.bar"),
color.stroke=getOption("color.stroke.bar"),
color.bg=getOption("color.bg"),
color.grid=getOption("color.grid"),
color.box=getOption("color.box"),
color.reg="snow2", over.grid... |
88feb704e6fcef005fbe00f441a8be45a935288e | cc8df90cfee6af22b716353c1610fe9f4a96e59c | /Visualization.R | 92ed44169e10fbb1f16c9726721b195ac1401bb0 | [] | no_license | kevingeorge0123/Data-Analysis-using-R-Hypothosis_Regression | 8578ea79deb90af1570bd01deb2e70bb426651f2 | 3602ddb6472f54b651ad6ebea8a64e754cf2fbb6 | refs/heads/main | 2022-12-22T06:22:41.759882 | 2020-10-04T20:09:17 | 2020-10-04T20:09:17 | 301,217,342 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,428 | r | Visualization.R | library(tidyverse)
install.packages("ggplot2")
hdi<- read.csv("D:/ONLINE COURSES/Udemy/R/hdi-cpi.csv",stringsAsFactors =FALSE )
library(tibble)
library(ggplot2)
hdi<-as_tibble(hdi)
hdi
s<-ggplot(hdi,aes(CPI.2015,HDI.2015))
s
s+geom_point()
s+geom_point()+facet_grid(Region~.)
s+geom_point(aes(color=Region),si... |
f3ce29c5c5636fdd4c3d8bf774f41363dd196eea | f02395164acf0d52fa73854d5efe7af5df165345 | /additional_analyses/MT_genomes/MT_genomes_new.R | 85684f4400da13984f1748e056ad42a8f201a17c | [] | no_license | shaman-narayanasamy/IMP_manuscript_analysis | 667e5da70c7216530e74aa9833dd19d8aba2abbd | 0b196ae1232f838a6827333b181627a575f777a6 | refs/heads/master | 2021-01-17T15:07:34.549780 | 2016-10-01T11:33:13 | 2016-10-01T11:33:13 | 69,734,814 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,615 | r | MT_genomes_new.R | #!/bin/R
require(xtable)
require(genomeIntervals)
require(ggplot2)
require(gtable)
require(beanplot)
require(reshape)
dat.1 <- read.table("/home/shaman/Work/Data/integrated-omics-pipeline/MS_analysis/MT_genomes/HF_ref/Escherichia_coli_P12b-stats.tsv", header=T, na.strings="-")
dat.1 <- cbind.data.frame(Dataset=c("HF1"... |
acc400734aab594d26c14d8eb477e12da8b7f3ba | 3f858f84495ae252181b9a32ef4807634c8afc93 | /rabbitGUI_code/PlotROCCurve.R | fc77f85751d471691cb7d0ffff78b8dca6c60bc1 | [] | no_license | anabrandusa/rabbitGUI | a8cb73edea9fbc0856034cf8831969a7c879adaa | f9947bf0b67270c6fccc7930f5f11c47af99c12c | refs/heads/master | 2021-01-12T12:06:25.545735 | 2017-03-02T18:42:40 | 2017-03-02T18:42:40 | 72,299,526 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,415 | r | PlotROCCurve.R | plotROCCurve = function(locale.input, input.all.data.table, input.auc.headers, input.auc.means, model.source) {
#selected.model.number = select.auc.model(locale.input, model.source, input.auc.headers, input.auc.means)
selected.model.number = select.auc.model(locale.input, model.source)
#message("Using numb... |
959fbd69474dd5da96659b2c30e32a89eacb7a91 | a0c1151adda8ae89726602a35051fbc056cb3902 | /MLEmethod2.r | d88d0253075ca945428f34482259a47cd704fca2 | [] | no_license | Zerthimon21/Gaussian-Mixture-MALDI-TOF | 7f251e5529b416bfb1cf9be6a1522edff4ed9fae | 82eaee7c75bc24925a089f0cbfbcad0058833204 | refs/heads/master | 2022-11-11T16:05:58.727858 | 2020-06-26T20:52:30 | 2020-06-26T20:52:30 | 275,242,223 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,122 | r | MLEmethod2.r | rm(list = ls())
FilePath <- "C:/Documents and Settings/Zerthimon21/Desktop/mzxml"
setwd(FilePath)
source("IsotpoicFitLoad11.R")
#Generate a model with no baseline noise or Ar(1) error
PepMass=MassCalc('DRVYIHPF')
PepIsotope <- IsotopicCountFFT('DRVYIHPF') ##this must match peaks in figure
length(PepIsotope)... |
8751b2c2acb6800bef154a29f3fa5bf18ea3bd4e | 768a5e8713ed0751fdea1fc0512dc5e87c1c06b0 | /R/PotSolarInst.R | ee6dc99d58369e08c4f403a695b6945e92cdb0fb | [] | no_license | cran/EcoHydRology | c854757a7f70f91b3d33d6f7c5313752bf2819e3 | d152909c12e6bb0c1f16b987aa7f49737cdcf3d3 | refs/heads/master | 2020-05-16T21:01:18.881492 | 2018-09-24T11:52:33 | 2018-09-24T11:52:33 | 17,691,749 | 6 | 6 | null | 2018-08-29T19:54:05 | 2014-03-13T02:26:21 | R | UTF-8 | R | false | false | 1,022 | r | PotSolarInst.R | PotSolarInst <-
function(Jday, hour = 12, lat = 42.44*pi/180, sunrise = NULL, sunset = NULL, SolarNoon = mean(c(sunrise,sunset)), units = "Wm2", latUnits = "unknown"){
# lat[assumes rad, but can handle degrees if abs. value above 1.5]
#Jday[day of year]
#hour[hour of day, 0-24]
#Either sunrise and sunset times, ... |
a281878450c9914cdcc68e251e9b33e33434c2ad | 524b2f5ec8e4a59deda1cc55286b9f86ca451473 | /tests/testthat.R | f98dd5f9cb3cc9126595d0de23dcd1f10d83a306 | [
"MIT"
] | permissive | nschiett/fishflux | cf725405fda185e5bc3f252bdb7768af2464f3ba | 418bfd4a412a0bc269bc3b1df126f775edd308f6 | refs/heads/master | 2022-05-12T15:48:56.974176 | 2022-05-02T16:26:17 | 2022-05-02T16:26:17 | 148,555,709 | 7 | 4 | NOASSERTION | 2022-04-07T16:59:50 | 2018-09-12T23:48:09 | R | UTF-8 | R | false | false | 60 | r | testthat.R | library(testthat)
library(fishflux)
test_check("fishflux")
|
d8955ee6b59cb92c686fb223246d982f94a9cfe5 | 9ae449a15a7a15daef7635ebc81b02fb9002c912 | /complexheatmap_QAS/SVG/ComplexHeatmap.R | 3afe6dbdf8dab83cd0334bc9929d040e322cc2e1 | [] | no_license | TMCjp/QAS | f516e4ea8cf51aae86e64ea99ce787fb07924904 | 35640dda8f154941e9237e3889bd25d003b663c3 | refs/heads/master | 2021-01-13T13:59:07.230601 | 2017-01-19T06:44:20 | 2017-01-19T06:44:20 | 79,102,770 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,653 | r | ComplexHeatmap.R | #安装需要的R包
pkgs <- rownames(installed.packages())
#本程序所需包
packages_1=c('ComplexHeatmap','circlize','colorspace','GetoptLong','RSvgDevice','data.table','RMySQL')
#将要安装的R包
packages_2=setdiff(packages_1,pkgs)
#安装所需R包
if(length(packages_2)>0){
install.packages(packages_2, repos="http://cran.rstudio.com/")
sou... |
f9061c18cacf49f0a00b586bfa3cefd067f904a6 | 066a5c53525c100c453e7369c9825a9ce582baa9 | /output/Efficient-Responsive-Single-delta.R | 0416c03ddd64faf533370fab594cf6bb7cff1823 | [
"MIT"
] | permissive | tong-wang/Efficient-Responsive | a44817925f345353f29c79616d903beaba3bf71a | 66d6efc1ce8150569bfd45ad5cdc71aa2306658f | refs/heads/master | 2016-09-05T18:02:11.061236 | 2014-05-17T07:30:50 | 2014-05-17T07:30:50 | 9,501,843 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,139 | r | Efficient-Responsive-Single-delta.R | #################
# R code for analyzing output and plot figures
# v1.0 (organized on 2013-04-17)
# for Figure 12 and 13 in the paper
#################
#NEED TO FIRST SET R WORKING DIRECTORY TO WHERE THE FILES ARE LOCATED!!!
setwd("/Users/buxx/Desktop/test/")
#read the output file
data <- read.table("Efficien... |
80a66cc723e8626d4f75025fe8c050d5c69ddfc7 | a90e67b9f5dfc4f935ac90a07a751244a33ca545 | /man/diagonalize.Rd | 11271ab546f0d7757d72127a99850ad62fedf6e5 | [
"MIT"
] | permissive | ccrandall07/mmtable2 | 0a64255dd3d887a5c6f349b06db06eabe684b35b | 7226a1cff99bb721f639a9969b4275559c3719b3 | refs/heads/master | 2023-04-19T21:01:32.535104 | 2021-05-02T06:41:00 | 2021-05-02T06:41:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 360 | rd | diagonalize.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagonalize.R
\name{diagonalize}
\alias{diagonalize}
\title{Conditionally apply a function}
\usage{
diagonalize(df, var_char)
}
\arguments{
\item{df}{a data frame}
\item{var_char}{the column to be diagonalized}
}
\value{
data frame
}
\descri... |
1c443092bc24db3ac41056a92cab47bb62f49496 | a4948192e6e43df1a62ee476f21176c93d0c9232 | /unfiled/indi2lineup_model.R | 0fea2e677a3a920102650dd40f463e10b7e8a080 | [] | no_license | vjl110/bball | 81c2f42fabb55bea7cbb3d6ff000e0eff35f5db9 | daec40c73779e4abdeb34f06b3d894dc35431b6f | refs/heads/master | 2021-01-21T18:00:29.804311 | 2015-06-20T17:29:39 | 2015-06-20T17:29:39 | 34,592,858 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,731 | r | indi2lineup_model.R | setwd("~/GitHub/bball")
indi <- read.csv("data/indi2lineup_data.csv", strip.white = T)
lnp <- read.csv("data/lineup_data.csv", strip.white = T)
lnp <- subset(lnp, Poss.O_lnp > 50)
lnp <- subset(lnp, Season > 2005)
lnp$Name1 <- as.character(lnp$Name1)
lnp$Name2 <- as.character(lnp$Name2)
lnp$Name3 <- as.character(ln... |
35bb0b7f7be05e6ff1624afe7928a1bdbbf4d0fc | 986d1737c5a1d8b1c20f3f6490949c1865487a83 | /tests/testthat/errors.R | a20f2d3a7e97cfee9ee0651edf1568f1c314abb3 | [] | no_license | jhollist/rio | 7bceacf8548f52452a90d7f708d784929a4b315e | f278e545752c78143216ac955c25b204559fbf0b | refs/heads/master | 2021-01-21T18:33:54.351956 | 2015-07-01T12:38:20 | 2015-07-01T12:38:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,227 | r | errors.R | context("Errors")
test_that("Function suggestions for unsupported import and export", {
expect_error(import("test.jpg"), "jpg format not supported. Consider using the `jpeg::readJPEG` function")
expect_error(export(data.frame(1), "test.jpg"), "jpg format not supported. Consider using the `jpeg::writeJPEG` func... |
d38153731865e1f91789f4ba00e3bd9577c425bc | c734ca3b2f2eda498461049be11c2c007e99d367 | /tools/Rscripts/Hidden_proteome_explained_by_TU.R | 346dbf6c7a5a4f393125a9f73b3f9091113df9ea | [] | no_license | nnalpas/Proteogenomics_reannotation | 95b7387f3c81dbe1c9c26409fc5118b2572c79cb | b054de55f29bd095001f37db09adfda8b155f2f2 | refs/heads/master | 2023-08-22T14:38:55.164844 | 2023-08-08T10:33:31 | 2023-08-08T10:33:31 | 111,789,188 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,397 | r | Hidden_proteome_explained_by_TU.R |
library(magrittr)
library(ggplot2)
my_plots <- list()
my_transcri_f <- "H:/data/Synechocystis_6frame/Kopf_2014_TU/Transcriptional_units_expr.txt"
my_transcri <- data.table::fread(
input = my_transcri_f, sep = "\t", quote = "", header = TRUE,
stringsAsFactors = FALSE)
my_fasta_f <- c(
"H:/data/Synecho... |
9bff7b149083e5a5a8de6a0a96598c9064663d5c | 99a695f64f28d9da2981e3d8447b5b6a287d69d0 | /Get_EPA_National_Emissions_Inventory_PM25_Data.R | bcf62b29a0af9d908ce8348f3c257c6444800cee | [] | no_license | JimCallahanOrlando/ExData_Plotting2 | 5ce37891809a7aa36ae076d18034449e01997871 | 50b4c3267665e8d1cd42fc95410fd9a855238592 | refs/heads/master | 2020-04-21T09:02:43.874118 | 2015-09-23T18:55:52 | 2015-09-23T18:55:52 | 41,051,321 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,248 | r | Get_EPA_National_Emissions_Inventory_PM25_Data.R | ### FILE: Get_EPA_Natoinal_Emissions_Inventory_Data.R
### PURPOSE: Download EPA Air Pollution Data Zip file
###
### LANGUAGE: R statistical programming language
### R version 3.2.2 (2015-08-14) -- "Fire Safety"
### Copyright (C) 2015 The R Foundation for Statistical Computing
### Plat... |
b52c88b2d130a82e7649646eb34d3943be53ee66 | c9e0c41b6e838d5d91c81cd1800e513ec53cd5ab | /man/gtkToolbarGetDropIndex.Rd | 4ac83fc2077739dfb750f462ef0c728781fca77a | [] | no_license | cran/RGtk2.10 | 3eb71086e637163c34e372c7c742922b079209e3 | 75aacd92d4b2db7d0942a3a6bc62105163b35c5e | refs/heads/master | 2021-01-22T23:26:26.975959 | 2007-05-05T00:00:00 | 2007-05-05T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 820 | rd | gtkToolbarGetDropIndex.Rd | \alias{gtkToolbarGetDropIndex}
\name{gtkToolbarGetDropIndex}
\title{gtkToolbarGetDropIndex}
\description{Returns the position corresponding to the indicated point on
\code{toolbar}. This is useful when dragging items to the toolbar:
this function returns the position a new item should be
inserted.}
\usage{gtkToolbarGet... |
accd9da7f1dd07def6f33b09a62829924baea47a | bb62ca9fc6d9ced52229a2655802a40ad9c4f40a | /Archived/X - Prepare quantity variables (county).R | d6e70b30970a5e9665d6f908cddf54cd08034354 | [] | no_license | BrianAronson/Indiana-MAT-Opioid | 48c1ab64fb10684444e6ed1705b3175ac9a0056d | 5a74f0b7b19bcb900322c20087d92c104fcb7355 | refs/heads/master | 2020-12-05T02:52:41.496168 | 2020-01-05T23:42:54 | 2020-01-05T23:42:54 | 231,986,208 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,230 | r | X - Prepare quantity variables (county).R | #0) Prepare workspace
#a) load packages
library(docshop)
#b) find main directory; use AWS if working from EC2
# if(grepl("briarons",getwd())){
# main.dir<-"C:/Users/briarons/Desktop/Analysis - Data/Postdoc"
# AWS=F
# }
# if(grepl("bda13",getwd())... |
92c3383e45fa81e66182f33d29a6d69e4e16d2ca | 33981f84bca1f1a75d920921310997d211d29de2 | /app/anova.R | 1002c43ca04a777495255ab3e084c85120a30dc5 | [] | no_license | gwerbin/statcomm-11a | 087e0296891699c2db3046073d5fb6ec399cdee3 | 68ea1d1b1e62fae0a7480e0644da5bf359175781 | refs/heads/master | 2020-05-18T02:46:46.059420 | 2014-11-18T16:39:44 | 2014-11-18T16:39:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,505 | r | anova.R | # Input ----
n_group <- 15
m_group <- 0
sd_group <- 1
n_rep <- 1000
alpha = 0.05
input_list <- list(
list(rng = rnorm, inv_F = qnorm, n = n_group, mean = m_group + 0.6, sd = sd_group),
list(rng = rnorm, inv_F = qnorm, n = n_group, mean = m_group, sd = sd_group),
list(rng = rnorm, inv_F = qnorm, n = n_group, mean... |
56821a0a0831b0d2406bb466037b4afa738c436a | 92e597e4ffc9b52cfb6b512734fb10c255543d26 | /R/commonNames.R | 87252568d9656657d55055c5ce62ecfd5e2c5d70 | [
"MIT"
] | permissive | KWB-R/kwb.utils | 3b978dba2a86a01d3c11fee1fbcb965dd15a710d | 0930eaeb9303cd9359892c1403226a73060eed5b | refs/heads/master | 2023-05-12T15:26:14.529039 | 2023-04-21T04:28:29 | 2023-04-21T04:28:29 | 60,531,844 | 9 | 1 | MIT | 2023-04-21T04:28:30 | 2016-06-06T13:52:43 | R | UTF-8 | R | false | false | 415 | r | commonNames.R | #' Common Names in two Objects with Names Attribute
#'
#' @param x object with names attribute, e.g. data.frame, named vector
#' @param y object with names attribute, e.g. data.frame, named vector
#' @return vector of names occurring in both \code{x} and \code{y}
#' @export
#' @examples
#' x <- data.frame(a = 1:2, b = ... |
005847e92d339ee7a958af68b8cfaac3c32a6085 | 301593bbe3b525a24d9adaf442454e2261f3c747 | /R/utilSolarTime.R | e5a68919b4cd6211c0b347abcf60c0685b097598 | [] | no_license | mt-climate-office/solartime | 9121e322dbd1054494aadd70b56f1e883ef413f1 | 485840b653a50de82d19c7fffaceb546b8741f08 | refs/heads/master | 2023-07-24T13:31:58.338865 | 2021-09-02T09:40:14 | 2021-09-02T09:40:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,168 | r | utilSolarTime.R | #' @export
computeSunPosition <- function(
### Calculate the position of the sun
timestamp ##<< POSIXct having a valid tzone attribute,
, latDeg ##<< Latitude in (decimal) degrees
, longDeg ##<< Longitude in (decimal) degrees
) {
if (is.null(attributes(timestamp)$tzone)) stop(
... |
f78c32a7936aca2c09176a7fc6482718b268b0b7 | 6852894908a932f71a040239b65c0a2e31634097 | /App/ui.R | fac4ef798f8c00e12fb0cc43e324739019125be5 | [] | no_license | honto-ming/Coursera_DevDataProds_Proj | 7adf6f8ce717600e67dbfa1ceda74bd637891ba3 | 26ec1a863a6def1369200906db1641750a09cd2f | refs/heads/master | 2021-01-01T19:09:59.369301 | 2015-09-15T04:36:57 | 2015-09-15T04:36:57 | 42,482,904 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,030 | r | ui.R | library(shiny)
instructions.sidebar.1 <- paste("This Shiny app will classify a patient as being AT RISK or NOT AT RISK of ",
"being diagnosed with Coronary Heart Disease (CHD) within the next 10 years.")
instructions.sidebar.2 <- paste("To obtain a prediction, provide the patient's characteristi... |
52c2f1e13b046f62379b2e89dca140888d524555 | ec16c798bf80bcbde5d0bb621554d3f2d906a974 | /man/probability.Rd | 1daa849de77ea6899f33bd0e398d2042007b2ce0 | [
"Apache-2.0"
] | permissive | mickash/SimpleGPs | 8dfec3353dd38ec259f0306657ba11d78ae4fc61 | 4c5c8adfa5b7cb20a73fd93998fdb7cbd4a07144 | refs/heads/master | 2020-09-09T11:45:45.032197 | 2019-11-13T12:33:47 | 2019-11-13T12:33:47 | 221,213,117 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 488 | rd | probability.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fit.R
\name{probability}
\alias{probability}
\title{Find the probability of points}
\usage{
probability(model, X, Y, logprob = T)
}
\arguments{
\item{model}{The gp model}
\item{X}{The input data}
\item{Y}{The target data}
\item{logprob}{Wh... |
4f535347121618910853e032be206735ca001071 | cce0cf573debcd09e9b47f00df1e2f3363e08bb8 | /man/generic-c.Rd | ebc685d4429f9f231ab51809fbf224cfdb1dba86 | [] | no_license | cran/facebook.S4 | 5cee55e7ec5a211a2aafe4935c96f061e110f2d2 | 31422f8a89f9fd1be94b88dfa555ea9f19a4ffaa | refs/heads/master | 2020-06-26T07:19:31.595531 | 2017-07-12T11:49:30 | 2017-07-12T11:49:30 | 97,008,724 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 679 | rd | generic-c.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FacebookGenericCollection-methods.R
\docType{methods}
\name{c,FacebookGenericCollection-method}
\alias{c,FacebookGenericCollection-method}
\title{Combine two or more Facebook collections}
\usage{
\S4method{c}{FacebookGenericCollection}... |
bd502084b5808ad2b6e0d99db634e3daf6d68d4f | 52e73beccb12fa13be06237e850ad5973c9ba5ef | /Exploration_of_Data_Analytics.r | 9648c347f5ab5a079ef258996396e76d5b3c66c0 | [] | no_license | DarrenTsungjenWu/R-Learning | 9f66b36fed29c9b1943f355f0dae24490601cd56 | a990f7f86b10f15c0b6af360ed41412e575abd91 | refs/heads/master | 2023-02-06T14:43:39.491368 | 2020-12-27T12:05:35 | 2020-12-27T12:05:35 | 324,491,427 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,662 | r | Exploration_of_Data_Analytics.r | #Read loan data
#stringsAsFacctors=False, False should be capital
loan = read.csv("D:\\prosperLoanData.csv", stringsAsFactors=FALSE, na.strings=c(""))
#Check data
str(loan)
head(x, n) #where x is data and n = the number of data shown from begining
###See which is state is the borrower
#Use the bar to see ... |
9c079b97bc63184beb241da1bc6923580c7966b0 | 79eb7c6958b247770731ee20a5d9be525d8f5ed0 | /exercises/practice/tournament/.meta/example.R | 7505465aa6081e0412782699f8e1b4be5d3d9731 | [
"CC-BY-SA-4.0",
"CC-BY-3.0",
"CC-BY-4.0",
"MIT"
] | permissive | exercism/r | 345781f314b8a66be047abd889238cba2630a20c | 566676cca76019e3e6a602f8f4d8086c54a51e1e | refs/heads/main | 2023-08-03T09:30:59.027153 | 2023-07-28T00:18:31 | 2023-07-28T00:18:31 | 24,401,761 | 22 | 37 | MIT | 2023-09-05T11:19:45 | 2014-09-24T05:22:10 | R | UTF-8 | R | false | false | 1,101 | r | example.R | tournament <- function(input) {
results <- data.frame(Team = "tempTeam", MP = 0, W = 0, D = 0, L = 0, P = 0)
for (item in input) {
match <- unlist(strsplit(item, ";"))
# Check that match result is valid
if (length(match) != 3 || !(match[3] %in% c("draw", "win", "loss"))) {
next
}
... |
6b6c6423151d3a771d6a2438e8f1c1cbd9a5df37 | cd7a55841d48cc3393f449e3955bff13820369d5 | /R/w45_2020.R | 7a449fc45b70ff4bf898713e40c2c8e14f18a21d | [] | no_license | gejielin/-TidyTuesday | 9d03bec78ea0d49350278985bbab8c64d9c17ffe | aa4ceea316ad4e14342be9c0c92f149d19b89780 | refs/heads/master | 2023-02-28T02:31:36.885017 | 2021-02-04T15:13:14 | 2021-02-04T15:13:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,636 | r | w45_2020.R | library(tidyverse)
library(extrafont)
library(ggtext)
library(glue)
library(here)
ikea <- read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-11-03/ikea.csv')
ikea.clean <- ikea %>%
mutate(designer = strsplit(as.character(designer), "/")) %>%
unnest(designer) %>%
filt... |
fe7acff15a4feaa427d737250cb4585e15fae5cd | 13c4547fe1b981a0e93fcec1fc5d117efd011585 | /Single_cell_RNA-seq/invitro_single_cell_RNAseq/pagoda_visualization_KEGG_Aging_Activation.R | 93312257654b08c80fec9dd453a03730586c777f | [] | no_license | dtcdtcdtcdtc/Mahmoudi_et_al_2018 | 5da000052c1b5108c74cafa9d96ce6e5dbbcd047 | abdba9e585aa9510e5677ecb2ff0f7ce7a50c1a1 | refs/heads/master | 2020-09-21T17:40:12.620290 | 2019-07-21T00:12:56 | 2019-07-21T00:12:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,778 | r | pagoda_visualization_KEGG_Aging_Activation.R | library(Biobase)
library(scde)
library(RColorBrewer)
setwd("~/Salah_Katja/SingleCells/Pagoda")
load("../Data/eset.RData")
## load pwpca:
load("Data/pathway.wPCA/pathway.wPCA_KEGG_Aging_Activation_varnorm_knn.error.models.RData")
## load clpca:
load("Data/gene.clusters/gene.clusters_subtract.aspect_varnorm_knn.error.mo... |
49b3ec3c27d4a24dee977bde6af5e7df7c683f0d | 86ffa3585968eafd21bd52d699569a921e31c0b9 | /man/presentation_commit.Rd | 5a73aee4b6a28f24c1a92012820cd04a366267b4 | [
"MIT"
] | permissive | d3v3l0/gitdown | 66e99599111620b580f2a38b7e83a7d36214e68c | 0eb068cbbffccb3f007fc89f86f7ddeee22c3ed4 | refs/heads/master | 2022-02-24T05:43:02.920903 | 2019-09-28T19:33:05 | 2019-09-28T19:33:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 412 | rd | presentation_commit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{presentation_commit}
\alias{presentation_commit}
\title{Presentation of commit}
\usage{
presentation_commit(write_in, data, i)
}
\arguments{
\item{write_in}{function to write in good place}
\item{data}{data from get_commits_pat... |
679fdedf325fe6e78b65e1ed88e03c5126d9dab7 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /blorr/inst/testfiles/blr_pairs_cpp/libFuzzer_blr_pairs_cpp/blr_pairs_cpp_valgrind_files/1609956826-test.R | bc8bcf82bf595d8f5a0bdb25b5b953d8bd86b1b8 | [] | 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 | 1,903 | r | 1609956826-test.R | testlist <- list(x = Inf, y = c(NaN, NaN, 7.27386870933034e-313, 0, 0, 2.77447923392645e+180, 2.77448001762441e+180, 2.77448013398363e+180, 8.40476764068988e-315, 2.0971286527899e-314, 1.42740904212728e+181, 3.12372766183029e-12, -6.67115915940654e+306, -5.82900682309329e+303, -1.08193841662861e+307, 6.406102949027... |
a49f3d125043cea4941e8158cdd65f09600c902b | 334c4deecc96b8100e33b1380e19be0ae7d8da2c | /run_evaluation_times.R | 2424d7121fea74d90d0314ced98d7eff7c26ee8d | [] | no_license | Sciathlon/running_races_analysis | c05b4dee1419c492d945044046e1bb4bd149a3fb | ad3a0e9e23248497b579787c798daaf76c79cec8 | refs/heads/master | 2020-03-18T05:01:09.031084 | 2018-07-07T15:09:46 | 2018-07-07T15:09:46 | 134,319,376 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,042 | r | run_evaluation_times.R | library(devtools)
#devtools::install_github('fawda123/rStrava') #for installing the package
library(rStrava)
library(ggplot2)
library(curl)
library(sqldf)
#loading the athlete data
athlete_data <- athl_fun('beeep!', trace = FALSE)
app_name <- 'beeep!' # chosen by user
app_client_id <- 'beeep!' # an integer, assigned b... |
04502cf168bbed01a2ab2a8114cc2b2c4df7e445 | a84cc9c6af9c81b23576be27bff610cd00536ff1 | /man/bh_slack_correct.Rd | c4793542f0375b74c1df50e7ba442fdbf4d87a30 | [] | no_license | yadbor/bluer | 3f0ca8e8c9018309de1dd4d6d633c294accecea7 | 18d1be170f0bb9eae01392423cdc341213d50702 | refs/heads/master | 2023-01-23T08:42:22.839075 | 2023-01-18T07:17:18 | 2023-01-18T07:17:18 | 174,983,637 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 982 | rd | bh_slack_correct.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bluehill_functions.R
\name{bh_slack_correct}
\alias{bh_slack_correct}
\title{Slack Correction}
\usage{
bh_slack_correct(DT)
}
\arguments{
\item{DT}{a \code{data.table} with \code{Load} and \code{Extension} channels to be corrected.}
}
\value{... |
fbc4bb669338e254957be119d1d42bdbda87541f | 72d6b9c39f97b1eaa479bce4d6ee3e8dc62cdd6c | /tests/testthat/test-getStratifiesBinaryData.R | 19b76b5bbe9a1daaa14de51f748fbced349a753e | [] | no_license | philippstats/RRmisc | 35877668fdbde8586c5fae7fd03762d6daebbd06 | 08df544ed10e1ccf8f4694e36baa7c61dde232bf | refs/heads/master | 2020-04-10T14:13:08.763526 | 2016-07-19T16:12:29 | 2016-07-19T16:12:29 | 51,521,084 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 523 | r | test-getStratifiesBinaryData.R | # test
# getStratifiedBinaryData
library(testthat)
library(mlbench)
library(mlr)
###############################################################################
test_that("check basic properties", {
data(BreastCancer, package = "mlbench")
df = BreastCancer
df$Id = NULL
tsk = makeClassifTask(id = "BreastCance... |
0a56b845a7453ab6833c735c44de2e6731e82360 | 974b2751d8d447b086d75eb35f5316f0a2801b4c | /codes/mod.mediation.study2.R | 33443cd51ecbe648dce370916611dc2a5936b088 | [] | no_license | daij9412/whtdisid | 5cb186c875555cf39613bcdadc2434774fff91e6 | 7c1abb5442763e84cb535ccdf5105c99199b08a7 | refs/heads/master | 2020-08-09T07:47:01.030940 | 2019-10-14T06:21:34 | 2019-10-14T06:21:34 | 214,039,825 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,467 | r | mod.mediation.study2.R | ###########################################################
## Below is the code used for moderated mediation tests in#
## Study 2, with DV as intentions to support for racial ##
## equity. Code can be used for replication along with ##
## redacted datasets.
## Note: Datasets are not be released to public due to ... |
d758fc57b306c3c2e0568dfe844ec2ddf3e31239 | ca2802548f8a961ca6e0fe57d7906f912eb3f221 | /R/optimize_variables.R | 013d6cf7f1cda45cd8079ccfc328c0f5002ace9c | [] | no_license | O1sims/FootballStats | 4dca2ebb135922f5ca3beafa7c3206022faea490 | 266d476f5f15d57960f8715d33a766f8fa091daa | refs/heads/master | 2023-06-08T08:48:39.646688 | 2021-06-29T09:07:44 | 2021-06-29T09:07:44 | 381,303,716 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,327 | r | optimize_variables.R | #' @title Optimize Variables
#'
#' @export
optimize_variables <- function(total.metrics, GRIDS, optimizeModels = TRUE,
overwrite = FALSE, types = c("xgboost", "neuralnetwork"),
saveModels = c(), colNames = list(localID = "localID", awayID = "awayID")) {
... |
96592fdff719d71b1a8a14c880caefc5b66981eb | 82592f877c695a45a258a479e40394a5f994530a | /src/R/zzz.R | f19278f52cf1f95265243b7fadbe042340ec35e4 | [] | no_license | whcsu/vtg.coxph | af2d3cb774561408554adbef024ebf1bac0cb766 | d82f2786719a6f0df6620027f7e86b4b0f4892b9 | refs/heads/master | 2023-06-25T06:22:18.015822 | 2021-07-27T09:01:33 | 2021-07-27T09:01:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 698 | r | zzz.R | .onLoad <- function(libname, pkgname) {
# writeln()
# writeln('vantage.basic .onLoad')
# writeln(paste(' libname:', libname))
# writeln(paste(' pkgname:', pkgname))
# writeln()
# fileName <- system.file('extdata', 'startup.message.txt', package=pkgname)
# msg <- readChar(fileName, file.in... |
1f8636690196bec81f7b2c6f800731a0969ac81b | bc6a1ddc9b9374f28ffa9c662212be3608c29f1b | /PRJ16_201520934_배재훈/ex_tm.R | 8cebc7ad0dcf09e86f149c077ee72f89b1b726f2 | [] | no_license | jaypae95/rproject | 68af022e12c4ddddb632175fbc0ae5c0523e8653 | fa83cb7d849aaabc438f5a137c7ca472adb8ef93 | refs/heads/master | 2021-10-10T00:27:54.109993 | 2019-01-05T02:09:52 | 2019-01-05T02:09:52 | 164,172,959 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,767 | r | ex_tm.R | ## ----------------------------------------------
#
# PROJECT16. [EX] 텍스트 마이닝
#
# COPYRIGHT (c) 2018 AJOU University
# Author : Seo, Jooyoung
# History : 2018/09/01
#
## ----------------------------------------------
#install.packages(c('KoNLP', 'stringr', 'wordcloud2', 'tm', 'qgraph', 'scales'))
library(t... |
06cccc32f33c649d046f825d1f166622eeed2770 | 2c191434506e5d8940c1ae0c0ae0038de7bb8f7d | /3_fractional_regressions.r | 34e36f1f80fb916c3059c05dafa2206af5c7dfb8 | [] | no_license | briatte/epsa2018-paper | 7f583edbbf14d20ec7a8f9980d310ce12fa45120 | b19786916b81e46e086d5df84166e708b73e9468 | refs/heads/master | 2023-05-30T17:18:06.632835 | 2021-06-21T16:28:13 | 2021-06-21T16:28:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,668 | r | 3_fractional_regressions.r | # --- pkgs ---------------------------------------------------------------------
library(frm) # https://home.iscte-iul.pt/~jjsro/FRM.htm
library(readr)
library(strict) # https://github.com/hadley/strict
d <- readr::read_csv("data/parlnet_panel.csv")
# covariates:
# - time period (start year of legislature),
# ... |
b206a4097404ff7696b1c365582d2b2b5a389a06 | b4294e86bd4aa13da2da944c3499eff23ac9e0c6 | /mixtures.R | 4999ceca92edda906cb74e3c1e6c574765809c0c | [] | no_license | sylvansecrets/signal-coursework | 62f0a5e7522eb478b6a6d6adc01609cebfeeeeca | caacf893d0e8c8fdff6c7fc0433422f54ea04309 | refs/heads/master | 2021-01-12T10:18:53.326551 | 2016-12-14T03:06:14 | 2016-12-14T03:06:14 | 76,419,676 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,223 | r | mixtures.R | # Mixture Models
library("ggplot2")
library("datasets")
library("mixtools")
library("mclust")
# Convenience function
print_clusters = function(labels, k) {
for(i in 1:k) {
print(paste("cluster", i))
print(protein_df[labels == i, c( "RedMeat",
"Fish", "Fr.Veg")]... |
f27de3a235ded24d2217c10ef972784807323f1c | 5bd444d45603c382153607c3d258c58e3db4fdaa | /Rscripts/user_function.R | 9b06f9b108fe20d7525fa32d716cfb7c9f50787a | [] | no_license | Davide-bll/teleworkingproject | f05d8c9ffd675750abdf6a212c0fde1f6ed3ecd9 | 0874dcdd6804c3c69ebe4bcaf9eeb62f803753f0 | refs/heads/master | 2022-06-13T20:20:12.912285 | 2020-05-07T10:03:02 | 2020-05-07T10:03:02 | 258,636,559 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,847 | r | user_function.R | # user function used in the converttocsv.R script (OSemosys model)
# USER FUNCTIONS----
read_osemosys <- function(path, rownames = "code", pattern = "X", replacement = "", header = TRUE) {
x <- read.table(path, header = header, stringsAsFactors = FALSE) %>%
as_tibble()
names(x) <- str_replace(names(x)... |
03e299277e6a35e1f94efd072a741e15449828b8 | cf2cc54e5cec62abcf8d409efdefd524600a34e0 | /pyRAD-fasta-filtering/species_filtering.R | 8dc8d5af4fcdf483b44213531b60edfefbfd7689 | [
"MIT"
] | permissive | laninsky/non_active_repos | 1f59cc87c97bde271bc3c2219560a376531bc97f | fb22042115be68070c005f304271565a5d9d3162 | refs/heads/master | 2022-01-31T19:09:35.491413 | 2019-08-13T02:02:23 | 2019-08-13T02:02:23 | 44,968,638 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 754 | r | species_filtering.R | library(stringr)
intable <- read.table("temp",header=FALSE,stringsAsFactors=FALSE,sep="\t")
species <- read.table("species_assignments",header=FALSE,stringsAsFactors=FALSE,sep="\t")
locusname <- read.table("tempname",header=FALSE,stringsAsFactors=FALSE,sep="\t")
rows <- dim(intable)[1]
species_no <- dim(species)[1]
i... |
81f611daea291610d2148d93654c4baffb6de8e1 | 05de00b8c0512fe56bb0727b1210e4c6755f5fc4 | /man/BaseRule.Rd | d3a16d5aaac1a76746c5c0e7ce64053f648d1590 | [
"Apache-2.0"
] | permissive | DyfanJones/aws-step-functions-data-science-sdk-r | 8b4a221d6b18d9015a002c50d3063f6e0e405e16 | ab2eb28780791f8e8bb50227b844fa240b1252da | refs/heads/main | 2023-04-28T21:24:34.920961 | 2021-05-30T21:58:04 | 2021-05-30T21:58:04 | 362,764,798 | 1 | 0 | NOASSERTION | 2021-05-30T21:58:05 | 2021-04-29T09:37:47 | R | UTF-8 | R | false | true | 1,564 | rd | BaseRule.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/steps_choice_rule.R
\name{BaseRule}
\alias{BaseRule}
\title{BaseRule}
\description{
Abstract class
}
\section{Methods}{
\subsection{Public methods}{
\itemize{
\item \href{#method-to_list}{\code{BaseRule$to_list()}}
\item \href{#method-format}... |
4efd3f7652030af6b17279de12e7b49d4971b910 | f74b0585237f2f35719c8fbc01b1ae76249696d8 | /man/beep.Rd | 696abb6c1cbd30f26711640862e2b666b38a2832 | [] | no_license | sjorsvanheuveln/beepr2 | cafc28176bbee032e5ae08fbd7d861deb1c9a0d8 | f3a95ba09250dd28114b1957576be645ab2399f9 | refs/heads/master | 2021-01-18T02:21:36.000847 | 2016-12-15T14:17:47 | 2016-12-15T14:17:47 | 45,794,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,290 | rd | beep.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/beepr2.R
\name{beep}
\alias{beep}
\title{Play an awesome sound}
\usage{
beep(sound = 1, expr = NULL)
}
\arguments{
\item{sound}{character string or number specifying what sound to be played by
either specifying one of the built in sou... |
e6df97d79a803a94b5ff01972f3d246cbbd8d521 | 547f1edb833a6020777eb83ab6bacbaf3d9799fb | /Neural Network/neuralNetwork.R | f6f5eed7a13c806c9e2d138b60c94fc4045d4365 | [] | no_license | mbaumer09/UCSC-Winter-Masters-Econometrics | 635ef5ba8cab7b9d9f2bc2b21e7470a57b4d09d0 | 93e006321fd720044962d11710b1c8bd5591ed75 | refs/heads/master | 2021-01-10T07:26:34.710928 | 2015-12-21T22:29:22 | 2015-12-21T22:29:22 | 48,151,526 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,911 | r | neuralNetwork.R | # This example will construct a basic decision tree using the rpart package
# to predict whether an individual's income is greater or less than 50k USD
# based on 14 observable predictors
library(caret)
library(nnet)
library(NeuralNetTools)
url.train <- "http://archive.ics.uci.edu/ml/machine-learning-databases/adult... |
a5d1fdf12bc3ff36f4de69d9e7ff71edd07da9d9 | e593603c04404f80498b134ffbd94c92a5666014 | /man/dashboardUI.Rd | b3e445aeca0f0fdbc6c21e3c96d6a073576ec240 | [] | no_license | byadu/modcubqry | 9891dd06966f553b9c458c4d9a9076d582281749 | 72cb65467dc9df774422a6deeb747d4eb67c8eae | refs/heads/master | 2022-11-18T07:17:01.696979 | 2020-07-19T11:12:36 | 2020-07-19T11:12:36 | 280,848,766 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 408 | rd | dashboardUI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dash.R
\name{dashboardUI}
\alias{dashboardUI}
\title{dashboardUI}
\usage{
dashboardUI(id, dashid, dashname, M)
}
\arguments{
\item{id}{is caller id}
\item{dashid}{is the folder id of reports}
\item{dashname}{is the name of the folder}
\ite... |
142f81a7970af4f444c11b82ec4a6eec7bdba8a3 | 86b88b328fb6a008fe72b229ef518f019f8285b3 | /Outliers checking.R | 51fe3a4d82114fff3a7edd99e79101b7d88865f5 | [] | no_license | DanielKhokhlov/Modelling-Housing-Prices-in-R | aee6a8c408b57db7cc6b535fdf93aef05d8c6486 | 00fe5d702d91b24745e9f8eb8c65a2443fa60cd6 | refs/heads/master | 2020-09-16T18:55:05.108508 | 2019-11-25T04:19:27 | 2019-11-25T04:19:27 | 223,859,398 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 926 | r | Outliers checking.R | library(car)
data = read.csv("TamSales8.csv", header = T)
names(data)
# Initial test (basic model)
boxplot(data$SALES) # boxplot looks bad (right skewed data)
model = lm(SALES~LAND+IMP+NBHD, data=data)
outlierTest(model)
# Potential outliers 5, 25, 4
# Potential outliers were not suspicious
# New ln Data
data.1 = da... |
b21388251a44adbe62eb809211a19c89f1d8c44e | 773d610b7eb43bca7c28ee5bcbb2653ac9b77fc7 | /R_Music.R | 0b2599b81d74ec72646d6e91424d689b66b071dd | [] | no_license | damonzon/MEDIUM_Tutorials | 0fa2517511f2756a07503873344b6e3350258950 | 201a267fd0e6a276ee5ea495346bff23da012937 | refs/heads/master | 2021-01-04T21:27:57.391982 | 2020-02-15T18:51:53 | 2020-02-15T18:51:53 | 240,765,393 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 819 | r | R_Music.R | # Let's make music
# https://towardsdatascience.com/compose-and-play-music-in-r-with-the-rmusic-package-b2afa90761ea
library(Rmusic)
mali_pitch <- paste(
"F F G",
"F D F",
"A A Bb",
"A F A",
"C5 C5 C5",
"D5 A C5",
"A A G",
"D A F",
"C5 C5 C5",
"D5 A C5",
"A A G",
"D A F",
"F F F G",
"F D ... |
9bdd1d36a39efe7fac0e0070a5c8e50455c29417 | 9f9c1c69adb6bc2ac097ae368c8ba2f293d01b64 | /man/plot_data.Rd | 461693caf56fdfd831b7b3531d9c6bbd20a1e950 | [] | no_license | izabelabujak/MixSIAR | a8be0e62a1299b6cd365ab0fa9ff315ad8c306f9 | 2b1b2545638fcfaacbcaaa695e2bec436a91806f | refs/heads/master | 2020-08-30T03:45:42.453711 | 2019-08-02T22:02:57 | 2019-08-02T22:02:57 | 218,252,966 | 1 | 0 | null | 2019-10-29T09:43:47 | 2019-10-29T09:43:47 | null | UTF-8 | R | false | true | 1,953 | rd | plot_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_data.R
\name{plot_data}
\alias{plot_data}
\title{Plot biotracer data}
\usage{
plot_data(filename, plot_save_pdf, plot_save_png, mix, source, discr)
}
\arguments{
\item{filename}{name of the plot file(s) to save (e.g. "isospace_plot")}
\... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.