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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1ae900f0ccd22b40f59d0260cfc4a31cf45186e6 | fc60224dd32db5536c7fd3ab65c2bd523393eaba | /man/ndbc_fix.Rd | 504a0fc9d082af01b25512f4cb1dac12bb5fb59c | [] | no_license | evmo/ndbc | a491995a381cf961c5bfd2d6448301b8bc8be5e1 | 240a5b339b7cc93fc4e5462fbd23dc0cfafc3203 | refs/heads/master | 2021-01-19T02:55:20.413150 | 2020-10-25T05:35:56 | 2020-10-25T05:35:56 | 78,153,128 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 286 | rd | ndbc_fix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read.R
\name{ndbc_fix}
\alias{ndbc_fix}
\title{Fix variations in older historical data}
\usage{
ndbc_fix(data)
}
\arguments{
\item{data}{}
}
\value{
}
\description{
Fix variations in older historical data
}
|
db92ec041317d7374b6985bee9debcea4330e116 | 8eb66f70525aad1284cfd5a33ec7a38c06b1955c | /list8/EA_predict.R | 1310fa228f894c3aaba2c70d7d2c665de115dc24 | [] | no_license | iloscnd/data-mining | 09857e4bc1efefbb8341a83504d9fdf024c3ad58 | 1f2a90a4de532cddbd867531cecf357269de693f | refs/heads/master | 2020-04-01T18:41:59.934349 | 2019-02-21T00:16:34 | 2019-02-21T00:16:34 | 153,508,797 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,560 | r | EA_predict.R | library("forecast")
library("TTR")
plotForecastErrors <- function(forecasterrors) {
# make a histogram of the forecast errors:
mybinsize <- IQR(forecasterrors, na.rm=TRUE)/4
mysd <- sd(forecasterrors, na.rm=TRUE)
mymin <- min(forecasterrors, na.rm=TRUE) - mysd*5
mymax <- max(forecasterrors... |
5c4a06d6f6c830bcff634f4f84d925661e5f53c6 | 4a9747c24015dd65a3bf460a62d01109a8058c43 | /R/hhcartr_base_functions.R | ac01b64e4fbdcc35ad7bcee1a9b08c877c6e567e | [] | no_license | cran/hhcartr | 76b301038254e80ed795316949aa9163b686b20c | 55a061c1fe0ce90e8298372f39c40d6e5d8cc1fb | refs/heads/master | 2023-06-07T04:26:11.104290 | 2021-07-02T06:00:08 | 2021-07-02T06:00:08 | 382,391,912 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 12,116 | r | hhcartr_base_functions.R | # source: hhcartr_base_functions.R
#
# Contains functions that are common to all hhcartr models.
# hhcartr models - HHDecisionTree
# - HHRandomForest
# base functions - validate_parameters
# - gini_
# - compute_max_features
# - find_number_valid_feature_colu... |
7e86c75f94e361a508031f2ba0c7981738ce9d82 | 3cea5014d1d3500d3dc6748d438896e08187a518 | /Módulo 1 - Tratamiento de datos en R/Código/1.4. Limpieza y Transformación de Datos.R | b748e6e12d85b2cc74efbf5d2c1c030f9d6de7d1 | [] | no_license | MAchineLearningTrIT/Machine-Learning-programacion-de-algoritmos-en-R-y-Python | ed6dd99c3b120dfd433460fab2bdb04f4146272b | e9e0d9d32d55d7b1e5fab1229eb7a36655f78f6c | refs/heads/master | 2022-04-23T19:57:05.747335 | 2020-04-19T20:14:56 | 2020-04-19T20:14:56 | 257,051,539 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 1,923 | r | 1.4. Limpieza y Transformación de Datos.R | # LIMPIEZA DE DATOS
x <- c(10, 20, NA, 30, NA, 40) # Vector con valores NA (Not availables)
is.na(x) # Esta función permite conocer los valores NA
x[!is.na(x)] # Excluyo los valores NA
mean(x,na.rm=TRUE) # Muchas funciones permiten ignorar los valores NA
# Dataset de ejemplo
data("airquality")
df = airquality
# Can... |
c5541955d7a669de1bd7ad08615c7820058ba02d | 30f69e17253e3ccba7654766f790430a23dfd608 | /R/analyse_gvc_indicators.R | a78a14da5ef3d0e5471eba3b6916d1ca521fc089 | [] | no_license | amrofi/GVCs-LICs | bd535ef059e70bd9e9fc9d20934937e303ffe871 | 47ac9e2ee56854d9163746bef4c7bf6b58d1331d | refs/heads/master | 2020-07-24T21:17:08.647680 | 2017-02-21T08:28:24 | 2017-02-21T08:28:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,345 | r | analyse_gvc_indicators.R | # analyse_gvc_indicators.R
# Bastiaan Quast
# bquast@gmail.com
# load the data
load(file = 'data/new_gvc_indicators.RData')
load(file = 'data/nrca_df.RData')
# load("data/country_vars.RData") # NOT USING THIS ONE, USING COUNTRY_CHARS
load(file = 'data/country_chars.RData')
load(file = 'data/extra_vars.RData')
load(fil... |
a1c5245eab7e7b9deeaf89527cb916916d90dcc2 | aba7e326509430108d36bbdd4840dc3145887f87 | /bin/RScripts/test.R | a5729fa3a561865fe5645065ad7d120b668c1bc8 | [] | no_license | thakurmm/popgen | e202eb68307b2897d534616af30080316169737a | d3a6a468de8987568e391d45b0eb1d6ac9995039 | refs/heads/master | 2020-03-17T02:33:01.801412 | 2018-10-14T18:08:44 | 2018-10-14T18:08:44 | 133,194,358 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 8,421 | r | test.R | source("/home/greg/School/popgen/bin/RScripts/Chr_kmer_InformativeSNPs_Haploid_HMM.R")
start.time <- Sys.time()
### 10 samples / 40 rows with some modifications
# homologous_filename = "/home/greg/School/popgen/data/chr22.phase3.ASW_CEU_YRI.SNPs.homologous_trimmed40rows_10samples.txt"
# all_admixture_filename = "/hom... |
5876a3720cbe6c5db8f3804152135a4d3e09adc0 | 75db3ebe5afac158914d0be184d231dfcfda83c4 | /plot3.R | c42ba6d9ffa2dd246811bf5ce0c92a6a9fd0347b | [] | no_license | kyleppierce/ExData_Plotting1 | 348fef7193f2e4163ca077bbdfab8f97b5bf9aee | d2fefa68b14567bd356d39103cc01b55c7153c60 | refs/heads/master | 2020-12-25T07:24:30.077864 | 2015-09-11T17:16:29 | 2015-09-11T17:16:29 | 42,232,026 | 0 | 0 | null | 2015-09-10T08:22:29 | 2015-09-10T08:22:29 | null | UTF-8 | R | false | false | 1,189 | r | plot3.R | # Download and extract the data file if it does not already exist in the working directory
if (!file.exists("household_power_consumption.txt")) {
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",
"household_power_consumption.zip", method="curl")
... |
72a03af45a0d638643ddc445628ceb1c24aee541 | 8e83d9415e9e4ffe7e9287a4cbe06080905cfcc3 | /R/Rank_Countries.R | 6cda0921e952b8630e8d29eeb711ac32601f0857 | [] | no_license | unimi-dse/c1377f4b | 5fc30dab792f79e14ca197d81ca141cf8df93f3e | fbe7294d5863143c8307b5c071b5a14854dffdca | refs/heads/master | 2020-12-23T20:47:25.710468 | 2020-02-16T22:58:30 | 2020-02-16T22:58:30 | 237,269,820 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 667 | r | Rank_Countries.R | #'Rank_Countries
#'
#'@description The function shows the number of universities for each country.
#'
#'@return plot
#'
#'@export
Rank_Countries <- function() {
library(dplyr)
library(ggplot2)
#create a data frames with the all universities in Ranking and count them by country
RankingCount <- cwur.data %>% g... |
28657005b17ef29210e05a21b3b80ca2dfb3883f | 6cadd782369f62eba18711238587efaa52b9b7b8 | /tableanalysis.R | dda9585a0c0d54f017e15899324c3eb9ffd8a930 | [] | no_license | derekfranks/tableanalysis | db9b16dbd9aa6e220165daa1351811038cf2ff32 | 23e6e9b552443457c7d1adf4f411fd941f40057d | refs/heads/master | 2021-01-19T16:50:33.167591 | 2014-06-04T00:14:24 | 2014-06-04T00:14:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,672 | r | tableanalysis.R | data.analysis <- function(arguments){
}
make.tables <- function(var, segment) {
#create a table where the row is depvar and column is indvar
tab_1 <- table(var, segment)
print(tab_1)
print(round(prop.table(tab_1,2),2))
}
table.analysis <- function(... |
4a37e8f9e1f1137dcf99cd81c7063927162ffc54 | 0f8d1c1435f1417aaf3b01bfdb1fba0a6dce6942 | /man/delete.Rd | 2ec1c6f680a31200eb62343b32b204939d2721e3 | [] | no_license | jburel/rOMERO-gateway | 281711608447c74139096b344bba729dacefd88b | c1f0119675f566b4ae7ab0f91ea65783f5dcd159 | refs/heads/master | 2022-09-26T21:06:34.710460 | 2022-09-07T17:11:38 | 2022-09-07T17:11:38 | 45,210,719 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 290 | rd | delete.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/OMERO.R
\name{delete}
\alias{delete}
\title{Deletes an OME object}
\usage{
delete(omero)
}
\arguments{
\item{omero}{The OME object}
}
\description{
Deletes an OME object
}
\examples{
\dontrun{
delete(object)
}
}
|
ec0d1d4dc256d2dcd598c9d0b4005fa9756c8ab6 | 8b707fe9f766df90ed3020daa4b0b403ef830a83 | /man/reactome.ext_name.Rd | abd3785a2ff7732be31f4e9aae447519a96e5688 | [] | no_license | utnesp/Easy-bioMart | 2899b599ff78ad0dee6f6f9f630af265520a0259 | a8d6f34e7b64bab3f25674da7d48e91ca6f93985 | refs/heads/master | 2021-07-20T14:48:34.759649 | 2021-03-18T12:12:17 | 2021-03-18T12:12:17 | 85,055,811 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 821 | rd | reactome.ext_name.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/easybiomart.R
\name{reactome.ext_name}
\alias{reactome.ext_name}
\alias{reactome.ext_name}
\title{Biomart conversion}
\usage{
reactome.ext_name(ext_name.diff.exp, return.annotated.counts = F, ranks = 0,
biomart = mart, pvalueCutoff = 0.05, ... |
87fe71019b99da717ffd6f3a3ec9401c10209846 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /stream/R/DSD_ReadCSV.R | 2c3411c13df8961e6d9b02adfe5569ab643a624b | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,082 | r | DSD_ReadCSV.R | #######################################################################
# stream - Infrastructure for Data Stream Mining
# Copyright (C) 2013 Michael Hahsler, Matthew Bolanos, John Forrest
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as... |
a1099cfce6b2618ce53ff401290abb53f82d3fe1 | 83810add04e2c27e7c787157a949ddf73b87d14e | /man/dice.Rd | cee1ab2337b66b605f9d737e6b45a9b1afba3911 | [] | no_license | cran/clttools | 021f0d6bcdffd9cfe9d738baebcd1d9580db469f | 1c57ad403228168c8257c0de33f219afc98cc6c3 | refs/heads/master | 2021-01-21T21:48:30.238305 | 2016-02-19T08:49:57 | 2016-02-19T08:49:57 | 41,270,500 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 659 | rd | dice.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/clttools.R
\name{dice}
\alias{dice}
\title{Theoretical Probability Distribution of Rolling Dice}
\usage{
dice(n, prob = NULL)
}
\arguments{
\item{n}{number of trials}
\item{prob}{probability assigned to each possible outco... |
261bf44ca2a10b4286debff76d7133bad9dd4cb0 | e637cebd1ee538624cdbde83146d380f9d266687 | /R/WindNinja/MeshCount/meshCountAnalyzer.R | e89ba404fe30f742151d95a2f3fbb5b68a17d44c | [] | no_license | latwood/fireLabWork | 3809b1c0cfc60a61b764fea6e17d2af8a2354de9 | fe99852e8279fa53bfc512682c433ddcf343b2bc | refs/heads/master | 2021-01-19T16:20:53.764982 | 2018-07-26T05:57:52 | 2018-07-26T05:57:52 | 101,000,951 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,539 | r | meshCountAnalyzer.R | #command to run this program (includes the current file location)
#source('C:\\Users\\latwood\\Documents\\MyDocuments\\Windninja\\meshcount_project\\meshCountAnalyzer.R')
#the 'rm(list = ls())' command deletes everything in the workplace
rm(list=ls())
#IMPORTANT!!!! always call 'rm(list = ls())' before runn... |
405e36bc6be6e3b1dbcc39b10f24b4f9e358eb4e | 102ed19a754cd881c2036f4301398c331818e06c | /STUDENTS-DATA-FRAME-OFFICE-HOURS (2) COMPLETE.R | 0829908186d8438b753de2de6c8f5ef747d3bc72 | [] | no_license | nishkamurthy/My-Projects.github.io | 0bc1cf8857044b70031e673ff6b7ec7f4abe4a1f | 0f1d2a3eee952c440c2194e349ec62a89a3b1950 | refs/heads/master | 2022-12-04T15:45:50.386057 | 2020-08-20T23:54:43 | 2020-08-20T23:54:43 | 281,810,827 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,034 | r | STUDENTS-DATA-FRAME-OFFICE-HOURS (2) COMPLETE.R | #We usually create a data frame with vectors. Create 3 vectors with 2 elements
nm = c("Angela", "Shondra") #Example: Names of patients
ag = c(37, 43) #Add Age of patients\
ins = c(TRUE, TRUE) #Add Insurance - do they have insurance True/False values
#Create a data frame named pat... |
784c1f214ebc510485f0e90344f540d08ec40326 | dda72d9f8b5b08a1f066d9c4188042aaf9dd7596 | /election-analysis-usa.R | dc491d78578c956b4ca182f3b72422170c1f5b9e | [] | no_license | paikalla/bayes-trials | 4ce8055ab35869eb3ab3c7e9c26b4f63096ee16e | f08b96e111aaa217ef3d148ca8c159ecd21ce067 | refs/heads/main | 2023-03-05T07:03:34.116626 | 2021-02-17T13:39:51 | 2021-02-17T13:39:51 | 339,095,663 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,460 | r | election-analysis-usa.R | #install.packages('foreign')
#install.packages('tidyverse')
library(foreign)
library(tidyverse)
library(dplyr)
library(VGAM)
# USA 2008 Presidential Pre-election polling data (STATA dta-file) http://www.stat.columbia.edu/~gelman/book/data/pew_research_center_june_elect_wknd_data.dta
# USA 2008 Presidential Election r... |
00068fc9ffa8a7bcfba50c313cd836d7cc8313ae | b41dc6bf2a4a5c6d5eb1216b2f53c7c4b1857d27 | /nanoR/man/volcanoPlot.Rd | 97ee49bb1c9d3f3bb87d053533dd62c50d0ec624 | [] | no_license | acolajanni/GENEXPRESSO | 1fedb045b5d3322fad00bac8cca53c2b9df817fc | 086c8346faeae3d8dbb17299c01f94d4e4c6c3c5 | refs/heads/main | 2023-08-31T10:03:01.119557 | 2023-08-21T08:13:47 | 2023-08-21T08:13:47 | 368,509,036 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 471 | rd | volcanoPlot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/volcanoPlot.R
\name{volcanoPlot}
\alias{volcanoPlot}
\title{Volcano Plot}
\usage{
volcanoPlot(dge.result, contrast)
}
\arguments{
\item{nano}{The nano object}
\item{groups}{Group information for the columns of the count matrix}
}
\descriptio... |
cbd892b56a7399f7265c81f72dcd3a8e03e0315a | 5450042e2cdca616a2c4b07cdeb8ff41fe534f29 | /man/rsaga.close.gaps.Rd | 222457d9bf27deb26b7de58c4aec4eba471b59e7 | [] | no_license | GertS/RSAGA | 78f4b0aefe2e2deed447452f1600be47139d15dc | e2f6b296c45adcb23c364e32eea3cf1baea59251 | refs/heads/master | 2021-01-16T19:57:34.833107 | 2013-07-23T00:00:00 | 2013-07-23T00:00:00 | 31,158,444 | 1 | 0 | null | 2015-02-22T09:32:46 | 2015-02-22T09:32:45 | null | UTF-8 | R | false | false | 2,248 | rd | rsaga.close.gaps.Rd | \name{rsaga.close.gaps}
\alias{rsaga.close.gaps}
\alias{rsaga.close.one.cell.gaps}
\title{SAGA Modules Close Gaps and Close One Cell Gaps}
\usage{
rsaga.close.gaps(in.dem, out.dem, threshold = 0.1, ...)
rsaga.close.one.cell.gaps(in.dem, out.dem, ...)
}
\arguments{
\item{in.dem}{input: digital elevation... |
151ac0ba5c52b7268a97842d0345d4fe63792df7 | c5de5d072f5099e7f13b94bf2c81975582788459 | /R Extension/RMG/Projects/CollateralAdHoc/ConvertAprimeData.R | 05eb9029aad320d7e527c3767cd05a33f72d4127 | [] | no_license | uhasan1/QLExtension-backup | e125ad6e3f20451dfa593284507c493a6fd66bb8 | 2bea9262841b07c2fb3c3495395e66e66a092035 | refs/heads/master | 2020-05-31T06:08:40.523979 | 2015-03-16T03:09:28 | 2015-03-16T03:09:28 | 190,136,053 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,482 | r | ConvertAprimeData.R | memory.limit( 4095 )
require( reshape )
require( RODBC )
source("H:/user/R/RMG/Projects/CollateralAdHoc/StressFramework.R")
asOfDate = .getAsOfDate()
asOfDate = as.Date("2009-01-02")
aprimeFile = paste( "S:/Risk/Temporary/CollateralAllocation/",
format( asOfDate, "%Y%m%d"), "/SourceData/AllPos_AGMTHScale_p... |
6f310a8dc4c6b8e19ab2112091135378cb055017 | d68f5d00ca28a65ce9d01572199c8971045c188e | /R/utils.R | 914fdbc60711d0e9326db76df4171790e311c33e | [
"MIT"
] | permissive | jjesusfilho/tjsp | 84586aa3d6c6df5d33a9b999fadbefe1a7b548e2 | a95a06813873ae1d2d9eb69765d47e3ebf836bf8 | refs/heads/usp | 2023-08-30T17:11:58.951730 | 2019-09-28T08:02:48 | 2019-09-28T08:02:48 | 84,059,211 | 52 | 22 | NOASSERTION | 2019-09-22T07:16:17 | 2017-03-06T10:17:12 | R | UTF-8 | R | false | false | 127 | r | utils.R | is_defined <- function(sym) {
sym <- deparse(substitute(sym))
env <- parent.frame()
exists(sym, env, inherits = FALSE)
}
|
1cd8c4db9bcbc50af4ee262a4ab2474888c1f227 | b14ac1f5eafc0c7ab16d369c74d042fa77952534 | /make_local_repo.R | 11b9bd08ffc34c0e9052aab35c383c02085784dd | [
"MIT"
] | permissive | shinichinamba/R-package-installer | e823940a59ec6e8f7be56b6b9cddd6c0ff0f483d | 3f8f5e32a594f5b73cd66e8f78552c9f8c1c3356 | refs/heads/master | 2023-03-22T16:41:41.370517 | 2021-01-06T06:14:37 | 2021-01-06T06:14:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,707 | r | make_local_repo.R | #!/usr/bin/env Rscript
if (!requireNamespace("optparse", quietly = TRUE)) install.packages("optparse")
suppressPackageStartupMessages(library(optparse))
opts_list <- list(
make_option(c("-q", "--quiet"),
action = "store_true",
default = FALSE,
help = "Print little output")... |
a645786bd77fbf71d5a5d6bdaf1be59b98bd9b0d | fdcd0b34d9980a5f080048a1bcc0b56b13df5e7f | /3Stock Price Processing.R | 19bb8efd258507ea997117cfdbb6e716de2486fe | [] | no_license | sidayang/Stock-Performance-Forecasting-with-Decision-Tree | e382f91f02b8c5059f03581883f8fc03dcccb035 | 9796fe599194fddd79f2c0d2b75d3c3e4a2b6475 | refs/heads/master | 2020-03-19T12:54:26.468096 | 2018-06-08T01:16:09 | 2018-06-08T01:16:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,669 | r | 3Stock Price Processing.R | rm(list=ls(all=TRUE))
if (!require(Rlab)) install.packages('Rlab')
library(Rlab)
#Set winrate####
startdate <- "2015-01-01"
enddate <- "2015-12-31"
setwinrate <- 0.5
#Read the data####
index <- read.csv("/Users/ystar/Desktop/backup/index.csv")
index[,"date"] <- as.Date(index[,"date"])
index <- subset(index, index$in... |
33c54244b371483f613eb721e36cef2ce8833541 | 794ba46c97e3a67ea7d64a7d1978a9b878018fa1 | /ui.R | 479f3c7ec432f3b3ec09c1e2aec67016edd8d02a | [] | no_license | dpr5177/Rejections-Regions | 1a9df6f72de5223f2baff0d7be4ac2a708c20b73 | 2708e46fe0518190496aaef25fc09725be3d3525 | refs/heads/master | 2021-01-22T04:10:54.049815 | 2017-05-25T20:12:51 | 2017-05-25T20:12:51 | 92,440,279 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,570 | r | ui.R |
library(shiny)
library(shinydashboard)
dashboardPage(skin="blue",
#Title
dashboardHeader(title="Rejection Regions",titleWidth=450),
#Sidebar
dashboardSidebar(
width = 260,
sidebarMenu(
... |
d7a2715467e2cdb43436817ff04286d599a4e0a2 | a89f86b52a65e02b80a464adbbc476f650b6e9d7 | /man/getFolds.Rd | 87df4c6a904c9322a1f814ecad6d52ccb359c592 | [] | no_license | michaelzxu/deepforest | 54150fa758df8fe78178fbf046fd2169df3cd768 | 5833ccbf75317f3e33aff65fb29767f744e8bd31 | refs/heads/master | 2021-01-23T01:18:08.335305 | 2017-05-01T01:51:23 | 2017-05-01T01:51:23 | 85,896,834 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 317 | rd | getFolds.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/deepforest_utils.R
\name{getFolds}
\alias{getFolds}
\title{Get n-folds}
\usage{
getFolds(y, nfold = 5, recycle = FALSE, list = TRUE)
}
\description{
Shamelessly taken from \code{\link{caret::createFolds}}
https://topepo.github.io/caret/
}
|
199a2ab39c32693adb54acde0fc8b12268141e73 | 990e73495105153b48f69b3ba067d0b217dae2ad | /Code/htmlStrip.R | e456a94be206356aa62e928b77768e3db2ada6ca | [] | no_license | JH27/inst737 | c0b140d3d94063c80fcb2f45f23a022d982f0fb8 | f8ceaec1fd580439c9fa2192bcf120fedbeafd02 | refs/heads/master | 2021-05-05T10:43:33.961119 | 2017-12-15T05:14:19 | 2017-12-15T05:14:19 | 104,408,639 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,184 | r | htmlStrip.R | # First install the library
install.packages(tm.plugin.webmining)
# Then load the library
library(tm.plugin.webmining)
# While loading, the library might throw an error. If it does, you most likely have to
# update your verion of java on your computer/or install the 64bits version of java in case you have
# the 32bi... |
52bd8da36d62e7b79ab9113d7fab55e343ef7538 | b134222e604d1220467993d91baf56925fffd6e7 | /man/partition_by_snp.Rd | 30e5daf538409a61bea797bc75d323bbdf1857f1 | [
"MIT"
] | permissive | welch16/UWCCC.GWAS | 976d1fd722cea31d415f2a61bb766f099d9bc9c4 | 9ffc05b3f65df58e21c6ba6d2f10291c4fbcdcb6 | refs/heads/main | 2023-07-16T13:30:35.362370 | 2021-09-01T01:18:17 | 2021-09-01T01:18:17 | 298,447,389 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 832 | rd | partition_by_snp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/partition_loci.R
\name{partition_by_snp}
\alias{partition_by_snp}
\title{Separates a \code{tibble} with the summary statistics of a GWAS experiment with
columns id, pos, and p (snp id, snp position, and p.value)}
\usage{
partition_by_snp(data... |
4afbaeba9f179cb9b582e1e16b32cd25e7e4f7a8 | 12ae74bd0ba9d5494d7301b521b45d1bfa5ff84a | /man/set_CRAN_mirror.Rd | 5fd7d52537994c63d7dc10f40c60765d21a55ba5 | [] | no_license | cran/do | 62b609a0f0cc0f0c0cc879adb821b1d9d95b6632 | fa0d7c8f9799326ffa6f0763f490c2873597131b | refs/heads/master | 2021-08-15T11:59:00.793187 | 2021-08-03T10:40:02 | 2021-08-03T10:40:02 | 206,034,685 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 284 | rd | set_CRAN_mirror.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mirror.R
\name{set_CRAN_mirror}
\alias{set_CRAN_mirror}
\title{set CRAN mirror}
\usage{
set_CRAN_mirror(url)
}
\arguments{
\item{url}{mirror url}
}
\value{
set CRAN mirror
}
\description{
set CRAN mirror
}
|
69f25a3cec14bf643dfb71f60a39a59e051dbe7a | c1ecfc09c31b9ce336ea140b56e1b61f7ec9157a | /R/scanr.R | 026552b771ce7b1d7e8a41f2a19e0a7d097c8023 | [] | no_license | fmichonneau/scanr | ce5360f1861e247e367c3f70a4071910927c0c78 | a8690b70f431fc75def4c4ce0d3168329974b295 | refs/heads/master | 2021-01-23T14:12:31.174872 | 2017-06-03T14:29:01 | 2017-06-03T14:29:01 | 93,246,218 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,414 | r | scanr.R | ##' Returns the functions for each file in
##' @title Scan your scripts folders for the functions you are looking
##' for
##' @param pattern a regular expression that matches what you are
##' looking for
##' @param path where to look for your R files
##' @param file_extension the extension for your R files (or ... |
cd359d3561169cc6830c01f1e4748b2fa3345485 | 68647fcc5546a5b2991584ecf8d49dcb5fa0d25e | /R/AOfamiliesv3.R | 24010028b7f08f9bb57beb98d9f5024b9a86735f | [] | no_license | cran/AOfamilies | 9c0cf710e0ac197996e1b7aeba38671a5a6860e4 | 14544457bfe8d20b60e276f45f3da91a7ed82e09 | refs/heads/master | 2021-01-13T01:49:28.019107 | 2014-01-20T00:00:00 | 2014-01-20T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 34,517 | r | AOfamiliesv3.R | ### GLM part
## define the AO transformations (symmetric and asymmetric)
ao.sym <- function(phi, verbose = FALSE)
{
## parameter processing
if(verbose && phi < 0)
warning("sign of phi ignored as ao1(phi) = ao1(-phi)")
#phi <- abs(phi)
phi <- phi [phi >= 0] # positive values for ao.sym
if(phi == ... |
afc5ffac99923f74f535c132abfe3a612af4e2bd | 82256676fd6b857b7a9fd54ab339d390c1364ab0 | /R/h2o-package/man/toupper.Rd | 052b3ba1d9c26f14da095c406ef7cfe5cbc2fde1 | [
"Apache-2.0"
] | permissive | ivanliu1989/h2o | 8d0def46c070e78718ba13761f20ef2187545543 | e00b367df0a33c400ae33bc869a236f254f625ed | refs/heads/master | 2023-04-27T20:40:16.666618 | 2014-10-23T02:12:36 | 2014-10-23T02:12:36 | 25,618,199 | 0 | 0 | Apache-2.0 | 2023-04-15T23:24:35 | 2014-10-23T03:49:40 | null | UTF-8 | R | false | false | 360 | rd | toupper.Rd | \name{toupper}
\alias{toupper}
\title{Change the elements of a character vector to lower case}
\description{ \code{toupper}, a method for the \code{\link{toupper}} base method. }
\usage{ toupper(x) }
\arguments{
\item{x}{An \code{\linkS4class{H2OParsedData}} object with a single factor column or an R data frame.}
}... |
dacefd25556e11c25a034b60fd44cf85014781b9 | 38c16978738ffac95bfcf1e78fcb243fc4195305 | /man/create_P_matrix.Rd | e94782f26974b8d4a1feb8832db924d3fd99d57c | [] | no_license | ebenmichael/balancer | ca3e2f733c52450d8e7b5b1a4ebd0d182713d4eb | 55173367e2c91f1a3ce47070f8430c6686a049bd | refs/heads/master | 2023-07-10T20:52:54.547666 | 2023-06-20T14:40:01 | 2023-06-20T14:40:01 | 129,783,286 | 7 | 3 | null | 2023-05-16T19:21:44 | 2018-04-16T17:47:11 | R | UTF-8 | R | false | true | 439 | rd | create_P_matrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/standardize.R
\name{create_P_matrix}
\alias{create_P_matrix}
\title{Create the P matrix for an QP that solves min_x 0.5 * x'Px + q'x}
\usage{
create_P_matrix(n, aux_dim)
}
\arguments{
\item{X}{n x d matrix of covariates}
\item{Z}{Vector of g... |
3376eccafd1c4d8c39bc726456d9436d014216df | 3c74005b8e24b3621274f18fe2c45da56a7ebc89 | /Prediction of Graduate Admission Acceptance.R | ad16381f3df442c0e9402f6a7c408ef64582574e | [] | no_license | purplepatch-everyday/Projects_in_R | 36355bb07a0c79fefc9497f699c4699568b65a52 | 2554e70e7a4712cba809fc9066c3d334c47db17b | refs/heads/main | 2023-07-26T00:40:57.097070 | 2021-09-08T04:06:30 | 2021-09-08T04:06:30 | 390,327,400 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,252 | r | Prediction of Graduate Admission Acceptance.R | # 대학원 입시 데이터를 활용한 합격류 예측
data <- read.csv("university.csv", header = TRUE)
head(data,3)
str(data)
# 결측치 확인
sum(is.na(data))
# 유니크 값 확인
# 대략적인 값의 분포 확인 가능
unique(data$GRE.Score)
unique(data$TOEFL.Score)
unique(data$University.Rating)
unique(data$SOP)
unique(data$LOR)
unique(data$Research)
# 제일 중요한것은 taget값 확인
uni... |
bb936b8645673757d341d574eec904e0045fc3d8 | aeb58f5f6f35bfe2eae165cd6400b512510e9859 | /Plot 5.R | 06a625b1869a30b177a630588efc0217bc8b00eb | [] | no_license | jrmilks74/Exploratory_Data_Analysis_project_2 | 99bd5cfda9211357dbae14189771bedcd5936133 | 063686cf4f6783ec10412e5868ffb02c4c9b33e0 | refs/heads/main | 2023-02-03T20:08:20.116143 | 2020-12-21T00:21:21 | 2020-12-21T00:21:21 | 323,128,681 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 702 | r | Plot 5.R | setwd("~/Desktop/Data_science/Exploratory Data Analysis Week 4 project")
library(ggplot2)
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
names(NEI)
names(SCC)
PM2.5 <- merge(NEI, SCC, by = "SCC")
vehicles <- subset(PM2.5, PM2.5$type =="ON-ROAD" & fips == "24510")
vehicles.sum <- ... |
7be50dc99e5568a10deb64a4e6ef19b7d01ee88e | c924b68bf4d6af6d570558af1c5925795a3ae814 | /engraver/man/set_names.Rd | 8cb9752c97770262643d724f97325cc27fec1f42 | [] | no_license | igrave/engraver | d6cf83cc697fb8d983e89b9858208637d1285d33 | 0f4ba27f29bf9a806b7a516abedf51dc85c04a0a | refs/heads/master | 2020-03-20T01:31:48.705603 | 2018-12-14T11:45:45 | 2018-12-14T11:45:45 | 137,079,083 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 272 | rd | set_names.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/xmlFunctions.R
\name{set_names}
\alias{set_names}
\title{Title}
\usage{
set_names(xml, names)
}
\arguments{
\item{xml}{object}
\item{names}{new names}
}
\value{
Nothing
}
\description{
Title
}
|
21ae20e0b7588df238211b8c33af4b6dbca0eb9d | abf3967d9b20c9ca3719911e1558920f670e0688 | /cachematrix.R | 1630b2822716f553096d663ac66f08f328c1900b | [] | no_license | ariadniCH/ProgrammingAssignment2 | 52f784d407c460b8f8495de7ec4c6f56029aa0bf | 1f48f173792224653418e4d4e7afc10b3aedba3e | refs/heads/master | 2021-01-19T20:33:40.927506 | 2017-04-17T15:19:22 | 2017-04-17T15:19:22 | 88,519,379 | 0 | 0 | null | 2017-04-17T15:01:39 | 2017-04-17T15:01:39 | null | UTF-8 | R | false | false | 976 | r | cachematrix.R | ## The first function makeCacheMatrix essentially caches both the original and the inverted matrix
# wheareas the second function cacheSolve checks if the matrix's inverse has been cached and if not it calculates its inverse
## makeCacheMatrix caches both and the original and the inverted matrix
makeCacheMatrix <- ... |
5a4c1522506362c2fe6affdd1c57bb3f5c67da42 | aca8ce5a83444bc99420584246371f247059a2ed | /man/slice.tree.Rd | 888e8de359275c4de68bf9c6d0f3fd38a2aebb7a | [] | no_license | dwbapst/dispRity | c4bddd0c95350781a5b996d9748d0385d6584035 | e7c317cb043ac5e9704fb9bf35bc09d57355b4dd | refs/heads/master | 2021-07-14T06:51:14.944904 | 2017-10-20T14:39:09 | 2017-10-20T14:39:09 | 107,689,056 | 0 | 0 | null | 2017-10-20T14:37:10 | 2017-10-20T14:37:10 | null | UTF-8 | R | false | true | 1,093 | rd | slice.tree.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/slice.tree.R
\name{slice.tree}
\alias{slice.tree}
\title{Time slicing a tree.}
\usage{
slice.tree(tree, age, model, FAD, LAD)
}
\arguments{
\item{tree}{A \code{phylo} object with a \code{root.time} element.}
\item{age}{A single \code{numeric... |
2ec78ec6354ff5520d9f2b0f028a550635e60656 | b56dea76b16f100e3f6a34f704e80a749f909aed | /make_plot.R | 594d8decb6dadc0e6d90e8a843e28beab70b30df | [] | no_license | xnie/adr | cdfd057a6d7ab05953d4b5952afde5d94e39bba5 | e848a4327f35dab78b4abc4e9c385f39f556850e | refs/heads/master | 2022-10-25T03:41:55.248082 | 2020-06-13T20:18:17 | 2020-06-13T20:18:17 | 260,052,856 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,954 | r | make_plot.R | rm(list=ls())
library(tidyverse)
library(RColorBrewer)
library(latex2exp)
library(grid)
library(tidyr)
library(dplyr)
pal = brewer.pal(n = 8, name = "Dark2")
plotsize = function(x,y) options(repr.plot.width=x, repr.plot.height=y)
plotsize(8,15)
make_regret_plot = function(data, fnm) {
df = data%>%
select(n... |
8558c0e7bde0f8c848cd537626b404df6f4e246f | cd1090c8c6ee59b5f2ef6a197e775a5a50d52fdd | /sa_pipeline.R | b62489c71e2836464c64060e7083a735ee0bb9b6 | [
"MIT"
] | permissive | adrianclo/phenotyper | d659f38e538501abfd2e26b7fbba5f8972dffb06 | 0292a943177c1df7ef3a9920b379fe51f24d39bf | refs/heads/master | 2023-04-16T02:53:15.185435 | 2023-01-22T10:47:17 | 2023-01-22T10:47:17 | 195,074,465 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 289 | r | sa_pipeline.R | source("sa_functions.R")
# INITIAL PIPELINE----------------------------------------------------
# FILL IN DATA DIRECTORY
data_dir <- "ADD/HERE/YOUR/DIRECTORY"
# ml <- readRDS(paste0(data_dir, ".RDS")) # if ml already saved in .RDS format
ml <- import_raw_cw(data_dir = data_dir, zip = F) |
9de2c5bcbd14eb1297c7d5b5a5617c969d6f41fe | f4268a1c8be6a274cbc8810800b848ce4538816a | /data_kiwi/main_clust.r | 08d3cdaf536fca92b4753e86a9b4b23d0c709a06 | [] | no_license | Chloe-bmnt/Stage_M2 | 1e56c9247069ecff3a1c6c1e836ec5d9665d7223 | 39a55d1a5a7f12c62da00fb39f529902cf1f7008 | refs/heads/master | 2023-05-13T18:04:06.562263 | 2021-06-03T11:39:38 | 2021-06-03T11:39:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,082 | r | main_clust.r | library(getopt,quietly=TRUE, warn.conflicts=FALSE)
args <- commandArgs(trailingOnly=TRUE)
spec <- matrix(c(
"mainFile","f",1, "character",
"weightFile","w",1, "character",
"finalFile","a",1,"character",
"nCPU","n",1,"numeric"),
byrow=TRUE, ncol=4)
opt <- getopt(spec)
print(opt$workDir)
setwd("./")
source("../... |
8f1c151312bbc4423081d1c49f24a1597ebddc34 | cb61b810460b061c78de4c00e5d0e6457cecc025 | /R/computePOD.R | 5171dc79390bdbebd6b030df381c1fc6339529b3 | [] | no_license | cran/POD | 81305ccfe8e0bfbd2795054968418b41f5bcec01 | 967173c315395ab69853ff4f87a880f880ec6f8a | refs/heads/master | 2021-07-15T00:22:24.966094 | 2020-06-30T07:40:07 | 2020-06-30T07:40:07 | 169,495,453 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,012 | r | computePOD.R | #' @title Compute the Probability Of Detection (POD)
#'
#' @description Compute the Probability Of Detection (POD) in qualitative PCR experiments carried out by a single laboratory.
#'
#' @param x Nominal DNA concentrations (numeric vector)
#' @param lambda The fraction of detected DNA fragments (numeric scalar)
#' @pa... |
f299820e758e2184079276b8e23fbbb9494a9454 | cc28e068e96b5d85079bae9afa2f445d3fd65b22 | /src/_evaluation/evaluate.R | 3180f936d55b16737c7f3b90e71e835c7df1d722 | [] | no_license | mayrop/thesis | 652867f0493ffa52a52f835bd6907767642575bc | a609b4e71e3ae7a8e20ae133f805095c4c55727b | refs/heads/master | 2020-05-25T17:21:51.642376 | 2019-11-02T01:19:06 | 2019-11-02T01:19:06 | 187,906,763 | 2 | 0 | null | 2019-11-02T01:19:09 | 2019-05-21T20:13:23 | R | UTF-8 | R | false | false | 1,982 | r | evaluate.R | # Get the metrics for the 3 algorithms
for (algorithm in c("glm", "svm", "rf")) {
# train data
my_results[["train"]][[algorithm]] <- c(
name = config$algorithms[[algorithm]],
my_models[[algorithm]]$results
)
# test data
my_results[["test"]][[algorithm]] <- c(
name = config$algorithms[[algorithm]... |
a71412a2d0539461ea6d36959c1f2774be709999 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/DQBF-TRACK-2018/E1+A1/Experiments/tentrup_pec_multiplier_3_2/tentrup_pec_multiplier_3_2.R | 69545584bca4df255b392b10e0a5ea218474775a | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 700 | r | tentrup_pec_multiplier_3_2.R | c DCNF-Autarky [version 0.0.1].
c Copyright (c) 2018-2019 Swansea University.
c
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 1324
c
c Performing A1-Autarky iteration.
c Running Lingeling ...
c
c Remaining clauses count after A-Reduction: 1324
c
c Input Parameter (command line, fil... |
007a78f3cd4fed968877188aafbf789db2b9e909 | b1e3070bb70ab9f831ee05259f36066a553af095 | /cachematrix.R | 6122848629c0bf7ea08747c13d4a0a41b62f99db | [] | no_license | mloxton/ProgrammingAssignment2 | 8a092ce785ed012e32d06d8bbed8c499f65b80d7 | 80554cf813dbdca104964c89ef6eeb365280b991 | refs/heads/master | 2020-12-24T22:30:11.052879 | 2015-03-03T14:12:21 | 2015-03-03T14:12:21 | 31,554,806 | 0 | 0 | null | 2015-03-02T18:06:46 | 2015-03-02T18:06:45 | null | UTF-8 | R | false | false | 979 | r | cachematrix.R | ## The two functions together receive a matrix and perform a matrix inversion
## If the matrix cannot be inverted, the function stops with a warning.
## The <<- operator is used in case the inversion has already been done
## This function builds the recipient matrix structure, and tests to see
## if it has been done b... |
d1406ba7e8f25b475f0fc3e4735f682101702a75 | bd52b68e4cf28e04d499b186cf66ea56e7e1a012 | /HW11/Q6.R | 528c95e5c7af68dc82873d5eecec3c4cfd341c78 | [] | no_license | arakhsha/DA_Spring_2018_HWs | ac96ea0b434f0fcb686b46e5edfe8f35688b5db0 | 551f511671bc80ebd76a532076d121b7ff92f24d | refs/heads/master | 2020-03-23T10:59:07.836458 | 2018-07-20T15:07:00 | 2018-07-20T15:07:00 | 141,474,942 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 221 | r | Q6.R | # library(h2o)
# h2o.init()
model = h2o.glm(
x = c('LONGITUDE', 'LATITUDE', 'FOCAL_DEPTH', 'EQ_PRIMARY'),
y = 'TOTAL_DEATHS',
family = 'poisson',
training_frame = as.h2o(disaster),
nfolds = 5)
summary(model) |
d06e03fa46e294af443e41cd51012597b9ad0c1d | 5319f346e19fc12c1bc76076f542d4c1c1088eff | /Plot2.R | 6be1e8676272154839b3e196d15268de0f97ac87 | [] | no_license | SuhasKamath1991/Exploratory-Data-Analysis-Week-1-Project | dc1885e1dce437ad89e3b74551b4e5300ca07747 | 738a3966d7114e6a8450fc9bc75aad30edfc8b62 | refs/heads/master | 2021-08-10T12:59:15.259791 | 2017-11-12T15:47:14 | 2017-11-12T15:47:14 | 110,436,014 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 624 | r | Plot2.R | data <- "./household_power_consumption.txt"
fulldata <- read.csv(data, header=T, sep=';', na.strings="?", stringsAsFactors=F)
datetime <- strptime(paste(fulldata$Date, fulldata$Time, sep=" "), "%d/%m/%Y %H:%M:%S")
fulldata <- cbind(fulldata, datetime)
fulldata$Date <- as.Date(fulldata$Date, format = "%d/%m/%Y")
fu... |
d3ce4d0520f45ace47d28287fd87247abb86b88d | 50fa7861b6ced4e0b0ddadda35abb94d09342866 | /EDA_Project2/Q5 Baltimore Motor Vehicle Emission Trends.R | 034386d47d4e9463d8b47b15a69971219083ecb4 | [] | no_license | tribetect/ExData_Plotting2 | 1ba55ae7654e6f8ee169de5df5ab115861b0d81f | 09cc5b15263004f54f9234e44e4d4f32d687312c | refs/heads/master | 2016-09-06T12:58:08.434116 | 2015-06-14T21:43:13 | 2015-06-14T21:43:13 | 37,047,433 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,708 | r | Q5 Baltimore Motor Vehicle Emission Trends.R | #EDA Project 2 Question 5
#----------------------------------------------------------------------------
#
# How have emissions from motor vehicle sources changed
# from 1999-2008 in Baltimore City?
# fips == "24510"
#----------------------------------------------------------------------------
#Pre-flight chec... |
cb7e0c887077f19406aeeb471da9e84d8839876f | 321ee9cd23aa55d54a656f6926fd4a489ded1ffa | /09_Database.R | 03f85fc8cbd2632de50c44b976732bed43dce3ac | [] | no_license | shayan-taheri/statistics | 4b9f93404eff6721290d2e37a869fe96c4a205a5 | 1c669250d99a9ebcfa3293d62476bc9d7e43a7ba | refs/heads/master | 2020-05-16T17:56:13.481613 | 2013-12-16T00:36:16 | 2013-12-16T00:36:16 | 183,210,432 | 0 | 1 | null | 2019-04-24T10:57:18 | 2019-04-24T10:57:18 | null | UTF-8 | R | false | false | 198 | r | 09_Database.R | library(RODBC)
dbhandle <- odbcDriverConnect('driver={SQL Server};server=localhost;database=mip_portal;trusted_connection=true')
res <- sqlQuery(dbhandle, 'select * from information_schema.tables')
|
c93f00f21221fba60bb049752a5b8015ab8e282c | 1165412544f687e4eb94abd5a02b6cc636f2b738 | /man/Zplot.Rd | 852b21db2d48e100ba116e661395c5e4eb0850f9 | [] | no_license | mpierrejean/c3co | e70258299a8df79d648cb3e9f021a808b11dacc7 | 08bd5d936327753c30eebcc3cb9616bb0747e6db | refs/heads/master | 2020-05-24T09:56:25.917358 | 2017-03-13T15:42:43 | 2017-03-13T15:42:43 | 84,845,185 | 0 | 0 | null | 2017-03-13T15:49:22 | 2017-03-13T15:49:22 | null | UTF-8 | R | false | true | 429 | rd | Zplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotFunctions.R
\name{Zplot}
\alias{Zplot}
\title{Function to plot Latent profiles}
\usage{
Zplot(df, ylab, ylim = c(0, 4))
}
\arguments{
\item{df}{data.frame object output from \code{createZdf}}
\item{ylab}{Label of y-axis}
\item{ylim}{def... |
788e9fb327e98d8773292a3948ccb2cba8b01785 | 780badc25c7cf0825bbe92259437c3a95b4730e4 | /run_analysis.R | 94b899c9115463ab96b433c78a268d919fdf279d | [] | no_license | LSedman/Getting-and-cleaning-data | c820d0d3972012419172e86138a51a02d7bfd152 | f52b05479f1e8db07a341c79f19bbd34f75f627a | refs/heads/master | 2020-03-29T17:28:48.685001 | 2014-05-23T21:48:37 | 2014-05-23T21:48:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,892 | r | run_analysis.R | url <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
# check if folder or zip file for dataset exists and download and unzip zip file if necessary
if (!file.exists("UCI HAR Dataset") & !file.exists("getdata_projectfiles_UCI HAR Dataset.zip")) {
download.file(url, des... |
f069eb0e881e58844248fe894150db29a795daeb | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ergm/examples/g4.Rd.R | 7cf6fecea77f3d6af1f3f27143c6021a3a606e11 | [] | 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 | 271 | r | g4.Rd.R | library(ergm)
### Name: g4
### Title: Goodreau's four node network as a "network" object
### Aliases: g4
### Keywords: datasets
### ** Examples
data(g4)
summary(ergm(g4 ~ odegree(3), estimate="MPLE"))
summary(ergm(g4 ~ odegree(3), control=control.ergm(init=0)))
|
4050f7c0a042ae882c5bfce618186d5135abda0f | 57c81c8f14cfec0de37480972b62781d09bb917d | /plot4.R | 68ff94a0a483f36d7c5405d52cf52d1ece6161db | [] | no_license | DeathTruck/ExData_Plotting1 | 0245dd4d28079242ee76dba5172fdcd958a34236 | 7c99278f43d72f16893109e6af0a646180e53590 | refs/heads/master | 2021-01-11T03:33:07.837623 | 2016-10-16T05:51:50 | 2016-10-16T05:51:50 | 71,020,368 | 0 | 0 | null | 2016-10-15T23:54:58 | 2016-10-15T23:54:58 | null | UTF-8 | R | false | false | 2,409 | r | plot4.R | # This R code reads in data from UCI data archive on power consumption
# The code then subsets the data, slightly cleans it, and plots a
# time series, Global active Power, 3 sub_meterings, Voltage, and global
# reactive power in 4 panels
# Code written by Nik Buenning 10/15/2016
# Set working directory (this will ne... |
54a70720cb8e1bf8391799a156bfe809d4ce20ea | 28b7aadb62e9c3dc45cfa6cec6a30bfc20baf5d1 | /man/maPermMerge.Rd | d0967caa747d8a8bbe957ad4b93fe0fb8c3e507d | [
"MIT"
] | permissive | jeffbhasin/methylaction | 7aa2d6835fbcab9851654e9664bea09e0442c8dd | d98ce2757b85e1fc8ec8ec891bb93b35feff519d | refs/heads/master | 2021-01-18T23:06:44.970958 | 2016-07-20T19:31:19 | 2016-07-20T19:31:19 | 32,554,873 | 5 | 5 | MIT | 2020-05-31T20:01:36 | 2015-03-20T01:04:40 | R | UTF-8 | R | false | false | 788 | rd | maPermMerge.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/perms.r
\name{maPermMerge}
\alias{maPermMerge}
\title{Merge permutations generated and saved by maPerm()}
\usage{
maPermMerge(dir = ".")
}
\arguments{
\item{dir}{Directory containing RData files saved by maPerm() where save was equal ... |
684e11e6cbfa4b2d945b86f24fe14c76c92b7435 | 828f885e708e688126547cedbf41644a00662579 | /_TEMPLATE BLANK R SCRIPT.R | 631a80c19305bb18f3bca3c22e0398abbc54a06a | [] | no_license | ElrondHubbard/squibbs | 5b41d62d2ca1586dedac2247d67dd93c8f56d881 | 063a8fef5bc14d96f880ed17285b4218714e51a7 | refs/heads/master | 2021-01-19T19:21:39.847693 | 2018-12-12T04:12:19 | 2018-12-12T04:12:19 | 83,724,465 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 891 | r | _TEMPLATE BLANK R SCRIPT.R | # TEMPLATE add brief notes here
# TEMPALTE add brief notes here
# Load libraries
install.packages(c("dplyr" , "reshape2", "tidyr", "tidyverse", "knitr", "purrr", "stringdist", "RODBC", "tools", "editData"))
library(dplyr)
library(reshape2)
library(tidyr)
library(tidyverse)
library(knitr)
library(purrr)
li... |
f4c32a4f2542e9a3f2a9720fbefb9de50e162604 | 56b87244b365a26819e7cabcbd39406148e87db6 | /tests/testthat/test-bin.R | 074b6b28163b505992ad3f51b9fe50f2375fd9ad | [] | no_license | d-callan/plot.data | fd5c6a54a5eb6f186f29d6a910e095508f3f8533 | eed0ab2dcde88a4a399cc51ebe8135be5fff811d | refs/heads/master | 2023-02-21T00:08:19.135764 | 2021-01-26T15:16:39 | 2021-01-26T15:16:39 | 288,548,043 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,365 | r | test-bin.R | context('bin')
test_that("binProportion() returns an appropriately sized data.table", {
dt <- binProportion(data.xy,'y', binWidth=.1)
expect_is(dt, 'data.table')
expect_equal(nrow(dt),1)
expect_equal(names(dt), c('binLabel', 'binStart', 'value'))
dt <- binProportion(data.xy, 'y','group', binWidth=.1)
expe... |
90a584965697e0aeba6ee770e6cd85b104aae156 | 088f3ce1026a0b7066bf3cc5bd0ea644bcca7ae9 | /jhu-scraper.R | a632594d138c5538dc83bf01748864aa1ab3e5b5 | [] | no_license | dlm1223/covid-model | 7474d99eded7ce135324e3ae7be9c95c8de98d17 | 765e4376990c2533393559da8e9500b9848ac993 | refs/heads/master | 2022-04-24T00:31:10.961030 | 2020-04-25T03:45:55 | 2020-04-25T03:45:55 | 258,650,717 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,850 | r | jhu-scraper.R | #run this to get updated data. then run 1-organize-data.R, then 2-model-fitting.
library(data.table)
library(plyr)
library(dplyr)
library(reshape2)
wd<-""
##READING IN DATA FROM JHU GITHUB AND RESHAPE WIDE TO LONG
recoveries_time_series<-read.csv("https://raw.github.com/CSSEGISandData/COVID-19/master/csse_covid_19_d... |
268d062f8fcbafbdc06bcc4f807ef1e2b7381194 | f09a810505fe2ffde1fa2b8831ab12f7a32ff563 | /R/on.off.R | 23a563fc94955f694f1ce8360e1a6c14d8780897 | [] | no_license | cran/activpalProcessing | 6e33fe1d1da88448b559f223e5420934f7d75bd8 | e644678422294d27a74bb062deb07d266919605d | refs/heads/master | 2021-01-10T13:17:33.190479 | 2016-12-14T07:13:15 | 2016-12-14T07:13:15 | 50,388,342 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,772 | r | on.off.R | on.off <-
function(directory=directory,id,visit,name.of.log.on.off,data)
{
on.off.log <- read.csv(paste(directory,name.of.log.on.off,".csv",sep=""))
on.off.log$id <- as.character(on.off.log$id)
on.off.log <- on.off.log[on.off.log$id==id& on.off.log$visit==visit,]
on.off.log$date.on <- paste(on.off.log$date.on.... |
5265439644309a42220ba518d4cc3d1868fd320f | 1d5e1e4d326eeb42542f15cce34239598368c21f | /ui.R | 6b11ce5cc56966dbb63563b3f6bd28ac0bfadcd3 | [
"MIT"
] | permissive | hly89/PatientNet | 52002606576d1a0d904ec5c5a626911b3eb67d1a | b937535a17bbeba571b4a93b376ae03a27490607 | refs/heads/master | 2021-06-04T10:53:24.178662 | 2021-04-05T19:59:17 | 2021-04-05T19:59:17 | 95,745,639 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,839 | r | ui.R | .libPaths("/home/shiny/libs")
library(openxlsx)
library(visNetwork)
library(igraph)
library(shiny)
library(shinydashboard)
library(shinyBS)
library(shinyjs)
#load("Zaman.27.12.rda")
# source("NetworkPipeline.R")
source("./Rsource/SwitchButton.R")
shinyUI(dashboardPage(
dashboardHeader(title = "PatientNet",
... |
b9e10b81c76a3c26836dbdf0e89c8dd754ba7006 | df37f20429d902b39b6aa812f7c1ac4fefbd7eb3 | /R/03_baseline_characteristics.R | b6f599775231e26eb944d17c4bdd1c9c2e6ca890 | [
"MIT"
] | permissive | yoffeash/asthmacardiac | fbe342a64963f130d0f6b2d1356e560c1ffe20c1 | 99ba0076b105dcec6ff5b4024776be63226e4c5c | refs/heads/master | 2020-03-26T09:54:59.652892 | 2018-12-19T19:21:24 | 2018-12-19T19:21:24 | 144,771,567 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 609 | r | 03_baseline_characteristics.R | ### baseline characteristics ###
#############Updated Table 1 #######################################################################################
##BSA based cardiac measurement##
stat.desc(cardiac_asthma$vol_epi_RV_BSAI)
stat.desc(cardiac_asthma$vol_epi_LV_BSAI)
stat.desc(cardiac_asthma$RV_LV_epi_vol_BSAI)
##hear... |
6ea9a1cae95d824445ea4531797f3d9d6e836565 | b72a579eddbd2e20a0d154a4704fa28dc89adf5f | /code/Jingning/UKBB_ancestry_prediction/ancestry_prediction/*backup/5_1000G_PCA.R | bd336d6b88a5de1db1255383f860eab5edcf39dd | [] | no_license | andrewhaoyu/multi_ethnic | cf94c2b02c719e5e0cbd212b1e09fdd7c0b54b1f | d1fd7d41ac6b91ba1da8bb8cd1b2b0768f28b984 | refs/heads/master | 2023-06-24T20:47:18.268972 | 2023-06-13T15:30:14 | 2023-06-13T15:30:14 | 214,069,397 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,450 | r | 5_1000G_PCA.R |
suppressMessages(library('plink2R'))
genos = read_plink(paste("/dcs04/nilanjan/data/jzhang2/UKBB/ancestry_prediction/1000G_final/chr2122"), impute="avg")
pc1000G <- prcomp(genos$bed, center=TRUE, scale=TRUE, rank=10)
saveRDS(pc1000G, "/dcs04/nilanjan/data/jzhang2/UKBB/ancestry_prediction/models/pc1000G_5.rds")
writ... |
1d1de528fd0fbff2add9d72d4a472889c2817b23 | 9d90fb5e801dcccbb2d7a4f4c1ff18cfe0c0406f | /R/CGU.R | 4b19374588cac4dfce3b72636244c91d96868b0d | [] | no_license | WangJJ-xrk/COM | fac171f7a348f258c523b2e5ddc7c5139b0cecc1 | 62982566d61272f1045bff05f62d040bc80e56d3 | refs/heads/master | 2022-12-12T13:29:20.491621 | 2020-08-17T07:59:39 | 2020-08-17T07:59:39 | 288,110,950 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,468 | r | CGU.R | #' Significance Calculation of A Set of Generalized U Statistics.
#'
#'\code{zhangjtMat} calculates a matrix of p values for a set of generatlized U
#'statistics, with each element corresponding to a generalized U statistic.
#'
#' @param E the similarity matrix of one of the variates or multivariates.
#' @param G the s... |
0439156b9ed6a2395a3efe2c8dd017ef22a2db5e | 3d908ac9dc1e201d7c869f09e6a09cb209386152 | /plot2.R | ed71bc5409af448cc6c695433c6de5191ba5e03b | [] | no_license | helcb33/ExData_Plotting1 | 9439b794a6554f385db9435efdd593d8a57a913b | 87265ee6d76b7b5b9b2eafa624150b62030331dd | refs/heads/master | 2021-01-21T02:24:08.858315 | 2015-05-10T19:37:11 | 2015-05-10T19:37:11 | 35,254,435 | 0 | 0 | null | 2015-05-08T02:32:37 | 2015-05-08T02:32:37 | null | UTF-8 | R | false | false | 569 | r | plot2.R | ##Reading the data
hpc <- read.table("household_power_consumption.txt", sep=";",
header=TRUE, na.string="?")
##"Date" class
hpc$Date <- as.Date(hpc$Date, format="%d/%m/%Y")
##Subsetting
hpc2 <- hpc[(hpc$Date=="2007-02-01" | hpc$Date=="2007-02-02"), ]
##"Time" class
hpc2$Time <- strptime(paste(hpc2$Da... |
6c76e2c4e59617e47e736fada1e94e88da77688c | 3d99f2ed3b2f0ce30e5ef81c45e721036eae38a8 | /R/MainLassoLDATraining.R | 28ccde5a5dc56aebce830feefd211fcca14fd900 | [] | no_license | IMB-Computational-Genomics-Lab/scGPS | 296244465064fd9dc2f9fcfb80af6b43fa9ae797 | 0c3746eaad27b804b61d310f57c24a71935cfcfa | refs/heads/master | 2021-06-01T13:48:53.819039 | 2020-12-03T00:43:35 | 2020-12-03T00:43:35 | 111,049,242 | 4 | 5 | null | 2018-10-26T05:59:04 | 2017-11-17T02:47:39 | R | UTF-8 | R | false | false | 37,546 | r | MainLassoLDATraining.R | #' Main model training function for finding the best model
#' that characterises a subpopulation
#'
#' @description Training a haft of all cells to find optimal ElasticNet and LDA
#' models to predict a subpopulation
#' @param mixedpop1 is a \linkS4class{SingleCellExperiment} object from the
#' train mixed population... |
d895443ec3d544adbfab66fffc587c9d3801bfe5 | 44e97a4f153fede9ad36444426382599a0b5ad34 | /man/pathfindr.Rd | a8564f195f1f639f50fa746f2f9f31f829e1c50a | [
"MIT"
] | permissive | egeulgen/pathfindR | 3f58046ad48ecb7698c604bc9959e7a70d49b53a | 857f4b70566ea3a0413c015fd9580c15137a1615 | refs/heads/master | 2023-08-22T15:13:58.185804 | 2023-08-22T12:57:44 | 2023-08-22T12:57:44 | 115,432,311 | 149 | 28 | NOASSERTION | 2023-08-27T15:21:31 | 2017-12-26T15:11:22 | R | UTF-8 | R | false | true | 2,365 | rd | pathfindr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pathfindr.R
\docType{package}
\name{pathfindR}
\alias{pathfindR}
\alias{pathfindR-package}
\title{pathfindR: A package for Enrichment Analysis Utilizing Active Subnetworks}
\description{
pathfindR is a tool for active-subnetwork-oriented gene... |
527fa0367ec470cec2f154ba404c68bb444933c6 | 933fb24d384e1474ec2d3dadb6ef13435984390f | /src/estatistica_descritiva_bd_zarc.R | 6aaa69bb6851e6950b0de7c624e40cc9ad59e5f8 | [] | no_license | dvictori/ptf_zarc | 286f3ae83d2c7d0f96a638c50d28e72484c7cc45 | c00dcf53465602ddedaf4a17ac1fa8d592978953 | refs/heads/master | 2023-06-14T20:41:12.972871 | 2021-07-06T13:46:09 | 2021-07-06T13:46:09 | 290,854,237 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,030 | r | estatistica_descritiva_bd_zarc.R | # Estatísticas básicas do conjunto de dados principal
library(tidyverse)
library(Ternary)
source('src/grupo_subgrupo_textural.R')
# Carregandos dados da base PTF
dados <- read.csv2("dados/bd_zarc.csv")
dados$AD <- dados$AD * 10
# Conferindo se a soma dos dados de granulometria dão 100 (100%)
soma <- dados$AT + dados... |
979af21e8745cf0a644a2f242546da3cc2db4233 | 4d95e5ceddbfaedd8c984fd5dc04036d2f6e88e6 | /maplet/man/mt_load_olink.Rd | 3f07cef151c574aca0e20c107f52caa7bbc054db | [] | no_license | ZWCharlie/maplet | 864603059867f3dae25f856832056dd780dde4a1 | 21a331bbb939b940b19ceb94105198c4213f2ed8 | refs/heads/main | 2023-04-12T00:44:49.776031 | 2021-04-27T00:04:44 | 2021-04-27T00:04:44 | 348,540,703 | 0 | 0 | null | 2021-03-17T01:15:52 | 2021-03-17T01:15:50 | null | UTF-8 | R | false | true | 1,244 | rd | mt_load_olink.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mt_load_olink.R
\name{mt_load_olink}
\alias{mt_load_olink}
\title{Load Olink-format data}
\usage{
mt_load_olink(D, file)
}
\arguments{
\item{D}{\code{SummarizedExperiment} input. Missing if first step in pipeline.}
\item{file}{Name of NPX fi... |
a9e79308f6df737ed15728a40c18e7649f3230ba | 6e76530d40d0784c76ddea68fc879d73c55fe39e | /targetGenerator.R | 45f595e24245f19b584e9866b2a23bf314f1f4f8 | [] | no_license | DanColumbia/Futures | 5057ae2fdc7f2f3f5d17677e5d4f826020a4e0a5 | b82877916b5b2e2900a52f1f1720433ea0515aa8 | refs/heads/master | 2020-05-01T00:52:54.496410 | 2015-10-21T17:51:46 | 2015-10-21T17:51:46 | 34,427,373 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,550 | r | targetGenerator.R | library(data.table)
library(TTR)
library(dplyr)
library(zoo)
targetGenerator <- function(priceSeries, executionWindow = 1, fixedHoldingPeriod = TRUE, holdingPeriod = 5)
{
# fixedHoldingPeriod = FALSE to exit trade on next reverse signal, = TRUE to exit after period of holdingPeriod
ps <- priceSeries
ps[,da... |
2821603eee632032b6ba2fafdb290fb42c72a5e7 | 50e15a8ba4b9458be45fe579392fc6785667f4c9 | /fund_arules.R | 384c3aea891ce92d20198472083cf2fe2e62398a | [] | no_license | jhgil92/fund_arules | 63045e848305d11a845390f83ad052736926c4ed | 6a0e26a6e2c988c01a8ba29350d283f852e2b776 | refs/heads/master | 2020-04-14T07:40:08.736690 | 2019-01-01T06:54:35 | 2019-01-01T06:54:35 | 163,718,798 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,447 | r | fund_arules.R | ## 공개 포트폴리오 연관성 분석
# 공개 포트폴리오 데이터 : https://github.com/jhgil92/fund/blob/master/%EA%B3%B5%EA%B0%9C%20%ED%8F%AC%ED%8A%B8%ED%8F%B4%EB%A6%AC%EC%98%A4.ipynb
# 펀드 정보 데이터 : https://github.com/jhgil92/fund_info_crawling/blob/master/fund_info_crawling_v2.R
# setwd(".//r//arules")
# data load
port <- read.csv("./input/portfo... |
b7c94c56904efd62ed96e0fa5baa7bd0dd814caf | 4315fd829fcd7da3ea48ef2b0143e50046b83cab | /table_2.R | c1a88c86b39e07f64942e5846d95a045f4c5e133 | [] | no_license | aurielfournier/Fournier_Mengel_Krementz_Sora_Autumn_Habitat_Use | b0ce341524492c25abc01aa2a7a9847302afd791 | c12199e6afd434e3d2554d0615608af82b458549 | refs/heads/master | 2020-12-25T15:17:33.222293 | 2016-08-06T01:56:51 | 2016-08-06T01:56:51 | 62,965,126 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,563 | r | table_2.R | library(ResourceSelection)
library(ggplot2)
library(gridExtra)
library(tidyr)
library(dplyr)
library(raildata)
library(auriel)
library(reshape)
library(grid)
data("allveg") # or allveg.csv
allveg <- allveg[allveg$bv!="day",] # removing the veg points where the bird was detected during the day
allveg <- a... |
d4398e9d412403bd62fe8161e4bb2cf76cb1020c | 8a601a85ea2dee26595f1bd1456963341d296c3a | /figure-ireg-exact-kstar-cost.R | c0ba054917b704234f3c08597e9a69d435ac088d | [] | no_license | tdhock/breakpointError-orig | 02324fbc9316ae42530b49ac622f43b0d9a77344 | 5d273a22eeffc0fb0750498b4192cb86c9fa2891 | refs/heads/master | 2016-08-05T03:48:18.071316 | 2015-11-24T17:01:06 | 2015-11-24T17:01:06 | 19,539,405 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 801 | r | figure-ireg-exact-kstar-cost.R | load("data/exact.cost.RData")
ann.set <- "detailed.low.density"
source("scripts/ireg.signals.R")
library(reshape2)
int.df <- do.call(rbind,lapply(ireg.signals[1],function(pid.chr){
intervals <- exact.cost[[ann.set]][[pid.chr]]
intervals[["optimal number of segments"]] <- intervals$segments
intervals.limited <-
... |
4eff8c39ef3600f18daeca5f17178c7255325205 | 87c73fd0fb4225ac3b6a7fff9f943abc80ca8be0 | /MoistureAnalysis R files/TestMoistureLogv2CleanData.R | 16a435cce25f333c0981eef9e33a9d1131c29d0e | [] | no_license | DJ-Prince/OPC | 1f562e31f30b4fa6f0f27bc5f1696aa86dcf4857 | 9283b685b644f3904619e465b21b6c6aaed4ac6c | refs/heads/master | 2020-04-20T08:04:57.360232 | 2019-02-15T13:49:39 | 2019-02-15T13:49:39 | 168,728,982 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 165 | r | TestMoistureLogv2CleanData.R | library(knitr)
library(rmarkdown)
knit("TestMoistureLogv2CleanData.Rmd")
# render the generated markdown file.
render("TestMoistureLogv2CleanData.md")
Sys.sleep(3) |
69d82027b5dea8c1577192dc16d4d2530f654478 | 4dd05c5789fbf09aeb6fdc1229ccf9b8b3caf511 | /man/wikipediaTraffic.Rd | 6967ba7ae3728280d57768f2466adac4a41e8f29 | [
"MIT"
] | permissive | dschmeh/seoR | 2d553d3a06aea53c572d30cb9cd2c3a91e2eb8b1 | 9908f41b3f026930bde83028b8669f70d3a1030d | refs/heads/master | 2023-01-04T10:07:53.267464 | 2022-12-21T12:33:59 | 2022-12-21T12:33:59 | 114,384,766 | 39 | 7 | MIT | 2018-06-13T12:59:18 | 2017-12-15T15:29:25 | R | UTF-8 | R | false | true | 1,318 | rd | wikipediaTraffic.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wikipediaTraffic.R
\name{wikipediaTraffic}
\alias{wikipediaTraffic}
\title{Function to get Pageview Data of a given Wikipedia Article}
\usage{
wikipediaTraffic(page, start, end, project = "en.wikipedia.org",
platform = "all-access", agent =... |
7a85c2f7372c5599b6673043412a552d3cb770ef | 2e0b18721959cf04addbc1b9f07188b5ce352ebc | /tests/testthat/lib/vendor/foo/bar.R | 0b2e3457619abf25f554905690a92f71655cc790 | [
"MIT"
] | permissive | aclemen1/modulr | cde8ed13e708d8207362006c0dc38f4cc81edb65 | 0162dde8a7281380b82d2446841520f3299f87df | refs/heads/master | 2023-05-25T19:41:37.659195 | 2023-05-18T10:42:45 | 2023-05-18T10:43:37 | 41,587,794 | 9 | 0 | null | null | null | null | UTF-8 | R | false | false | 51 | r | bar.R | "3rd_party_modules/foo/bar" %provides% {
"bar"
}
|
9b7e9b842ff99139dc99721e50bf9f4e06d6f8d4 | bbe5f055bbd73d4e1391956f8324df9c209321fa | /example_analysis/paperSpecific/analysisPaper1.R | 204bade561545e2238d9c0d9adc488495e1ccb68 | [] | no_license | schmiedc/SynActJ_Shiny | c96e2eaab9ea90966f62c5b391c9625187563dda | 1228d03f910e7d6fae1f958779e2778d61e4447d | refs/heads/main | 2023-08-27T18:10:34.080065 | 2021-11-08T17:59:43 | 2021-11-08T17:59:43 | 387,575,249 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,107 | r | analysisPaper1.R | setwd("/data1/FMP_Docs/Repositories/plugins_FMP/SynActJ_Shiny/")
source("dataProcessing.R")
source("saveData.R")
source("plotData.R")
library(gridExtra)
library(tidyverse)
library(ggplot2)
# ==============================================================================
#
# DESCRIPTION: Plot Ctrl vs treatment from out... |
7bdf2e9616a022f9f754df111e9733b7974fe130 | 29585dff702209dd446c0ab52ceea046c58e384e | /corcounts/R/berechne.partial.corr.R | 4efa0e7c47d9077bf3606595695908bf09834c64 | [] | 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 | ISO-8859-1 | R | false | false | 1,197 | r | berechne.partial.corr.R | `berechne.partial.corr` <-
function(number,Cin,ntemp, upper.triangle.index, upper.triangle.values) {
index.in <- upper.triangle.index[number,]
# berechne pc mit vermindertem und vollem Index (entspricht höchstem k)
pc.vi <- Cin[index.in[1],index.in[2]]
if (ntemp-sum(index.in==0)>2) {
for (k in 3:(ntemp-sum... |
d427191388b6c1e5956415488109139c36938aa0 | ede7e471270ec4a694bf375a7634481c6db7c014 | /config.R | 38a2c005b6d12aad5a82784b607357790bb9bdce | [
"MIT"
] | permissive | wikimedia-research/OneRing | f1b7bb2f0ab8c87f391e3fb10d69fb993a2c7df4 | 177a239e33ee2bf0670aa178ae08d42721ff42db | refs/heads/master | 2016-08-08T03:49:10.629510 | 2014-11-14T17:50:36 | 2014-11-14T17:50:36 | 26,187,625 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 84 | r | config.R | #Libraries
library(WMUtils)
#Variables
SAVE_DB = "staging"
SAVE_TABLE = "pageviews" |
3500eab25f1ee1a9d2f8dd2771acd272fba1e9af | 4e76af0d6f21266a58f8352a2e63bf539937aad1 | /plot1.R | 0a924dda24a8fa45d860226687427b8cb1dc5378 | [] | no_license | dechang227/Exploratory-Data-Analysis-Project1 | 7a213344ca2f08d14f9221884e4f8297d2464f27 | e7723b98c73b0fcefbe50c486e4fa0167e10aa50 | refs/heads/master | 2021-01-10T20:46:51.285541 | 2014-05-15T05:57:53 | 2014-05-15T05:57:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 331 | r | plot1.R | hpc<-read.csv.sql("household_power_consumption.txt",
sql = 'select * from file where Date == "1/2/2007" or Date == "2/2/2007"',
header = TRUE, sep = ";")
png("plot1.png")
hist(hpc$Global_active_power, xlab = "Global Active Power(kilowatts)", col ="red", main="Global Active Power")
... |
0b9f7e94aa221130654452200c4de946db6cb4e4 | 29f8f3ee59c366ea408633d183614bc39b49b26d | /TEMPLATE/template_gis.R | 4ad1c5a0df757d2ad369168e9e6f74ff4f13cb47 | [] | no_license | souzajvp/analytical_codes | 92db345dc75f128c2f25fb7b28f0891139ffea98 | dcc49662253ba1dbd4f54b8c4caea40232632783 | refs/heads/master | 2023-05-23T06:06:12.058469 | 2021-06-07T18:11:00 | 2021-06-07T18:11:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,691 | r | template_gis.R | ####
#Spatial Autocorrelation
####
http://www.bias-project.org.uk/ASDARcourse/unit6_slides.pdf
http://www.people.fas.harvard.edu/~zhukov/Spatial6.pdf
https://cran.r-project.org/doc/contrib/intro-spatial-rl.pdf
http://spatial.ly/r/
http://spatial.ly/2013/04/analysis-visualisation-spatial-data/
https://pakillo.github.io... |
58ebb56c4bf862d2c6b5bbde074616dd266aceab | 3fc7df9cdbf1a4e0ad8030fb5c09e4bfb0e24f7b | /Options_Intro.R | a720706d30e8b7c9696cf1e51cf109396723d155 | [] | no_license | YifeiLuo96/FM5990_excercise | 9c5db124fc7eebaafe3f21d7c4286b5dd711d3fc | f0fd6c667ea16d2aba8adf3f549966a86529f678 | refs/heads/master | 2020-03-30T10:27:28.627945 | 2018-10-01T16:35:01 | 2018-10-01T16:35:01 | 151,120,914 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,888 | r | Options_Intro.R | # install packages
install.packages("dplyr")
install.packages("readr")
install.packages("ggplot2")
library(ggplot2)
library(dplyr)
library(readr)
# 1. read the data set and load it into dataframe
df_options_intro <- read_csv("data_options_intro.csv")
# 3. grabe the columns and print
k <- df_options_intro$strike
impli... |
f250bdf43e7e600df4f15d414bda01b23e185019 | fbb6782ed5e47af3dc4e3fb7ecb192cff8ef74c1 | /r/simulation_settings/7_implementation_vs_structure_comparison.R | f0a51d7793846047cb2c3b60e7fbc9049bb4dcf4 | [] | no_license | mdsteiner/efacomp_OSF | 581a54f454e7223470abd48432453437050b5bbc | 80e22d42aed6a4fd346023f2c0d7450826ad0501 | refs/heads/master | 2023-03-14T10:08:42.776433 | 2021-03-03T15:32:33 | 2021-03-03T15:32:33 | 292,044,522 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,103 | r | 7_implementation_vs_structure_comparison.R | if(!require(tidyverse)) install.packages("tidyverse"); library(tidyverse)
if(!require(EFAtools)) install.packages("EFAtools"); library(EFAtools)
### helper function ============================================================
describe <- function(x, d = 2) {
mn <- mean(x, na.rm = TRUE)
mdn <- median(x, na.rm = TRU... |
a842913448b8c9fde60a5f6e6d44613ca490ba99 | 4f04e55d2fb8910f8e13150e037bfd987a11b431 | /session_4_mod_1/regression.R | 4a6dbdcf21bbaac111dc436905c4e6f9489dfbfd | [
"MIT"
] | permissive | PakistanAI/DS_Weekends | e542feaa96676368369318d67b89ce4d13ca1b75 | 87ebf5b984fb86a23cfbd24dcef2c1950b545be6 | refs/heads/master | 2020-03-19T10:14:55.993257 | 2018-09-27T17:26:47 | 2018-09-27T17:26:47 | 136,354,756 | 24 | 9 | null | null | null | null | UTF-8 | R | false | false | 879 | r | regression.R | #Execute the command if you dont have libraries installed
install.packages("MASS")
install.packages("ISLR")
library(MASS)
library(ISLR)
# Simple Linear Regression
fix(Boston)
names(Boston)
lm.fit=lm(medv~lstat)
lm.fit=lm(medv~lstat,data=Boston)
attach(Boston)
lm.fit=lm(medv~lstat)
lm.fit
summary(lm... |
c97b19792bd34f136c385c4a1e9a49184900c71b | 70e8f7e34e8e653ed16917c0e00289ab865f7e51 | /CommonR/R/optimization.R | cd210640e1f1bf7ac3496066e2ee3981fd919784 | [] | no_license | shubhomoydas/aad | 424466af25c0dc24f7c58ef0db5fd969ebb91e98 | ea5e6712da7759d31db13017bda5125e97d442fd | refs/heads/master | 2021-01-13T10:15:48.482572 | 2017-12-26T04:12:19 | 2017-12-26T04:12:19 | 69,590,183 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,401 | r | optimization.R | #BTLS Summary of this function goes here
fnBtls <- function( X0, fn, dfn, ..., beta=0.5, gamma=0.2, maxiters=20 ) {
tol <- 10e-4;
X1 <- X0;
k <- 0;
Fx <- c();
while (k < maxiters) {
k <- k + 1;
fx <- fn(X1, ...);
dx <- dfn(X1, ...);
dx2 <- sum(dx^2);
Fx <- c(Fx,fx);
if (dx2 <= tol) {
... |
b0befd27a0face15b4c9e85baa21c0254149a468 | 290dcf2dcab08672cd8e7e6910bfd36cc024824d | /inst/ACORN-app/www/R/output/across_hospital_logo.R | fa4bef7bb536642edddf625508576e9b22dab359 | [] | no_license | ocelhay/ACORN | ceda5a0edbd455507261c30043ff84f94c88e86f | 755384ba96364fb223a1928a814417c5b8b17079 | refs/heads/master | 2020-12-07T07:54:54.420477 | 2020-12-03T22:25:06 | 2020-12-03T22:25:06 | 232,677,929 | 0 | 1 | null | 2020-09-11T21:46:16 | 2020-01-08T23:07:29 | R | UTF-8 | R | false | false | 854 | r | across_hospital_logo.R | output$hospital_image <- renderUI({
req(patient())
if(patient()$site_id[1] == "0") {
return(
tags$a(href='http://acornamr.net', tags$img(src = 'img_ACORN_logo.png', class = 'logo'))
)
}
if(patient()$site_id[1] == "1") {
return(
# HTML("Placeholder for 'site 1' logo")
img(src ... |
e1a593b9ebdb3110a74b658c412d9909cc90e439 | f0a0c9f78bc1375280cf9ffa8d7946dfdaab65f3 | /MyProject.R | ca73ddd72591d729c200b210d9c0fae0b476be79 | [] | no_license | bakshivishal/Data-Science-Projects | dd79b1c25da644b26c814983812847b1429de10d | 486190490b236ad8a442d2bf76c3c0a403c672ff | refs/heads/master | 2022-02-11T10:37:10.587632 | 2019-08-16T16:27:30 | 2019-08-16T16:27:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,811 | r | MyProject.R | ##############################################################
# Author: Vishal Bakshi
# Project: Predict chances of release for marijuana possession
# Date: August 16th 2019
##############################################################
##install packages(to run this code) if required
if(!require(tidyverse)) i... |
67a0dce1063ecf5f27341afa19a18d34ef37aedb | 2af395f8db24489698ae33a07c3638b2e3462503 | /Neural_Network.R | 0ed7f66067bcbfcf09090c25953c9d92fd9b1a60 | [] | no_license | rajkstats/Data_Mining_Masters_Coursework | dfe14719152bd1486e3d90fbbc41cbfb527def36 | 10828bcb68f3f56e5ea898380c159348fe17faf2 | refs/heads/master | 2021-05-02T13:18:56.049466 | 2018-02-08T12:20:25 | 2018-02-08T12:20:25 | 120,756,907 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,035 | r | Neural_Network.R | if(!require(neuralnet))
install.packages("neuralnet")
german <- read.csv(file.choose()) #locate the data file here.
apply(german,2,function(x) sum(is.na(x)))
class(german)
str(german)
set.seed(123)
maxs <- apply(german, 2, max)
mins <- apply(german, 2, min)
scaled <- as.data.frame(scale(german, center = mins, sc... |
2ca601b5c644068a536edf3d9c5d0f962849a690 | ca9fd5f85316595a3b6cd992d7f1c2cdb2d9ef91 | /man/dPosteriorPredictive.CatHDP.Rd | 8f4a62fc32c576735584a4dd028bfc558323a030 | [
"MIT"
] | permissive | seanahmad/Bayesian-Bricks | 58c15a81e19191863c5b44ba1b8a5a3ccbf110e0 | 4876e9bacf9561354220a18835829f5274598622 | refs/heads/master | 2023-02-17T04:01:58.141713 | 2021-01-16T05:43:16 | 2021-01-16T05:43:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,028 | rd | dPosteriorPredictive.CatHDP.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Dirichlet_Process.r
\name{dPosteriorPredictive.CatHDP}
\alias{dPosteriorPredictive.CatHDP}
\title{Posterior predictive density function of a "CatHDP" object}
\usage{
\method{dPosteriorPredictive}{CatHDP}(obj, z, k, j, LOG = TRUE, ...)
}
\argu... |
c0cba20b69413d155605a24ab1319e3bb8b38730 | 21824b003bbc2e3c2423ca05333b37b0712caf69 | /Working Folder/integrateIt/man/Trapezoid.Rd | 2350ba6cd79acfed0cd9dd14e29cdb180841bfa3 | [] | no_license | GangyiSun/PS5 | 22a2b2bb113f0689b93ee71cc5b1ed5d2bc1747d | 088cdf951b6de4ac21e9de20bb6c1c6374294f67 | refs/heads/master | 2021-01-25T12:36:21.507579 | 2018-03-06T18:16:20 | 2018-03-06T18:16:20 | 123,482,013 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 761 | rd | Trapezoid.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Trapezoid.R
\docType{class}
\name{Trapezoid-class}
\alias{Trapezoid-class}
\alias{initialize,Trapezoid-method}
\alias{getArea,Trapezoid-method}
\alias{print,Trapezoid-method}
\title{A Trapezoid object}
\usage{
\S4method{getArea}{Trapezoid}(ob... |
af1093268e609aa489871186c10ef02ccd4be51a | 04782055bc8062ea939cbd996e8be074402a67a2 | /assignments/assignment_3/homework_3_jerrison_li.r | 26bf8bd7648470b6a512d9493b6b24a87300f810 | [] | no_license | jerrison/Wharton_STAT705 | 21435bcf7c094f71074402a2257ca0c470cf3907 | 1529e31e8856a4b7a74ff63d720b1aee7c13ae4d | refs/heads/master | 2021-09-26T08:31:27.006836 | 2018-10-28T00:08:01 | 2018-10-28T00:08:01 | 146,604,827 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,788 | r | homework_3_jerrison_li.r |
#### STAT 705 FALL 2018 ASSIGNMENT 3 (Functions)
#### NAME:
#### If in a question I refer to a function that we have not seen in class,
#### then use the help facility to find out about it.
#### Insert your answers under each question.
#### Submit your solutions to Canvas as a plain text file.
#### OBJECTIVE: in th... |
2afbc73c7159fa33a1cbae10761216f40c30dffd | d45f38e0f2265d9fb52cb4ac1c2843eabf296c3a | /R-scripts/mir_pathway-bubble-20150309.r | 03ce2c9574382684acdb858ff4d8b440b829c378 | [] | no_license | dyusuf/sRNA-toolkit | cc944b330a0785b5d29a2086d63b5b8a7d7621f0 | 5ed7889954432dd4ee8c8320885ca11bb48037ff | refs/heads/master | 2020-06-11T08:17:06.040517 | 2016-12-06T12:04:30 | 2016-12-06T12:04:46 | 75,726,293 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 32,420 | r | mir_pathway-bubble-20150309.r | setwd("/home/dilmurat/Work/combined-experiments/")
library(plyr)
library(ggplot2)
mirpath <- read.csv("miRPath_pathway_miRNA.csv", header=T, sep=",")
mirpath <- subset(mirpath, p_value<=0.001)
for (i in names(mirpath)) {mirpath[i] <- droplevels(mirpath[i])}
mirpath$pathway <- gsub("_", " ", mirpath$pathway)
library(... |
84d18df36ad137e6fec7d25f3c0357868392626d | 47f1132132c8c0cae04a74c7c12658f834829e73 | /initial_filter.R | 4c0152735f2ed6aecb470a423558fe8d96a50c6d | [] | no_license | L-Dogg/pdrpy_ztm | fc3e0129f2e539d1417eeb36e089b85a8e8dff9e | 7eec121ce5f7ff89543d41f4bb6a87f785305e6e | refs/heads/master | 2021-03-19T18:12:07.061822 | 2017-05-31T18:52:12 | 2017-05-31T18:52:12 | 90,857,770 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,766 | r | initial_filter.R | # Zadaniem tego skryptu jest odfiltrowanie błędnych danych,
# które mogły się zapisać w analizowanych plikach json na skutek błędu GPS
library(jsonlite)
library(dplyr)
library(lubridate)
source('tools.R')
TRAMS_SOUTH <- 52.118013 - 0.05 # Zajezdnia Kabaty
TRAMS_NORTH <- 52.309925 + 0.05 # Zajezdnia Żoliborz
TRAMS_W... |
80fa36fd931cb929309de9881cf7ae143fa9c16b | 76dbce75d2127a9304e2bce5f929898e11bedf54 | /code/plan/03_processing.R | 7d17d69ad0d576fe129d794e2b406cf16f3ea3b9 | [] | no_license | milescsmith/rnaseq_drake | dcabc8f702e9d9faf1095412c49f22178a253e71 | 982591fa14979dee72b22aa24304a30c8b25f8df | refs/heads/main | 2023-04-02T10:08:49.527920 | 2021-03-26T15:00:16 | 2021-03-26T15:00:16 | 344,952,270 | 0 | 0 | null | 2021-03-26T14:50:56 | 2021-03-05T22:40:53 | R | UTF-8 | R | false | false | 49 | r | 03_processing.R | vsd = vst(dds_processed)
vsd_exprs = assay(vsd)
|
fb890a680fb08e56ab74b8290e32a5b45c7e3d39 | 3a1002a87bd2f41bcb0e814e12102d9de711581a | /model 23-06-21 with typhoon and drought as independent scenarios.R | 6bb84e56c2d8d53ec995874e1ee71e18134bf889 | [] | no_license | JMVogelsang/coping_up_with_climate-change_a_look_into_farmers_decision_strategy | 2bd820fa4631e1855745593d6cc4156f463d6ec5 | 9f7457505d94ff09d6b62609936ededec73bf07d | refs/heads/main | 2023-07-13T17:36:03.777818 | 2021-08-17T08:33:35 | 2021-08-17T08:33:35 | 376,070,251 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,013 | r | model 23-06-21 with typhoon and drought as independent scenarios.R | #### Input table for values in time period (decade) ####
input_estimates_random_decade <- data.frame(variable = c("Precipitation", "Wind", "Temperature", "Soil_quality",
"Pests", "Weeds", "Pathogenes", "Rice_price", "Labour_cost",
... |
dcbd54b04ce999778395f476cb4e136f32bd5107 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/divDyn/examples/collapse.Rd.R | 9f6e15e95d8a284ef7e5cdf310f2ae705c41188f | [] | 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 | 609 | r | collapse.Rd.R | library(divDyn)
### Name: seqduplicated
### Title: Determination and omission of consecutive duplicates in a
### vector.
### Aliases: seqduplicated collapse
### ** Examples
# example vector
examp <- c(4,3,3,3,2,2,1,NA,3,3,1,NA,NA,5, NA, 5)
# seqduplicated()
seqduplicated(examp)
# contrast with
dupli... |
73e28a2eb45b1bd0aa31046381b3c8e9d54a7bec | b3a6bcd5f0a47572af2435b8aabe25a45d5b43e1 | /RTI_Exercise_JustinFowler.R | 1cd0b15b1ef9f5f77ad6261e2db5d54e0484dfbd | [] | no_license | justinmfowler/exercises | e7acbdc32fbb9c4c9f05440d0a3ecd7cec2a483b | 8c36b9355dc5912ec188b9f6966c74efff0196d7 | refs/heads/master | 2021-01-16T08:54:50.801227 | 2015-01-29T15:29:35 | 2015-01-29T15:29:35 | 30,026,027 | 0 | 0 | null | 2015-01-29T15:18:22 | 2015-01-29T15:18:22 | null | UTF-8 | R | false | false | 3,353 | r | RTI_Exercise_JustinFowler.R | # RTI Exercise for Data Scientist 3 application
# Justin Fowler 01/29/2015
# Possible libraries to use
library(aod)
# library(foreign)
library(gmodels)
# library(vcd)
# library(epiR)
# library(NSM3)
# library(MASS)
library(rms)
library(ggplot2)
# library(lsmeans)
# library(contrast)
library(pROC)
# library(caTools)
# ... |
7567e016d700cca6500b2df48dbd376f4706cf77 | 3a650ae97b7d0c7eac5f1bbf0a9291218e9538e3 | /add_col_hpg.R | 6edb9fe6012a002d3f6460b717b4aea96449c98f | [] | no_license | liulihe954/Meth-Alternative-Splicing | 14eb721754be1d0000dbda9f359d3808573c6d41 | c22bb857e128285a4fa6be1014f241f573ae6a03 | refs/heads/master | 2023-03-28T10:09:18.223120 | 2021-03-29T19:11:31 | 2021-03-29T19:11:31 | 299,501,677 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,068 | r | add_col_hpg.R | load('/blue/mateescu/lihe.liu/AltSplicing/AltSplicing-R/meth_prop/out/DEXSeq_final.rda')
load('/blue/mateescu/lihe.liu/AltSplicing/AltSplicing-R/meth_prop/out/2b_assemble/assembled/integrate_by_gene_withCproportion.rda')
###
library(tidyverse)
aggrate_by_gene = integrate_by_gene_out %>%
#dplyr::slice(1:20) %>%
gr... |
6c9b68ef93ab1ae7c9daa76722cd367d8c3947eb | 6f2cccf7c9aaa8f473ca1749ebd4e0f62b3452e8 | /FlowingData/00 Visualization in R/Week_2/02 Separate Chart Components/04 How to Display Text in R/labels-tutorial.R | d1f463f1e3027fc493cb39fd53f6dbb96e556ce7 | [] | no_license | abudish/Course_Materials_and_Certificates | 01138ef2203800f6c279cfd68d8ad5eea4a07c5d | fee27859569624f1e8df143001e1ab995b10088c | refs/heads/master | 2021-06-04T09:15:20.516215 | 2020-12-17T18:16:19 | 2020-12-17T18:16:19 | 109,249,386 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,709 | r | labels-tutorial.R | # Hello, world.
plot(0, 0, type="n", xlim=c(0, 2), ylim=c(0, 2), xlab="", ylab="")
text(1, 1, 'Hello, world.')
# Hello, world. x3
plot(0, 0, type="n", xlim=c(0, 2), ylim=c(0, 2), xlab="", ylab="")
text(1, 1, 'Hello, world.') # Middle
text(1, 2, 'Hello, top of world.') # Top
text(1, 0, 'Hello, bottom of world.') #... |
575aced85ac09e8176b1929f0d7b1151ad2926ef | 89513b41bd021137c72fa7cf3e57bcef4bf6c933 | /scRNAseq_R_scripts/Figure 4.R | 55490ac48397ebbfa7b3870a49dd78524e421c92 | [] | no_license | lifan36/Zhan-Fan-et-al-2019-scRNAseq | 7166156ca6702a41990236e9da386c44440b6609 | c008b3ff49d567a1abe9d9eed42afed4e9a27b42 | refs/heads/master | 2020-10-27T10:29:10.176374 | 2020-10-24T22:09:53 | 2020-10-24T22:09:53 | 260,483,347 | 0 | 0 | null | 2020-10-24T22:16:42 | 2020-05-01T14:47:22 | R | UTF-8 | R | false | false | 3,353 | r | Figure 4.R | # Figure 4a
library(ggplot2)
library(Seurat)
library(ggrepel)
library(RColorBrewer)
library(dplyr)
library(cowplot)
library(reshape2)
library(MAST)
library(patchwork)
# Load in Seurat object
setwd("")
data<-readRDS("elife_microglial_cells_only.rds")
Idents(data) <- "Condition"
# Find markers for D0 vs Ctrl:
marker <... |
14d3f09b32a42810b65252544ddc9b18ebdc3367 | 9ba135184226f0f7583860aa35a29dfd11a0e4e5 | /data/early_work_tidybugComps/Rwork_fromTopOrder_csvOutput_toPlot.R | 3e4832eebe2d7c7bc18790de1e114f1184fc1efa | [] | no_license | devonorourke/COIdatabases | 8dab7fbb55b00b6c3109f5240c49d16a7655f9a1 | 3a4738921551d199504439557a0e61b6ed76d1e3 | refs/heads/master | 2023-01-23T05:17:17.167932 | 2020-12-09T16:12:53 | 2020-12-09T16:12:53 | 286,090,194 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,995 | r | Rwork_fromTopOrder_csvOutput_toPlot.R | -modify format of file for plot
##### start here....
library(stringr)
library(ggplot2)
library(tidyr)
setwd("/scratch/dro49/qiimetmp/tidybug_crossval")
orderlist <- read.csv("topOrder.list", header=FALSE, stringsAsFactors=FALSE)
taxalist <- str_replace(orderlist$V1, "o__", "")
filenames <- paste(getwd(),"/", "tidyb... |
0086afdc320ad86895390a0136939f08eb9d9468 | 493583c405b9e6267b25b7db400ee32f18ae092f | /man/Data_get_workflow.Rd | 2ff9cf37b8ea09321c007bc6c7174fabd51b7b08 | [
"MIT"
] | permissive | dbescond/iloData | 69a3e2b78b3d868799384c1dd085b1e1e87c44cd | c4060433fd0b7025e82ca3b0a213bf00c62b2325 | refs/heads/master | 2021-01-21T19:54:33.877674 | 2018-07-05T11:30:47 | 2018-07-05T11:30:47 | 92,175,594 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 568 | rd | Data_get_workflow.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Data_backup_cmd.r, R/Data_get_workflow.r
\name{Data_backup_cmd}
\alias{Data_backup_cmd}
\alias{Data_get_workflow}
\title{backup do for Master files}
\usage{
Data_backup_cmd(wd)
Data_get_workflow()
}
\description{
not longer used
helper to w... |
5128af1070b6ac600a215e2841128ea26fed18c1 | 5ba797d66deda5cdb2e34469090dec56356631d8 | /script.r | cfb87c9535aa3fe9cddf13c31927cdb44fc7c1fb | [] | no_license | JonMinton/mort_ternary | 23ed980bd75a408d535d27cb07fd70e2d7f7c725 | c011f94e4b077dc6558a1d8d9a17bfb63db3096d | refs/heads/master | 2020-06-11T19:48:00.845697 | 2015-02-25T14:53:54 | 2015-02-25T14:53:54 | 31,318,080 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 436 | r | script.r | rm(list=ls())
require(plyr)
require(tidyr)
require(dplyr)
require(ggplot2)
require(ggtern)
counts <- read.csv("data/counts.csv")
counts <- counts %>%
tbl_df %>%
mutate(death_rate=death_count/population_count)
eng <- counts %>%
filter(country=="GBRTENW") %>%
filter(sex=="total") %>%
filter(age < 80)
ggte... |
4bd11c1918ff2bcbb70363d622e076f2667773b8 | 8da89ff84396fb73d5b139398e351adf0cf1a080 | /man/tdp1718_check_6.Rd | 1511a0f716aae5cac710fa74d95ae22a2a3a5295 | [] | no_license | UBESP-DCTV/rexams | f4ce0347213a2eac678414910082c3daf8d9f977 | f2353d7db89b8386be0feeeda365e82489881db5 | refs/heads/master | 2020-03-20T10:50:10.725246 | 2018-09-10T11:32:37 | 2018-09-10T11:32:37 | 137,386,189 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 354 | rd | tdp1718_check_6.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/checks_tdp1718.R
\name{tdp1718_check_6}
\alias{tdp1718_check_6}
\title{tdp check 6}
\usage{
tdp1718_check_6(text_var = "causa_del_decesso")
}
\arguments{
\item{text_var}{\link{chr} name of the variable to transform}
}
\value{
logical (invisib... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.