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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b424aa98f6a66a956d31c3cf5b1451b9b0474b5f | 4caefeae8af5018d9eb122b51239ab98deabc443 | /man/GetNums.Rd | f7b626ebf8fa9ed7a20de5b50e013f9a03b10490 | [] | no_license | cran/klassR | d9c20f1ce6bc40a115520bb7bbca5d8e7ef1f458 | 7538934ac4ea9e8e6b9bfcef866652cbd56c7a01 | refs/heads/master | 2023-05-12T02:09:02.944937 | 2023-05-08T06:40:02 | 2023-05-08T06:40:02 | 236,618,178 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 319 | rd | GetNums.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Klass_list.R
\name{GetNums}
\alias{GetNums}
\title{Get target ID numbers from Url}
\usage{
GetNums(x)
}
\arguments{
\item{x}{Url address}
}
\value{
Number
}
\description{
Get target ID numbers from Url
}
\keyword{internal}
|
26102caa1e2c3d28af2b774733a0370f4774a41f | 952616f9632510296d2a13d5cd2efcfc999e5370 | /storeyQ.R | 4387dfa539623ad658329ea40b81d74775f5bfc1 | [] | no_license | vaqm2/Util | 1e0b1674d3e2f5d00ea8cec87b51972414db7299 | f3d65ea060ecc6ccc188e03e8a12a03bccdd4006 | refs/heads/master | 2023-06-08T13:40:33.658005 | 2023-06-05T12:03:38 | 2023-06-05T12:03:38 | 87,819,867 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,983 | r | storeyQ.R | #!/usr/bin/env Rscript
require(qvalue, quietly = TRUE)
require(dplyr, quietly = TRUE)
require(data.table, quietly = TRUE)
require(ggplot2, quietly = TRUE)
args = commandArgs(trailingOnly = TRUE)
assoc = fread(args[1], header = T)
assoc = assoc %>%
mutate(MAF = ifelse(FREQ > 0.5, 1 - FREQ, FREQ)) %>%
mutate(... |
5425d54eb68df0ec25ed04fef4a4d3dc25e11d3a | fe1d056f0e844eefed90f565fe22e160b2594110 | /Supplemental Code.R | d6a16c43f1fd10692ef5569648b81b31020b6048 | [] | no_license | stewart6/SRKW-MultiState | 7b41b430ab50a97421069ff5371620ba61d28929 | 8a242c02b5cd1a76535ad983ffe0d85c1fa78c9e | refs/heads/master | 2023-03-13T06:44:20.427033 | 2021-02-23T23:54:21 | 2021-02-23T23:54:21 | 258,288,085 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,685 | r | Supplemental Code.R | # Supplemental code for Stewart et al., 2020
# Survival of the Fattest: Linking body condition to prey availability and survivorship of killer whales
# This code will run body condition multi-state models for Southern Resident killer whale L Pod.
# Required packages:
library(R2jags)
# Required Data Files:
# SRKW Body... |
17b73c8a5eeb663bcaf458f467a49fc7cb8988bc | 81780d7000220293b9cecb54d4def069faa7d649 | /R/extract_icd_codes.R | 8efa4f61ecee9b8a196ba831c67ece80d54f4942 | [
"Apache-2.0"
] | permissive | pwatrick/DrugRepurposingToolKit | 8ef405a602e6e100306365e3c9acf9d4cd56bc2a | 8c0f8c26013b8efec5c89afb68f182e98794bc3c | refs/heads/main | 2023-04-18T10:57:15.211297 | 2022-08-09T11:14:26 | 2022-08-09T11:14:26 | 352,338,175 | 2 | 5 | null | null | null | null | UTF-8 | R | false | false | 4,987 | r | extract_icd_codes.R | #' Function to get ICD data for calculating elixhauser scores
#'
#'
#' @description
#' \code{extract_icd_codes} extracts ICD codes for calculating Elixhauser comorbidity scores.
#'
#' @details
#' This function extracts ICD codes for calculating Elixhauser comorbidity scores.
#'
#' Updated: 2021-10-05
#'
#' @param drug_... |
fa3860b9527bbaeeab8d130685aa2636e17b40c5 | 1f939bb0b5a6c9cae0289e14f668c3d7a817e7f1 | /tests/testthat/test-gnrs_get_counties.R | 2e3d3441cffdd50e2c3066f0a8944ee7e0fb5c03 | [] | no_license | EnquistLab/RGNRS | 5caf8ec94fbb2a9ab02937be001ad952410a7425 | d43eb6b1a56fa9b038aa08a9efec3a9d61761fc4 | refs/heads/master | 2021-11-20T19:58:13.037741 | 2021-10-12T18:41:01 | 2021-10-12T18:41:01 | 170,739,603 | 7 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,445 | r | test-gnrs_get_counties.R | context("gnrs_get_counties")
safe_nrow <- function(x){
if(is.null(x)) {
return(0)}else{
return(nrow(x))
}
}
test_that("example works", {
# skip_if_offline()
# skip_on_cran()
#
vcr::use_cassette("states_for_counties",
{ states <- GNRS_get_states(url = url) })
... |
bab957f8eafe3868a24eac80dd1b8201478fb8c0 | b4650720f3ba8decae7493ffc189e36e5b01ee63 | /Naive_Bayes_method.R | d4b135554d1f6ded7f431e377036f428e7e45348 | [
"MIT"
] | permissive | AYaddaden/machine_learning_R | 0d677b15fde857d3b69b9ddf678c26e65ace4362 | 5a53bf9763b6b6cdb1dd4d098c3589223bbcda8d | refs/heads/master | 2020-04-01T02:33:20.780150 | 2018-10-12T17:24:22 | 2018-10-12T17:24:22 | 152,784,167 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 595 | r | Naive_Bayes_method.R | library(class)
library(e1071)
summary(iris)
dim(iris)
NB <- naiveBayes(iris[,1:4],iris[,5])
NB
table(predict(NB,iris[,-5]),iris[,5])
pairs(iris[1:4],main="Iris Data(red=setosa,green=versicolor,blue=virginica)",pch=21,bg=c("red","green3","blue")[unclass(iris$Species)])
n = dim(iris)[1]
n
index = sample(n,0.7*n)
inde... |
7b4911fecfda08f9c61303d3c8b56816a377bcf9 | b91579cd9adf8939cd80c01d72512b9a7f871676 | /man/mk_cond.Rd | 557405446b65f582429fa16d1408f46bd94a69da | [] | no_license | DataXujing/DiagrammeR | fac732998cbd5462c088769b50825654608f3f8c | e83aed30e86b63921deef0d6d54084d12c65d2dc | refs/heads/master | 2021-01-23T04:14:33.941462 | 2017-05-29T15:35:46 | 2017-05-29T15:35:46 | 92,923,116 | 1 | 0 | null | 2017-05-31T08:26:39 | 2017-05-31T08:26:38 | null | UTF-8 | R | false | true | 3,243 | rd | mk_cond.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mk_cond.R
\name{mk_cond}
\alias{mk_cond}
\title{Helper for making conditions for some functions}
\usage{
mk_cond(...)
}
\arguments{
\item{...}{sets of 3 elements for each condition. Each
set of three elements is the: (1) node or edge attribut... |
866e355a78a3ed480268c889ef42ae6382e8f299 | 6d65a534673543684f0a97740e7e7b831f50ea47 | /inst/scripts/hh1/Ch14-apple3.r | fcd3172cd83af7b404ebb334fe7ded81d609b835 | [] | no_license | cran/HH | 91151d240d6ecc1334fd79f1b0dfbbc28ca68df6 | a6ee768cedcebd4477bb9a5b4d0baa3d16e4dca0 | refs/heads/master | 2022-09-01T20:50:52.605306 | 2022-08-09T15:10:07 | 2022-08-09T15:10:07 | 17,691,800 | 3 | 3 | null | null | null | null | UTF-8 | R | false | false | 10,782 | r | Ch14-apple3.r | ## The names of the components of trellis objects
## are different in R than in S-Plus.
## These data reprinted in \cite{hand:1994} are originally from Pearce,
## S.C., 1983, The Agricultural Field Experiment, Wiley.
##
## The response is crop yield in pounds and the covariable is yield
## in bushels in a prior period... |
6a7ad7636c2b96af00f471aaf672baaa3c2be1e6 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.customer.engagement/man/connect_disassociate_routing_profile_queues.Rd | a6d9151f2d2c1f13e8e6875e6ca945e2484da493 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 995 | rd | connect_disassociate_routing_profile_queues.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/connect_operations.R
\name{connect_disassociate_routing_profile_queues}
\alias{connect_disassociate_routing_profile_queues}
\title{Disassociates a set of queues from a routing profile}
\usage{
connect_disassociate_routing_profile_queues(
In... |
0c49fe1ca319919f09d7371e11a6a4d32fcfe248 | e998914a3408bac5c3df9477c7a147550ed378a7 | /R/individuals.R | b5a7b09b9ca00ea099ed0b57ed97f9e677cd4596 | [] | no_license | stranda/rmetasim | 22316ada7bae2715f76ccf6fe2458165b1c91d30 | 21e93e7f9b9f40b6c5d64ee0e5ce1830e58355ee | refs/heads/master | 2023-08-21T22:30:58.005380 | 2023-08-08T15:28:23 | 2023-08-08T15:28:23 | 31,664,064 | 3 | 4 | null | 2020-01-30T13:51:46 | 2015-03-04T15:27:14 | C++ | UTF-8 | R | false | false | 252 | r | individuals.R | #Allan Strand 9/29/01
#
#returns a vector of populations assignments for each individual in Rland
landscape.populations <- function(Rland)
{
if (is.landscape(Rland))
{
(Rland$individuals[,1]%/%Rland$intparam$stages)+1
}
}
|
13ada2c5ab3843f62dc9e5d69c803c46c702ddc0 | ab370403614ef5114791eb6aa7d125c932f7461e | /treePDF.r | 339ba2131abeefcea770b9b34010ad46d52108a4 | [] | no_license | jhnwllr/enbBodySize | 43a930d105fb70a0b46f3da3fdc6d05810f79633 | 25059248c0af7c592572d0b97cf1c8e389e218c7 | refs/heads/master | 2020-04-05T12:24:08.826049 | 2018-11-09T15:26:11 | 2018-11-09T15:26:11 | 156,868,274 | 0 | 0 | null | null | null | null | ISO-8859-2 | R | false | false | 3,910 | r | treePDF.r |
By permission of the Faculty of Science, Lund University, Sweden.
To be defended in the Blue Hall, Ecology Building, Sölvegatan 37, Lund Sweden on Friday 26th January, 2018 13.00 - 15.00.
Faculty opponent
Dr. Locke Rowe,
Dean of school of graduate studies and
Vice-provost of graduate research and education.
Distin... |
6c099501f953e8ae57ecbcf3be21ba1571327c44 | 3adcb125d650d0dfcb523734136012d788c0bf49 | /man/gen_summary_data.Rd | dfa6c4dde4ee25849ae3f2f0e76aec14e6086c99 | [] | no_license | connor-duffin/stormRainfallExtras | 95c3d3cb8f653038d67afbba293e7f4bd4ed3ce8 | 7bafaacda092ad9ab7e6608185589d494fd78f19 | refs/heads/master | 2020-04-10T20:29:19.056212 | 2018-12-19T08:15:44 | 2018-12-19T08:15:44 | 161,269,256 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 723 | rd | gen_summary_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/monthly-plots.R
\name{gen_summary_data}
\alias{gen_summary_data}
\title{Generate the monthly summary data for a given site.}
\usage{
gen_summary_data(data_file, int_width = 0.8, model = 1, samples = 10,
n_cores = 1)
}
\arguments{
\item{data... |
1fbcba7618a1ba33907314dd8d997d9595ac16cc | ed7e5ec1dedce44eca68d6bb274b02d7904a10b5 | /Script/Analysis_05_Merge-and-Harmonize-Publishers.R | 8d995dbd6338d28e245b66803ea8556c0439f120 | [
"CC0-1.0"
] | permissive | andreaspacher/academic-publishers | 0915316b363153f2711aa5be16371d325592984b | d2e8465198dc6fe7b6ba6196cdb26c174743cdd4 | refs/heads/main | 2023-04-15T20:16:12.457517 | 2022-09-15T07:53:18 | 2022-09-15T07:53:18 | 334,488,019 | 10 | 5 | null | 2022-09-15T07:53:19 | 2021-01-30T18:53:09 | R | UTF-8 | R | false | false | 3,916 | r | Analysis_05_Merge-and-Harmonize-Publishers.R | #
# IMPORT DATA
#
library(readr)
csv_doaj <- read_csv(file = "Output\\Preliminary_Lists\\01_publishers_DOAJ.csv")
csv_publons <- read_csv(file = "Output\\Preliminary_Lists\\02_publishers_Publons.csv")
csv_scopus <- read_csv(file = "Output\\Preliminary_Lists\\03_publishers_Scopus.csv")
csv_romeo <- read_csv(file = "Outp... |
3bb0c41b472e9a1120688b92a8bb1d688621b297 | 0235b5f10015e5cf34e757bcbeb6c07558469a84 | /rankall.R | 116bb5c63a78c03e5cabd5a3722e664c779bbf04 | [] | no_license | erinboyle05/PA3 | 456fe27a53eae852d567edbb0b5c3d588ad2e8f9 | 86192fafae867b6840ebea6f3447d42b90e1757c | refs/heads/master | 2016-09-09T21:38:49.376861 | 2015-09-18T02:43:56 | 2015-09-18T02:43:56 | 42,633,382 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,867 | r | rankall.R | ## Function rankall() sorts the
## The read columns are: [2] hospital.name, [7] state,
##[11] MR_Heart Attack, [17] MR_Heart Failure, [23] MR_Pneumonia
rankall <- function(outcome, num = "best") {
file_name <- "outcome-of-care-measures.csv"
if (outcome == "heart attack") {
rawda... |
253e564b2dc2c2c09c6f316d5ba32c29ca74ac39 | 40ed3c92c59e477ed44f4096a0ffbf9664284e56 | /getSwitches.R | c8c21a0f07bab2fd285299c9e63fb28400b6314a | [] | no_license | Transipedia/dekupl-annotation | 78ac50892046fe070342b04911756b865b280818 | c26a790495e2b0126c48722213b3808971a8f6ce | refs/heads/legacy | 2021-01-18T17:54:05.370836 | 2018-08-17T10:58:29 | 2018-08-17T10:58:29 | 86,822,205 | 5 | 7 | null | 2018-10-15T15:45:53 | 2017-03-31T13:29:52 | Shell | UTF-8 | R | false | false | 4,750 | r | getSwitches.R | #!/usr/bin/env Rscript
args <- commandArgs(TRUE)
if (length(args)==0){
stop("missing arguments !\nUsage : ./getSwitches.R <output directory> <DiffContigsInfos.tsv> <sample_conditions.tsv> <normalized_counts.tsv>")
}
library(DESeq2)
#### input data ####
home<-args[1]
#DiffContigsInfos from dekupl
all_contigs<-ar... |
e4240ee9fd45157f2376fc8f35179f5431f83790 | 72631add74b64fac1e5702f45e6c3daec8c561d4 | /snptest-annotate-pipeline/03-plot.R | a7aaa8535f42bed9010a4dab925ef931e5c51e35 | [] | no_license | Hiuyu/gwas | 4025b10421be931acfa711fbab00b91d806afbcf | 2525ac97d4a929a15f7f84c184821a498783d6f4 | refs/heads/master | 2021-01-17T07:36:26.491721 | 2015-01-15T14:54:59 | 2015-01-15T14:54:59 | 29,854,133 | 0 | 1 | null | 2015-01-26T09:30:46 | 2015-01-26T09:30:46 | null | UTF-8 | R | false | false | 754 | r | 03-plot.R | args = commandArgs(trailingOnly = TRUE)
infile = args[1]
scriptdir = args[2]
outfn = args[3]
print(infile)
source(paste(scriptdir, "qqman.r", sep="/"))
data = read.table(infile, h=T)
print("read table")
dim(data)
# SNP chr position coded_all noncoded_all strand_genome beta SE pval ... |
3e611397ced136bc3209b9a81715824f86a05209 | bb973497edfd6444622506e4cf9364aa3d398188 | /Assignment 1/complete.R | 1afa0fdc88ad5e49329ff3f634afe2964148c9a8 | [] | no_license | johnyu0424/R-Programming | 43083d1e48c0e593e597287ecc6ab422bbc2ec0f | b666d803f355e39214cac5a8aea99f48e15ee246 | refs/heads/master | 2021-01-23T14:52:41.620035 | 2015-01-22T00:53:21 | 2015-01-22T00:53:21 | 29,572,811 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,695 | r | complete.R | ## 'directory' is a character vector of length 1 indicating
## the location of the CSV files
## 'id' is an integer vector indicating the monitor ID numbers
## to be used
## Return a data frame of the form:
## id nobs
## 1 117
## 2 1041
## ...
## where 'id' is the monitor ID number and 'nobs' is the
## number of com... |
09ed5f9fac25475462b6b1b3d9086a6651be47a0 | 14c63b79db0c2310441f030bb93ab07a0e0fcc0d | /R/solve_deps.R | a64f504af9202c1e38e8714cf51172ca489e5fe0 | [
"Apache-2.0"
] | permissive | tgirke/GEN242 | f8cdc8064f734b8c6a186a673e24aed915a9d729 | 1667230320482a3202b2e3a42a2c7480b7768049 | refs/heads/main | 2023-07-20T10:22:33.358061 | 2023-07-17T18:00:09 | 2023-07-17T18:00:09 | 472,539,483 | 3 | 7 | Apache-2.0 | 2022-04-21T01:03:41 | 2022-03-21T22:57:08 | HTML | UTF-8 | R | false | false | 1,491 | r | solve_deps.R | # setup
options(repos=structure(c(CRAN="http://cran.rstudio.com/")))
FORCE_UPDATE <- FALSE
if(!requireNamespace("remotes") | FORCE_UPDATE) install.packages("remotes")
if(!requireNamespace("yaml") | FORCE_UPDATE) install.packages("yaml")
pkgs <- yaml::yaml.load_file("deps.yaml")
# define func
install_deps <- function(p... |
4eecaa9210545ed8284f1de272ccbb77abb54fdb | 2c381c17bf826631df214c4ee9de13094e5efb5b | /R/biclusterGUI.R | 0e601c47b891d3c8fc1fd486c21a8fdb685463e7 | [] | no_license | jonalim/mfBiclust | 572452e3fd3392e1cf8c3ccd36012297abb41104 | 23225f6ace79a6aa2088926e7cb05e80578fe410 | refs/heads/master | 2020-03-19T08:02:15.453038 | 2019-02-12T17:26:54 | 2019-02-12T17:26:54 | 136,170,076 | 1 | 0 | null | 2019-01-16T17:59:05 | 2018-06-05T11:54:09 | R | UTF-8 | R | false | false | 2,854 | r | biclusterGUI.R | #' @include BiclusterExperiment.R
NULL
#' Explore a BiclusterExperiment
#'
#' Opens a shiny GUI to analyze and visualize bicluster analyses.
#'
#' @param obj a BiclusterExperiment, an ExpressionSet, or an object
#' coercible to a matrix. If missing, the user must import data from a comma-
#' or space-delimited fil... |
bfca8643fb2288840473225d170f99e2467a148f | a8f863e504b9e61e2ed052d5b5fe55f957c4b47c | /R/KPf.R | 40a7b5965f9bc67b143490ef5292877d6601f48a | [] | no_license | petrkunes/LRA | 8235ecc0bbd5b2b4c9b0a5a9175ae460f29b2235 | 7aa7e5ca81000bbd5b75319b6998b2d63d222404 | refs/heads/master | 2022-12-23T00:04:46.457422 | 2022-12-14T22:07:54 | 2022-12-14T22:07:54 | 28,092,734 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,034 | r | KPf.R | #' Pollen dispersal-deposition coefficient
#'
#' Calculates the taxon-specific pollen dispersal-deposition coefficient required for \code{\link{REVEALS}} function.
#'
#' @param vg fall speed of pollen in m/s
#' @param u wind speed in m/s
#' @param Zmax maximum extent of the region in metres
#' @param model type of the ... |
d8a496eb8de1dab22452c404461c40625ac45aab | 939b4981b396f7c62c98e1c00fe9fe2ff7e795b6 | /AdaBoost on dtrees.R | eba8b30aee29385cf7e51e61908ffa17cd0e5ee3 | [] | no_license | olologin/AdaBoost | a9c394ca9aae1b4af11ff3d6a867a2deed40203e | 5bf7697b822a826fa616b16c0859f92bc63c9b85 | refs/heads/master | 2021-01-21T02:37:38.551782 | 2015-06-16T16:27:02 | 2015-06-16T16:27:02 | 35,389,062 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,105 | r | AdaBoost on dtrees.R | library(kernlab)
library(caret)
weightedMode <- function(y, W) {
posIdx <- which(y==unique(y)[1])
negIdx <- which(y!=unique(y)[1])
if(sum(W[posIdx]) > sum(W[negIdx])) {
return (unique(y)[1])
} else {
return (unique(y)[2])
}
}
entropy <- function(W, y) {
posIdx <- which(y==unique(y)[1])
negIdx <-... |
000e9a9cc9af5f9ae281ba1226072674108bca67 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/quadmesh/examples/triangulate_quads.Rd.R | 0023529708e0a1baaa791530f2b338741de26b58 | [] | 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 | 635 | r | triangulate_quads.Rd.R | library(quadmesh)
### Name: triangulate_quads
### Title: Triangles from quads
### Aliases: triangulate_quads
### ** Examples
triangulate_quads(cbind(c(1, 2, 4, 3), c(3, 4, 6, 5)))
qm <- quadmesh(raster::crop(etopo, raster::extent(140, 160, -50, -30)))
tri <- triangulate_quads(qm$ib)
plot(t(qm$vb))
tri_avg <- colMe... |
2d593b27440e79dce75533927874222d57c440b8 | 5f40566424b73bdc2e4f663ef60b6668014eb614 | /scripts/PlotFig1.R | 13ed0815faac4ac0dfd02d94a3bc3bc8a1150ee7 | [] | no_license | zfuller5280/MutationSelection | 8a214efc9ba800f81385f72bad6ae428b7f851c6 | 847d659a71a0f8bd04bcd68fa26a18b0b99ad255 | refs/heads/master | 2023-07-31T13:23:15.136650 | 2022-07-07T18:26:48 | 2022-07-07T18:26:48 | 230,666,811 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,946 | r | PlotFig1.R | #Packages
library(tidyr)
library(ggplot2)
library("HistogramTools")
library("ggbeeswarm")
require(gridExtra)
library(dplyr)
library(MASS)
#X Chr Posteriors
avg_x_param_posts<-read.table("../data_files/avg_x.stats.6_1_22.tsv", header=TRUE)
#Autosome Posteriors
exp_posteriors<-read.table("../data_files/autosome_hs.summ... |
30a03456116d62cf7f9fb71cce6eeedaab3f5ce8 | a56ff0b3c477baf984a5a74bf889d181961faebe | /R/R/harmonFit.R | 2cf718324eaf3916b1b08d5b4a0bd0cad396b849 | [] | no_license | CONABIO/satmo-analysis | 69a6df82f72a4f2429e3427a9a54417b53b44125 | a2db053d0e84684832d36f8ad12bf12ecfe39912 | refs/heads/master | 2021-01-01T16:04:29.480257 | 2017-07-19T23:18:45 | 2017-07-19T23:18:45 | 97,769,609 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 931 | r | harmonFit.R | library(lubridate)
# Function to produce a df with fitted model from a zoo time-series
harmonFit <- function(x, formula = response ~ trend + harmon, order = 3, fit = TRUE){
df <- data.frame(dates = index(x),
ddates = decimal_date(index(x)),
response = as.vector(x))
df$... |
231de24113b4dc38621c2c8298df2041916dcaa8 | f37271e1da1592da73062c9252e04b1a9a61e5b9 | /R Projects/Billing/RMSModel.R | e95395a33c352bf9f4872fa4f65aaf5e5832141c | [] | no_license | veeraps/RCode | 417b560f3a42355b5e4f265ccc639b46d1b52640 | dde4a5680a9b92928f6771195da8a49f9e21b897 | refs/heads/master | 2021-08-08T09:13:35.761342 | 2017-11-10T02:50:33 | 2017-11-10T02:50:33 | 110,194,460 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 676 | r | RMSModel.R | setwd("C:/RMS Laptop/Billing/RMS")
rms = read.csv("rmsmodel.csv")
str(rms)
#rms$RDate = as.Date(rms$Date,"%d/%m/%y")
#rms$Date = NULL
rmstest = read.csv("rmsmodeltest.csv")
str(rmstest)
RMSModel = lm(Revenue ~ Team.Size, data = rms)
summary(RMSModel)
sse = sum(RMSModel$residuals^2)
sse
RMSModel2 = lm(Revenue ~ ... |
6e35387583d133d671cc79f9b63863767cd71ae3 | a33ed4e8a5014650a65d4d3619fe0a3c215ec096 | /3-visualVariance/main.R | bb7360efa96a0d82b6e67803aebf1d93afcaf253 | [] | no_license | resendedaniel/math | da1ac72dc7599aad1c2ea81885a7e3212ed8104c | be2b6beb0277103d09b8118fac565e3c28c9d36b | refs/heads/master | 2016-09-02T00:26:55.054910 | 2016-01-08T13:41:59 | 2016-01-08T13:41:59 | 29,709,216 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 740 | r | main.R | local_plot <- function(x, y) {
var1 <- sum((x - mean(x)) * (y - mean(y))) / length(x)
var2 <- mean(x * y) - mean(x)*mean(y)
slope <- (mean(x*y)-mean(x)*mean(y))/(mean(x^2)-mean(x)^2)
par(mfrow=c(1,1))
plot(x, y, xlim=c(0, 10), ylim=c(0, 10), main=paste("Variance =", var1), frame=F)
abline(h... |
b2f6d26b7a7b2a9dfe4f88ed4e6526ed8474c24c | ce858042340eb4b26be8bc627f0d0be2226270e7 | /rscript/mylist.r | 5fa7ca19cd2690a6738aa85342c011b037e24dce | [] | no_license | tbilab/Plink-Based-GWAS | 403169df50ea124929a4ee2d76254d16a600dad9 | 04702be59091668a126fe3f52edc3b8a113b1d37 | refs/heads/master | 2021-07-11T20:33:14.702973 | 2021-07-02T19:49:38 | 2021-07-02T19:49:38 | 160,553,756 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,264 | r | mylist.r | #read in phenotype data
#args=commandArgs(TRUE)
#input=args[1]
#load(paste(input,"GRID_DEMOGRAPHICS.Aug2017.RData",sep ="" ))
#selectedPatientsTable<-read.csv(paste(input,"20180514_PatientsIntensityCutoff.csv",sep = ""),header=T,as.is=T,row.names=1)
#sum(selectedPatientsTable[,6]==0)#78 trts, 7052 controls
#datafam=rea... |
77f83dea3e8a45ce64f44884159a2c459d0dbb9e | 29585dff702209dd446c0ab52ceea046c58e384e | /ScreenClean/demo/demoGS.R | d3dcb61b492c92f6a9271e3c5a4b31c3cc6672e5 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,032 | r | demoGS.R |
pause <- function() {
cat("Press ENTER/RETURN/NEWLINE to continue.")
readLines(n=1)
invisible()
}
######################################################
#
# This is a fixed design simulation example for the GS/UPS.
#
######################################################
### set up the parameters... |
cd6827a225dcb8364664a0be456780dcdc2cc6a7 | 85c442f5a2c0eb6df21bfc526c26f68b294ddeb6 | /ui.R | 7afdb4207311a975c2f0077f20edb45c7e7f4f52 | [] | no_license | clancya3/DDPWeek4 | b8bed3d8b43c0668e7943327706379f231887a57 | 4cd3d17c21fd24232673acd0f3128cd036712226 | refs/heads/master | 2020-04-03T04:44:19.452431 | 2018-10-28T01:14:10 | 2018-10-28T01:14:10 | 155,022,454 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 821 | r | ui.R | #Slope/Int
library(shiny)
shinyUI(fluidPage(
#Title
titlePanel("Finding Least Squares Regression Line"),
#Side panel
sidebarLayout(
sidebarPanel(
sliderInput("b1",
"Slope Estimate",
min = -10,
max = 0,
val... |
47f453dc4ee6c9062932089a152ddd9fca057ee8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ExpDes/examples/lsd.Rd.R | 41afe43a43394cc2463e2e2cf3a7a48c6aaaf6f7 | [] | 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 | 212 | r | lsd.Rd.R | library(ExpDes)
### Name: lsd
### Title: Multiple comparison: Least Significant Difference test
### Aliases: lsd
### ** Examples
data(ex1)
attach(ex1)
crd(trat, ig, quali = TRUE, mcomp='lsd', sigT = 0.05)
|
01c24961370729f812f590bd0d4ab1419e90a3f3 | 8fae4c31677a2a2b7b0b2aebe75e3113b8dec8d3 | /man/crypto_prices.Rd | d39d53f275d472fd7006cfa1d3cb6a3cc7205143 | [
"MIT"
] | permissive | alejoelpaisa/tsviz | c2c2e8ce6d6f921cb0ca7448dc256e2ea7454d8f | 040deb3846da10a4a595c7e75ada8f9b0136b76a | refs/heads/master | 2023-05-03T05:04:19.284383 | 2020-10-19T21:43:13 | 2020-10-19T21:43:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 643 | rd | crypto_prices.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/crypto_prices.R
\docType{data}
\name{crypto_prices}
\alias{crypto_prices}
\title{Prices of 3 crypto currencies}
\format{A data frame with 1174 rows and 4 variables:
\itemize{
\item \emph{Date}: date when the price was recorded
\item \emph{LTC... |
7a17c6d90fc90bc13eb1abc9708e16dd43874f17 | 8c8b764940890caed8a6edd1c4496b4e69387c3c | /server.R | e8d2f824d6742ba213f8542fa7ccd2b4b766779d | [] | no_license | k-alari/bland-altman | 5664382e49a0e18c9c800cf1eefbb49adac52be8 | 346467b23a41f501c4d4005657df5634c313c9d2 | refs/heads/main | 2023-06-03T10:13:34.734525 | 2021-06-21T17:28:30 | 2021-06-21T17:28:30 | 379,006,389 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 33,467 | r | server.R | #
# This R Shiny applet was designed as a companion to the following publication:
#
# https://doi.org/10.1080/1091367X.2020.1853130
#
#
# Paper Abstract: There are two schools of thought in statistical analysis, frequentist,
# and Bayesian. Though the two approaches produce similar estimations and predictions i... |
a3d2e546525cf2f07a3ddc359033d4210ad3f223 | 93051b30dbf41dcda0f678a8d811c16ac4c9f65d | /inst/shiny-examples/ROC/app.R | 97bf0e252eeceaa337e8e5119438e029c1c471f2 | [] | no_license | cran/UncertainInterval | 483d0b3db282e31e7413eb10d35cecdb7d031435 | f2465d3b1e06f4ed2b3aa01ebad5329757fc3555 | refs/heads/master | 2021-07-18T06:29:45.578973 | 2021-03-02T15:00:02 | 2021-03-02T15:00:02 | 79,441,666 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,831 | r | app.R | library(shiny)
# Define UI for application that draws a histogram
ui <- fluidPage(
# Application title
titlePanel("Medical Decision Methods: Receiver Operating Characteristics (ROC) for Binormal Distributions"),
# Sidebar with a slider input for number of bins
sidebarLayout(
sideba... |
8b79bc0895bc8deab3713183f8386044668725d9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/surveillance/examples/epidata_summary.Rd.R | f87faafec52fa4bf4c28796a1237b461cb4b68ea | [] | 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 | 399 | r | epidata_summary.Rd.R | library(surveillance)
### Name: epidata_summary
### Title: Summarizing an Epidemic
### Aliases: summary.epidata print.summary.epidata
### Keywords: methods
### ** Examples
data("fooepidata")
s <- summary(fooepidata)
s # uses the print method for summary.epidata
names(s) # components of the list 's'
# po... |
cd356dd595fd8cad3e555244a8d926c5eeeca095 | c90b298bd859c3b9542a65da2e8885917d28c9e6 | /man/mixord.Rd | 15a40821973bf66967089055cda420bf44577a06 | [] | no_license | cran/mixor | f16b5b2a60470fed9f3a80390700e35b037cde56 | 2a9a67672767c6c2c38173711a600286e9d3e5ee | refs/heads/master | 2020-04-14T19:06:48.363567 | 2018-06-14T20:17:56 | 2018-06-14T20:17:56 | 27,953,583 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 407 | rd | mixord.Rd | \name{mixord}
\alias{mixord}
\title{
Old Function Name Replaced with mixor
}
\description{
The \code{mixord} function has been deprecated. Please use the \code{mixor} function for fitting longitudinal/clustered ordinal response models
}
\author{
Kellie J. Archer, Donald Hedeker, Rachel Nordgren, Robert D. Gib... |
f4df3a063fa126057e33255cbc43fd11a27e63bb | 4edc2d9d109559d620cbaf3d1423fd5eabc19142 | /R/table.R | 175d8e39f6c561b3755655dfb1e3d9d61529e5c6 | [] | no_license | bedatadriven/DBI | 39299edcf6fc22e96c67a5a1d006a2e3e68c18d3 | 3caf86d34a7c1bb85ad7b2f386332c19b54a5191 | refs/heads/master | 2021-01-11T02:55:22.843356 | 2016-10-18T09:47:00 | 2016-10-18T09:47:00 | 70,905,997 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 854 | r | table.R | #' @rdname Table
setClass("Table", slots = list(name = "character"))
#' Refer to a table nested in a hierarchy (e.g. within a schema)
#'
#' @param ... Components of the hierarchy, e.g. `schema`, `table`,
#' or `cluster`, `catalog`, `schema`, `table`.
#' For more on these concepts, see
#' \url{http://stackoverflo... |
28d8b5c3bd142ef2a759e61eb616004af424a1ed | 7a0cc1a29da34a761327a45f506c4b097cd33bd8 | /man/CommonFixScribe.Rd | b10fc44d06b79abcd829643bc4fd2dafcf20a0db | [
"CC0-1.0"
] | permissive | USFWS/AKaerial | 3c4d2ce91e5fac465a38077406716dd94c587fc8 | 407ccc5bf415d8d5ed0d533a5148693926306d27 | refs/heads/master | 2023-07-19T22:04:12.470935 | 2023-07-14T19:50:31 | 2023-07-14T19:50:31 | 254,190,750 | 0 | 1 | CC0-1.0 | 2023-07-14T19:50:33 | 2020-04-08T20:14:41 | R | UTF-8 | R | false | true | 1,220 | rd | CommonFixScribe.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/greenlightscribe.R
\name{CommonFixScribe}
\alias{CommonFixScribe}
\title{Apply "yellow light" changes to a SCRIBE data set}
\usage{
CommonFixScribe(data, fix, area)
}
\arguments{
\item{data}{The data frame to be fixed.}
\item{fix}{The charac... |
cf7a7ac68c87c1c00da75b07be5972dd78b01d95 | d5115ed34f56cec739b2dedcbd525156e1b3021b | /cachematrix.R | a45ea3e1d38d365b3ee19be78de15a80aed1312b | [] | no_license | KateTimms/ProgrammingAssignment2 | bfe1663cd9eec35103f8bed68fcdf08dfc217b83 | 1c998b8677d69914b831657d5063dedc0d6a9733 | refs/heads/master | 2021-01-20T15:42:22.414519 | 2017-06-28T20:21:37 | 2017-06-28T20:21:37 | 95,686,833 | 0 | 0 | null | 2017-06-28T15:54:30 | 2017-06-28T15:54:30 | null | UTF-8 | R | false | false | 1,770 | r | cachematrix.R | ## Overall, the functions create a place in memory where funcitons and the
## computer inverse matrix are stored. This allows them to be called in future
## and does not take up memory re-calculting them if the same matrix inversion
## is required again. Otherwise, if it is a new matrix, the new matrix inversion
## is ... |
cf1ef4e84a1b8456c4494f6917fe78657df9f47b | 7dd51c0c6137f8a32a6e2f265874acfcb0c0b5f8 | /demean/testtime/seperateEMDSC/subdm/code/02_test.R | 7c03e8af5661dac7db10abe2c2ec0d948e16b1bd | [] | no_license | Winnie09/GBM_myeloid | 7d3c657f9ec431da43b026570e5684b552dedcee | a931f18556b509073e5592e13b93b8cf7e32636d | refs/heads/master | 2023-02-04T04:29:50.274329 | 2020-12-20T21:16:16 | 2020-12-20T21:16:16 | 268,260,236 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,403 | r | 02_test.R | # ------------
# prepare data
# ------------
trajectory <- as.character(commandArgs(trailingOnly = TRUE)[[1]][1])
# trajectory = 'EMDSC_MAC1'
print(trajectory)
library(parallel)
library(splines)
source('/home-4/whou10@jhu.edu/scratch/Wenpin/trajectory_variability/function/01_function.R')
rdir <- paste0('/home-4/whou10@... |
3399633c192aa2c9804d4d529776d9c9830f9a78 | 6bb301790c4255ce00bab6532b22fdb020a4ece9 | /plot4.R | 174c0b213cdcac1e9fbf32055dbff1d97add0d08 | [] | no_license | CVava/ExData_Plotting1 | 14acbce513b164f70d661429d9c99778f789f519 | 5f0e3b1abc0c78a655b3fd190417cd5706cc873f | refs/heads/master | 2020-12-11T05:23:27.000547 | 2015-05-06T21:56:33 | 2015-05-06T21:56:33 | 35,120,343 | 0 | 0 | null | 2015-05-05T19:45:33 | 2015-05-05T19:45:33 | null | UTF-8 | R | false | false | 3,481 | r | plot4.R | # plot4.R
library(chron)
# read data
consumption <- read.table("household_power_consumption.txt", header=TRUE, sep=";")
# format Date column as dates
consumption$Date <- as.Date(consumption$Date, "%d/%m/%Y")
# select only entries from 2007-02-01 and 2007-02-02
consum <- consumption[consumption$Date == "2007-02-01" ... |
af56c6ed1ae18519f4a34b0b4ead2ff2f8630c5e | ab7566d54987032fb49a6e65e6918624f3acac30 | /lib/generic-nbr.R | f191a6e043016c6b9539e35d2ae223d5699ecb2e | [] | no_license | aigujin/predict-bl | fa938c47449edd86d033ab26f458d6d7994560ba | 13671b254b0278e002433f460fa08b8efe0fbca9 | refs/heads/master | 2021-01-17T13:06:47.646486 | 2015-07-07T14:00:27 | 2015-07-07T14:00:27 | 30,874,464 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,899 | r | generic-nbr.R | ### Lable Ranking prediciton function----
pred.cont <- function(rank.data, model, test.data) {
prod <- -log(model$priors) + sapply(1:nrow(rank.data), function(r) {
cond <- sapply(1:length(test.data), function(i) {
dnorm(test.data[i], mean = model$cond$mean[r, i],
sd = model$cond... |
053ccf58357694dd0ca94d1959521e21e1fd6eda | a0e3039e0cb2ce3ccbdb1c8df6b3b5550556448d | /cachematrix.R | 448bb59535070aef09fdeaba7425284df8d11bb1 | [] | no_license | hanumansetty/ProgrammingAssignment2 | f1f5b4057cbccf3d77e83cee4251dcee5f38071d | aaa423debe89755441607a514bd147ee9d88ab26 | refs/heads/master | 2020-12-29T03:19:42.379192 | 2014-05-25T22:40:01 | 2014-05-25T22:40:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,266 | r | cachematrix.R | ## The following set of functions work for a square matrix
## The functions create and cache the inverse of a square input matrix
## When cache of input matrix exists it is returned from cache otherwise calculated
## This function creates a special "matrix" object that can cache
## its inverse
makeCacheMatrix <- func... |
a19ed792f330d6c521a92072c1441d48a5fe7444 | 316d809769f33ad54983336ee713c2ebbae55d2c | /twitterRead.R | 1901b4018973e752b2819648732e392d8f7b10fa | [] | no_license | spjenk/RDataScience | 5b8c1c6077f18a8deb02265a72a68af99cb4bdc2 | 2259ebb7239b8a2e99d17587c0b70b4397f010ca | refs/heads/master | 2021-01-13T02:28:06.476606 | 2015-08-13T05:21:39 | 2015-08-13T05:21:39 | 40,639,561 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 416 | r | twitterRead.R | library(httr)
library(base64enc)
apiKey <- ""
apiSecret <- ""
accessToken <- ""
accessTokenSecret <- ""
myapp <- oauth_app("SPJENKCourseraExample",key=apiKey,secret=apiSecret)
sig <- sign_oauth1.0(myapp,token=accessToken,token_secret = accessTokenSecret)
homeTL <- GET("https://api.twitter.com/1.1/search/tweets.json?q... |
18c28d0fd76563abf237800f55aec858760e8a23 | 79aea49c2a42de69b275b1d9b10659c1ce4f017d | /man/clusterVis_region_ssom.Rd | afd0900100f38c50a1cb78161bcf6a53a123f638 | [] | no_license | iamciera/somtools | 95b0483d07aa856a4de7391362825007d171cc00 | dc7a53603c323c3a9cac7513cf57cc4cc8fbb5c2 | refs/heads/master | 2021-05-03T12:44:52.576703 | 2018-02-06T18:20:10 | 2018-02-06T18:20:10 | 120,500,613 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 321 | rd | clusterVis_region_ssom.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/superSOM_vis.R
\name{clusterVis_region_ssom}
\alias{clusterVis_region_ssom}
\title{Cluster Visualization by region for superSOM}
\usage{
clusterVis_region_ssom(clustNum)
}
\description{
Seperated by regions, tiussue and colored by genotype.
}... |
b5d7877063842464eba347ac3a43a3483d345f44 | 097d80517e10b7389ad91de15c4dfe76bdf444e4 | /Qessay.R | 7544833eccf89a966fd111181fb10a78c7513e66 | [] | no_license | mandydog/myR | 50d9b7ae06a98338aed32c667e223853707fa498 | a4f7920c628c0724cce4eedbc484cc323833e0e1 | refs/heads/master | 2021-01-25T06:00:53.531273 | 2014-09-07T01:28:19 | 2014-09-07T01:28:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 813 | r | Qessay.R | dataframe <-read.csv("borisdata.csv")
############################
### Quetelet Indices ###
############################
########################################
rowsums <- c(sum(dataframe[1, 1:4]), sum(dataframe[2, 1:4]),
sum(dataframe[3, 1:4]), sum(dataframe[4, 1:4]))
colsums <- c( sum(datafram... |
86855b861d8d0583fe3b596c1fafef89ff215807 | 0c44a1dc61eaeb642b4a64715fa2440cde85816d | /man/le_filter.Rd | 398646f0714a9e62d8db55ac1c72019b373c18c0 | [
"MIT"
] | permissive | StratoDem/strato-query | 7caeb476d9e8b604b428357649d4e8d671921e62 | 392413cd821c05b8db0e385a7f5ad629b5b04759 | refs/heads/master | 2023-03-10T11:23:25.138573 | 2023-02-28T20:18:06 | 2023-02-28T20:18:06 | 163,192,887 | 1 | 1 | MIT | 2023-02-28T20:18:08 | 2018-12-26T15:22:05 | Python | UTF-8 | R | false | true | 532 | rd | le_filter.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filters.R
\name{le_filter}
\alias{le_filter}
\title{Helper function to create a "less than or equal to" filter}
\usage{
le_filter(filter_variable, filter_value)
}
\arguments{
\item{filter_variable}{Variable filtered on}
\item{filter_value}{V... |
421c1d3d1b683ddf79af021fe3b598e064108d9c | eb7cdcffad71acd0854a79ac8f414086b1d54204 | /practica 15 de marzo.R | da10b355d115f3496bae479bfd9ce9998dfa1e0b | [] | no_license | DiegoBarreda/Programaci-n_Actuarial_III | c8d18d46de2c192d0f5120eda4e89614d477b0cb | 57d8522071a963384b4e0f8d527e0412d3ee995c | refs/heads/master | 2021-01-21T04:35:20.154073 | 2016-06-27T03:48:32 | 2016-06-27T03:48:32 | 50,951,039 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 460 | r | practica 15 de marzo.R |
k <- 1
secuencia <- vector("numeric",0)
caminata <- function(puntoInicial=100,pasos=1000){
z <- puntoInicial
for(i in 1:pasos){
length(secuencia) <- length(secuencia) + 1
secuencia[k] <- z
moneda <- rbinom(1,1,.5)
if (moneda==1){
z<- z+1
secuencia[k]... |
441c0b89e4ca5332bed99fc6d4297e43a3c2fca5 | c18b81fae25f537dec0ff3423ac93f4ba17d046b | /effects_of_fertilizer_rate/server.R | c0d40a36787c9969abf2c796dff2a2e921374cf9 | [
"MIT"
] | permissive | jarad/shiny-server | aaea2b4ea046bafa3389645ff6e7d50a1f155fe3 | 01364631df63b3086fa362d25b9e3d1698aadda6 | refs/heads/master | 2021-08-07T00:10:50.373318 | 2021-07-28T14:05:25 | 2021-07-28T14:05:25 | 242,822,356 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,697 | r | server.R | # Load packages
library(tidyverse)
library(gridExtra)
source("theme_map.R")
source("emissions.R")
source("yield.R")
ymPlotDF <- read.csv(file.path("basswood_2020.csv")) %>%
dplyr::mutate(wheatplot=yieldMgHaMean*0.9)%>%
select(long, lat, group, wheatplot)%>%
na.omit
g_yield<-ggplot(ymPlotDF) + # Omits 95 pixels... |
f0eacaca726e3b05cad52b16a7078b72a20b6221 | 5a1dd4bdf66323ab628cb70ae7bf9782bed8f0bf | /test.R | 536f14acac247519bb481bdf239dae92af4c046b | [] | no_license | devcao/High-dimensional-inference | 1ad3644eb8a0b4c82f477bb37ed6d4e0cb11ae19 | dea9bcdf7e6fc82a3ccd1b0cbcb464d6a984bb94 | refs/heads/master | 2020-03-28T03:08:17.325617 | 2019-03-04T17:52:31 | 2019-03-04T17:52:31 | 147,622,754 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,357 | r | test.R | ##################################################################################
# Includes all Pathwise test statistics, including end point variant and variate norm
##################################################################################
#######
##### loading required packages, functions
#source("~/... |
cbcfa6a9ebe680340b34f8de70f253c3bd9849e5 | 0662ba611c00aa49c3afca318a7f3ea16c83ba5d | /man/step_build_bookdown.Rd | 97a39bc4c3829ff2c20f4d3fadc5ad38093bad2b | [] | no_license | ropensci/tic | 38e06d7675e6820801edf74daa904d6ceea1a804 | 379cf98787e924a68e47792462fafca03f148d5f | refs/heads/main | 2023-09-01T19:28:37.862973 | 2023-05-22T14:07:38 | 2023-05-22T14:07:38 | 72,775,037 | 50 | 10 | null | 2023-01-18T18:03:44 | 2016-11-03T18:31:22 | R | UTF-8 | R | false | true | 507 | rd | step_build_bookdown.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/steps-bookdown.R
\name{step_build_bookdown}
\alias{step_build_bookdown}
\title{Step: Build a bookdown book}
\usage{
step_build_bookdown(...)
}
\arguments{
\item{...}{See \link[bookdown:render_book]{bookdown::render_book}.}
}
\description{
Bui... |
a63385c932e7c8003abb4d9f0bc6faf7d5981bd4 | d65b12e6c8e8b87a88b332f05715890dd5f786c9 | /R/uploadToOverleaf.R | ec29e8faece5aec89dca2d6ccb59e6be878c92eb | [] | no_license | Annliu9/singlecellworkflow | fcaf41dc1265081550c50022e1d09e04b9090499 | d3697b72fd6d37fbee567ff3250d75862e6d6199 | refs/heads/master | 2021-09-21T16:40:40.268809 | 2017-07-12T12:51:29 | 2017-07-12T12:51:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 152 | r | uploadToOverleaf.R | library(BiocWorkflowTools)
workflow_dir <- file.path(getwd(), 'workflow')
uploadToOverleaf(files = workflow_dir,
openInBrowser = TRUE)
|
4934deb1f6ac95c32647fd2094298e25aa951abc | 8f7d733baec4f5ab0f942bd482f0516ad8d47113 | /R/twitterConnect.R | 6341eb07291688a32a7a9b97feea4695908ce2cd | [
"MIT"
] | permissive | jeffchang5/MusicMap | 4ee910eacfc75747a65038e78f090ae10c82a5ea | 0cb3e036faf3cb9f673c9771d3f44f65b5fd2451 | refs/heads/master | 2020-02-26T14:40:47.959455 | 2016-06-13T20:54:26 | 2016-06-13T20:54:26 | 60,759,582 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 125 | r | twitterConnect.R | createTwitterStream <- function() {
require('streamR')
filterStream(file.name = "tweets.txt", track = "justinbieber")
}
|
f3a0ff3a6542dda9c1df70b8cab46fb0b0ec576f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/longCatEDA/examples/longCatEDA-package.Rd.R | c840eae03840df4d5e4a4b8f237fd0410bb98423 | [] | 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 | 276 | r | longCatEDA-package.Rd.R | library(longCatEDA)
### Name: longCatEDA-package
### Title: Plot Categorical Longitudinal and Time-Series Data
### Aliases: longCatEDA-package longCatEDA
### Keywords: package
### ** Examples
par(bg='cornsilk3')
longCatPlot( longCat( example3 ) )
par(bg='transparent')
|
25822f94b5f136de4005bcf2e56ac3bfdcedd34f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/EcoVirtual/examples/extGame.Rd.R | 9857a092575bb3dd77c05e9249598ccd72e9285c | [] | 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 | 235 | r | extGame.Rd.R | library(EcoVirtual)
### Name: extGame
### Title: Zero-sum game
### Aliases: extGame
### Keywords: neutral simulation theory
### ** Examples
## Not run:
##D extGame(bet=1,total=20)
##D extGame(bet=1,total=100)
## End(Not run)
|
269d7d4d1080034987d6b2d32a0b739b4ae22da1 | 0c038b05bbba20bf013b0efb0f166dc4fb324a83 | /inst/tests/test.nearest.codes.som.R | c408e15b229c823bee030a86147b2b8f92d48d8d | [] | no_license | cran/BarcodingR | 710f9da30052a20ccaa5de56fe95148aceb21960 | b84d618fe82a2dea399f483cf2ac30a7e28f0ba2 | refs/heads/master | 2021-01-09T20:37:39.424992 | 2020-04-14T14:00:05 | 2020-04-14T14:00:05 | 63,674,379 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,212 | r | test.nearest.codes.som.R | #' seek the nearest codes/units from an som object
#'
#' @param out.som an object generated by som()
#' @return indices of pair nearest codes (a matrix of n*2 containing indices of pair nearest codes)
#' @keywords nearest.codes.som
#' @export
#' @import kohonen
#' @author Ai-bing ZHANG,PhD. CNU, Beijing, CHI... |
5ecfe1fb316928f083571655e9c4f5163dd5e8ef | b19ac6bc2ebfbde073263c783c8e917e2fd5d87f | /EDA.R | 8c82db78bb34fb7974cfddb58f6a98afbdc882b0 | [] | no_license | Gaboelc/predictive-analysis-of-customer-churn-in-banks | d7398b3a568e7391e7e9e5866a23261df423c67b | b5557d29357a9975acb249a3f2d3d09a81235305 | refs/heads/main | 2023-07-18T00:12:23.516016 | 2021-09-09T00:58:16 | 2021-09-09T00:58:16 | 398,403,764 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,671 | r | EDA.R | install.packages('prettydoc')
install.packages('psych')
library(readr)
library("dlookr")
library(dplyr)
library(psych)
#file.choose()
df = read.csv("C:/Users/Gaboelc/Desktop/predictive-analysis-of-customer-churn-in-banks/data/Churn_Modelling.csv",header = TRUE) #Cargo el dataSet
gender_dist = table(df$Gender)
barpl... |
ea16ca8f22100129d4f5b19ba5d3fa5a3641dc01 | 67fc33c33c256a727d68c1266b35f3a14595aa6f | /man/hubnr_cols.Rd | 7f8f25d0b3fe370124537cc7248f4020d4c266ca | [] | no_license | maxhuebner/hubnR | c1b2aa53131d5f89bc055dfc649dffd374978f7b | afe8e4d25a1c9e58f3f2e865fa0b7b7e68a13c03 | refs/heads/master | 2021-12-31T16:29:41.166619 | 2021-12-28T19:38:35 | 2021-12-28T19:38:35 | 233,070,054 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 367 | rd | hubnr_cols.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/color_palette.R
\name{hubnr_cols}
\alias{hubnr_cols}
\title{Function to extract hubnr colors as hex codes}
\usage{
hubnr_cols(...)
}
\arguments{
\item{...}{Character names of hubnr_colors}
}
\description{
Function to extract hubnr colors as h... |
75784993901227e7ea2c4ad85dfda5b05ad75689 | a5ddb6a56c7db5d404f28441fcebd0fdf86e4690 | /run_analysis.R | db3638d686428781dedeadb547d8d78c3cf02da8 | [] | no_license | Kristijan-K/data_analysis | ad2d7749b46f375d8254ae791efbf5c8b789bf59 | 0e85e5204e316b05183cb54d46049e263799dfc2 | refs/heads/master | 2021-01-01T05:53:07.448593 | 2014-04-27T19:34:30 | 2014-04-27T19:34:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,714 | r | run_analysis.R | labels<-read.table("./UCI HAR Dataset/features.txt",header=FALSE)
dataset1<-read.table("./UCI HAR Dataset/train/X_train.txt",header=FALSE)
x<-t(labels)
x<-x[2,]
names(dataset1)<-x
columnfilter <- (grepl("mean()",names(dataset1)) | grepl("std()",names(dataset1))) & !grepl("meanFreq()",names(dataset1))
tidydataset1<-data... |
568bd66d14c563310eb317aabf2e76591a7c89ac | 37d6346b56a80a1296ec9f7d1954318f05e10025 | /DAM_AT1_B_WIP.R | 085426af1a4a5dcb3a907c99ee77d90bf6cab26d | [] | no_license | CazMayhem/iLAB-1 | 389428756b24dcdb4352548b0e9fd40b92d12774 | 018ee858afd7555894fafbdad574588feab19411 | refs/heads/master | 2020-08-13T10:04:19.128759 | 2019-11-02T13:47:49 | 2019-11-02T13:47:49 | 214,951,551 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,459 | r | DAM_AT1_B_WIP.R | repRead %>% count(Target)
repRead %>% count(age_band)
repRead %>% filter(Target == 1) %>% count(age_band)
repRead %>% count(age_of_vehicle_years)
repRead %>% count(annualised_mileage)
repRead %>% count(car_model)
repRead %>% count(total_services)
repRead %>% count(car_model)
repRead %>% count(num_dealers_visited)
repRe... |
200389ae84fb6468492a55f0441fe06e3797771d | 03d3da95850cee0911c578de2baad0ab26e9210c | /man/normalize-NanoStringGeoMxSet-method.Rd | 5c60fda92cd004f582998165e436356f695544ed | [
"MIT"
] | permissive | qiyubio/GeomxTools | 701977829c49199c7b2785ebcb958240cc52a740 | 97959d5f38eb07b3bab380e5b82048ae368d3f72 | refs/heads/master | 2023-08-28T11:17:12.848356 | 2021-10-21T18:38:20 | 2021-10-21T18:38:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,264 | rd | normalize-NanoStringGeoMxSet-method.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/NanoStringGeoMxSet-normalize.R
\name{normalize,NanoStringGeoMxSet-method}
\alias{normalize,NanoStringGeoMxSet-method}
\title{normalize}
\usage{
\S4method{normalize}{NanoStringGeoMxSet}(
object,
norm_method = c("quant", "neg", "hk", "subtr... |
4c2efca8ab1f742eaad8794064e3cd4ecd1d57e9 | 6fb35fd3f17a96a60a16860d1fcc5d58c4cdc2d3 | /R/drug_synonym_node_parser.R | 598138134ab6addd0be334574246da0a665dce41 | [] | no_license | Sparklingredstar/dbparser | 1b7f6717d03ba3e69a2584992ef34490ff19f457 | 6f758ec3ec4571c5ea11bfac45500ea1e4f51cb0 | refs/heads/master | 2020-06-24T22:12:47.281263 | 2019-07-21T13:12:34 | 2019-07-21T13:12:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 424 | r | drug_synonym_node_parser.R | get_synonym_rec <- function(rec, parent_key) {
return(
tibble(
parent_key = parent_key,
synonym = xmlValue(rec),
language = xmlGetAttr(rec, name = "language"),
coder = xmlGetAttr(rec,
name = "coder")
)
)
}
get_synonyms_df <- function(rec) {
return(map_df(
... |
04b47a7b25819f7cf0229972a20baa97da828ab8 | 7cc7064da39f7f57867825c7db32687dff967473 | /R/utils.R | cb65ead437c4edc628e43bb3097c4d167936ba15 | [] | no_license | cran/xesreadR | 3219f526f3c583e12ea6dffd3acfcb129bb5c4c9 | abaff7349ece21c9569b3f7c2c2ac578fc88b8d4 | refs/heads/master | 2021-01-21T20:53:44.729867 | 2019-03-19T11:50:03 | 2019-03-19T11:50:03 | 94,758,517 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | utils.R |
stop_eventlog <- function(eventlog)
if(!("eventlog" %in% class(eventlog)))
stop("Function only applicable for class eventlog")
|
c10cf53710622e3d2f0f542d7edc08a35cf1b634 | 6f4796e1757c4e4f7bccd7207d18c87e6f1e4e6b | /man/genotype.generate.Rd | b57c190a6f2bc5078ed8820aba856e03188447cc | [] | no_license | bjcochrane/TeachingPopGen | 12dd96517bb0b005615235c5b567490eb0a41adc | 033510f77f81fb1b2d668f34f682b857958c5cda | refs/heads/master | 2021-11-30T21:05:55.295372 | 2021-11-08T18:02:53 | 2021-11-08T18:02:53 | 20,026,473 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,788 | rd | genotype.generate.Rd | \name{genotype.generate}
\alias{genotype.generate}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Generate Array of Two Locus Genotypes
%% ~~function to do ... ~~
}
\description{A function that will, based on given gamete frequencies, linkage disequilibrium, and population size, return an array ... |
c345f506e7a07403bfbd3e983c3e72080a455101 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ibd/examples/Cmatrix.Rd.R | 5a8dbfb784750e83b8eb820e36266acdd036745d | [] | 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 | 391 | r | Cmatrix.Rd.R | library(ibd)
### Name: Cmatrix
### Title: Information matrix from given treatment by block incidence
### matrix of a block design
### Aliases: Cmatrix
### Keywords: incidence matrix incomplete block design information matrix
### ** Examples
N=matrix(c(1,0,0,0,1,0,1,0,0,0,1,0,1,1,0,0,1,0,1,1,0,1,0,1,1,0,0,0,0,1,1,... |
8c08fce592672e0f81915e05973bf8a0dd855a1e | 70306df1ac9538c5c7d6182859febdc0a21b2258 | /man/vfbr-package.Rd | ae8936bbaa7faddada01bdd3751fc354f28065c9 | [] | no_license | jefferis/vfbr | 7c898bd340f7e9700383a1f2d8f5a96605347a01 | 497c621bf666df8897c6a8c7dcd5b6aa31702ab4 | refs/heads/master | 2021-06-27T07:30:59.266990 | 2021-02-15T23:55:23 | 2021-02-15T23:55:23 | 34,357,737 | 2 | 1 | null | 2021-01-25T20:53:41 | 2015-04-21T23:33:47 | R | UTF-8 | R | false | true | 2,067 | rd | vfbr-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vfbr-package.R
\docType{package}
\name{vfbr-package}
\alias{vfbr-package}
\alias{vfbr}
\title{Programmatic Access to the virtualflybrain.org website}
\section{Queries}{
\itemize{
\item{\code{\link{vfb_solr_query}}} Allows you to query VF... |
10c3dba08c789e075c1fad06d7b5fe580b001407 | 3171a3608f0327668737686c87cca873b7467bb9 | /plot2.R | da9f80dd33fba51426fab046d58ce0c545bbd8ec | [] | no_license | vineetjain93/ExData_Plotting1 | beaecb4520d30ba03fa1d3d60ddd3a1d4b83c08f | 2c865851e726651456ce9f20b077d92416c93fa3 | refs/heads/master | 2021-06-17T11:51:09.082815 | 2017-01-06T00:57:42 | 2017-01-06T00:57:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,477 | r | plot2.R | plot2 <- function(){
listOfIndices1<- grep("1/2/2007",readLines("household_power_consumption.txt"))
listOfIndices2<- grep("3/2/2007",readLines("household_power_consumption.txt"))
startElement <- listOfIndices1[1]
endElement <- listOfIndices2[1]
numberOfRows <- endElement-startElement
columnNames <- read... |
1c562d099359cb849c695e8c28c3d9fbeebb3228 | 865dc98a3a72e500941287f8994d5e5de06fa435 | /plot1.R | 579c2ae54e5dd5e28fa9ae592f85acfe531e2440 | [] | no_license | ineshf/ExData_Plotting1 | 12f6fce2c869094fa4786e5ce9089de6c3c899d1 | 87861a4b72cbb3ab55755079eb7744e37c360ade | refs/heads/master | 2021-01-18T05:18:29.245221 | 2014-06-07T23:15:01 | 2014-06-07T23:15:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 531 | r | plot1.R | #Read csv data
data<-read.csv("household_power_consumption.txt", sep=";")
###########PLOT 1################
data$Date<-as.Date(data$Date, "%d/%m/%Y")
#Select date
fec2<-as.Date("02/02/2007","%d/%m/%Y")
fec1<-as.Date("01/02/2007","%d/%m/%Y")
vec<-c(fec1,fec2)
midata<-data[data$Date %in% vec,]
#First plot
png("plot1.pn... |
78aedce01bdaef307bf30135fc8a98eb948899d3 | 939c7572529f8e2ec7df8b189c57a75736b74d1d | /tests/wilcoxon_twosample_errors.r | c84c88b000681cdede8269ad1cb64c1239512532 | [] | no_license | cran/matrixTests | 13af4039cfedb914cc266eb20cea228e0deef55a | b875053677d8578631afaa4175436a0642aa9652 | refs/heads/master | 2023-05-11T01:26:13.893032 | 2023-05-01T13:40:02 | 2023-05-01T13:40:02 | 123,973,102 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,654 | r | wilcoxon_twosample_errors.r | library(matrixTests)
source("utils/capture.r")
#--- x argument errors ---------------------------------------------------------
# cannot be missing
err <- 'argument "x" is missing, with no default'
res <- capture(row_wilcoxon_twosample())
stopifnot(all.equal(res$error, err))
# cannot be NULL
err <- '"x" must be a nu... |
9d2f55c766c9ec4e0702801d3a83f56293e0e90e | 12514216d4c61dfa44228b9e0e662845830f34b8 | /longshot/code/betfair/util.R | e4b4706db956891ed84702eaff384953a9a2a290 | [] | no_license | tima04/prediction_market | 1cbba735a3d7b89bff875825ea97bbd8d4f1909f | 51439f278331a8516a5c81ad29cbf705badebfa6 | refs/heads/master | 2021-01-01T18:20:05.705567 | 2017-08-01T16:41:13 | 2017-08-01T16:41:13 | 98,307,498 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 785 | r | util.R | library(data.table)
library(lubridate)
## isthere("ab", c("Aab", "daf")) == c(TRUE, FALSE)
isthere <- function(pat, xs) {
match <- function(x)
length(grep(pat, x, ignore.case = T, value = T)) > 0
rslt <- unlist(Map(match, xs))
names(rslt) <- NULL
return (rslt)
}
## lowercase("Ab_CdE") == "ab_... |
8cbe34eb4f85c0167272f05944b886776fa32a38 | f8244e2f71fc98894344ca730a8d696ebdecbda3 | /man/scrape_all_pages_silently.Rd | 892a9e9893a91058b34923fb64b6b10a87a93fd3 | [] | no_license | AndersT123/boliga | df9a23894227c4e10842409793713078237b2488 | f97c74be3378b76e583a1b113b48e1aa8ac99422 | refs/heads/master | 2021-05-19T08:18:56.443996 | 2020-03-31T12:44:04 | 2020-03-31T12:44:04 | 251,601,764 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 428 | rd | scrape_all_pages_silently.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/boliga.R
\name{scrape_all_pages_silently}
\alias{scrape_all_pages_silently}
\title{Scrape pages silently}
\usage{
scrape_all_pages_silently()
}
\value{
A list with four elements. The results slot contains the output from iterations without fa... |
a968ec65697ffe4cfa66ed2c3eed89af8f53b11e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/future/examples/multicore.Rd.R | 5f53d8d9c4e8332fb92a66c3fb31172156ad65e5 | [] | 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 | multicore.Rd.R | library(future)
### Name: multicore
### Title: Create a multicore future whose value will be resolved
### asynchronously in a forked parallel process
### Aliases: multicore
### ** Examples
## Use multicore futures
plan(multicore)
## A global variable
a <- 0
## Create multicore future (explicitly)
f <- future({
... |
3da5fdb8dba1a5367cd266b7d40acae5e0940bc1 | fac7401159e19eb23d6f89c787c0e0357782d008 | /pset6_1.R | e2eddebf915a4c599b356254f93f3036572a906a | [] | no_license | jpalbino/edxAnalyticsEdge-1 | b573fb3fe9b7832bfce9091f188747e77ef299c8 | 116de0df0098e2798d04b28dd4b2df4be561d593 | refs/heads/master | 2021-01-18T06:41:37.717775 | 2015-05-01T12:33:08 | 2015-05-01T12:33:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,979 | r | pset6_1.R | dailykos = read.csv("dailykos.csv")
kosDist = dist(dailykos, method="euclidean")
kosHierClust = hclust(kosDist, method="ward.D")
plot(kosHierClust)
hierGroups = cutree(kosHierClust, k = 7)
HierCluster1 = subset(dailykos, hierGroups == 1)
HierCluster2 = subset(dailykos, hierGroups == 2)
HierCluster3 = sub... |
0b70e886fb02379344fc9c1bfda667b61d608f71 | a84b97e3f97fe5a92663a424f40d2be1ad0809ad | /man/simulate_offspring.Rd | a19edb0385128ec2f1415a47b7f756773adc48a9 | [] | no_license | cran/APIS | f8f9a7ac041be93d407737e5a016cc88e1885ef3 | 4c4043396033f2354860973fedbbeae1f9302306 | refs/heads/master | 2023-07-10T15:50:06.826290 | 2023-06-30T14:40:02 | 2023-06-30T14:40:02 | 236,548,490 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,609 | rd | simulate_offspring.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/function_simulate_offspring.R
\name{simulate_offspring}
\alias{simulate_offspring}
\title{Simulate offspring}
\usage{
simulate_offspring(
sire_genotype,
dam_genotype,
number_offspring,
ploidy_level = 2,
sire_contribution = 1,
dam_... |
939cf3a23a759442813fd26d17fce1b4c14e931e | 86151a6ecec532ac065621a1ffdfd827504176a3 | /R/dataset_check.R | 3f7557d47b5cef007c059c4e8bf2b3b8541d6e16 | [] | no_license | imarkonis/pRecipe | 3454f5ce32e6915a6caef1dbc041d12c411c9ae5 | 07c6b1da653221a0baeeb2aa81b8744393ff587e | refs/heads/master | 2022-11-02T20:27:40.979144 | 2022-10-28T10:52:04 | 2022-10-28T10:52:04 | 237,580,540 | 0 | 0 | null | 2020-02-01T07:44:23 | 2020-02-01T07:44:23 | null | UTF-8 | R | false | false | 1,197 | r | dataset_check.R | #' Data set name checker
#'
#' Function to check if the data set is available
#'
#' @importFrom methods is
#' @param data_name a character string.
#' @return No return value, called to download the data set.
#' @keywords internal
dataset_check <- function(data_name){
if (!Reduce("&", is.element(data_name, c("all", "... |
0e4c549f46f31d65c962470cc8c93f305163eca5 | 229bf9f5443566993bfd9ba16153c1ad0aada67f | /ele_ela_analise/processBook.R | a762e9b97cc1d348ce25602650dfba4e12c5b404 | [] | no_license | GiulSposito/R-x | fc096199ca2efb483d164ba42b92a7a77281f39f | 902aad081c5b7961983234f183ed1df4bf621e8b | refs/heads/master | 2021-06-27T05:41:46.789209 | 2019-05-21T17:42:01 | 2019-05-21T17:42:01 | 115,006,654 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 518 | r | processBook.R | # script to download a pdf and extract the text
library(tidyverse)
library(pdftools)
books <- readRDS("./ele_ela_analise/data/book_links.rds")
abook <- books[24,]
tfile <- tempfile()
download.file(abook$link, tfile)
txt <- pdf_text("./ele_ela_analise/data/bv000060.pdf")
txt <- pdf_text("./ele_ela_analise/data/me00... |
def4f8a97e535c985aea70c928ff6d3c9242d70d | 2a753e9a48b58d84cd3fd8088521590541eb974e | /flightanalysis.R | 70168a4b47dc84d8fe3df6acbbc306da56cb2f1b | [] | no_license | Desmondonam/flightanalysis | e485003d3856ba2025aac1cfd6a78eecb69b977d | c7b4f7bf1c4d902d3e601615ce45742932757764 | refs/heads/main | 2023-04-01T00:19:20.071321 | 2021-04-06T12:57:04 | 2021-04-06T12:57:04 | 355,188,262 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,939 | r | flightanalysis.R | library(tidyverse)
library(lubridate)
library(nycflights13)
head(flights)
flights %>%
mutate(long_flight = (air_time >= 6 * 60)) %>%
View()
flights %>%
mutate(long_flight = (air_time >= 6 * 60)) %>%
count(long_flight)
flights %>%
group_by(date = make_date(year, month, day)) %>%
summarise(f... |
421c47f7767860ce2feafcadc4713a95a97daf99 | d8ef8d07e435905e3b4be3792951093e0976c181 | /containers/genie3/test_genie3_exp.R | 5713aa7cc8829a5fcc403a12db729c4a2686ff10 | [] | no_license | AluruLab/ardmore | 376c6d5841d9b3105ca006b474dbc22abea65dda | d5f14f666a149f349d11f6f0329ef1cfe87aec67 | refs/heads/master | 2023-05-28T01:58:20.613700 | 2021-06-17T19:45:08 | 2021-06-17T19:45:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 926 | r | test_genie3_exp.R | library(GENIE3)
library(doParallel)
library(doRNG)
library(reshape2)
run.genie3 <- function(exp.fname, out.fname, nc=1){
exp_tab <- read.table(exp.fname , skip = 3, as.is = T)
rownames(exp_tab) <- exp_tab[,1]
dt <- dim(exp_tab)
exp_tab <- exp_tab[,3:dt[2]]
# computed.cor <- cor(exp_tab)
# write.table... |
833f799dabfc37a8b0715ecd821fd4683c989602 | 859695d308824e3cfc429658c4631ccab2a7c61b | /Rscripts/Clustering.R | 2123406db6e5b8e3a25c626f2cf35895b77e1e47 | [] | no_license | natan-alper/Machine-learning-algorithms-in-R | 843ca72391365597288896b8b12ff68d88df3520 | 3d7e28a809114eb7a779179769b829f812368313 | refs/heads/main | 2023-05-26T19:19:13.381936 | 2021-06-16T02:43:13 | 2021-06-16T02:43:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,163 | r | Clustering.R | #Download and Import Churn dataset
## One of the most frequently used functions for performing clustering is the hclust() function located in the default "stats" package.
## hclust is able to determine clusters based on "single-linkeage", "complet-linkeage", "average-linkeage", etc. (NOT k-means or k-medoids)
##... |
035195631873dce8cadd38487120187d9e9d6649 | 841262a212e9272d4270e9e9f6be664e87b009ba | /plot2.r | 4cc0a2df90ea8b525290e1e9d14c1bbda17f39f1 | [] | no_license | abhisheksharma2287/ExData_Plotting1 | a405f2af3ec2979faa405e8ed37960d864734075 | a8897c8bbc1822b7b897fe9378a530ee996384fc | refs/heads/master | 2020-06-12T20:45:49.542520 | 2019-07-04T16:11:43 | 2019-07-04T16:11:43 | 194,420,464 | 0 | 0 | null | 2019-06-29T15:28:46 | 2019-06-29T15:28:46 | null | UTF-8 | R | false | false | 603 | r | plot2.r | library(dplyr)
setwd("c:/Users/Abhis/ExData_Plotting1")
hpc<-read.table(file = "household_power_consumption.txt",header=T,sep = ";",na.strings = "?",dec = ".")
data1 <- subset(hpc, Date %in%c("1/2/2007","2/2/2007"))
time2<-strptime(paste(data1$Date, data1$Time, sep = " "), "%d/%m/%Y %H:%M:%S")
data2<-cbind(data1,time2)... |
57b9af5867acb206386a99a463cd9dc2d814f63e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/agridat/examples/nebraska.farmincome.Rd.R | fe3d60131e097742b5859e5f2e3c3fbbae0d96fc | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,884 | r | nebraska.farmincome.Rd.R | library(agridat)
### Name: nebraska.farmincome
### Title: Nebraska farm income in 2007 by county
### Aliases: nebraska.farmincome
### Keywords: datasets
### ** Examples
data(nebraska.farmincome)
dat <- nebraska.farmincome
if(require("maps") & require("mapproj") & require("latticeExtra")) {
# latticeExtra for ma... |
d470772b04ae39927653410b5ada5a2e12a24cb7 | c118908b1c8bad0914e38e43f1148b58364accc2 | /man/plot.BchronDensityRunFast.Rd | 9dcfbb5f96e5201ca7a53d11669103e785a40242 | [] | no_license | andrewcparnell/Bchron | baf98d6642a328ba3c83e8fcf2e04b6c0af86974 | faa14f54444e7ec417e0e389596014a1c7645349 | refs/heads/master | 2023-06-27T02:01:46.417288 | 2023-06-08T11:17:34 | 2023-06-08T11:17:34 | 40,361,984 | 30 | 12 | null | 2022-04-05T20:46:28 | 2015-08-07T13:33:16 | R | UTF-8 | R | false | true | 983 | rd | plot.BchronDensityRunFast.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.BchronDensityRunFast.R
\name{plot.BchronDensityRunFast}
\alias{plot.BchronDensityRunFast}
\title{Plot run from \code{BchronDensityFast}}
\usage{
\method{plot}{BchronDensityRunFast}(x, plotDates = TRUE, plotSum = FALSE, dateTransparency =... |
b9818d640e4f14b0120443ef91ef48ad5c955a7c | 79f9c6c04654cbb29c27266a3c413cad7b033aab | /02 Shiny/server.R | 56fd3b2eafa3ddd55c99fcdcc19a72bfedb611a5 | [] | no_license | CannataUTDV/s17dvfinalproject-dvproject-5-chi-rambo-xu-zhang | d200b31c610b343f24aaeea9ee41d9f3df10c802 | 681d2e32839621d221f82d119d33b59a3cbe3016 | refs/heads/master | 2021-01-20T02:28:24.008781 | 2017-05-03T18:13:44 | 2017-05-03T18:13:44 | 89,411,203 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,686 | r | server.R | # server.R
require(ggplot2)
require(dplyr)
require(shiny)
require(shinydashboard)
require(data.world)
require(readr)
require(DT)
require(leaflet)
require(plotly)
require(lubridate)
online0 = TRUE
# The following query is for the select list in the Boxplots -> Simple Boxplot tab, and Barcharts -> Barchart with Table C... |
96eb3ba5a5b5314bdd6c46c3153f50045c3b69a0 | 3e74b2d423d7b4d472ffce4ead1605621fb2d401 | /external/external_OLD/R_RJcluster/script_SICLEN.R | f9c0324d1a0451cf7f6bf1f4df873c97daff2f39 | [] | no_license | jamesjcai/My_Code_Collection | 954988ee24c7bd34139d35c880a2093b01cef8d1 | 99905cc5d063918cbe6c4126b5d7708a4ddffc90 | refs/heads/master | 2023-07-06T07:43:00.956813 | 2023-07-03T22:17:32 | 2023-07-03T22:17:32 | 79,670,576 | 2 | 4 | null | null | null | null | UTF-8 | R | false | false | 179 | r | script_SICLEN.R | library(SICLEN)
X <- as.matrix(read.csv("input.csv", header = FALSE))
#X <- as.matrix(read.table("input.csv", sep=","))
res <- siclen(t(X))
write.csv(res$clusterid,'output.csv')
|
edde5308b7cb5652e3c878072dbbc38b8bc9d10a | 2693a682078fe71bed78997f82b71b82c0abd0ad | /base/utils/R/get.analysis.filenames.r | b67afa272c640eb3b16ad9dea984e4423c74c9a7 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ashiklom/pecan | 642a122873c9bca4f7ac60f6f260f490f15692e4 | 52bb31866810e2c93ddf540f2065f41ec008627b | refs/heads/develop | 2023-04-01T11:39:16.235662 | 2021-05-24T22:36:04 | 2021-05-24T22:36:04 | 28,980,311 | 3 | 0 | NOASSERTION | 2023-04-01T20:08:15 | 2015-01-08T18:44:03 | R | UTF-8 | R | false | false | 5,096 | r | get.analysis.filenames.r | ##' Generate ensemble filenames
##'
##' @name ensemble.filename
##' @title Generate ensemble filenames
##'
##' @return a filename
##' @export
##'
##' @details Generally uses values in settings, but can be overwritten for manual uses
##' @author Ryan Kelly
ensemble.filename <- function(settings, prefix = "ensemble.sam... |
90f8dc93b3e87509ebdc09a173dbee4e978aa4db | ef0c246945c2301c860cfc7ab30443d1d922307e | /R/corr_coeff_andRF_tree.R | 050074652fcff643bf391b14e55466223ee6a1f0 | [] | no_license | tacormier/LCCVP | 3cac058053a54b2c71f952b971cfe1913bad5acb | 1345f06193b438a3ee477ced9a8543fad83274f7 | refs/heads/master | 2020-05-26T17:54:44.447655 | 2015-05-20T18:43:09 | 2015-05-20T18:43:09 | 35,967,013 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,308 | r | corr_coeff_andRF_tree.R | library(raster)
suit.img <- "C:/Share/LCC-VP/Parks/GRSM/analysis/spruce_fir/inputs/clim_srad/COVER_spruce_fir_inPRISM_800m.tif"
biovars <- "C:/Share/LCC-VP/Parks/GRSM/analysis/spruce_fir/inputs/clim_srad/biovars_1981-2010_srad_masked.tif"
rf <- load("C:/Share/LCC-VP/Parks/GRSM/analysis/spruce_fir/outputs/clim_srad... |
cbff56d427b41d13b0326bda25f4d28274c90e41 | b5d9e7a1bd35b19119e4b0d86957b657302067e3 | /smv.R | 3c4f136da3672a19d2ed1e4baf541f7e3ed0edc0 | [] | no_license | benilak/CS450 | 88ccd40c146399ec2f1d7522cdb39f59b3f1848c | 77256c58885bb04ba324677b0cd2cdd34cee8752 | refs/heads/master | 2021-05-12T12:04:33.962836 | 2018-04-12T06:59:22 | 2018-04-12T06:59:22 | 117,402,820 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,686 | r | smv.R | # CS450 - SVM
library(e1071)
# =============================================================================
vowel <- read.csv('C:\\Users\\brega\\OneDrive\\Desktop\\CS450\\vowel.csv')
# encode categorical features as numeric
vowel$Speaker <- as.numeric(vowel$Speaker)
vowel$Sex <- as.numeric(vowel$Sex)
... |
ba9c51174547017dd56176ca5f5b6601186f2892 | 658650485ab0ef0cefb6ab0e2812cb76addb477f | /R/spocc-package.R | e07cdc571949b1141d9c0cfb54e913563d423af3 | [
"MIT"
] | permissive | jhollist/spocc | bb6fcaae82d6bc1ac8f28477f1e1c88e2fc98f95 | 9d6dc976129ddb63608a493a6fb9a8039bddfab6 | refs/heads/master | 2021-01-17T18:05:22.342694 | 2015-03-23T18:43:04 | 2015-03-23T18:43:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 848 | r | spocc-package.R | #' You don't need API keys for any of the data providers thus far. However, some
#' may be added in the future that require authentication, just FYI.
#'
#' Currently supported species occurrence databases:
#'
#' \tabular{ll}{
#' Provider \tab Web \cr
#' GBIF \tab \url{http://www.gbif.org/} \cr
#' BISON \tab \url{http:/... |
f58ef73d818637f28b346cb15a7aa72591126276 | 97a01ddeb2d82e7ee9473c0f8f652ce2f2c487a5 | /R/get_google_sheet_named_version.R | 2a6ed1c0c020f1e0d732b9525123898e6abc4225 | [] | no_license | langcog/metalabr | cb7086abc506544808b82fb10785502ff1937018 | ad2480e1ed83f48052a35171e7e2cc6e8eb978e7 | refs/heads/master | 2023-07-21T18:10:57.181620 | 2021-09-04T07:16:46 | 2021-09-04T07:16:46 | 281,990,517 | 2 | 1 | null | 2021-09-04T06:27:37 | 2020-07-23T15:35:26 | R | UTF-8 | R | false | false | 357 | r | get_google_sheet_named_version.R | get_google_sheet_named_version <- function(sheet_id) {
sheet_url <- paste0("https://docs.google.com/spreadsheets/d/",
sheet_id,
"/revisions/tiles?id=",
sheet_id,
"&start=1&showDetailedRevisions=false&filterNamed=true")
httr::G... |
2a47d888c42586ef99f4761a2f752704ba504b89 | 2d42639303d9726b8aab4e6567b196d6c6098798 | /Plot1.R | b6c5e14c2f36cf9c1b3394685c0dcb16d285dc8c | [] | no_license | marcoiai/exploratory | 893c8b87baf9fa24c0f93a55750f39eda5dc394f | c2da6f6b916b5321c03ac30c02c3cc2bf3db7afc | refs/heads/master | 2021-01-21T07:39:00.948555 | 2015-06-07T22:24:50 | 2015-06-07T22:24:50 | 36,990,153 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 379 | r | Plot1.R |
f <- read.csv("household_power_consumption.txt", sep = ";", na.strings = "?")
filtered <- na.omit(f[as.Date(f$Date, "%d/%m/%Y") %in% as.Date(c('2007-02-01', '2007-02-02')),])
hist(as.double(as.character(filtered$Global_active_power)), col = "red", breaks = 25, main = "Global Active Power", xlab = "Global Active Powe... |
5c80adcba3a91f47646474cdc288b313bb5daa25 | 098841409c03478ddae35c4cdf6367cfd65fa3bf | /code/perf/10xcellline/saverx.R | ecad3bd35e5841e64f6e54c539c9c78006b1164a | [] | no_license | wangdi2016/imputationBenchmark | 0281746b482788c347faf9d96e8288639ba388a6 | 0881121444975cd0a3ee2ce69aaec46c3acd7791 | refs/heads/master | 2023-07-29T10:16:14.004610 | 2021-09-09T20:00:43 | 2021-09-09T20:00:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,092 | r | saverx.R | bexpr = readRDS('/home-4/whou10@jhu.edu/scratch/Wenpin/rna_imputation/data/bulkrna/expr/jurkat_hex.rds')
v1 = rowMeans(bexpr[,which(colnames(bexpr)=='239T')])
v2 = rowMeans(bexpr[,which(colnames(bexpr)=='Jurkat')])
bexpr = cbind(v1,v2)
colnames(bexpr) = c('293T','jurkat')
allmtd = list.files('/home-4/whou10@jhu.edu/scr... |
7e2184396f5477f252dc2e27dab879a8db9fcd1a | bb44cee2ab788c6315d03500208ce8905a19c46f | /gen3sdk/R/Gen3Indexd.R | 9c067f818cd9f85e180868d944845454381eaf2f | [
"Apache-2.0"
] | permissive | uc-cdis/gen3sdk-R | 4e4519867c1f65c8a6c0a1b77b47b3ee26b434d1 | 7ae8afc99a198ca317994bd3b545142b474db244 | refs/heads/master | 2021-07-04T08:03:47.355592 | 2020-10-26T20:26:22 | 2020-10-26T20:26:22 | 191,998,871 | 1 | 2 | Apache-2.0 | 2020-10-26T20:26:23 | 2019-06-14T19:57:51 | HTML | UTF-8 | R | false | false | 11,712 | r | Gen3Indexd.R | library(httr)
library(jsonlite)
library(readr)
Gen3Indexd <- setRefClass("Gen3Indexd",
#' @field endpoint
#' @title
#' CRUD operations from a Gen3 indexd system.
#' @description
#' A class for interacting with the Gen3 Indexd services.
#' @param
#' Args:
#' endpoint (str): The URL of the data commons.
#' auth_p... |
ab594db538c07c303f42550f25f41ea88dbfe65b | 8c5886ee0d4a2e0a22d489c29c9a78a15797d8cb | /NN1.R | 7a23efd525dd3e765180a9d39adc75e20ac2fccb | [] | no_license | vincent101/KNN | a7eb2507f683bfcb3119d15c6ae37e1e57bc09c7 | 3243e0dab562174d8206e8d34932e710b86ceba9 | refs/heads/master | 2021-01-09T21:53:32.188182 | 2015-11-06T01:47:23 | 2015-11-06T01:47:23 | 44,888,109 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,599 | r | NN1.R | # iris 1nn eu
source("s_knn.r")
iris <- read.csv("iris.txt")
train <- iris[1:70,]
train.X <- iris[1:70,-5]
train.Y <- iris[1:70,5]
test <- iris[71:99,]
test.X <- iris[71:99,-5]
test.Y <- iris[71:99,5]
predicted.Y <- c()
#print(test.Y)
#print(predicted.Y)
for(i in 1:nrow(test.X)){
min = 9999999
jmin = 0
fo... |
0e43d75534d0c8e7504137090acb0e658042e48a | bceb55dba86be7d656a59d3ca3674f8266f18025 | /Curbelo_SWD_script1.R | cdd664f104461567089b10321bacad70b4e0f535 | [] | no_license | jbkoch/Curbeloetal_SWD | 80266fbc5aa002b8b94e5dcacf7ae918befd1e94 | ed59591e9fcbefe006bb4edbe77a9706fdd163d6 | refs/heads/master | 2020-12-03T01:02:03.347157 | 2020-01-01T02:49:47 | 2020-01-01T02:49:47 | 231,167,876 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,538 | r | Curbelo_SWD_script1.R | # Curbelo et al. 2020
# D. suzukii in Hawaii Forest
# 09 December 2019
# getwd
setwd("~/Google Drive/Manuscripts/Curbeloetal_HawaiiDsuzukii/suzukii_analysis/")
# Load libraries
library(car) # diagnostics
library(MuMIn) #model selection
library(date) #for julian date
# list files
list.files()
# set data
df <- read.c... |
c6923ac010c93923fb09277620f7239a6547c09f | 932dba523258a20ba386695ed34a6f91da4688c7 | /R/term_before.R | eb17d57205d122d27e4205132c30975f867549cd | [] | no_license | trinker/termco | 7f4859a548deb59a6dcaee64f76401e5ff616af7 | aaa460e8a4739474f3f242c6b2a16ea99e1304f5 | refs/heads/master | 2022-01-18T23:43:46.230909 | 2022-01-05T19:06:43 | 2022-01-05T19:06:43 | 39,711,923 | 27 | 4 | null | 2018-02-02T05:57:38 | 2015-07-26T03:17:09 | R | UTF-8 | R | false | false | 4,620 | r | term_before.R | #' Extract Terms from Relative Locations
#'
#' \code{term_before} - View the frequency of terms before a regex/term.
#'
#' @param text.var The text string variable.
#' @param term A regex term to provide the search position.
#' @param ignore.case logical. If \code{FALSE}, the pattern matching is case
#' sensitive and ... |
affc01a7b4be211b3d7879e263c7a75cc92da7ca | dcd3996153255a14ac169e8720296b200fa97f3f | /Priming/Prime_Model.R | 08154dc9a6ea851ee9065d8a37f7f1bce4fb8970 | [] | no_license | BramKreuger/PRIMING | 984344fce6a7480656500b97aff132df23229d96 | 43332ba78ddb18e167eb43229730795b210320c7 | refs/heads/master | 2021-09-10T05:47:56.353680 | 2018-03-21T08:26:19 | 2018-03-21T08:26:19 | 125,194,259 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 3,881 | r | Prime_Model.R | # Priming model voor Experimentele methode en statistiek
# Door: Nikki Evers, Daniël Bezema, Floris van Voorst tot Voorst, Bram Kreuger
# Universiteit Utrecht 2018
# Loading in data
setwd("D:/nikki/Documents/Experimentele Methoden & Statistiek/Eigen Onderzoek - Priming")
load("allData2018.Rdata")
woordenboek1 <... |
7bb4dc27beaee747af478f8585f1aa3f357932fd | 61e3e83ec8423164b63c1e6ddfefe042ff5f9c41 | /GTAmodel_paradist.R | 12686253faf28eba6c2dce8f193d05b4f46b2547 | [] | no_license | mascoma/GTA_project_script | e342c44e20202d8c0f3750b775dc1f1b513f5fae | 3601fa286a46bc96aebc95c41f2098e1b157cadb | refs/heads/master | 2020-12-29T02:20:12.514679 | 2016-12-27T21:49:34 | 2016-12-27T21:49:34 | 46,816,268 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,591 | r | GTAmodel_paradist.R | library(ggplot2)
library(plyr)
library(scales)
library(rgl)
library(scatterplot3d)
library(fields)
library(aqfig)
dir <- "/Users/Xin/Desktop/projects/GTA_project/output/20160722/"
file <- "GTAmodels_para50.txt"
input1 <- paste(dir, file, sep = "")
outputdir <- "/Users/Xin/Desktop/projects/GTA_project/output/20160804/"... |
11cfb60aa36b8be262b67641d1f0445191512b3f | f5131867a76c8c8af6ec863120c1e72722ea98d9 | /R/pkg/analysis/man/svar.Rd | e329afb083494aa3cc3b0ddc9e73f667f26b208d | [
"MIT"
] | permissive | k198581/src | c5b53b1f6eeae36116fb2063fdf993df303f1a57 | 17d2c54489adac2f428b6f449661712b1f7bf536 | refs/heads/master | 2022-11-22T09:01:34.948438 | 2020-07-12T09:57:50 | 2020-07-12T09:57:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 271 | rd | svar.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/svar.R
\name{svar}
\alias{svar}
\title{Calculate the sample variance of a vector.}
\usage{
svar(x)
}
\arguments{
\item{x}{a vector}
}
\description{
Calculate the sample variance of a vector.
}
|
cc22dd2578e095f8adb6a9e97a6ee5f3c18337b7 | 5643509ed57314f610c16a02e7fc3fce6e8b6267 | /Chapter 5/experiments/CurvX.R | bb3a0aae98b94cf3233c461d02175a7c15811a10 | [] | no_license | aida-ugent/PhD_Code_Robin_Vandaele | d942ea50defe5417b032dcf7d2f61c9eac19c143 | 229166059fd8fb366f23162a0b72e7547e80649b | refs/heads/main | 2023-02-21T16:26:44.183346 | 2021-01-27T15:07:35 | 2021-01-27T15:07:35 | 318,493,807 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,353 | r | CurvX.R | # Load libraries
devtools::load_all() # load BCB
library("ggplot2") # plotting
library("randomcoloR") # branch assignment
# Load and plot data
df <- read.table("Data/Toy/curvX.csv", header=FALSE, sep=",")
colnames(df) <- c("x", "y")
ggplot(df, aes(x=x, y=y)) +
geom_point(size=3) +
theme_bw() +
coord_fixed()
# ... |
69cfbbd0a033e9f9ed6bfa7b8f3084d47df1b903 | 74548251f8fc42984f607110e96d7554c66d0eaa | /mylogistic_Function.R | 3d6ad2e712d77a663b712c421a97cac1b424b11c | [] | no_license | drkamarul/Programming | 46b6f4f6f4b7f42d7c5a8c89e0c82f4e89b7f762 | 014aee863fea67858e3444386932e592145c71c0 | refs/heads/master | 2021-01-19T12:31:19.707173 | 2019-07-08T11:24:22 | 2019-07-08T11:24:22 | 24,819,982 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,060 | r | mylogistic_Function.R | oc <- rbinom(n = 50, size = 1, prob = 0.5)
iv <- rnorm(n = 50, mean = 0, sd = 1)
iv2 <- rnorm(n = 50, mean = 10, sd = 1)
mydata <- data.frame(oc, iv, iv2)
myfunction4 <- function(a, mydata2){
model4 <- glm(as.formula(a), family = binomial, data = mydata2)
print(summary(model4))
print(broom::tidy(model4... |
22ac5d40508e53c898df66c206bad5d564c42efe | c07714bba04ba4588a2a73185b41ff2b25f659cc | /01_createDbEntry.R | 3df9c635e645a6b5a511092ea0e6acca01654e6c | [
"MIT"
] | permissive | Chenmengpin/BRC_SingleCell_LJames | 95a614d7ff31be5e0e332b4d838dc82f6c12a895 | 7fe3a5a2501a0c0c25bd00a0f309cc3fdc5d8ed3 | refs/heads/master | 2020-09-18T18:59:48.073974 | 2017-09-26T10:23:49 | 2017-09-26T10:23:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,734 | r | 01_createDbEntry.R | # File: 01_createDbEntry.R
# Auth: umar.niazi@kcl.ac.uk
# DESC: list the samples and create appropriate db entries
# Date: 10/03/2017
## set variables and source libraries
source('header.R')
## connect to mysql database
library('RMySQL')
##### connect to mysql database to get samples
db = dbConnect(MySQL(), user='... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.