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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b99744699f7ebdc8bcedf7524860b8d2ad85bfb7 | 9a3a1ba98edf8b1c504e644970184f04be7524e1 | /prs_phenotypes.R | 264277d948b81494e3b0a099c5cac97d12b6f29a | [] | no_license | cedricx/scz_prs_connectivity | 2956800d91e2157fbb4173a84d06e78c193a98db | 0a6fb1dbedb73ee6a61f775240f6105e376d9c72 | refs/heads/master | 2020-03-10T09:22:31.221930 | 2018-04-12T20:31:06 | 2018-04-12T20:31:06 | 129,307,512 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,170 | r | prs_phenotypes.R | ## import data ##
wkdir <- '~/Google Drive/TDSlab/SCZ_gene_imaging/'
prs <- read.csv(paste0(wkdir,'genotype/pnc_EA_prs_20170501.csv'))
demographic <- read.csv(paste0(wkdir,'phenotype/EuropeanAmerican/demographics/n9498_demographics_go1_20161212_EA.csv'))
snp108 <- read.csv(paste0(wkdir,'genotype/illumina_EA_poly_scz108... |
5ad003211f91acb1a87244cfcdc660158ab791dd | 713b019cb89b44c0e13509a73fa34594650432d2 | /simple_ordinal_model.R | 9c6eb75da83199e3d3f436a2ffc7702bf8b25329 | [] | no_license | kurtis-s/bayesian_ordinal_regression | 9cb7420cfd0aaf4fe0ee790c8a4feacfc2b3e972 | 34aeb2a4411ee75de988f01be272d3f270afe104 | refs/heads/master | 2021-01-09T20:11:09.640930 | 2016-06-27T01:35:00 | 2016-06-27T01:35:00 | 62,016,914 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,810 | r | simple_ordinal_model.R | rm(list=ls())
library(arm)
library(coda)
library(ordinal)
set.seed(8392921)
source("helper_funcs.R")
ordinal_dat <- readRDS(file="ordinal_dat.rds")
dat <- ordinal_dat$dat
# Frequentist estimates ---------------------------------------------------
freq_model <- clm(factor(Y) ~ ., data=dat)
summary(freq_model)
# Bay... |
d6d35cd0101ca27d647bcd7f227937de9c9aa84f | 74e78cfaf6d5dbce25b5187d5de3d1f51781a618 | /plot5.R | 74784b2f8bc4e43e65e37917db7991f158c6da88 | [] | no_license | gato1005/JHU_C4_ExploratoryDataAnalysis_GradedAssignment | 209beafafe4a9e8834c19df58970dde65417a6dd | defd4590afb3f655b4c9b8c5d751d664860efb77 | refs/heads/master | 2022-11-08T20:47:22.146527 | 2020-07-02T16:36:36 | 2020-07-02T16:36:36 | 276,567,110 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,625 | r | plot5.R | # load the required library
library(dplyr)
library(ggplot2)
# Download the zip file from Coursera to your working directory
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip",
destfile = "2FNEI_data.zip")
# Unzip the file in the working directory
unzip("2FNEI_data.zip",
... |
8f63ba5d6b3eb6ad39fb98ae48c8f88216fa947e | 9dfb166b1d1215a4389240c8bfa92bb1a47e3cbd | /HW1_R_codes.R | 89aa50e200b9a83bcc1f7f7638483667ddf817d7 | [] | no_license | giorgosnty/Data-Mining-DAMI | ee70248131813f5a0c3e0c7946f61e9e90447725 | 5868159f5e1f964b8f18acafa810eac8f19e36eb | refs/heads/master | 2020-03-26T18:23:09.512461 | 2018-08-18T10:23:35 | 2018-08-18T10:23:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,111 | r | HW1_R_codes.R |
# *********************************************
# DAMI Preprocessing Exercise R file
# Complete the codes to complete the assignment
# *********************************************
# 1. Import data for analysis to R environment
# Downloaded "Adult" dataset from UCI Machine Learning Repository
# URL http://archive.ics... |
acda0a67465c3070ec49a2de89271f664d4a97d4 | 1945b47177455e900baae351c1179197e0e4078d | /man/readSequenceMetadata.Rd | 0ed32824130e22aa69ff6349ec61fecd252ed712 | [] | no_license | naithanilab/neonMicrobe | 19711934b281d12adef4fd5ba85b517b3f99e344 | 359c2a3947b9151f370e889785e5bfe4fa207121 | refs/heads/master | 2023-04-12T18:36:26.916925 | 2021-04-30T17:04:49 | 2021-04-30T17:04:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 605 | rd | readSequenceMetadata.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{readSequenceMetadata}
\alias{readSequenceMetadata}
\title{Read Sequence Metadata into Function}
\usage{
readSequenceMetadata(metadata)
}
\arguments{
\item{metadata}{Either a data.frame returned from \code{\link{downloadSequenceM... |
b75dfe5a34b87609af9b858f7c7641ed5716040b | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /augSIMEX/man/GeneRepeat.Rd | b12fa43867611c81e268467642bc795948cf4573 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,292 | rd | GeneRepeat.Rd | \name{GeneRepeat}
\docType{data}
\alias{GeneRepeat}
\title{Example data for univariate error-prone covariates in repeated measurements case}
\description{
This dataset gives an example data for the illustration of usage of \code{\link{augSIMEX}} function. The data set is adapted from the outbred Carworth Farms Wh... |
f39952c6c18520fa03ae170087fd4029fd957083 | b43b4c788604a964161c961bdf9d5731b656a578 | /Dictionary/Rauh/JITP-Replication-Final/3_Manifestos/1_GetManifestoText.R | e85b54185239dcbec13184398a29f364e717e166 | [] | no_license | msaeltzer/scrape | ee4e4646085129b227051d279e108245fac6d697 | 8554df9e9b2c86ea8db5047fa4fb956f5de60c77 | refs/heads/master | 2020-04-22T22:16:12.249444 | 2019-05-15T07:39:58 | 2019-05-15T07:39:58 | 170,701,809 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,950 | r | 1_GetManifestoText.R | ############################################################
# Script retrives text fragments of directional coding items
# from the MANIFESTO database
#
# Project: Validation of sentiment dictionaries
#
# Author: christian.rauh@wzb.eu / christian-rauh.eu
# Date: 13.04.2017
##########################################... |
3b67125b80f2ca47d7df7016d9c757deed5a28a5 | 68429a685f0c4a76fb5db9c749b4d7c7be13b07a | /man/cal_coverage_impl.Rd | 92292fd01bf902ceeeaaa3f4db30834b53e2e904 | [] | no_license | dongzhuoer/paristools | 85de465fa53821c2c6002139bc45dcd31c1a4198 | 430d86eeddf518ae408f5f1ce0af46240f73f645 | refs/heads/master | 2022-06-18T15:45:32.007589 | 2022-05-14T09:09:42 | 2022-05-14T10:08:36 | 163,177,733 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 715 | rd | cal_coverage_impl.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{cal_coverage_impl}
\alias{cal_coverage_impl}
\title{calculate genome coverage for one chromosome}
\arguments{
\item{chrom_loc_df}{data.frame. Locations on one chromosome, columns are \code{strand}, \code{start}, \code{end}... |
3fab55c39c7b01999f7c7ce0e9fa8a23ce6459b9 | af8aeaa3b352ee10ffadc073c2cb9e6940465dac | /Meta_QC/4. QQ plot and lambda.r | 1d1514352728dac8fdbf53764e402d603297f532 | [] | no_license | ammegandchips/PACE_Paternal_BMI | 357895485b6c17eba3901c4ce5267e45cbe688dc | 724d1fde1b04a0a98083ba6fae1c1b161134f600 | refs/heads/master | 2020-06-26T00:49:41.386778 | 2020-02-10T19:33:16 | 2020-02-10T19:33:16 | 96,999,961 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,678 | r | 4. QQ plot and lambda.r | time_point <- "birth" #or childhood
require(gridExtra)
myQQ <- function(P, ci = 0.95,Title) {
lambda <- Lambda(P)
n <- length(P)
df <- data.frame(
observed = -log10(P),
expected = -log10(ppoints(n)),
clower = -log10(qbeta(p = (1 - ci) / 2, shape1 = 1:n, shape2 = n:1)),
cupper = -log10(qbeta... |
87af89366cff580cebfb495bf6b5a4aabba7bba3 | 98e471ca6c77f2a393aaf801ce35febea0ceeb19 | /man/estimateTuneRangerTime.Rd | a7de16999fd38d8175ba399597bf1b0ab844f1ac | [] | no_license | simonsimon01/tuneRF | 4f705f099d5541c0aad3546b0d9840b85b2e1c6e | 5f45e822a29da9be10d7e6088ef4eb6428151cb5 | refs/heads/master | 2021-01-06T20:44:17.154563 | 2017-08-04T15:19:34 | 2017-08-04T15:19:34 | 99,552,182 | 0 | 0 | null | 2017-08-07T07:55:38 | 2017-08-07T07:55:38 | null | UTF-8 | R | false | true | 552 | rd | estimateTuneRangerTime.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/estimateTuningTime.R
\name{estimateTuneRangerTime}
\alias{estimateTuneRangerTime}
\title{estimateTuneRangerTime}
\usage{
estimateTuneRangerTime(formula, data, iters = 100, num.threads = 1,
num.trees = 1000, respect.unordered.factors = TRUE)... |
a76bc97f0e53171b6252157e552d34b209cf52e7 | ab09b3fa3ec78151bee19691375eea2a878a707a | /man/lme_mass_F.Rd | 809b60d2d952ad14c4786009c089998d879f2253 | [
"MIT"
] | permissive | kdiers/fslmer | 5e1ab403998bd308770e21026a9c6693113a9995 | 3ac2634c07984949ae18648d978b7aff7530f396 | refs/heads/master | 2023-06-25T11:31:09.848405 | 2021-07-30T15:33:49 | 2021-07-30T15:33:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 606 | rd | lme_mass_F.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lme_mass_F.R
\name{lme_mass_F}
\alias{lme_mass_F}
\title{Estimate F statistics for many vertices}
\usage{
lme_mass_F(stats, C)
}
\arguments{
\item{stats}{Model fit as returned by \code{lme_mass_fit_Rgw}}
\item{C}{Contrast vector}
}
\value{
T... |
c096c1142ecf06f8eda24088fecefc95ca2ae58a | 6a3a70fedc47ba6c4dccd6b05370b4e9aaded250 | /man/MAplot.Rd | b2da2748a4edd0a45d498a12d6fcb879ba19b355 | [] | no_license | bmbolstad/affyPLM | 59abc1d7762ec5de96e2e698a5665de4fddd5452 | c6baedfc045824d9cdfe26cd82daaf55f9f1f3b4 | refs/heads/master | 2023-01-22T13:55:51.132254 | 2023-01-19T23:55:17 | 2023-01-19T23:55:17 | 23,523,777 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 938 | rd | MAplot.Rd | \name{MAplot}
\alias{MAplot}
\alias{MAplot,PLMset-method}
\title{Relative M vs. A plots}
\description{
Create boxplots of M or M vs A plots. Where M is determined relative
to a specified chip or to a pseudo-median reference chip.
}
%% \usage{
%#MAplot(object,ref=NULL,...)
%% }
\arguments{
%z \item{object}{An ... |
1db3ffd5ce4721925770769c668075472af9a79c | bf9b2e5ba76f2509083483fcbd68c067f6091a41 | /JobTalk_2021/figures_knitr/load_data.R | e049989226a3dbe92753cd5fadc49bb305c9da2b | [] | no_license | rgiordan/Presentations | b5f7c5131b085a25a04a90aa0b9aa1110aeb5be2 | 0f1715e3e8f9f462ebcc36f7020182c710df526b | refs/heads/master | 2023-08-10T13:50:14.977266 | 2023-07-28T17:12:15 | 2023-07-28T17:12:15 | 96,622,743 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 985 | r | load_data.R | # sim_env <- LoadIntoEnvironment(
# file.path(data_path, "simulations", "simulations.Rdata"))
sim_env <- LoadIntoEnvironment(
file.path(data_path, "simulations", "noise_grid.Rdata"))
sim_viz_env <- LoadIntoEnvironment(
file.path(data_path, "simulations", "visualization.Rdata"))
cash_env <- LoadIntoEnviron... |
b133a31d8a1d5d26ab6c3e97b38361137da52b6e | c77c3ae74c228e3e396ea2cb02f2156feaec58a5 | /man/create_calculated_test_data.Rd | ede412d82d24f42a351ddab98bc3c9b0f7993561 | [] | no_license | johnchower/gloograph | 14d535dbb980fb3f2072ed84d11374182332b435 | 68952446acd499feed0e1beeee8cd1099ffa0ab8 | refs/heads/master | 2021-01-12T12:03:37.355597 | 2016-10-13T22:55:55 | 2016-10-13T22:55:55 | 69,919,425 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 644 | rd | create_calculated_test_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create_test_data.r
\name{create_calculated_test_data}
\alias{create_calculated_test_data}
\title{Create 'calculated' test data set.}
\usage{
create_calculated_test_data(timeline, weight_comment = 5, weight_share = 10,
reach_modifier = 0.8)
... |
8cf3ccb759c0acfffd28a9e8f187fd65b4642fb2 | e768aa9cd11382582fec5c8dd054a44e3a45ef96 | /Homework_1/Listings.R | 6e288853d93f27a0c2057ae1233083e64dd0cb97 | [] | no_license | PranavM98/Modelling-and-Representation-of-Data---IDS-702 | 12f5713eaed97fc6fa0f6beb08ccca7e5d5952f6 | db5c53fc6d7310555981c4e144f3a0f27908b166 | refs/heads/master | 2023-01-02T14:30:03.695683 | 2020-10-29T21:32:19 | 2020-10-29T21:32:19 | 292,388,933 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,166 | r | Listings.R | data<-read.table("Listings_QueenAnne.txt", header = TRUE, sep = " ")
data$room_type<-factor(data$room_type)
g1<-ggplot(data, aes(x=bedrooms, y=price)) + geom_boxplot()
g2<-ggplot(data, aes(x=accommodates, y=price)) + geom_boxplot()
g3<-ggplot(data, aes(x=host_identity_verified, y=price)) + geom_boxplot()
g4<-ggplot(d... |
590dc7b46f332971d0f02f27927e9cc2d67e709e | d338725b4829209def1259c1253ae56b927e1c96 | /vax_chord_diag.R | 629f706dd519bf94e82e306d583fc80ec90ab710 | [] | no_license | cssmilab/Chord-VAX | ea47d7836b32a896347cf65da796f5cc9da0d778 | 1885809b3326832402eec2599eae7b648ed6a070 | refs/heads/main | 2023-06-01T15:29:30.610266 | 2021-06-14T21:27:44 | 2021-06-14T21:27:44 | 376,960,389 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,400 | r | vax_chord_diag.R | library(circlize)
library(readr)
library(dplyr)
data <- read_csv2("./chord_diag_eng.csv") %>%
na.omit(.)
temak <- colnames(data)[2:ncol(data)]
vakcinak <- data$X1
data <- as.matrix(data[,2:ncol(data)])
colnames(data) <- temak
rownames(data) <- vakcinak
### Magyar
group <- c(Pfizer = "Vaccines",
Moderna = "... |
77f93ebad362fb14f1dece3d67d2fa9921add24e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/PSF/examples/plot.psf.Rd.R | e0041e74e1a787c80998c6b1f3d4a8ebc825cf1a | [] | 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 | 378 | r | plot.psf.Rd.R | library(PSF)
### Name: plot.psf
### Title: Plot actual and forecasted values of an univariate time series
### Aliases: plot.psf
### ** Examples
## Train a PSF model from the univariate time series 'nottem' (package:datasets).
p <- psf(nottem)
## Forecast the next 12 values of such time series.
pred <- predict(p, n... |
5f168a674b893069f06ef375cabc74ddd1479e3f | 1f6d089f3f5cde7da64cdfe9e8e7ec4dd2d2ab62 | /amplicon_processing/scripts/6.dada2_mergeSequenceTables.R | 1f583f342dd29b8d3ab1b50b097930e5f2c65e62 | [] | no_license | polzlab/VanInsberghe_2019_Cdiff_colonization | 181cb33958c6bb6de0a60b8054afe8c3dce5dc99 | fb80407b3dec2dbd907aa5ac5debe1b83b375fea | refs/heads/master | 2020-04-09T20:26:38.350472 | 2019-12-12T14:05:33 | 2019-12-12T14:05:33 | 160,573,581 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 391 | r | 6.dada2_mergeSequenceTables.R | .libPaths(.libPaths()[2])
library(dada2)
#print(snakemake@input)
tables <- lapply(snakemake@input, readRDS)
#tables <- tables[lapply(tables, length)>0]
combined <- do.call("mergeSequenceTables", tables)
saveRDS(combined, snakemake@output[["sequence_table_rds"]])
#write.csv(combined, snakemake@output[["sequence_table... |
b535c641586bd0b8329baa35dcfc43305e5a2230 | d33ae3dc91ab7a6eacf227a44776525e9a376ed8 | /simulation/R/app/server/welcome_custom.R | 30e6b6d1d1664453d34b26447f93ec1d1e7dbdca | [] | no_license | aloctavodia/density_estimation | 75d853a78c9ea703fd01de7c42222d8618536867 | 593d6eacb91e789fa9c4dc4b22444ca0e3018229 | refs/heads/master | 2021-01-05T18:57:20.321700 | 2020-04-09T05:34:39 | 2020-04-09T05:34:39 | 241,108,945 | 1 | 0 | null | 2020-02-17T13:02:22 | 2020-02-17T13:02:22 | null | UTF-8 | R | false | false | 1,725 | r | welcome_custom.R | showModal(
modalDialog(
title = "Python 3 directory",
h4(strong("Select a directory")),
fluidRow(
column(
width = 10,
textInput(
inputId = "python_path",
label = NULL,
width = "100%"
)
),
column(
width = 2,
actionButton(
inputId = "python... |
88cfc8cf07f6669efe3f9d9905894b0222335152 | 958995c3c660478eafff002b95f3b4876496b171 | /Sourcefile.R | 37aabbe010520eabe46cbd754ce8c703cd3f4aa1 | [] | no_license | satman1001/Project1 | 5f77f26d51c260215df7912cc18ad4864e8d6e31 | 3904ac6f7e905d9b63b7317f266713cec63600d8 | refs/heads/master | 2021-01-01T17:01:30.525588 | 2017-07-29T20:06:54 | 2017-07-29T20:06:54 | 97,974,769 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,002 | r | Sourcefile.R | # Project Proposal
# install.packages('ggplot2') # visualization
# install.packages('ggthemes') # visualization
# install.packages('scales') # visualization
# install.packages('dplyr') # data manipulation
# install.packages('mice') # imputation
# install.packages('randomForest') # classification algorithm
# install.pa... |
26463742d604be1282a2c492db0255dfc53e9f2d | b8e17335bfdc39df6d8a74ff30f43e1a4a840eb0 | /R/JLPM-package.R | 1c57208afe8c97639c4192fdf060dd119395358d | [] | no_license | anarouanet/JLPM | 43c18f8ddc6393ee014639fcea5513a61b258f49 | e226c5719aee97b5810e74e4564ee749ca0dce4b | refs/heads/main | 2023-04-15T16:23:43.117175 | 2021-05-04T08:03:58 | 2021-05-04T08:03:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 800 | r | JLPM-package.R | #' Joint latent process models
#'
#' Functions for the estimation of joint latent processes models (JLPM)
#'
#' @name JLPM-package
#' @docType package
#' @author Cecile Proust-Lima, Viviane Philipps, Tiphaine Saulnier
#'
#' \email{cecile.proust-lima@@inserm.fr}
#' @references
#'
#'
#' @keywords package
#' @importFr... |
c38eba3d6e6515b049086e7af51f5704cd56b4a1 | cd848096499430ef7d722b7bb05c7d9996f82334 | /module3/quiz2/quiz2_source.R | 34479dfe3b8354d12fd194eedcbf9963aa11f697 | [] | no_license | ratiom/dataSpecialization | eaec467400e118aeb09e156bfa4b7fca2123e33f | 5be7ff230c6817022ef7e7c0a21aaac94bbb092b | refs/heads/master | 2021-01-10T21:11:20.486215 | 2014-11-20T03:23:12 | 2014-11-20T03:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,482 | r | quiz2_source.R | library(httr)
# 1. Find OAuth settings for github:
# http://developer.github.com/v3/oauth/
oauth_endpoints("github")
# 2. Register an application at https://github.com/settings/applications;
# Use any URL you would like for the homepage URL (http://github.com is fine)
# and http://localhost:1410 as the callback url
#
#... |
8ac9f9272ca93b1d81c726076ead82d89e3333de | 3f312cabe37e69f3a2a8c2c96b53e4c5b7700f82 | /ver_devel/bio3d/man/get.pdb.Rd | 553b9336b2cdd718b52ad2430d218a06394885b4 | [] | no_license | Grantlab/bio3d | 41aa8252dd1c86d1ee0aec2b4a93929ba9fbc3bf | 9686c49cf36d6639b51708d18c378c8ed2ca3c3e | refs/heads/master | 2023-05-29T10:56:22.958679 | 2023-04-30T23:17:59 | 2023-04-30T23:17:59 | 31,440,847 | 16 | 8 | null | null | null | null | UTF-8 | R | false | false | 2,408 | rd | get.pdb.Rd | \name{get.pdb}
\alias{get.pdb}
\title{ Download PDB Coordinate Files }
\description{
Downloads PDB coordinate files from the RCSB Protein Data Bank.
}
\usage{
get.pdb(ids, path = ".", URLonly=FALSE, overwrite = FALSE, gzip = FALSE,
split = FALSE, format = "pdb", verbose = TRUE, ncore = 1, ...)
}
\arguments{
\... |
4d9a1886cad2403f587891e6a9ab927f89a591a2 | 79597e86a75c42b3bbf86ba8b3e01ec300032263 | /man/ClimMobTools.Rd | 78508a6366f94d99be7361f4dbf1e549d04112a0 | [
"MIT"
] | permissive | AgrDataSci/ClimMobTools | 90e1b41e195435258cfc9bcc5eaf147ef12f6f8c | 00f0521431c3a7d547d579f0bf794763b602bb87 | refs/heads/master | 2023-04-12T05:15:19.789991 | 2022-11-21T14:43:51 | 2022-11-21T14:43:51 | 177,651,687 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,433 | rd | ClimMobTools.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ClimMobTools.R
\docType{package}
\name{ClimMobTools}
\alias{ClimMobTools}
\alias{ClimMobTools-package}
\title{API Client for the 'ClimMob' platform in R}
\description{
\if{html}{\figure{logo.png}{options: style='float: right' alt='logo' width... |
b534c944df2fcdf602badedf1483494800a5a779 | f9ec2c75b2a589070480c205dafe0511718f9739 | /000_gxeonly_figures.R | b7d86c82dacccb17c4ce514c93ac318e11fad9d2 | [] | no_license | amob/GenoPheno | 90484c871c6e354c4ae8a5a4bc7f2effb20453b1 | 96f94c70d1435880e01f51dbeaaab4b7d0d6583d | refs/heads/master | 2022-09-10T13:04:44.627533 | 2022-08-12T13:31:14 | 2022-08-12T13:31:14 | 153,506,383 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,918 | r | 000_gxeonly_figures.R |
range01=function(x){
newnums <- sapply(1:length(x), function(z) ifelse(!is.na(x[z]), (x[z]-min(x,na.rm=T))/(max(x,na.rm=T)-min(x,na.rm=T)), NA ))
return(newnums)
}
####READ IN DATA
soils <- read.csv("~/GenoPheno/covmat.csv",stringsAsFactors=F,header=T)
allpheno <- read.csv("~/GenoPheno/phenomat.csv",stringsAsFactors... |
cff747c50bfe8db9aae4675ec700cf0560269d71 | de14fae2d13215142af3bb23b4f77d389f33ca84 | /PlantDiversitySurvey-globalCommunityData.R | 5f62b898cd70e132b34c669918f199408f529225 | [] | no_license | TREC-Agroecology/plant-diversity | d3f63eebae91a2f0a524bcadceee7ec9916b7836 | c971a2ae90a16d7d2d715f4681f68eafca52beea | refs/heads/master | 2021-12-28T08:51:16.925320 | 2021-12-23T15:31:29 | 2021-12-23T15:31:29 | 133,709,581 | 2 | 1 | null | 2021-10-04T16:05:10 | 2018-05-16T18:46:35 | R | UTF-8 | R | false | false | 10,488 | r | PlantDiversitySurvey-globalCommunityData.R | ### Create 'Community data' table for vegan package from NEON sampling data
library(vegan)
library(tidyverse)
build_community_data <- function(species, plots, survey){
community_data <- matrix(nrow = nrow(plots), ncol = nrow(species))
colnames(community_data) <- species$genus_species
for (c in 1:nrow(species))... |
9ac1e9095e5dbaae87d9d3de7265fb7f79477454 | 0044a6ab1270c0cfa09bcd7ebd29e60606676a00 | /R/coherence2.R | 01b4a8d9b067167731a8f2e983c35d48ab94b548 | [] | no_license | driegert/transfer | f5aab16281c7681f648614b5a2c713f7b7d6d14a | 7d5c31b3675c2b597148d27a25d4a00c1b66225a | refs/heads/master | 2020-04-04T22:25:37.759720 | 2017-10-12T20:00:13 | 2017-10-12T20:00:13 | 81,997,706 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,659 | r | coherence2.R | #' Calculates the coherence between two series
#'
#' Estimates the frequency domain coherence using the multitaper method.
#' @param x A \code{data.frame} whose columns are the time domain input series.
#' @param y A \code{numeric} vector containing the response series.
#' @param blockSize A \code{numeric} indicating ... |
977ca62fdf7ee835f43ab67c35827e7b360a81be | 81ca090d080aa02c85fee815a58df39c8360a83c | /R/ipc.estK.R | f4bbd02b9c7c1cce07b9c936fcbe30f5dd265c01 | [] | no_license | cran/ecespa | b7e5673c99764e4a01d6c853ffc52ef3c5d3d021 | 3ab15613957414d862f0c1847295bcae73f2f35a | refs/heads/master | 2023-01-11T02:48:30.607369 | 2023-01-05T20:50:44 | 2023-01-05T20:50:44 | 17,695,706 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,251 | r | ipc.estK.R | `ipc.estK` <-
function (mippp, lambda=NULL, correction="iso", r=NULL, sigma2 = NULL, rho = NULL, q = 1/4, p = 2)
{
Kclust <- function (r, sigma2, rho) {
(pi * r^2) + ((1 - exp(-(r^2)/(4 * sigma2)))/rho)
}
D.theta <- function(theta, Kobs, r) {
sum((Kobs^q - Kclust(r, theta[1], th... |
85b8f1bd0b13b854cae38a8d49048077bc4ddf8f | 9daf18e4b81d01553c3f1a63c34be3d4690fc7f6 | /figure/plot1.r | e3ed689f5ab3f605becd4fa7d1706d60491847e5 | [] | no_license | magnus-sigurdsson/ExData_Plotting1 | 12890ff7fe5eb3e9ae33acd6c302413ee97dd49f | a43119055809585836a5b7771dca0da338410ad3 | refs/heads/master | 2021-01-17T18:30:14.661600 | 2015-01-09T02:55:23 | 2015-01-09T02:55:23 | 28,943,482 | 0 | 0 | null | 2015-01-08T01:49:08 | 2015-01-08T01:49:06 | null | UTF-8 | R | false | false | 761 | r | plot1.r | # reading in data
dat = read.table("C:/RWork/datascience/Exploratory data analysis/household_power_consumption.txt", na.strings = "?",
sep = ";", stringsAsFactor = F, header = T)
# converting to numeric
dat[,3:ncol(dat)] = apply(dat[,3:ncol(dat)], 2, as.numeric)
dat$Date = as.Date(dat$Date, format = "... |
1f68a635c498fa7521c2a9f99b8bda8f529afab8 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /biwavelet/inst/testfiles/rcpp_row_quantile/libFuzzer_rcpp_row_quantile/rcpp_row_quantile_valgrind_files/1610554500-test.R | f9d14a514745fdcb42b470bee0e4446f4a63dba4 | [] | 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 | 817 | r | 1610554500-test.R | testlist <- list(data = structure(c(3.52953696534134e+30, 3.52939363896286e+30, 3.52953696534131e+30, 4.84136405102239e-305, 3.48604090771692e+30, 2.64619557400541e-260, 7.2911220195564e-304, 2.4173705217461e+35, 4.73123150715541e-308, 1.38523885228052e-309, 4.46122518269139e+43, 1.390671161567e-309, 3.417785176192... |
2dca4788efcbbc0156a68b68c82c7ef45a54b6b2 | 6490267b3849bfa3f35fa328822967db28dc409a | /R/expand_params.R | 351941aa3cda64d9fe131398c8939c28d214eabc | [
"MIT"
] | permissive | stfriedman/tidyouwie | c4db6b5c792bf230b3f17ecd718417de26287a30 | 13be105e7eaa708843cf313ae6404d8af2f2cbd0 | refs/heads/master | 2022-05-13T22:23:18.787543 | 2022-04-19T00:30:55 | 2022-04-19T00:30:55 | 194,533,118 | 0 | 2 | MIT | 2019-08-09T17:09:17 | 2019-06-30T15:41:52 | R | UTF-8 | R | false | false | 1,494 | r | expand_params.R | #' Expand parameters from OUwie output
#'
#' This function expands the output from ouwie_tidy so that parameter values for all regimes are visible.
#' @param results output from the ouwie_tidy function
#' @return Function returns the results tibble with parameter values for each regime in a column
#' @references Beau... |
89c2d834888f111504576c15ecbefc5ef411710d | 6da868e097b227dfbd7f9c53386af1ecac24bd70 | /scripts/get_hyper_params.R | 942a2c8936cbfa76a1526aeaf40f413158971d88 | [] | no_license | skdeshpande91/clustering_spatialMeans | b80491d8a0a83249a46e3daa87fd4fb7327b9d95 | 014e18a798aded3b6ff78608ee78ce223ed7a967 | refs/heads/master | 2020-04-20T02:17:47.079375 | 2019-09-23T23:25:22 | 2019-09-23T23:25:22 | 168,568,016 | 0 | 0 | null | 2019-04-22T19:40:01 | 2019-01-31T17:39:39 | C++ | UTF-8 | R | false | false | 931 | r | get_hyper_params.R | #get_hyper_param <- function(Y, W, rho = 0.9, q = 0.05){
get_hyper_param <- function(Y, nu = 3,rho = 0.9, q = 0.05){
#D <- diag(rowSums(W))
#W_star <- D - W
#Omega_alpha <- rho * W_star + (1 - rho) * diag(N)
#Sigma_alpha <- solve(Omega_alpha)
#avg_trace <- mean(diag(Sigma_alpha))
T <- ncol(Y)
alpha_hat... |
52c8af806005cea80409fdf519b93a2969b2d1d1 | 5689f2c25e4f82bfc0965d13ef98fe712e5f5bdb | /Exploratory Data Analysis/Week 4 Course Project/plot4.R | 117ea561948ac020fca9bd16371f0fbc70326024 | [] | no_license | Frank-duuuu/Data-Science-Specialization-Assignments | e97a594896df8691821b6ba7bbf1b664eb205669 | 357cdd03469bea302d90d0aeadbe1b50a1fc9632 | refs/heads/master | 2022-12-13T03:55:30.739866 | 2020-09-04T14:48:35 | 2020-09-04T14:48:35 | 273,859,501 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 902 | r | plot4.R | PM <- readRDS('exdata_data_NEI_data/summarySCC_PM25.rds')
SCC <- readRDS('exdata_data_NEI_data/Source_Classification_Code.rds')
combustionRelated <- grepl('comb', SCC$SCC.Level.One, ignore.case = TRUE)
coalRelated <- grepl('coal', SCC$SCC.Level.Four, ignore.case = TRUE)
coalCombustion <- (combustionRelated & coalRelat... |
4a5a42be120b53cc386e1e2615da87efaaad707f | 80976dd8efcba7d17a6638c030be0effcbcf37fe | /Brouillon/graphique.R | cd5ff6aaa4c25a6873627c2cde6d3c9081afc6a3 | [] | no_license | jcantet/simu_impot | e58015ac992785f089dc88d166f0a7e2d8850c66 | bc763646e75dd939fa4cd38cd5e651f0421e1f18 | refs/heads/master | 2023-01-22T12:23:46.011486 | 2020-11-29T14:00:03 | 2020-11-29T14:00:03 | 304,384,890 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,231 | r | graphique.R | # Fonction pour calculer les impôts bruts 2019
# Fonction pour calculer les impôts bruts 2019
calcul_impot <- function(annee_rev, sit, rev1, rev2, rfr1, rfr2, bareme, plaf_qf, nb_parts, nb_payeurs, decote, coeff_decote, reduc){
rev <- rev1 + rev2
rev_retenu_fam <- (rfr1 + rfr2) / nb_parts # Base calcul imp... |
3b356d613ab91ab9c2f8e0bbb1a2037caddfcfd3 | 88a5bb4573eb5c078009e99837d466f0be3cffe6 | /man/opt.tbreg.Rd | c964d463fb1f79bdb5259ffeb8cb596f367d2a20 | [
"Apache-2.0"
] | permissive | jinseob2kim/jstable | 609ab7b2f556a08c2317c9639a67476d9d3a4c1b | 6759e0b770d505cf59d7db73c365a2b7de648a24 | refs/heads/master | 2023-09-01T07:39:17.228323 | 2023-08-21T13:25:54 | 2023-08-21T13:25:54 | 135,014,959 | 15 | 6 | null | null | null | null | UTF-8 | R | false | true | 448 | rd | opt.tbreg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DToption.R
\name{opt.tbreg}
\alias{opt.tbreg}
\title{datable option for regression table(DT package)}
\usage{
opt.tbreg(fname)
}
\arguments{
\item{fname}{File name to download}
}
\value{
datatable option object
}
\description{
DT::datatable o... |
10ebbad9bcd175e510ce5cc93648372f512f3fdd | 6321c8a1497020ae8a387d1281301aaa6aa38dbf | /naver_stock.R | e02d821383a1a6a156574633e1d8a3466d192519 | [] | no_license | daawonn/R_project | fad2c4e2fe4dc7c71cf549e59813b43328cca15c | 617c806d17cf43011594df73540815bbc9cc8319 | refs/heads/master | 2021-01-05T12:19:46.002970 | 2020-02-24T01:22:16 | 2020-02-24T01:22:16 | 241,022,949 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 722 | r | naver_stock.R | ## 네이버 금융 크롤링
install.packages('rvest')
install.packages('R6')
install.packages('XML')
# 라이브러리불러오기
library(rvest)
library(R6)
library(XML)
stock_data <- NULL
for (i in 1:10){
page <- 1
url_base <- 'http://finance.naver.com/item/sise_day.nhn?code=005930&page='
b <- paste(url_base, i, sep ='... |
a1ad8394512749a062a55b21a8f95e7e64a7f7d3 | 7c3b1b37f1986d00ef740e0185db4e24b5ca4cb4 | /inst/examples/index.R | 47e11ad18890df3b702e07973271d6faaec2a918 | [] | no_license | jverzani/gWidgetsWWW2.rapache | 2b9ea2402b334d9b57cc434ef81d8169d5a88f54 | f0678d800d0e824f15f0098212271caac71bb67c | refs/heads/master | 2020-04-06T07:02:06.600687 | 2014-02-01T03:47:41 | 2014-02-01T03:47:41 | 5,430,063 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,291 | r | index.R | ## Show index page
require(whisker)
f <- list.files(system.file("examples", package="gWidgetsWWW2.rapache"), full=TRUE)
f <- Filter(function(x) !grepl("index.R|README",x), f)
nms <- lapply(f, function(i) list(nm=basename(i)))
tpl <- "
<h2>gWidgetsWWW2.rapache</h2>
<p>
The <code>gWidgetsWWW2.rapache</code> package al... |
6e0450a605ce87dffe2fe4be7b68c2a6dc642f2b | d14bcd4679f0ffa43df5267a82544f098095f1d1 | /inst/apps/example7_1/server.R | ee9a15b41fbac141af9ee74198d082694b3177a0 | [] | no_license | anhnguyendepocen/SMRD | 9e52aa72a5abe5274f9a8546475639d11f058c0d | c54fa017afca7f20255291c6363194673bc2435a | refs/heads/master | 2022-12-15T12:29:11.165234 | 2020-09-10T13:23:59 | 2020-09-10T13:23:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 787 | r | server.R | server = function(input, output, session) {
output$example7.1 <- renderUI({
withMathJax(HTML(includeMarkdown('background.Rmd')))
})
output$berkson <- DT::renderDataTable({
L <- c(0,100,300,500,700,1000,2000,4000)
U <- c(100,300,500,700,1000,2000,4000,'Inf')
n.10220 <- c(1609, 2424,1770,1306,1213,1528,354,16)
... |
b1d59c57fd6dd40b13a3ae7448556e016ca84722 | 2bce49ab57997fe6121efcfba8544e8ede5f6376 | /man/get_lb.Rd | e6262566f8b9e88f6a6cf0108436a967c7d1fef7 | [] | no_license | hfjn/nmmso_benchmark | 7e0309244529226f1ab2b0bd7091772392ceba38 | bf13085ce7ce6d597c45095d30d2e0909467eb56 | refs/heads/master | 2021-05-30T02:31:26.276871 | 2016-01-09T16:24:01 | 2016-01-09T16:24:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 298 | rd | get_lb.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/get_lb.R
\name{get_lb}
\alias{get_lb}
\title{get_lb}
\usage{
get_lb(fno)
}
\arguments{
\item{fno}{Number of the niching function to be used.}
}
\value{
The lower bound for the function.
}
\description{
get_lb
}
|
d76c0f91c704b76b84a3735c62c38e747128c669 | 08a6e8e2b86a015fe6f847102bf244fc1ce18d6a | /4-Demography/PCA/snprelate_PCA_cluster_rail.R | 8316ecb91aafc03cb8a87de32e37ed351ae0ceff | [] | no_license | dechavezv/2nd.paper | 40d5578aef8dfdaa07a5d9eb27c9f632f0750cd3 | ffa6506ec062bc1442e3d0ee7325f60087ac53e1 | refs/heads/master | 2020-12-19T21:31:43.317719 | 2020-08-07T05:46:59 | 2020-08-07T05:46:59 | 235,857,029 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,687 | r | snprelate_PCA_cluster_rail.R | ##### Load libraries
library(gdsfmt)
library(SNPRelate)
library(ggplot2)
library(RColorBrewer)
##### Set working directory?
todaysdate=format(Sys.Date(),format="%Y%m%d")
calldate=20200504
setwd("/u/scratch/d/dechavez/rails.project/SNPRelate")
plotoutdir=paste("/u/scratch/d/dechavez/rails.project/SNPRelate",calldate,"... |
62d2c448c12e8450c73794874859c677d7b772bb | ea2f728a0254ca19a98981aecf8d5d10f2230885 | /denoising_docs/denoising.R | 7febc5de78528567a36cd12a4056efe37d0bba1d | [] | no_license | itsnavneetk/Kaggle | 5c753ccf3036ef6542f003d475baa2f83a66546c | ed4600c6452119d1ac12f71df337e0c49d828193 | refs/heads/master | 2021-04-15T16:59:37.201290 | 2018-03-25T08:33:39 | 2018-03-25T08:33:39 | 126,678,391 | 0 | 0 | null | 2018-03-25T08:32:31 | 2018-03-25T08:32:30 | null | UTF-8 | R | false | false | 7,814 | r | denoising.R | #Denoising Dirty Documents
#https://www.kaggle.com/c/denoising-dirty-documents
library(ggplot2)
library(rpart)
library(caret)
library(randomForest)
library(e1071)
library(glmnet)
library(xgboost)
library(deepnet)
library(dplyr)
library(data.table)
library(bit64)
library(pROC)
library(png)
library(grid)
library(Metric... |
3840e850ea50eeb1952b8166e808e9fea57cb5e2 | 6150161144eb5fcd4bf9ca2752f11c56f5833226 | /PLR_IO/get_baseline_period_from_bins.R | 90d904699e20f6954efee71ed04f6e3cd632ca87 | [] | no_license | petteriTeikari/R-PLR | 1d8be9cd1b612942e4772735699c2a2cc9555dab | b1701c771ccb80bac7766135f67834abf9ea08a1 | refs/heads/master | 2020-03-21T02:55:44.329164 | 2019-02-13T07:29:52 | 2019-02-13T07:29:52 | 138,028,683 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 389 | r | get_baseline_period_from_bins.R | get.baseline.period.from.bins = function(bins) {
bin_names = bins$Name
index = match("Baseline", bin_names)
if (is.na(index)) {
warning('No variable (column) name of "Baseline" was not found from bins.csv, Using the default value!')
baseline_period = c(10, 15)
} else {
baseline_period = c(bins... |
9529fc3c3bb1fac9971534ff76fbd1f9b7daea22 | 431681cebb0f2e5ff4ccd167aba2067a8c3f52c5 | /mc_yvar_appx.R | 2dc4093b081907018beca4101ed00e36fc553340 | [] | no_license | dcries/ebmodel | f2a09ac96635abfabf9bfa7cab976333d8c60bf4 | fc08a454e319501c210c7bcca99d3eae6e2b1fb6 | refs/heads/master | 2021-01-12T11:12:00.363741 | 2017-03-08T23:38:47 | 2017-03-08T23:38:47 | 72,864,760 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,414 | r | mc_yvar_appx.R | nrep <- 500
yeesd <- rep(0,nrep)
yessd <- rep(0,nrep)
for(k in 1:nrep){
n <- 300
#known covariates
zg <- rbinom(n,1,0.5) #gender indicator
zb <- rnorm(n,27,5) #bmi
za <- runif(n,20,40) #age
#ze <- rbinom(n,1,) #education
#zr <- #race
geg <- params[3]#200 #indicator level for male for ee
geb <- params[4]#3.5 #slope ... |
60a7625181071d8a9a9b2d629c100cc1943be83c | a068c88c7c26a18b5d0da7e02f0cae6430417609 | /R/feather_file_creator-build_genes_files.R | 3fea9971cba33ab8bb09afab40bfd1e356b4fb84 | [] | no_license | CRI-iAtlas/iatlas-feather-files | 9d2e59216a6991ab444d0f64537b8c299a23afc9 | f305040f82406129269bee6df48797d992279c56 | refs/heads/master | 2023-07-16T03:45:12.682450 | 2021-08-23T15:58:45 | 2021-08-23T15:58:45 | 271,083,654 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 901 | r | feather_file_creator-build_genes_files.R | build_genes <- function(){
require(magrittr)
immunomodulators <- iatlas.data::synapse_feather_id_to_tbl("syn23518460")
io_targets <-
iatlas.data::synapse_feather_id_to_tbl("syn22151533") %>%
dplyr::select(
"entrez" = "Entrez ID",
"io_landscape_name" = "Friendly Name",
"pathway" = "Pathw... |
5f6c70cba69deccaf37098fc1995a42c34d90233 | 5406025f4f757c544643c30728953f03c77e6b10 | /tests/testthat/test-11-last_tuesday.R | 745fdfa1b823d50b0bfa2103e71371f9c6f43fed | [
"MIT"
] | permissive | jrosen48/tidytuesdayR | 755dc2cedfffc9763a2f810283060616706df65a | c5a3f3c083ef53c8ca94b3cd771ccb640bc215d7 | refs/heads/master | 2022-11-29T04:24:58.338687 | 2020-08-11T16:57:04 | 2020-08-11T16:57:04 | 286,800,052 | 0 | 0 | NOASSERTION | 2020-08-11T16:57:05 | 2020-08-11T16:55:37 | null | UTF-8 | R | false | false | 1,109 | r | test-11-last_tuesday.R |
tt_ref_test_that("last_tuesday will give you the most recent tuesday", {
check_api()
## Look backwards to the last tt
date_1 <- as.Date("2020-01-01")
last_tuesday_1 <- last_tuesday(date_1)
## Look forwards to the "next" tt (they can be posted on mondays)
date_2 <- as.Date("2020-01-06")
last_tuesday_2 <... |
5a16cb6a46cedb4cb401eff39815ae28555bbc38 | f96537a7dbd2229905344dd33870ae0eaf7ed90b | /00_Plots/PlotLongitudinalData.R | 9407be9812e178ece322f5d8ae146445013f2215 | [] | no_license | Yaseswini/RScripts | ee44413fa8080f1dde1470191af09ddf0497f737 | 0200c2fc2e4b64b248f03f1570637c471839eec0 | refs/heads/main | 2023-05-12T07:06:54.868521 | 2023-05-02T14:46:58 | 2023-05-02T14:46:58 | 105,283,154 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,194 | r | PlotLongitudinalData.R | # / Script params
# Author : Yaseswini Neelamraju
# Script name : PlotLongitudinalData.R
# Description : The script is used to plot average expression/any values per gene across time points/other categorical groups
# /
#
# input data :
# The input data should like this :
# gene timePoint1 timePoint2 timePoi... |
6336dc51fe118a44babc5796f9db15c4fc14907f | 067f36b3a6822ad19439f912781c741f7142e226 | /R/zzz.R | 20cf7d33d5fb8c56d4f3f1ac8fe9ea07bdd48b03 | [
"MIT"
] | permissive | guhjy/blorr | 1cbe692b2078ef6a5d066b4cebc77e4fb9c05353 | f938cae27ed4a0a2988c75b7ae222134598c6355 | refs/heads/master | 2020-04-09T10:54:58.022560 | 2018-10-18T11:48:31 | 2018-10-18T11:48:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 564 | r | zzz.R | .onAttach <- function(...) {
if (!interactive() || stats::runif(1) > 0.1) return()
tips <- c(
"Learn more about blorr at https://github.com/rsquaredacademy/blorr/.",
"Use suppressPackageStartupMessages() to eliminate package startup messages.",
"Need help getting started with logisitc regression models... |
f475a50844e78023ff155a874d32ac6d4d6d6e70 | 5fc672d84618a45c16542dc8680fa3d41937ce22 | /R/R2G2/man/Hist2GE.Rd | 62320fa9fa53d31d20aebba640fad71c19978bea | [] | no_license | arrigon/R2G2 | 4dccffe82d01660b13eee54598a21de561cc1928 | f49f292c903879295ddb84c676f02f80883a9db5 | refs/heads/master | 2021-01-11T00:14:27.612052 | 2016-10-11T11:44:57 | 2016-10-11T11:44:57 | 70,573,434 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,684 | rd | Hist2GE.Rd | \name{Hist2GE}
\alias{Hist2GE}
\title{
Producing 3D histograms in Google Earth
}
\description{
The current implementation produces Google Earth 3D histograms to i) count the number of distinct entities (e.g. species) per spatial unit (regional species diversity) or ii) count the number of occurrences of each entity per... |
5bffb507509be2d71e1d49b93cbb075df0a3438b | 38efe5955099b359e6797de19fc54f8a1b06858f | /vaje1.R | 988675c3953f21a9edd674c1da8471bd74399821 | [] | no_license | tinarazic/casovne_vrste | ef0d8ab0a2704acad282382fc90a9f779748889d | 90b82d758cbe21038dd1595ece6bfe4908f98439 | refs/heads/master | 2020-08-16T09:45:04.638735 | 2019-12-11T20:26:57 | 2019-12-11T20:26:57 | 215,487,170 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,173 | r | vaje1.R | # PREPISANA 1. ura od Eve:
v <- c(100, 200, 300)
cumsum(v)
diff(v)
diff(v, lag = 2)
diff(v, differences = 2)
diff(v, differences = 1)
M <- matrix(1:15, 3, 5)
M <- matrix(1:15, 3, 5, byrow = TRUE)
M[2,3]
M[2,]
M[,3]
c(M)
t(M)
2 * M
M + 2
A <- rbind(c(2, -2), c(2, 2))
B <- rbind(c(2, 2), c(2, -2))
A * B
A %*% B
A %*% c(... |
fb9a22f00e96bd6df8d3428a2ae8c984b2175c84 | 057d770e54614c2684a598f184c6ed16a2791be8 | /week10-session-Random Forest & Ensemble/random forest and ensemble/tree.R | 6d00ca8202aa11f9cb4fa1492783057c6f75f526 | [] | no_license | jeonyoonhoi/boaz_base | 9b59e470fe75daa8615abc07980f49fc3d8044e9 | 4f2f8b247105c76213f034d25f82230be1e4f713 | refs/heads/master | 2020-03-31T04:46:02.355960 | 2019-03-20T10:03:44 | 2019-03-20T10:03:44 | 151,918,993 | 0 | 0 | null | null | null | null | UHC | R | false | false | 1,928 | r | tree.R | # 17.09.28. A조
# 의사결정나무(Decision Tree)
# 필요한 라이브러리 설치 및 불러오기
install.packages('MASS')
install.packages('tree')
library(MASS)
library(tree)
# 만만한 iris data 이용...
data(iris)
# 입력변수에 따른 출력변수 plot 찍어보기
# 입력변수(Sepal.Lenghth, Sepal.Width, Petal.Length, Petal.Width)
# 출력변수(Species): Setosa(검), versicolor(빨... |
d7ecbec42bdb658460e2af058813c12ed54bd7f6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/cherry/examples/hommelFast.Rd.R | 1eecf3aeb4c475650fbf9ce0a9f157de6daf5de3 | [] | 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 | 569 | r | hommelFast.Rd.R | library(cherry)
### Name: hommelFast
### Title: Calculates adjusted p-values of Hommel's method efficiently.
### Aliases: hommelFast
### ** Examples
#Generate a vector of pvalues
set.seed(1)
n <- 1000
pvalues <- c(runif(0.50*n,0,0.001), runif(0.50*n,0,1))
#Create an hommel object in which the adjust... |
7be93d1ecb6833a539d76bb55253aa7fb3833599 | 386bd61637777c188de55c2035da0c1cf8e8578a | /helper_functions/exploratory data analysis.R | e4943767f8f4db1c919b3d6b3b775d2a30b72212 | [] | no_license | SzefKuchni/house_price | 42d1364974678c105a94b28e270154b6937f2519 | 7d27d965ee0f194a273bf694022dcfc9e97e2e5e | refs/heads/master | 2021-01-18T05:09:50.605979 | 2016-10-31T13:36:03 | 2016-10-31T13:36:03 | 68,593,325 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,278 | r | exploratory data analysis.R | source("C://Users/T540pDLEWYNBQ/Desktop/house_price/helper_functions/sample_ec.R")
source("helper_functions/explore_feature_div.R")
train_div<-feature_div(train, "Id")
train_div$class
source("helper_functions/explore_cor_with.R")
correlation<-cor_with(data = train_div$numeric, measure_to_check_cor_with = "SalePrice"... |
192859bfad2012800231fd03fea9a376fc5c7ce2 | e6b8fd1f12520370672e08a5837a0f42721e0932 | /test_img.R | 97ceb5a77b08636f07a02c1ad1c50e73a2465013 | [
"MIT"
] | permissive | tjv32/shinyVCT | a19d47369060bc559c1f081cd5de3ffed166b7d7 | 985f4dce57c29b3d2cdfe557c1ad4a8cd409ea63 | refs/heads/master | 2022-11-22T17:43:19.725149 | 2020-07-24T22:00:23 | 2020-07-24T22:00:23 | 278,509,285 | 0 | 0 | MIT | 2020-07-10T01:29:16 | 2020-07-10T01:29:16 | null | UTF-8 | R | false | false | 276 | r | test_img.R | setwd("/home/thomas/Documents/Project/finalVCT/clone/shinyVCT/")
source("img_functions.R")
library(magick)
library(ggplot2)
load("fname.RData")
print(params)
#params[['plot_type']] = 'logarithmic'
hold <- generate_final_image(params)
print(hold)
image_write(hold, 'test.png')
|
356d464ef793976f7d9d7ec38b2bfc00a50ce3e9 | cea73465520723f4e53bfd19e4706132c6f50083 | /datavizconfdraft.R | f05ea4779c2ab015d604842bec341d47223460be | [] | no_license | tmayhew/NBAdraft | 290b0060ebc227fade32055b079db31af5e8259e | 7b5e6181875df908316149c4faf0c310c31fd570 | refs/heads/master | 2022-04-27T20:26:35.861697 | 2020-04-20T19:50:50 | 2020-04-20T19:50:50 | 252,315,347 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,961 | r | datavizconfdraft.R | library(rvest)
library(ggplot2)
library(ggthemes)
library(tidyverse)
library(nbastatR)
'%!in%' <- function(x,y)!('%in%'(x,y))
draftpool1 = read.csv("data/drafts20152019.csv")[,-1]
draftpool2 = read.csv("data/drafts20082014.csv")[,-1]
draftpool3 = read.csv("data/drafts19952007.csv")[,-1]
sch.df = read.csv("data/school... |
79532ec1652487cf32b91a3133623bea6f522ec9 | 34192cc1bcd12310e7c24b171fd07583f3fbf88a | /tests/tests-num_dat_probs.R | bb89cddf714c75b222ce5c44df140926442736d6 | [] | no_license | n8thangreen/i-sense-model | f1da56a180b4cc5a294a54c664f7f21a32f0155a | b1034b6981e09cec67433fe59c3e6fa393de9b69 | refs/heads/master | 2022-03-26T17:03:38.088630 | 2020-01-15T13:42:27 | 2020-01-15T13:42:27 | 87,080,908 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 263 | r | tests-num_dat_probs.R |
with(num_dat_probs, Sx.notseekcare_H1N1 + Sx.notseekcare_notH1N1+ Sx.GP_H1N1 + Sx.NPFS_H1N1 + Sx.NPFS_notH1N1 + Sx.GP_notH1N1)
with(num_dat_probs, complete.hosp/ILI.hosp)
with(num_dat_probs, auth_NPFS.coll*coll.start*start.complete*complete.hosp*hosp.death)
|
c996a3710811bb383e51e583578b09f6a05b344e | a88c13f65f5e8a89ba16fc328b341b867a97610e | /Group6exploreData.R | ccd17bcd56091ff9374d7389981f8138df0dc724 | [] | no_license | briandannenmueller/UnitedWayProject | ec8a6275f1efceff2ff7fe95f326fc8deb873145 | 7a1e8a2badc1d575f92abaf507b2abad2aaded61 | refs/heads/main | 2023-05-20T14:34:03.113021 | 2021-06-05T03:48:06 | 2021-06-05T03:48:06 | 359,864,700 | 0 | 1 | null | 2021-04-28T17:56:42 | 2021-04-20T15:28:49 | R | UTF-8 | R | false | false | 12,267 | r | Group6exploreData.R | # Group 6 R Code
#Brian Dannenmueller, Zohaib Hussain, David Holmes, and Ryan Holt
rm(list = ls())
#read in cps
cps = read.csv("cps_stat172.csv", stringsAsFactors = T)
################################################
###-------PREPARATION---------------------------
################################################
# ... |
c5fb1cc8d1290564a2811955fbbc2ee3d56bfff8 | 907af44f17d7246e7fb2b967adddb937aa021efb | /man/fslcog.Rd | e5219209b03e372efaf310a63c4c474414e2c20a | [] | no_license | muschellij2/fslr | 7a011ee50cfda346f44ef0167a0cb52420f67e59 | 53276dfb7920de666b4846d9d8fb05f05aad4704 | refs/heads/master | 2022-09-21T07:20:18.002654 | 2022-08-25T14:45:12 | 2022-08-25T14:45:12 | 18,305,477 | 38 | 23 | null | 2019-01-10T20:57:47 | 2014-03-31T19:35:03 | R | UTF-8 | R | false | true | 1,064 | rd | fslcog.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fslhd.R
\name{fslcog}
\alias{fslcog}
\title{Image Center of Gravity (FSL)}
\usage{
fslcog(img, mm = TRUE, verbose = TRUE, ts = FALSE)
}
\arguments{
\item{img}{Object of class nifti, or path of file}
\item{mm}{Logical if the center of gravity... |
cf65596f252f0ef6e7f2b73e1ff5f2ea3e3d2ec6 | 543df30ebc6bb7fd0404b62df30858b9416e3783 | /gdb_read.R | 6a2a5093eccdb498c411a89fb41fad73b748eeed | [] | no_license | ARMurray/WellsDashboard | 96ff84953022b106adfc09852fd73f41eee5e513 | 166a8fe1b51b2035d61af02a5acdc0d70a094cc7 | refs/heads/master | 2021-05-21T01:25:39.910529 | 2020-05-05T18:08:20 | 2020-05-05T18:08:20 | 252,485,317 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,252 | r | gdb_read.R | require(rgdal)
library(sf)
library(here)
library(leaflet)
# The input file geodatabase
fgdb <- "C:/Users/HP/OneDrive - University of North Carolina at Chapel Hill/EPA_12_13_2017/Groundwater Well Use/Final Well Estimates/subsets/subsets.gdb"
# List all feature classes in a file geodatabase
subset(ogrDrivers()... |
95b0b986a5355b174ff53e70c7970305dfb578be | 990147d8da8fe93edd1f4d9af736d947108e64b6 | /plot3.R | 91279a26fded62a1e1e2076ef5a0ba83b01ffcb6 | [] | no_license | lamchoonho/Exploratory_Data_Analysis_Project_2 | c3e5021b5de73abdf5e27e839f7b744ffc1898be | 52882efb427d7e87b9f531d14ab30b75976eb4b7 | refs/heads/master | 2021-01-12T04:57:19.217619 | 2017-01-02T08:03:18 | 2017-01-02T08:03:18 | 77,811,626 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,199 | r | plot3.R | # Of the four types of sources indicated by the type (point, nonpoint, onroad, nonroad)
# variable, which of these four sources have seen decreases in emissions from 1990-2008
# for Baltimore City? Which have seen increases in emissions from 1999-2008? Use the
# ggplot2 plotting system to make a plot answer this ... |
71715ff08734fe3378df906797b55665074379ea | fbd719c38f707a192d06ab4de7a1b3fcb15cd539 | /R/wc_assignment.R | 22e4c39ce7d7769f6c56445aa72a68e34131e36f | [] | no_license | cran/whiboclustering | cd65d81c04cd4af9485a4ebb76f08c7b53add534 | dfb57913f4f0e0df5c9cfba75738792aea58ed2c | refs/heads/master | 2020-04-07T13:04:07.970688 | 2018-11-20T12:10:03 | 2018-11-20T12:10:03 | 158,392,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 32,882 | r | wc_assignment.R | #' General Component for Assignment of data points to Cluster Representatives.
#'
#' @param data A dataset for which data points needs to be assigned to Cluster Representatives.
#' @param centroids Cluster representatives.
#' @param assignment_type String which signal which assignment type to be used. Check \code{w... |
96ac8f3512f27f9acc8b9fcda29e849056b978a6 | ffbad7c2d97a913c99f872611cc3e7a9493265cc | /R/missingdata.R | 1be1f7667a8703d6d6296477e632ac4e509acd1f | [] | no_license | cran/AGHmatrix | b98e25ddadeca16198d07615816462565c291140 | ec303d31f7f69b38ffc2d89e1650ecd7a2c87067 | refs/heads/master | 2023-04-16T01:44:45.265585 | 2023-04-03T19:32:38 | 2023-04-03T19:32:38 | 136,302,876 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,409 | r | missingdata.R | #########################################
#
# Package: AGHmatrix
#
# File: missingdata.R
# Contains: missingdata
#
# Written by Rodrigo Rampazo Amadeu
#
# First version: Feb-2014
# Last update: 14-Apr-2015
# License: GPL-3
# ... |
8c1ac463e600cdb5c7508ca18e89f4d378ae807e | f49fa5f89188ef24f06701fa5c30b160d88075d3 | /dataPreprocess_glassData.R | a9d47c84be183a14dad5c256f6ba980b79d8823d | [] | no_license | rsharma11/Machine-learning | bbf2b0251c73a4192a6bd73514613508308f22c5 | 89a459b73d1748212af196dc404b15e0e2a76545 | refs/heads/master | 2020-03-27T06:47:22.886872 | 2018-10-30T22:22:57 | 2018-10-30T22:22:57 | 146,135,458 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 878 | r | dataPreprocess_glassData.R | library(mlbench)
library(ggplot2)
library(corrplot)
library(corrgram)
library(reshape2)
library(e1071)
data(Glass)
str(Glass)
attach(Glass)
glassData <- Glass
##### Distribution and relationship between predictors
names<-names(glassData)
classes<-sapply(glassData,class)
ggplot(melt(glassData),aes(x=value)) + geom_hi... |
b21a1748913e816d3f1c9b174e383af9717c3a34 | ab2749ed7092f3d79690a2495867b109daf9a48b | /R/app_server.R | 8fb30acd1db257e4e2e1ef03531e9d1ab2f20dbd | [
"MIT"
] | permissive | TileDB-Inc/gtexplorer | 49f93d47f055fd1498dd52ed25ee1df1a972b2d5 | df9a9814d095e53d8b93e97164f81ca42a8847d0 | refs/heads/master | 2023-08-26T22:16:00.507436 | 2021-09-30T16:00:45 | 2021-09-30T16:01:07 | 368,531,835 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,518 | r | app_server.R | #' Server-side logic
#'
#' You can override the default array URI with the environment variable,
#' `GTEXPLORER_URI`.
#'
#' @param input,output,session Internal parameters for {shiny}
#' @importFrom DT datatable renderDT JS
#' @import shiny
#' @importFrom dplyr inner_join
#' @noRd
app_server <- function(input, output,... |
8905758eeab161fd77769ce6c6fb0933d407236c | 0a906cf8b1b7da2aea87de958e3662870df49727 | /distr6/inst/testfiles/C_EmpiricalMVPdf/libFuzzer_C_EmpiricalMVPdf/C_EmpiricalMVPdf_valgrind_files/1610036529-test.R | 08ec2cf8cd1c57b43961563c82210f400c6ded34 | [] | 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 | 595 | r | 1610036529-test.R | testlist <- list(data = structure(c(0, 0, 1.82919901241135e-183, 1.61344522674997e-231, 3.13151306251402e-294), .Dim = c(1L, 5L)), x = structure(c(1.51067888575209e-314, 5.11785327037676e+269, 2.12276966337746e-313, 2.64301187028838e-260, 5.22892022591822e-307, Inf, 5.29946746816433e-169, 1.34719146781012e-309, NaN... |
0a67ad4b325d030c5e71533897f2b3e08817b92e | 5003125ed199b027af3657b5b2b16f209966e019 | /cachematrix.R | d4935cf1fcd06f8284b067be86aa1d497511a4ea | [] | no_license | courspeter/ProgrammingAssignment2 | f310249397031d3e46ac4ec75efd56621148d585 | 7d53a5d1aa0d2dbf65123cfa1253ded46eb2e146 | refs/heads/master | 2021-01-11T05:54:06.543455 | 2016-09-24T12:16:03 | 2016-09-24T12:16:03 | 32,617,996 | 0 | 0 | null | 2015-03-21T03:09:39 | 2015-03-21T03:09:39 | null | UTF-8 | R | false | false | 1,453 | r | cachematrix.R | ## This file provides functions makeCacheMatrix and cacheSolve that can speed
## up computations involving matrix inversion by caching inversion results.
## makeCacheMatrix creates an object that can hold a matrix with its inverse
## lazily cached.
makeCacheMatrix <- function(x = matrix()) {
# inv is used for ... |
2e5ac5aed3ade960a08932fe7dce490b9c45b234 | 1b9f39f73e01b8deaa2d23bbcb7908e9c7bd2700 | /src/d2q9_kuper/Dynamics.R | dc04123a1618e2ea06c50854f919f7e92c9c01e8 | [] | no_license | myousefi2016/TCLB | cc9d1fdf7158ebe5880a7478ca648e2edcc41670 | 5cc29ddb286094264892bdb3fa646088900cf836 | refs/heads/master | 2021-01-25T05:44:08.545930 | 2014-05-30T11:33:23 | 2014-05-30T11:33:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,694 | r | Dynamics.R |
AddDensity( name="f0", dx= 0, dy= 0, group="f")
AddDensity( name="f1", dx= 1, dy= 0, group="f")
AddDensity( name="f2", dx= 0, dy= 1, group="f")
AddDensity( name="f3", dx=-1, dy= 0, group="f")
AddDensity( name="f4", dx= 0, dy=-1, group="f")
AddDensity( name="f5", dx= 1, dy= 1, group="f")
AddDensity( name="f6", dx=-1, d... |
9cc9903c487054887559a7df649cfb97c1851715 | fb81bddc974906b65b84bb213435fa23f58b8368 | /CodiceEsercizi/03_Marzo/Esercizio_18_03_2019.r | 0a28db82d1dbaed7b5874a9d810bdea63658b9ac | [] | no_license | ChabbakiAymane/Statistica-e-Probabilita | c19cdabd8ebd8696fb923573c72521ba676b6793 | 734ec7dd4e6715e0955b34f1b424cf57ee5c70bb | refs/heads/master | 2020-05-26T14:28:14.281836 | 2019-06-03T16:07:22 | 2019-06-03T16:07:22 | 188,264,152 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,101 | r | Esercizio_18_03_2019.r | library(MASS);
#Se non installata
#install.packages("combinat");
require(combinat);
#dati
matematici <- 21;
fisici <- 12;
#comitati
comitati <- 8;
#calcolo
gruppo <- matematici + fisici;
casiTotali <- dim(combn(gruppo, comitati))[2];
#1: Comitati formati da 5 matematici e 3 fisici
nMatematici <- 5;
nF... |
f31dd6dfb49f3e2c0e29bdf239541479151383bf | ca4cc9c323fe000df7189a448dd59618f70b8c2f | /man/RomicsBatchCorrection.Rd | 224e357705cec466cacaca8348087a6e07e3e670 | [
"BSD-2-Clause"
] | permissive | PNNL-Comp-Mass-Spec/RomicsProcessor | 235c338d2192f385d408e55c302868e37ff9dc06 | 72d35c987900febc3e6c6ed416d4d72dc5820075 | refs/heads/master | 2023-03-18T08:14:48.098980 | 2023-03-15T16:50:14 | 2023-03-15T16:50:14 | 206,400,976 | 4 | 2 | BSD-2-Clause | 2022-12-05T21:55:36 | 2019-09-04T19:49:26 | HTML | UTF-8 | R | false | true | 1,230 | rd | RomicsBatchCorrection.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/11_sva_Batch_Correction.R
\name{romicsBatchCorrection}
\alias{romicsBatchCorrection}
\title{romicsBatchCorrection()}
\usage{
romicsBatchCorrection(
romics_object,
batch_factor = "factor",
method = "ComBat",
...
)
}
\arguments{
\item{r... |
6582ca1aa7459dbd073cb88cdc628dd5b924b22d | 2b28a8ee68f2c749987185760ebcdf25fd1a0e16 | /man/is_multidim.Rd | dfc9f539ec26df7d039b415941ece3e24e24715e | [] | no_license | gastonstat/tester | 8becbb7ef1338bd37e6f3c7fe4cde80e3448756d | 863cb587b8d3d9a173f377062aa5313089a2302a | refs/heads/master | 2020-04-06T07:05:41.475677 | 2015-08-28T21:45:40 | 2015-08-28T21:45:40 | 11,073,788 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 717 | rd | is_multidim.Rd | \name{is_multidim}
\alias{is_multidim}
\title{Test if an object is multi-dimensional}
\usage{
is_multidim(x)
}
\arguments{
\item{x}{an R object}
}
\value{
whether x is multi-dimensional
}
\description{
Returns \code{TRUE} if an object is a matrix or data
frame with at least 2 rows and at least 2 columns,
\c... |
dea245f2f9d9951e842e0c4f42c48e931eeb7372 | 036983f65dc517593f84d44cb14a712ea0687225 | /projects/project3/Bialonczyk_Kurowski_Vinichenko/load_libraries.R | 6d1f521c0faaf2fbaa24d1309b89c78e3cbd45f4 | [] | no_license | iketutg/2021Z-DataVisualizationTechniques | 027c0228ed95e37ddd73500909117449f6b87e25 | 125077c8b02426b779e351324c3c6d4e96ad64c1 | refs/heads/master | 2023-03-19T08:59:42.177496 | 2021-02-23T20:08:31 | 2021-02-23T20:08:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 208 | r | load_libraries.R | library("shinydashboard")
library("shiny")
library("shinydashboardPlus")
library("data.table")
library(DT)
library("shinycssloaders")
library("purrr")
library(plotly)
library(wordcloud2)
library(RColorBrewer) |
844fcb9c81ecfcafd436a385659ede69932946f1 | 0edac561faa684f45a3626ed5ce28b72ded4c547 | /R/predictive_models.r | 1277a8a7b3d72dab16f50d3a7cf1972a53b0ce46 | [] | no_license | rafaoncloud/iris-dataset | c105ed55d1324dd15ab1d8f49f18985103366c19 | f3fc2fa96121b350d0d3523d6bdcb9316e96674c | refs/heads/master | 2020-06-20T03:18:00.693282 | 2019-07-15T10:18:51 | 2019-07-15T10:18:51 | 196,972,872 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 336 | r | predictive_models.r | # Rafael Henriques
# 15-Jul-2019
# Read Dataset
df = read.table("../dataset/iris.data", header=TRUE, sep=",")
summary(df)
head(df)
# Prepare the training and testing data
# 4/5 (80%) train
# 1/5 (20%) test
testIdx = which(1:length(df[,1]) %% 5 == 0)
dfTrain = df[-testIdx,]
dfTest = df[testIdx,]
summary(dfTrain)
s... |
75833ec4c39c69eaa730e2bdbc9e11f7a747c4cd | a2ac457f30f0690fc4328c3e5ca047617d72cc96 | /paper-plom-scatter.R | d28c855c3d675e539734c4a855ddf1e05714f52c | [] | no_license | AtrayeeNeog/Cardio-Classifier-HIWi | ce0d8f6acf1383d9aa7867cc1467b94218bd92b9 | e6e85eefc93588522fffa92ac4274c24eb91a9c2 | refs/heads/master | 2022-11-19T23:37:29.853748 | 2020-07-14T14:29:57 | 2020-07-14T14:29:57 | 259,164,483 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,242 | r | paper-plom-scatter.R | # scatterplots for PLOM lower triangle entries
# meant to be called from make_plom()
plom_scatter <- function(df, fr, fc, target) {
dfp <- tibble(
fr = df[[fr]],
fc = df[[fc]],
target = df[[target]]
) %>%
mutate(target = fct_expand(target, "all"))
dfcor <-
dfp %>%
bind_rows(df... |
0d379a618b0ddc57586aa56e0ed5d4b1e772b6a2 | 55f5928b477b2c63ff46e40c61b618d5d30000e1 | /countySummaries/callCorrectDataSummary.R | 0f5fd47821b9b79128cfb7e2f5828ee4c6a16902 | [] | no_license | dcarver1/covidNightLights | b581ec5212b590e6e87a0a9b538e05bcf06862c7 | 450229d1ed060d7fb5bd0cfe16259bd078343b86 | refs/heads/main | 2023-05-01T17:08:45.005209 | 2021-05-10T22:28:56 | 2021-05-10T22:28:56 | 302,479,805 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,251 | r | callCorrectDataSummary.R | ###
# render markdown summary for specific counties
# carverd@colostate.edu
# 20210426
###
#install.packages("psych")
library(raster)
library(dplyr)
library(sf)
library(tmap)
library(plotly)
library(psych)
library(DT)
tmap_mode("view")
# avoid scientific notation
options(scipen=999)
locations <- c("San Diego", "Br... |
518ea4f6ec608b7b0e1da02aee47126e45629866 | e8caac731d5786a24ea1a4b4d2d8e84a4b8298a7 | /plot4.R | eebee6670bf4cf7c5981d77140c3d99f8780a753 | [] | no_license | tpolling/ExData_Plotting1 | 849398439aae8badd08b440c2b31e64a8b752de7 | fc4cb0adf5d2e52c039ee747afed22c120886ee1 | refs/heads/master | 2021-01-24T01:21:10.122599 | 2015-02-07T06:15:14 | 2015-02-07T06:15:14 | 30,444,956 | 0 | 0 | null | 2015-02-07T04:24:37 | 2015-02-07T04:24:37 | null | UTF-8 | R | false | false | 1,292 | r | plot4.R | # Plot 4: Combined plots
# Reading measurements file
consumptionFile <- "household_power_consumption__2007_02.txt"
consumption <- read.csv(consumptionFile, sep=";")
# Converting date and time
consumption$Time = strptime(paste(as.character(consumption$Date),
as.character(consumption$... |
7d2c6c9aa35b1d313ad97b9e1ea0f38c4749caa0 | 890a0d15de75850f1ef7199d05b326e55494e47f | /cleaning_project_1/run_analysis.R | 7a826b5ff655522fe82ea572807a0d9bac26b2cf | [] | no_license | spekolator/datasciencecoursera | d9a404f582ea73370dc54501bba985f5ae975c27 | 024967dc164d47653ce7b988da99c112f0bf05f0 | refs/heads/master | 2021-01-10T19:25:31.649555 | 2015-02-22T22:11:25 | 2015-02-22T22:11:25 | 27,830,341 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,045 | r | run_analysis.R | # course project: getting and cleaning data
# 1. clean up,load requirements, set working directory
rm(list=ls())
require(dplyr)
require(stringr)
require(tidyr)
setwd("C:/Users/Speko2/Documents/Hopkins/cleaning/UCI HAR Dataset/")
# 2. load activity labels, feature name
activity_labels <-read.table('activity_labels... |
9325f3d618625cf181dcbb53ab4b115840d24cff | 1ea9d1b9db9b6afc701d29a73b571bd7b04ecf8d | /man/combinep.Rd | e45134e1fa4bc6146f5a74b092914cb01e2656d8 | [] | no_license | sdateam/combinIT | f0af7b59fd43acdb6be07c9a90d85afb045491fc | 9c26ab060f60e603e0a015d7ab976ea3cee5e1df | refs/heads/master | 2020-04-26T04:05:41.199409 | 2019-03-30T21:04:52 | 2019-03-30T21:04:52 | 172,266,466 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,450 | rd | combinep.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/test.R
\name{combinep}
\alias{combinep}
\title{Combined several interaction tests}
\usage{
combinep(x, nsim = 500, nc0 = 10000, ...)
}
\arguments{
\item{x}{A data matrix in two-factor analysis}
\item{nsim}{Number of simulation for compueting... |
4be58330757824f7ae0157e7dac84389ec11d142 | f24edb31e7cbdf4e08cbe50b4a228e98d2ff5d13 | /R/print_conferences.R | 97e23bfb98dfec1964f13eaea53ca5a1520e837b | [] | no_license | fcampelo/ChocoLattes | b870f2edbb55d2742ef9f946882f727fd65a185b | 14df29beb5d32668d209c3d378d0a7e3898567d3 | refs/heads/master | 2021-09-09T13:54:10.879361 | 2018-03-09T13:14:55 | 2018-03-09T13:14:55 | 57,807,314 | 9 | 5 | null | 2018-03-09T13:14:56 | 2016-05-01T20:33:18 | R | UTF-8 | R | false | false | 1,480 | r | print_conferences.R | #' Print conference papers
#'
#' Prints published conference papers
#'
#' @param x data frame containing information on published conference papers
#' @param isIntl logical flag, TRUE for international conferences, FALSE for
#' national/regional
#' @param language Language to use in section headers
#'
print_conference... |
b80a24f19ac9b2b4741691877d5969f05acb6db1 | bb13d99730f782d619c82e661b2861f87572d23b | /Intro to Shiny/Example 2/server.R | b129df9d6113a8e7c56d9a2fcccf4996dc6bccab | [] | no_license | skeptycal/Women-in-Data | 1162dcf544b81b973c9f08bcace23b014cd0c936 | 00ec2a2f4ddd54ff319a73e090594d0a7a8bc61a | refs/heads/master | 2020-04-02T15:36:34.153245 | 2017-12-01T08:59:07 | 2017-12-01T08:59:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 313 | r | server.R | library(shiny)
function(input, output){
output$textOutput <- renderText(paste("You entered the text:", input$myTextInput))
output$numberOutput <- renderText(paste("You selected the number:", input$myNumberInput))
output$selectOutput <- renderText(paste("You selected option:", input$mySelectInput))
} |
df9fe30364d701fa6e6bfb8d6cfc76f708723578 | f288cf82b0a96188fe6f6d8e3fedd89f24e49c17 | /code_jobs/jobs_1_mailing.r | ab2d38c1a4d8c49d54f3f8ddf4631d1dab3e46ae | [] | no_license | antievictionmappingproject/sf-llc-data-prep | cde006efba486e85de35db32580256b64ae1162b | 2d2fc42f60fc9dc0dea5208c500d2c75364935af | refs/heads/master | 2020-06-11T14:06:56.243058 | 2019-07-24T20:37:06 | 2019-07-24T20:37:06 | 193,992,452 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 48,961 | r | jobs_1_mailing.r | library(RPostgres)
library(dplyr)
library(janitor)
## Loading required package: DBI
pw <- {
"password"
}
con <- dbConnect(RPostgres::Postgres(), dbname = "azaddb",
host = "localhost", port = 5432,
user = "azad", password = pw, bigint = "numeric")
'%!in%' <- function(x,y)!('%in%'(... |
8b823696672e62983be691a8fc30347147c6b3dd | 364272276aa666c6b0c338070fda3bd88d047382 | /fecScrape/man/choose_cand.Rd | a00edae4a02dcd6e861afe343507bcb980bfebab | [] | no_license | PHP-2560/final-project-fecscrape | fe512de13bd2912722c7b694b3fbed23734d7f88 | fd35c254cf833454597228306c22e53a1bc3d849 | refs/heads/master | 2020-04-11T14:12:39.015798 | 2020-03-05T17:13:34 | 2020-03-05T17:13:34 | 161,845,727 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 524 | rd | choose_cand.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/choose_cand.R
\name{choose_cand}
\alias{choose_cand}
\title{Selects candidates from a list}
\usage{
choose_cand(df, firstCandidate = NULL, secondCandidate = NULL)
}
\arguments{
\item{df}{the list of candidates}
\item{firstCandidate}{The numb... |
bcc103ab4a8073f6322834d74b456fa6d6431304 | 7f31b9d9740c1d938b0bd6a46428c9524ad13a44 | /man/indSample.iid.cA.cY_list.Rd | 05233c331e575ab9385619f556ae3bce04439481 | [] | no_license | chizhangucb/tmleCommunity | 9dfeff5d877d1e4e594a1674cc62a6b4f2e77572 | 7b637e507ed7f74190d1adeb9a714090729467cc | refs/heads/master | 2021-01-20T15:54:04.182971 | 2019-03-08T19:17:34 | 2019-03-08T19:17:34 | 90,799,969 | 8 | 3 | null | null | null | null | UTF-8 | R | false | true | 2,499 | rd | indSample.iid.cA.cY_list.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tmleCommunity-package.R
\docType{data}
\name{indSample.iid.cA.cY_list}
\alias{indSample.iid.cA.cY_list}
\title{An Example of a Non-Hierarchical Data Containing a Continuous Exposure with a Continuous Outcome.}
\format{A data frame with 10,000... |
2df31f56f7945c573c47a3ec34c46668e8b23947 | 0b3ce6db60b460275e9c4e2c2383e24bc992ff8d | /man/MyDimPlot.Rd | 7401b03b9ba49a335c06d0508dac25bc9cb246ba | [
"MIT"
] | permissive | RachelQueen1/SCFunctionsV3 | 5f078e9ef6655aa36ff20bdb8c1fba13025b2466 | 5dfb6419d5338d6ad7a524bd1b8134df60e4c1ef | refs/heads/master | 2020-12-06T20:06:59.540359 | 2020-02-24T13:17:43 | 2020-02-24T13:17:43 | 232,541,308 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,059 | rd | MyDimPlot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/myDimPlot.R
\name{MyDimPlot}
\alias{MyDimPlot}
\title{My Dim Plot function for dimension reduction plots calculated by Seurat.
More options for plotting different cluster names}
\usage{
MyDimPlot(SeuratObj, Clusters, Reduction.Type = c("umap... |
ac29ba7f4758186288eb51e835c4f45611e731a4 | 5a490bbd9415322708ca24f26feace43c7360634 | /man/qa_write_data.Rd | 35fd2b98c2618d1339dd54d9ca45c3244e119c0f | [] | no_license | takewiki/nsclpkg | fcc1d4111497cdf06f891fa284f705f5aeb3c69a | 53ce22a4b35f5c9fcf21c2c6cf69299c6d893219 | refs/heads/master | 2021-07-15T15:31:29.634080 | 2020-10-02T07:28:39 | 2020-10-02T07:28:39 | 212,937,575 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 298 | rd | qa_write_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/qalist.R
\name{qa_write_data}
\alias{qa_write_data}
\title{保存QA数据}
\usage{
qa_write_data(data)
}
\arguments{
\item{data}{数据}
}
\value{
返回值
}
\description{
保存QA数据
}
\examples{
qa_write_data();
}
|
aa3d44e244b9cb99b1a731c3da03a1ad6b929cb3 | 586377a389df457cfc6f0bf272dda891a538fcb1 | /R/RdistanceControls.R | 29b8e3b8d7605c73723bb165811d945c50055d66 | [] | no_license | wmcdonald1/Rdistance | 572f0f032ef397d99eac8c5a312b393ad1890dd7 | 856e7d25ae9d59056cfb7e4e46831dbe2fdf125a | refs/heads/master | 2022-11-06T11:06:24.931869 | 2020-05-25T20:56:24 | 2020-05-25T20:56:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,935 | r | RdistanceControls.R | #' @title Control parameters for \code{Rdistance} optimization.
#'
#' @description Returns a list of optimization controls used in
#' \code{Rdistance} and provides a way to change them if needed.
#'
#' @param maxIters The maximum number of optimization
#' iterations allowed.
#'
#' @param evalMax The maximum numbe... |
9228eb05fff2c10046c3040a3d7f639407f57e57 | 35fac53e593ad39a3c092f84fa0d88fa11f46fa7 | /man/get_table_reverse.Rd | c2031bb4c310747eedc53bd739e5d66d7bc00132 | [] | no_license | gastonstat/cranium | a916a61595e7432385a410e5a90fe21e6a41cae4 | 1ba7a60fd7b3ef62c2d2f38d66151494f382f837 | refs/heads/master | 2020-05-24T13:24:13.206253 | 2015-08-26T00:03:01 | 2015-08-26T00:03:01 | 23,559,996 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 301 | rd | get_table_reverse.Rd | \name{get_table_reverse}
\alias{get_table_reverse}
\title{Get Table of Reverse Dependencies}
\usage{
get_table_reverse(pkg_doc)
}
\arguments{
\item{pkg_doc}{an object of class
\code{"HTMLInternalDocument"}}
}
\description{
Extracts the html table of reverse dependencies
}
\keyword{internal}
|
f8c3b9f6253c6821e0a5686d25ec958b7ba25871 | 74d75a48fbb88fb254f02fec1c4f0ba354ecd639 | /app_answers/1-7 Answer.R | 0bd552f0e584404cc4a607730f9fc67630470194 | [] | no_license | QFCatMSU/R-Class-Material | 2f00172444150a12a4b33dc050be12b04896f2af | c7a41975a4ab9e10f1267b80e3500506b41cf606 | refs/heads/master | 2021-07-12T19:27:27.471478 | 2021-03-02T15:05:04 | 2021-03-02T15:05:04 | 238,800,472 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 934 | r | 1-7 Answer.R | {
rm(list=ls()); options(show.error.locations = TRUE);
# Part A: get high temperature and weather condition from the user
highTemp = readline("What was the high temperature today? ");
highTemp = as.numeric(highTemp);
weatherCond = readline("What was the weather like (cloudy, sunny, or rainy)? ");
... |
5620c7d56ad523feb6e42a6cc5befb2bf7b06266 | fc19cbc296e0d3c27b796069279abbfef795d4b0 | /man/odometer.Rd | 449e2dc823a0c629a66699f11c720e3fdb02e57d | [] | no_license | stla/expansions | 3514c85d52c7570b23ce646948225cead8b3c32a | 29c77754a46d647864554e4f39f30249ee10e877 | refs/heads/master | 2020-05-21T23:48:56.615754 | 2017-01-08T22:10:52 | 2017-01-08T22:10:52 | 65,611,986 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,086 | rd | odometer.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/odometers.R
\name{odometer}
\alias{odometer}
\alias{odometerBW}
\alias{odometerBW_iterated}
\alias{odometer_iterated}
\title{Odometer}
\usage{
odometer(x, base = 2L)
odometer_iterated(x, n, base = 2L)
odometerBW(x, base = 2L)
odometerBW_it... |
9b11db58252d1e6abec598564c9ef952df0c09f5 | a5ad9b63672831ca5c4e728f639bd50f87b9f410 | /GFforecastLessthan50.R | e6952d2eeb36b0746b021c574d47a794186d0630 | [] | no_license | royxss/GrocerySalesForecasting | 51dc17dbf7075b967fdaadac01ff1d33d8d7b998 | 87104a9fb378e5e4a80bd407be27bc675a357c2c | refs/heads/master | 2021-05-12T15:36:27.276256 | 2018-01-10T17:29:17 | 2018-01-10T17:29:17 | 116,989,099 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,590 | r | GFforecastLessthan50.R | setwd("C:\\Users\\SROY\\Documents\\CodeBase\\Datasets\\GrocerySalesForecast")
rm(list=ls())
seedVal = 17869
options(warn=-1)
options(scipen=999)
# Libraries
library(dplyr)
library(missForest)
library(VIM)
library(lubridate)
library(ggplot2)
library(reshape2)
library(zoo)
library(dummies)
library(forecastHybrid)
librar... |
7f007098cf3568fe6f0495eacea74de0d09427c6 | aed2396d1ebc7f4177c6f676600c8ea808032dad | /R/utils-functions.R | 14889c13421485b4efcfc7c34c31db18bdaf58dc | [] | no_license | juliangehring/SomaticCancerAlterations | 56c0981804bb29fca9f0db09fcf5b88df63154a2 | 6c98820c9d4dd06556b2c5c938926f30c2d79b87 | refs/heads/master | 2021-01-24T19:52:20.552312 | 2020-11-28T18:58:54 | 2020-11-28T18:58:54 | 316,799,631 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,294 | r | utils-functions.R |
scaListDatasets <- function() {
x = data(package = "SomaticCancerAlterations")$results[ ,"Item"]
x = x[(x != "meta")]
return(x)
}
scaLoadDatasets <- function(names, merge = FALSE) {
all_datasets = scaListDatasets()
if(missing(names))
names = all_datasets
if(!all(idx <- names %in% all_d... |
28ffc07378135ac4f471ff3fbeda4ceb1aafebe1 | 1f32096af05da776c59a11b74a424637aa718113 | /dsp_runner/summarization.R | 31cf76a746f472b79b155b75d2af89d81767221e | [] | no_license | ohsu-comp-bio/compbio-galaxy-wrappers | a222dbef5d4d4101f1705c6101f2e212435d1ea8 | 6162bc6d8ee37401de8dffec545935953028bed7 | refs/heads/master | 2023-08-31T05:32:22.305366 | 2023-08-29T18:24:59 | 2023-08-29T18:24:59 | 32,424,561 | 6 | 13 | null | 2023-09-14T19:28:18 | 2015-03-17T22:40:39 | Python | UTF-8 | R | false | false | 12,988 | r | summarization.R | #Summarization Functions
#' Generate quantile interpolation functions from a reference set
#'
#' @param mat A numeric matrix of features (e.g. antibodies) x samples, expected to be normalized.
#' Should be from a reference set
#' @return A named list per feature containing an \code{approxfun} function
#' @import dat... |
c67a96ab256bf41838c3bbcd7d42b336a21335a5 | bd13b6a7b1565163100ebba110e550224a78fb7d | /plot2.R | e8467e50d5f6f272fd10fc84e6ae4c40d1e5676e | [] | no_license | kikachica/Exploratory | e2df05cad49fd6062d6bf439ff89a1c1518a73c7 | 51cfdf180aa55792592a6ec288171e9afd028cf0 | refs/heads/master | 2021-01-25T12:19:45.495300 | 2015-05-06T15:20:36 | 2015-05-06T15:20:36 | 35,110,970 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 952 | r | plot2.R | #======setting my local WD and changing system time to English======
setwd("~/Coursera/Exploratory Data Analysis")
Sys.setlocale("LC_TIME", "English")
#======if neccessary installs the package "sqldf" for reading big data using MYSQL======
install.packages("sqldf")
library(sqldf)
#=======reads the data and subsets fo... |
4fe8b58ca01071abbf560c69712d5a4b074dad16 | cb960fb7e833bb7d41047beec12beff3c31871b0 | /man/CalcTrapezoidalAUC.Rd | 9b9ffe42cdd061ef259b53840d6bedd4e7f538d9 | [] | no_license | wlktan/surrogateSampling | e539514f65742cd5cabb96d99ba622f7b53e3900 | e15ca05d1bfe2c96f446ff2902100784185f1c1e | refs/heads/master | 2021-09-10T02:35:37.868690 | 2018-03-20T18:41:44 | 2018-03-20T18:41:44 | 103,601,101 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 577 | rd | CalcTrapezoidalAUC.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CalcTrapezoidalAUC.R
\name{CalcTrapezoidalAUC}
\alias{CalcTrapezoidalAUC}
\title{CalcTrapezoidalAUC}
\usage{
CalcTrapezoidalAUC(sens, spec)
}
\arguments{
\item{sens}{numeric; sensitivity of the binary test}
\item{spec}{numeric; specificity o... |
ca1e13f10646af6bca4212281716469d1468b04c | 4d4c59511f4d62528d2c6510d9fe81d3ec957455 | /Day 2_Class Practice.R | b15cef6fd3a55276a09d9a07c311dfc211666559 | [] | no_license | ayushishrivastava16/AMMA_MICA_PGP2 | 6a551789af1c85dbc2523e1e3638c70ec6db2194 | 58e89f1ba6145c23ebbf0741487a493e9100ea52 | refs/heads/master | 2021-01-23T16:25:17.779389 | 2017-09-07T20:26:04 | 2017-09-07T20:26:04 | 102,741,777 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,484 | r | Day 2_Class Practice.R | ##Day 2
##data frame
student <- data.frame(Name=c(LETTERS[1:5]),
Age = c(23,22,21,25,20),
Maths_marks= c(87,86,83,88,89),
Science_marks= c(65,81,78,55,93))
Name1 <- c(LETTERS[1:5])
Age1 <- c(23,22,21,25,20)
Maths_marks1 <- c(87,86,83,88,89)
Sc... |
e52983e8f0d9cfb53c304ba1fb17bf07de82e89b | 7ac89d07d43cc2de73f02805bf6df1bf07484478 | /2-3-2 differences from data frames.R | 131f8925a913346932d3b1d7d458979660e66593 | [] | no_license | timn32/edx-course-Linear-Regression | 1f6b467912bbe8b959899f51ca31d65da465b15e | b8cb775d9bbc33d2d52b32bc1a06906c29c78b4b | refs/heads/master | 2022-08-01T08:00:13.344758 | 2020-05-27T10:42:35 | 2020-05-27T10:42:35 | 265,506,966 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 446 | r | 2-3-2 differences from data frames.R | # inspect data frame and tibble
Teams
as.tibble(Teams)
# subsetting a data frame sometimes generates vectors
class(Teams[,20])
# subsetting a tibble always generates tibbles
class(as.tibble(Teams[,20]))
# pulling a vector out of a tibble
class(as.tibble(Teams)$HR)
# access a non-existing column in a data frame or a... |
894a6fe1f921e54bc3619d510bccb7540c7219e8 | 06fced22dfcab99a69344f4961a0b76d2a5ceb35 | /man/phrase_extract.Rd | cacdabcb8fe5fbbd702c38b60aa831a5c0de328e | [] | no_license | ktargows/sentimental | 969836c4413fe0e68321ef7d4712d4c98e98f23b | 678a65952ec63cb593ce13f257fbcbe5ee2d3968 | refs/heads/master | 2021-01-21T16:52:56.645913 | 2016-07-27T14:09:17 | 2016-07-27T14:09:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 952 | rd | phrase_extract.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/phrase.r
\name{phrase_extract}
\alias{phrase_extract}
\title{Phrase extraction & named entity recognition on text}
\usage{
phrase_extract(text, language = c("english", "dutch", "portuguese",
"spanish"))
}
\arguments{
\item{text}{one element... |
b2ab144bc140aaee6a6f38cbfab36d0730c8608d | 5cbccd29702fc65dde52f5d0b3a5e8d880edb9fb | /functions/fingerprinting_results.R | 9dd810d75312f4ece8f5dfa3a10f5f7b3a68edc7 | [
"MIT"
] | permissive | edickie/wynR | 100ae3a0195dd9660d28c6253b8ac59f5a4b16c2 | 6a4a4e8fcfb8e37094827381c43ca147fea8cca4 | refs/heads/master | 2021-01-19T22:16:39.944482 | 2017-04-21T18:46:05 | 2017-04-21T18:46:05 | 88,784,200 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,819 | r | fingerprinting_results.R | #' Calculates "fingerprinting" style stats from a subject to subject correlation matrix
#'
#' Uses igraph to do so.
#'
#' @param sub2sub_cormat correlation matrix of M X N subjects with subject ID as the row and column names
#'
#' @return dataframe of within and between subject values.
#'
#' Each row representin... |
872194f017c3f63271cecff04c314bc6579db5ca | 2ea5154f274190849584ab7194e1866f44287ef6 | /classifications.R | 9d5a3bbbd5b7c7cd6a0ba5a8bf77dfbca48fb72f | [] | no_license | markozeman/machine_learning_diabetes | 79fe6f4baad3dcd6899e0f2f72f6bb6b2dda55c3 | 1ca6e1acc7f3c2bae4fefeb87ea09ce26aeac3de | refs/heads/master | 2021-09-01T04:29:37.687675 | 2017-12-24T20:10:27 | 2017-12-24T20:10:27 | 108,756,254 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,227 | r | classifications.R | source("helpers.R");
source("preprocessing.R");
diabetes <- preprocess();
### Majority classifier
majority.class <- names(which.max(table(diabetes$readmitted)));
default.accuracy <- sum(diabetes$readmitted == majority.class) / length(diabetes$readmitted);
# install.packages("pROC");
# install.packages(c("pROC", "ada... |
6f623c2d6e009195d33e069df67cb8c200db5479 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/AquaEnv/examples/K_HPO4.Rd.R | 04ee23159d36864030957f0edf99a869ac9de999 | [] | 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 | 239 | r | K_HPO4.Rd.R | library(AquaEnv)
### Name: K_HPO4
### Title: K\_HPO4
### Aliases: K_HPO4
### Keywords: misc
### ** Examples
K_HPO4(35, 15)
K_HPO4(35, 15, 10)
K_HPO4(S=35, t=15, p=10, SumH2SO4=0.03)
plot(K_HPO4(35, 1:25), xlab="temperature / degC")
|
c5edcba7549f838ba75af015425ff810ef7e9ab4 | 1f3454240dee5264aa7227255a9166f9663db36d | /Popgen_analysis/snp/pca.R | bf705d2b26220e1bd476e586de1d0f7929034ba4 | [] | no_license | harrisonlab/neonectria_ditissima | 1163df5cc7ef83682174f193dfdad0b0052a3421 | 41d88d1f18b66362829fb871406c37653df4dfae | refs/heads/master | 2022-05-30T07:53:56.568612 | 2022-04-14T13:08:42 | 2022-04-14T13:08:42 | 39,201,858 | 3 | 1 | null | 2017-08-24T16:51:36 | 2015-07-16T14:32:34 | null | UTF-8 | R | false | false | 1,972 | r | pca.R | #!/usr/bin/env Rscript
#Print a PCA plot calculated based on SNP matrix.
#First argument (required): input VCF file
#Output: a PDF file with the figure, suffix: _pca.pdf
args = commandArgs(trailingOnly=TRUE)
if (length(args)==0) {
stop("At least one argument must be supplied (input file).n", call.=FALSE)}
librar... |
ec9b169c6931b5afc03310c339114c889160e189 | 547d9593d2808563e9a3abb970cf39d40d0cf024 | /man/metricmaker.Rd | cc458c722ffe4195272943e1528889aa6c5d7ce7 | [] | no_license | dncnbrn/EmsiR | c5176d65ea2661c69c50b755f4e5c530638b25b1 | 2d643be0af6b9b8838af65cb57a763dd209f46f8 | refs/heads/master | 2021-03-24T12:54:31.031726 | 2018-02-23T13:30:42 | 2018-02-23T13:30:42 | 75,728,416 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,528 | rd | metricmaker.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/metrics.R
\name{metricmaker}
\alias{metricmaker}
\title{Specify metrics for an Episteme API query}
\usage{
metricmaker(metricdf, geoparent, along)
}
\arguments{
\item{metricdf}{at minimum, a data frame with two columns: \code{name} sets out t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.