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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
893c4688b698c4ec2e1983497eef4117057736cb | 64341466a2f01a718abece011226197d0585b393 | /tests/testthat/test-gg-plots.R | 9fa3ef44a1fc9f5f2c5695a01bffc64c069c8bff | [] | no_license | ggobi/ggally | 2aa29f340250005c084e1a913a94c69af685ccaa | d79b4efae51ae78bc3fc2d4c94504327169e1b42 | refs/heads/master | 2023-09-03T21:00:58.614094 | 2023-07-03T02:07:11 | 2023-07-03T02:07:11 | 1,384,794 | 558 | 124 | null | 2022-11-04T16:15:43 | 2011-02-19T00:18:46 | R | UTF-8 | R | false | false | 7,902 | r | test-gg-plots.R |
context("gg-plots")
# This file takes too long
testthat::skip_on_cran()
data(tips, package = "reshape")
data(nasa)
nas <- subset(nasa, x <= 2 & y == 1)
test_that("denstrip", {
expect_message(
suppressWarnings(print(ggally_denstrip(tips, mapping = aes_string("sex", "tip")))),
"`stat_bin()` using `bins = 30`... |
2e99b93e4f48864566576095460bb2592d919fe6 | 2bfec775dbfbc1e6db53f47ce1b0c6e18e22512e | /glucosinolate_profiling/script_representativeEicPlot.R | 6b9cda1a620c13bb2410bea30ca159819d82cf37 | [] | no_license | noctillion/TOUA_Glucosinolate_GWAS | 982669679c44c61877ad7ee46fc84cd1a19fbaf2 | 7839e2cc3de76c480be58641967704d80a7f6849 | refs/heads/main | 2023-08-01T14:27:09.831491 | 2021-09-13T17:58:46 | 2021-09-13T17:58:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,044 | r | script_representativeEicPlot.R | library("xcms"); library("magrittr")
eicPlotter = function(msObjs, mzR, rtR, plot.title){
MSnExpObj %>%
filterRt(rt = rtR) %>%
filterMz(mz = mzR) %>%
chromatogram(aggregationFun = "max") %>%
plot(col = "dodgerblue", main = plot.title)
}
peak.int.input = read.csv("~/glucMetadata/GSL_List_corrected_A... |
38a506406100906a8c9682623bdebc76fc34b0ff | bba76e5ffb0b60e746870654e8970b88dd22550c | /man/diffEnrich.Rd | 3a1c3f4d650f2e5d9928299ae0da8ad544cf05a3 | [] | no_license | SabaLab/diffEnrich | 7ce95a828b2baaa68ee76a2ba25c1ec4cea27469 | 1c772eaf63ff7897ab9efbb50eadcb1ecd49990e | refs/heads/master | 2022-07-27T20:18:58.878631 | 2022-06-27T17:27:35 | 2022-06-27T17:27:35 | 163,883,307 | 1 | 2 | null | null | null | null | UTF-8 | R | false | true | 5,153 | rd | diffEnrich.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diffEnrich.R
\name{diffEnrich}
\alias{diffEnrich}
\alias{print.diffEnrich}
\alias{summary.diffEnrich}
\title{diffEnrich}
\usage{
diffEnrich(list1_pe, list2_pe, method = "BH", cutoff = 0.05)
\method{print}{diffEnrich}(x, ...)
\method{summary... |
fadbffecdf63b4cb995ee541c2522b0b0520864c | ea0b31ab522319d621872e256420f0ed34af8da9 | /mymain.R | a562b63d032dff8657fe0cad8ef1c4eed19e9aae | [] | no_license | nishant1995/LoanStatus | c90d8e77dc2c34bc53eccb0cd41171291b1d63c9 | 3cb16d91f958f96f7335783b83d836795c9e3f8f | refs/heads/master | 2020-05-15T14:29:59.389569 | 2019-04-19T23:46:58 | 2019-04-19T23:46:58 | 182,338,160 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,607 | r | mymain.R | ###################################################################################################################
# Function to check if packages are installed
###################################################################################################################
begin_time = Sys.time()
check.packages ... |
37db44627a2b676421a55eda68a8dc6735913da6 | 4e35775e2a3b6903b68ca5ae2ce0ecbd25b1b5a2 | /R/draw_posterior.R | f2b1c2f1b4159129f36344f43873ec88a5b46f65 | [
"MIT"
] | permissive | FrankLef/eflRethinking | 93ab747e7ebe93ec4ca3fe5e5a80e6952a45d04e | d9b2a868923134b3e549c96982f1b00092b0c3b2 | refs/heads/main | 2023-08-07T12:19:05.414807 | 2021-10-08T18:56:57 | 2021-10-08T18:56:57 | 410,892,718 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 858 | r | draw_posterior.R | #' Posterior samples using \code{rethinking::extract.samples} as
#' \code{draws_rvars}
#'
#' Posterior samples using \code{rethinking::extract.samples} as
#' \code{draws_rvars}.
#'
#' get posterior samples from a \code{map} object formatted as a \code{draws_rvars}
#' object to be used by the \code{posterior} package.
#... |
ac9440365d18268a24dd69e693f44e5de95f861e | 73c9172f37a4fa924bd34e5e50ee8a2d83cb01fc | /deprecated/bfrmE2F3.R | 5badb9b6f0316bd2a8e2145975bfaa892a31de29 | [] | no_license | Sage-Bionetworks/Cancer-Pathway-Sparse-Factor-Models | a99cc1b1ce2697fe0cbed83f3a44cd7985d59f94 | c8552ed3fdcac1316a979a29ced357cf836a4d36 | refs/heads/master | 2021-01-21T11:45:57.577338 | 2012-12-20T20:50:28 | 2012-12-20T20:50:28 | 3,369,825 | 1 | 0 | null | 2012-09-05T15:55:17 | 2012-02-06T18:58:29 | R | UTF-8 | R | false | false | 1,007 | r | bfrmE2F3.R | ## bfrmE2F3.R
## Erich S. Huang
## Sage Bionetworks
## Seattle, Washington
## erich.huang@sagebase.org
##########
# RUN BFRM IN THE SPARSE ANOVA MODE
##########
require(bfrm)
require(synapseClient)
e2f3Anova <- bfrm(dat2, design = ifelse(treatment == 'E2F3', 1, 0))
mPPib <- e2f3Anova@results$mPostPib
topProbeLogic... |
21be2117f92e0ff0802ae6cf45aba8ac64747898 | c9120a5553c6edcd1fc34da5a3b1ae22949808a8 | /markdown2/R/markdown2-package.r | 406f4c93180b04010943cae3a5592ff20562070c | [] | no_license | mathematicalcoffee/markdown2-package | 2fe99bd39f9844bdad14a7da81e5d8b7040d3556 | 60a7744cacb0cf1c0cc50759f1aa33eadc1814db | refs/heads/master | 2021-01-22T07:10:39.145948 | 2013-03-27T07:10:25 | 2013-03-27T07:10:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 209 | r | markdown2-package.r | #' Convert from markdown to other formats, customisable.
#'
#' TODO.
#'
#' @name markdown2
#' @aliases markdown2-package package-markdown2
#' @keywords markdown2
#' @docType package
#' @keywords package
NULL
|
47cde934047b5367c6e8698a1d28ceb3c91d31b5 | 80887ad16c46b0c32127f186a603b71161aedb82 | /scripts/create_peak_graphs.R | 80d66d47f1eb2174155414c82ff56881f2b21811 | [] | no_license | durrantmm/mustache_OLD | df95fffe4326eb9ef2dc3e1077005c5283cad3fb | 39c9b4209681de0f4b0dc0f76e4408d6e00b2a2a | refs/heads/master | 2021-06-26T00:17:22.401944 | 2017-08-22T20:37:51 | 2017-08-22T20:37:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 906 | r | create_peak_graphs.R | library(readr); packageVersion("readr")
library(ggplot2); packageVersion("ggplot2")
library(tools)
args = commandArgs(trailingOnly=TRUE)
peak_depths_folder = args[1]
output_folder = args[2]
dir.create(output_folder)
peak_depths <- list.files(peak_depths_folder, full.names="TRUE")
for (filein in peak_depths){
dep... |
a3312278281f19491891a3403a68c0e98aeaef51 | 253d4a133a8a6e568f30523447358689d182f473 | /man/L7_ETMs.Rd | 7a76fb2e1555994d93ff51ca492606db8d76de4b | [
"Apache-2.0"
] | permissive | r-spatial/stars | 081a7fc96089aeb276051107911145d17365de79 | 0e17daf1c49b69f990ec77275e80cfd471210aee | refs/heads/main | 2023-09-04T10:58:52.888008 | 2023-08-19T09:15:37 | 2023-08-19T09:15:37 | 78,360,080 | 489 | 126 | Apache-2.0 | 2023-03-20T09:17:18 | 2017-01-08T17:48:24 | R | UTF-8 | R | false | true | 703 | rd | L7_ETMs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datasets.R
\docType{data}
\name{L7_ETMs}
\alias{L7_ETMs}
\title{Landsat-7 bands for a selected region around Olinda, BR}
\format{
An object of class \code{stars_proxy} (inherits from \code{stars}) of dimension 349 x 352 x 6.
}
\usage{
L7_ETMs... |
d0217f629ebd252b79efb0c7a3d37eedc0020cdd | fb2f2d40ad5ebe227aa244835ee628d465cf7acc | /R/tstamp.R | 8e2b5696ce39a9ce068595d32e99eeeb47501ebc | [] | no_license | wepelham3/sack2 | a1c14d7cb4c860130a80acd50296963a13e139fc | 9dc2210304a6e374e8925682ec7d877f18cf02b5 | refs/heads/master | 2023-08-03T10:55:47.149177 | 2023-07-24T23:38:52 | 2023-07-24T23:38:52 | 87,333,414 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 341 | r | tstamp.R | #' Create a timestamp
#'
#' Create a timestamp with date and time, formatted as such: 2020_10_07_215301.
#'
#' @export
#' @examples
#' tstamp()
#**********************************************************
tstamp <- function() {
format(Sys.time(),
"%Y_%m_%d_%H%M%S")
}
#**************************************... |
a5c81133255b4526a16ac359f6ab69c9656b6858 | f2662bea82470d47297b5ff6f1b6751c506da28d | /ui.R | 3c0efe65503ed39951cb42b417538be959852102 | [] | no_license | kurakuradave/hgran_shiny | cb80b3754d08e56bf136b9e3d7ad4a009fe572b7 | 48465899404297fb0231196b5426dbd0f6efa89d | refs/heads/master | 2021-04-09T16:53:13.286901 | 2018-03-18T04:42:02 | 2018-03-18T04:42:02 | 125,689,207 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,771 | r | ui.R | library(shiny)
library(plotly)
shinyUI(fluidPage(
titlePanel("Heatmap Granularity"),
sidebarLayout(
sidebarPanel(
tags$p( tags$i( "Final Project for Course 9 - Developing Data Products" ) ),
tags$p( tags$i( "David Effendi, Mar 16 2018" ) ),
tags$br(),
tags$p( "This heatmap visualizes co... |
dd36c0cb32f68a2396afb7844a96fdf213cca787 | 8280c90aa90bc6e8a14312ac14ecf42fb2e30eef | /man/cnSpec.Rd | 1eb880407c2db9c488e73bf8f7242fd4cd580094 | [
"CC0-1.0"
] | permissive | hjanime/GenVisR | bd34e60ce49c5c7495cbc5727aa8b44491962494 | a25e4f877ba140f126acecd9b94fc44d7fc11897 | refs/heads/master | 2017-12-02T04:48:14.237489 | 2015-08-05T14:37:51 | 2015-08-05T14:37:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,454 | rd | cnSpec.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/cnSpec.R
\name{cnSpec}
\alias{cnSpec}
\title{Construct CN cohort plot}
\usage{
cnSpec(x, y = NULL, genome = "hg19", title = NULL,
CN_low_colour = "#002EB8", CN_high_colour = "#A30000", x_lab_size = 12,
y_lab_size = 12, facet_lab_s... |
6780f3466dc8ad81b56c39a011a0364e5268ab50 | 10be09d12f10a29050a391098c46debe7cf85a65 | /ps_7_app/app.R | 9cce3dc4fc67da6ef50c599c66d081597ebee810 | [] | no_license | kakenzua98/ps_7 | 8322fbc37e847ebc89354e5b401d500c86edba8e | d6489d8d204578639e4e185978fe33deb4e76f16 | refs/heads/master | 2020-04-07T11:10:11.928100 | 2018-11-21T14:49:19 | 2018-11-21T14:49:19 | 158,314,959 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,892 | r | app.R | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(tidyverse)
library(shiny)
library(ggrepel)
# Here, I am reading in the data with the file path to read fr... |
2a0290fbace5297e7b9fc9fcb5acb142512c3959 | eb7786382848c787a9a2aee7dbbd50ad677cf5db | /man/plot_twochoiceRL.Rd | 5da09a8029b47439d43b73d7c9cb7c3afab94c63 | [] | no_license | psuthaharan/twochoiceRL | 389b61ed3649dd2b7a06d8c0883c72124d4d649c | dafaf0d237536e5ed88b74e50f14a761b359136a | refs/heads/master | 2023-06-07T09:34:42.525688 | 2021-06-22T17:10:13 | 2021-06-22T17:10:13 | 335,135,408 | 6 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,165 | rd | plot_twochoiceRL.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_twochoiceRL.R
\name{plot_twochoiceRL}
\alias{plot_twochoiceRL}
\title{Visualize behavior in a two-choice decision task}
\usage{
plot_twochoiceRL(
data = NULL,
subj = 100,
colors = c("#009999", "#0000FF"),
plot_type = "static"
)
}... |
8a42b7e799d7606287a12c66cae35c05e0cc4b6b | 06b6a2c2008c7f5e8400f8eb402d490ebb4bfd54 | /R/transformationFunctions.R | bddc6317955f6646ffa2c21a2be82c1c64461740 | [
"MIT"
] | permissive | BMEngineeR/midasHLA | 55265be7baae2259c976bb5ea7f112737c0b7d1a | 9ce02c8192852c16a296f63ecbd3e4791e5dbd83 | refs/heads/master | 2023-03-05T15:59:52.362313 | 2021-02-17T00:53:19 | 2021-02-17T00:53:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 46,191 | r | transformationFunctions.R | #' Generate amino acid variation matrix
#'
#' \code{hlaToAAVariation} convert HLA calls data frame to a matrix of variable
#' amino acid positions.
#'
#' Variable amino acid positions are found by comparing elements of the
#' alignment column wise. Some of the values in alignment can be treated
#' specially using \cod... |
60194484f20c24b1603d3c0108b28ef620aa2f20 | 43cfca848a3f19cd5806951e3f740e2ba1edfb2d | /man/sim.autocorrelated.Rd | 1239b291842413329f2ee5e76b9a1ee6647977a1 | [] | no_license | quanteco/quanteco-tools | 9176018da4d5422c1b3f762e0920cd35592c7cdf | dbd0d852e73939ed229f91e447f5f3a4e449e1cb | refs/heads/master | 2021-01-15T22:13:49.434241 | 2015-01-29T22:30:44 | 2015-01-29T22:30:44 | 29,038,815 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 467 | rd | sim.autocorrelated.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/simautocor.R
\name{sim.autocorrelated}
\alias{sim.autocorrelated}
\title{Simulate Autocorrelated Data}
\usage{
sim.autocorrelated(X, rho, W)
}
\arguments{
\item{X}{a vector of values}
\item{rho}{stength of correlation}
\item{W}{a ne... |
0dce9b38f666041cd824435c0cbc064115ade76e | 3176c7f008fabb7a406241149808fc2f7cacec4d | /man/antiExactMatch.Rd | b3a5cb397143bc71dcaefbeff796153a289b2e15 | [
"MIT"
] | permissive | markmfredrickson/optmatch | 712f451829c128c4f1fd433e2d527bb7160e8fcc | 51e0b03a30420179149be254262d7d6414f3d708 | refs/heads/master | 2023-05-31T05:11:01.917928 | 2023-04-06T13:18:58 | 2023-04-06T13:18:58 | 1,839,323 | 37 | 18 | NOASSERTION | 2023-01-26T18:45:56 | 2011-06-02T20:49:32 | R | UTF-8 | R | false | true | 2,088 | rd | antiExactMatch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/exactMatch.R
\name{antiExactMatch}
\alias{antiExactMatch}
\title{Specify a matching problem where units in a common factor cannot be matched.}
\usage{
antiExactMatch(x, z)
}
\arguments{
\item{x}{A factor across which matches should be allowed... |
0c2c54d4a34e54b874d69727aee4dd79c012419e | 86049b2ad11ffb9fcda331389526320e766c5691 | /man/predict.cv.oem.Rd | 0016692a237fbefd38dceebfec913f15376fa78e | [] | no_license | jaredhuling/oem | a50aa706d879496f60da35acdafbfaf70c1d0fef | a854dc18e66d520d83c100b27bf96c71cb1bab75 | refs/heads/master | 2023-07-21T06:14:56.863833 | 2022-10-12T14:07:20 | 2022-10-12T14:07:20 | 54,896,754 | 22 | 7 | null | 2021-07-07T03:17:40 | 2016-03-28T14:09:52 | C++ | UTF-8 | R | false | true | 2,541 | rd | predict.cv.oem.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/methods.R
\name{predict.cv.oem}
\alias{predict.cv.oem}
\title{Prediction function for fitted cross validation oem objects}
\usage{
\method{predict}{cv.oem}(
object,
newx,
which.model = "best.model",
s = c("lambda.min", "lambda.1se"),
... |
86f224547151112e0cd69da4497aa1b4454d8672 | c739fa35644593d9ba7b8087d32feebe2b5a25f4 | /R/fp_border.R | bc7ff13c55509aa5b4adb4232199cd996e48f72d | [] | no_license | Kill3rbee/officer | b813b43489441aea4d377db76fb95a8203be4171 | cb88985b8a0c633282dce99c267380b32820e959 | refs/heads/master | 2020-06-27T10:19:57.971719 | 2019-07-25T11:07:39 | 2019-07-25T11:07:39 | 199,925,311 | 1 | 0 | null | 2019-07-31T20:35:31 | 2019-07-31T20:35:31 | null | UTF-8 | R | false | false | 1,580 | r | fp_border.R | border_styles = c( "none", "solid", "dotted", "dashed" )
#' @title border properties object
#'
#' @description create a border properties object.
#'
#' @param color border color - single character value (e.g. "#000000" or "black")
#' @param style border style - single character value : "none" or "solid" or "dotted" or... |
3c8294cb4f3cd6cfe2c4d369380914dd38afab33 | 16526d1a3aecaddfa754b8f3299b63f455d83d3b | /cachematrix.R | 6a967b40160d8622f625ba4a1066ccfbd692c253 | [] | no_license | bmmulder/ProgrammingAssignment2 | 3b042cf7292682ebeb3a1715ce76c4c603589245 | 3efa37eb62dde53b7b9878610bfec5d4cc4ae013 | refs/heads/master | 2021-01-23T21:31:43.082557 | 2014-08-10T05:43:31 | 2014-08-10T05:43:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,197 | r | cachematrix.R | ## The first function, makeCacheMatrix creates a special "matrix"
# setup cached matrix object
makeCacheMatrix <- function(x = matrix()) {
# init the matrix variable
m <- NULL
# set the value of the matrix
set <- function(y) {
x <<- y
m <<- NULL
}
# get the value of the matrix
... |
327825d5507e2483448b445f47b3230d4892ce05 | 31f0b1306739e3b228e01b70e586ac60c529885a | /man/seqentropy.Rd | b5a738d7b0c386eb06d6ffa47114af1181fcd49f | [] | no_license | WAFI-CNR/ddna-rpackage | 6f086c9d75bcc68a25c6e4709668a51575fcc767 | 5fbc8b98c22dc828b63ca4b9c4e78ca7cfcb7647 | refs/heads/master | 2020-05-31T08:20:30.683215 | 2019-10-21T21:06:02 | 2019-10-21T21:06:02 | 190,187,493 | 0 | 0 | null | 2019-10-19T11:11:41 | 2019-06-04T11:24:31 | R | UTF-8 | R | false | true | 217 | rd | seqentropy.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ddna.R
\name{seqentropy}
\alias{seqentropy}
\title{Title}
\usage{
seqentropy(seqpdf)
}
\arguments{
\item{seqpdf}{}
}
\description{
Title
}
|
c634e20a0c92ff6bcb6c5418078b703084c8d9ac | b4dd54123785b310d03a88835a19fcee77b38b65 | /R/tokenizer.R | 34186c0cf2f853b38e2eb6d0e2217b07cd50ef90 | [
"MIT"
] | permissive | tidyverse/readr | 5b8a49899586ab0a7a28108b9a0ef634e60940d5 | 80e4dc1a8e48571323cdec8703d31eb87308eb01 | refs/heads/main | 2023-08-31T01:10:09.896284 | 2023-08-01T20:02:52 | 2023-08-01T20:02:52 | 11,663,980 | 631 | 271 | NOASSERTION | 2023-09-03T11:49:42 | 2013-07-25T15:28:22 | R | UTF-8 | R | false | false | 5,163 | r | tokenizer.R | #' Tokenize a file/string.
#'
#' Turns input into a character vector. Usually the tokenization is done purely
#' in C++, and never exposed to R (because that requires a copy). This function
#' is useful for testing, or when a file doesn't parse correctly and you want
#' to see the underlying tokens.
#'
#' @inheritParam... |
5dc4c3c26c59294a6dba695cf7367a58a3bd35c0 | 2526eb9d76b1eb36770ab82d5baefb25c0b7eb91 | /R/get_last_sync.R | 5192195c8ab4f293911b1ba11bd6e329927941ed | [] | no_license | kaczmarj/fitbitScraper | 96a97d401c467d75888e9c0963399976a95ac192 | 488983580225812d537c51e4f834ace674add93d | refs/heads/master | 2021-01-12T16:57:13.761434 | 2016-10-20T14:40:59 | 2016-10-20T14:40:59 | 71,471,856 | 0 | 0 | null | 2016-10-20T14:34:17 | 2016-10-20T14:34:17 | null | UTF-8 | R | false | false | 1,907 | r | get_last_sync.R | #' Get date and time of last sync to fitbit.com
#'
#' Get last sync from fitbit using cookie returned from login function
#' @param cookie Cookie returned after login, specifically the "u" cookie
#' @keywords sync
#' @export
#' @return A list of three character vectors
#' \item{last_sync}{Character vector that looks l... |
2cddfb5a2107de33d76f970a03f9423c267910c7 | ada1437970128526daf432e5bcdc14c3dd4435d8 | /man/evolve.Rd | 86b86c7f38dc9ebeab6b577ac4b8dd58db7c5b9c | [
"MIT",
"BSD-3-Clause"
] | permissive | thomasp85/particles | 71c7a09cc636000a188a1ae0d9b841e6d6ec37ad | b194ad3c5c4017320ae0c51103401c274397cbf3 | refs/heads/main | 2022-09-04T17:54:53.130881 | 2022-08-19T12:16:38 | 2022-08-19T12:16:38 | 92,283,359 | 127 | 9 | NOASSERTION | 2022-08-19T06:29:35 | 2017-05-24T11:07:43 | R | UTF-8 | R | false | true | 2,577 | rd | evolve.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/evolve.R
\name{evolve}
\alias{evolve}
\title{Move the simulation forward one or more steps}
\usage{
evolve(simulation, steps = NULL, on_generation = NULL, ...)
}
\arguments{
\item{simulation}{A simulation object}
\item{steps}{The number of g... |
c6b20752f70b0eabbd3058d7a4ade1d33f48d025 | b4fc54d90f295493c02b900cff8c5d24e6cd17a3 | /analysis/multiple_types/google/gg-3b-MM-SF-vs-SM-SF-cost-analysis.R | a642787642343b27bf8bbd67cab56fc8a3435aea | [
"Apache-2.0"
] | permissive | fabiomorais/ASaaS | 0b19ecf15197772e1c9963473a769b74a827d3da | 2452adbca559e0d399c82d7183692cf6962cf1ea | refs/heads/master | 2021-01-01T04:42:54.088109 | 2017-07-18T18:30:31 | 2017-07-18T18:30:31 | 97,231,915 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,930 | r | gg-3b-MM-SF-vs-SM-SF-cost-analysis.R | library(dplyr)
library(ggplot2)
library(scales)
library(stringr)
flavors = sort(c("c4.large", "m4.large", "r3.large", "c3.large", "m3.medium"))
f_str = str_sub(flavors, 1, 2)
ref = data.frame(cpuRef = c(32, 32, 32, 32), memRef = c(32, 64, 128, 256), cpuP = rep(1, 4), memP = c(1, 2, 4, 8))%>%
... |
741f7871ab57afc489d653ecaf96d712d83afdb3 | a1d0246ed8e85838ef4b128297cfc3c62a607646 | /R/analysis.R | 8e805ad8f8fcf78b9284a787537efd2dc0a989b1 | [] | no_license | aurel-l/isea_analysis | 201d81c096009cf88cdcd8221bc9da5374c7598b | b7c4cdea5e9720235d9e540ff9406e3661b0adcc | refs/heads/master | 2021-01-23T03:58:50.999624 | 2015-10-04T17:58:17 | 2015-10-04T17:58:17 | 41,773,918 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,364 | r | analysis.R | #!/usr/bin/Rscript
# source script that is common to all scripts
tryCatch({
# look for common.R in the same folder than the script
source(paste0(
dirname(sub('--file=','',commandArgs(trailingOnly=F)[
grep('--file=',commandArgs(trailingOnly=F))
])),
'/common.R'
))
}, warn... |
dc7855bf13af6f0649cdde21b4eaa9985fb7302b | c88b0cbeda0edf9e745e324ef942a504e27d4f87 | /fWHR/bastrop.R | 538ef5fc852251fabb84fe59eb492d2daedfaa47 | [] | no_license | Diapadion/R | 5535b2373bcb5dd9a8bbc0b517f0f9fcda498f27 | 1485c43c0e565a947fdc058a1019a74bdd97f265 | refs/heads/master | 2023-05-12T04:21:15.761115 | 2023-04-27T16:26:35 | 2023-04-27T16:26:35 | 28,046,921 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,054 | r | bastrop.R | ### Bastrop
bCh = cPoints[cPoints$location=='Bastrop',]
bCh = bCh[c(-1,-2),]
#bCh = bCh[bCh$A!='X',]
bCh = bCh[bCh$Notes!='redo',]
bChsub = bCh[c(78:93),]
sample(bCh$ID,16)
# [1] Beta Punch Lexus Austin Dahpi Minna Michon Xena Alpha Gremlin Bo
# [12] Samson Kampani Mahsho Cheopi Maishpa
... |
07edea7bf1ecaa261dfda2a8a2cda641e2641c14 | 132c868650be85a4eaf605832e6cd57d9aa8faf3 | /R/plots_infection_summary_table.R | 21e6398598c69f94c56271ccba76e581b720086b | [] | no_license | EvoNetHIV/RoleSPVL | 9797fe146afa1e750ef1cfdaf231b62e0f19e848 | 113b55fedbdd2ac6627b751df3e102e801e36c5c | refs/heads/master | 2021-09-14T17:46:30.726252 | 2018-05-16T22:16:13 | 2018-05-16T22:16:13 | 103,449,083 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,849 | r | plots_infection_summary_table.R | #' @title Title
#'
#' @description Description
#'
#' @param x A number.
#' @param y A number.
#' @return return value here.
#' @details
#' Additional details here
#' @examples
#' example function call here
#not exported as it is not in use now...maybe later
infection_summary_table_fxn <- function(pop,partners,dframe,in... |
2ae695ef64c3c308b431949614fe64c11766d6d4 | fd1e6cb50e9218a0fbe6f25b2634eb44db44bc0d | /src/0_downloaddata.R | 656bc72ec8f80b8906856c88c02fde117b55b1a4 | [
"MIT"
] | permissive | befriendabacterium/communityinvasion | a84473f473e053d6db237fdc264c43338c097e4c | 378a1c232969b4c6760bab73f70e397101470a7f | refs/heads/main | 2023-09-01T23:15:27.016577 | 2023-01-25T11:19:28 | 2023-01-25T11:19:28 | 382,041,900 | 2 | 1 | MIT | 2021-09-14T20:04:01 | 2021-07-01T13:26:48 | R | UTF-8 | R | false | false | 1,076 | r | 0_downloaddata.R | # START -------------------------------------------------------------------
rm(list=ls())
set.seed(1234)
#set working directory to source file location
setwd(dirname(rstudioapi::getActiveDocumentContext()$path))
#move up a directory
setwd("..")
# EMPTY EXISTING DATA/REVERT TO GITHUB REPO STATE ------------------------... |
80506f8fbd602ec163323e0a36e7914a16f42f2b | 26ecda1a80b85a74501eab533ef60006c4835b09 | /R/create.barplot.R | 467d5928a757f983043d8ae4fd68d153f67e5f4c | [] | no_license | rdeborja/plotting.general | 988d18d02836ad7bc1d29b6aa81c615707ed2118 | 7a312a10ccc7a7931dc5e3516604bf302dcda21b | refs/heads/master | 2021-01-10T19:43:42.175722 | 2016-08-22T20:13:09 | 2016-08-22T20:13:09 | 16,683,758 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,763 | r | create.barplot.R | create.barplot <- function(data = NULL, x = NULL, y = NULL, fill = NULL, group = NULL, group.col = FALSE, group.row = FALSE, rotate = FALSE, width = 0.9, ylab = NULL, xlab = NULL, yaxis.log.scale = FALSE, xaxis.log.scale = FALSE, theme = NULL) {
# validate the arguments
if (is.null(x)) stop('Missing x argument')
... |
b08418bf0f91f6abeb51156cd19c2e94af6b21c9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/conformalClassification/examples/TCPClassification.Rd.R | 8e19a07039c21d2ba76b58e83700012feafb24da | [] | 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,258 | r | TCPClassification.Rd.R | library(conformalClassification)
### Name: TCPClassification
### Title: Class-conditional transductive conformal classifier for
### multi-class problems
### Aliases: TCPClassification
### ** Examples
## load the library
#library(mlbench)
#library(caret)
#library(conformalClassification)
## load the DNA dataset
#... |
9af4774f2a80849181b219432d58aa6ac4b66197 | b42f2f08b29c1e0ceafb8e6eac6734ed6f7a389e | /12. Basic Statistical Methods/1.MinMaxRange.R | 8bbe6dbec8252eecfec6924865da5ebc3b4e9148 | [] | no_license | ashleyradams/R-Programming-for-Beginners | 6c25c5278150fde221f3d89e0e76697f5dafb9c0 | 5a11b3784ac9507bc6f3b63b537b8d2b30f14cdd | refs/heads/master | 2022-06-06T20:58:38.925171 | 2020-05-01T18:25:11 | 2020-05-01T18:25:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,179 | r | 1.MinMaxRange.R | x <- c(10,45,30,50,35,40,80,25)
min(x)
max(x)
range(x)
library(dplyr)
mydata <- read.csv('GEStock.csv')
mysubdata <- select(mydata,Date,Price)
x <- is.na(mysubdata$Price)
y <- factor(x)
table(y)
min(mysubdata$Price)
max(mysubdata$Price)
range(mysubdata$Price)
mysubdata[which.max(mysubdata$Price),]
m... |
8ba770f5348ce2e14e00492072a17a1f856ae6e9 | a6f4c8c91414d62fad5f8f7f53b1dee9c9d099ee | /R-Portable-Mac/library/xlsx/tests/test.import.R | 47e6de0eceea2fa787731cabb704bd85f8194ec7 | [
"LicenseRef-scancode-unknown-license-reference",
"CC0-1.0",
"GPL-2.0-only"
] | permissive | sdownin/sequencer | 6a2d70777fbd8109e26f126229b5ee10348cf4e7 | 045d0580e673cba6a3bd8ed1a12ff19494bf36fa | refs/heads/master | 2023-08-04T08:06:02.891739 | 2023-08-03T04:07:36 | 2023-08-03T04:07:36 | 221,256,941 | 2 | 1 | CC0-1.0 | 2023-02-04T15:06:14 | 2019-11-12T16:00:50 | C++ | UTF-8 | R | false | false | 4,349 | r | test.import.R | #
#
#
test.import <- function(outdir="C:/Temp/", type="xlsx",
speedtest=FALSE)
{
cat("##################################################\n")
cat("Test reading xlsx files into R\n")
cat("##################################################\n")
filename <- paste("test_import.", ty... |
0dfcc76cff3d439e186ad7a71896d919f913d2b7 | ddb8577b3318daf821903b16029c497944ef0fcf | /R/GenerarFicheroDistribucionTamagnos.R | bfe71e3ee7299b46fd1532aeea503d8aa17f560d | [] | no_license | curromolero/libRadTran | 4a7d3c0712b6644165e7e07db4b5ae966a451c26 | 212290f0706860139d09992fc221cc0408075122 | refs/heads/master | 2021-01-11T23:05:10.094123 | 2017-02-02T16:20:23 | 2017-02-02T16:20:23 | 78,545,284 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,394 | r | GenerarFicheroDistribucionTamagnos.R | generarFicheroDistribucionTamagnos <- function(distTamagnosVolumen, fechaMedida, dirMedida) {
# Graba un fichero con la distribucion numerica calculada a partir de la de volumen proporcionada por AERONET
# Carga la funcion de ajuste requerida
source("R/fitAERONETDistribution_bimodal.R")
# Extrae la informacion ... |
2771348e4cd6e69848b01284e3d44410a04cbe17 | 911c1cf47c0f5caa2ab5090b7112bfea237bd5a7 | /Gillespie-Algorithm.R | 5d46d56f37298c1e379ec7fc2440a55d2ecb9c74 | [] | no_license | chewbacca89/Gillespie-Algorithm | 17126c9201237eb093e406e037511eac1b587975 | 477d5c702efd4f47bd9c2ef5c5379e074ac9560e | refs/heads/master | 2021-01-17T20:00:39.302532 | 2017-06-19T14:20:37 | 2017-06-19T14:20:37 | 65,720,789 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,559 | r | Gillespie-Algorithm.R | # Gillespie-Algorithm
# catalyitcl degragation
########################################################################
Gillespie <- function(t0,Tend,X0,param,propensities){
# 1. Set initial time t=t0 and number of molecules X(t) = X0
t <- t0
X <- X0
t_vector <- t
X_matrix <- matrix(X,ncol=1)
whil... |
b0b930e9f03a9c8425a438c5c6317c790276e885 | 35ba2c59410cebb39b5449178edfc3b431efe8e8 | /code/DataAna.R | f07b5a8df051a59529e9b1fea4406b15d4600609 | [
"MIT"
] | permissive | AnnyKong/MathSummerScheduling | a5bafa2fecd0148262510cbe82f1d88a7fbae7d5 | 1c1e56e101403d6e217f602452b9f6e31e7977ef | refs/heads/master | 2020-04-09T22:58:39.723647 | 2019-01-10T01:11:41 | 2019-01-10T01:11:41 | 160,643,853 | 0 | 0 | MIT | 2019-01-10T01:11:42 | 2018-12-06T08:32:50 | Jupyter Notebook | UTF-8 | R | false | false | 10,268 | r | DataAna.R | library(dplyr)
library(survival)
# predict years from 2014 to 2019
for (i in 2014:2019) {
# set predict year
predict_yr = i
yrN = predict_yr-2008
# initialize all fields
t_at <- c(110, 220, 940, 1050, 1200)
yr_at <- 2007+1:yrN
course = c(111, 120, 124, 125, 126, 307, 308, 309, 324)
weight <- c(seq(... |
5699e8fd2dc9cb86738cf196f299e1b60b0f31fd | 5bd4b82811be11bcf9dd855e871ce8a77af7442f | /gap/R/qtl2dplotly.R | 114e1ce42c2ff0cf1bd532fad19733191a67690f | [] | no_license | jinghuazhao/R | a1de5df9edd46e53b9dc90090dec0bd06ee10c52 | 8269532031fd57097674a9539493d418a342907c | refs/heads/master | 2023-08-27T07:14:59.397913 | 2023-08-21T16:35:51 | 2023-08-21T16:35:51 | 61,349,892 | 10 | 8 | null | 2022-11-24T11:25:51 | 2016-06-17T06:11:36 | R | UTF-8 | R | false | false | 2,588 | r | qtl2dplotly.R | #' 2D QTL plotly
#'
#' @param d Data in qtl2dplot() format.
#' @param chrlen Lengths of chromosomes for specific build: hg18, hg19, hg38.
#' @param qtl.id QTL id.
#' @param qtl.prefix QTL prefix.
#' @param qtl.gene QTL gene.
#' @param target.type Type of target, e.g., protein.
#' @param TSS to use TSS when TRUE.
#' @pa... |
0e12286362d6e667bd4877c7ea30c3be76dfc6ef | df8c454c8782a8677b5a0978850c3d442ec2de02 | /binomial.Rcheck/00_pkg_src/binomial/R/bin_variable_functions.R | 6a635adaa825e916e36dca4dbe43cb2abc0e36cd | [] | no_license | stat133-sp19/hw-stat133-anacomesana | 982681dc430da554c17e10b1d965cb0f81c20e4a | d7a104a0d45d9b70a4ba0f030bd7d86b770acb57 | refs/heads/master | 2020-04-28T20:33:46.618417 | 2019-05-04T01:09:17 | 2019-05-04T01:09:17 | 175,548,868 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,765 | r | bin_variable_functions.R |
#' @title Binomial Random Variable function
#' @description Returns object of class binvar
#' that is a list of number of trials,
#' and probability of success
#' @param trials number of trials (numeric)
#' @param prob probability of success (numeric)
#' @return list of number of trials
#' and probability of success w... |
bbb482750c3efbe658eab048069364d5b3c64e09 | 3a9f24c8e1540544ef7fae443bbccbf06ea8fb3d | /dump/enrichment_msigdb.R | 3d42da575c63d0eb92acda76491eb2e71bb2dcb9 | [] | no_license | gaiatek/illupipe | 7116664fe3079d172d4e7d9f2d07c433652a93f3 | 6679b218181f00c81d74071ab57c38b688bfbab8 | refs/heads/master | 2020-05-17T18:35:09.724662 | 2012-07-12T15:38:41 | 2012-07-12T15:38:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,609 | r | enrichment_msigdb.R | ######################################################################
# annotation enrichment.of gene a cluster list #
# cmethod is passed to p.adjust #
# all : list of all genes (SYMBOL) on the array #
# clusters : list of vectors of ... |
96e785cdadbd6dd64b698f38e8347c19a47792ee | 3db55642beea2f852d0871bcad36f37752704c28 | /sracppingTables.R | bc383e574e38fb6427f52c09d12741d6cb054299 | [] | no_license | Varma45/rProgramming | bb6f7db6e282ad23763d6fa1ed367f8a5a5210ae | 89ea7392f2e8da4d4c3e0e7213c1cdecb78f1f1c | refs/heads/master | 2021-01-20T08:13:34.798699 | 2017-06-16T11:10:15 | 2017-06-16T11:10:15 | 90,113,607 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 416 | r | sracppingTables.R | library(rvest)
link <- "http://www.indiaonlinepages.com/population/state-wise-population-of-india.html"
download.file(link,destfile = "D://dc++//workspace 2//state.HTML")
dlink <- "D://dc++//workspace 2//state.HTML"
read_link <- read_html(dlink)
pop_html <- html_nodes(read_link,xpath = "/html/body/center[2]/table/t... |
866132134f7cd3919cf287a49f6f2ca7f7ebc0b7 | b919835ccb1757a3b37326acd28d799cc123c5b0 | /Practica2/p2-ensemble.R | 865506b9ee2b50a9a03090015911cf7fd5f6b218 | [
"MIT"
] | permissive | Carlosma7/SIGE | 80fb510bb1c7bcec3e036ad4ba8ae8e651e17edb | 6975ebfa29ed89004be01f2b0759f92f6c14be01 | refs/heads/main | 2023-06-12T06:24:27.368223 | 2021-07-10T15:39:10 | 2021-07-10T15:39:10 | 384,730,939 | 0 | 1 | null | null | null | null | ISO-8859-1 | R | false | false | 3,834 | r | p2-ensemble.R | ## -------------------------------------------------------------------------------------
## Sistemas Inteligentes para la Gestión en la Empresa
## Curso 2020-2021
## Pablo Alfaro Goicoechea
## Carlos Morales Aguilera
## Técnica de ensamblamiento de modelos de redes neuronales
## ----------------------------------... |
e47e16d69282bde5c5481cf34f21fcec528c7b03 | a9dcf0ded2eea7916b9530e3ff659b3495f316b8 | /shelter_competition.R | f2696488da296b67b6872a2a1b772274e9668782 | [] | no_license | JT-R/shelter_animal_outcomes | 878a53b4616987d9f052f53bf41488ea138ee055 | 8b18f6da3bec7b37ba4db9acdb4797397d5359fe | refs/heads/master | 2020-12-04T08:17:25.992958 | 2016-06-23T16:21:38 | 2016-06-23T16:21:38 | 67,886,872 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,404 | r | shelter_competition.R | source("utilities.R")
labeled_data <- LoadData("train.csv")
testing <- LoadData("test.csv")
sample_submission <- LoadData("sample_submission.csv")
processed_datasets <- PreprocessDatasets(labeled_data, testing)
labeled_data <- processed_datasets[['labeled_data']]
testing <- processed_datasets[['testing']]
######
# T... |
e035cd6af0e55cec525d3e7c05d33f40d675139b | d6f23784a430db1c98ab2960584b387d98835bf8 | /example/visualize_baba_path.R | 6fab8fde2569bf19648efde2b5a735dde3e578cc | [] | no_license | jackkamm/baba | 52832c1cfd3e7ffb738c3abc02354480490da852 | e8507a06b5f847a2d312049f170111889dfea49a | refs/heads/master | 2021-10-27T13:49:25.691762 | 2019-04-17T14:22:37 | 2019-04-17T14:22:37 | 82,648,795 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,889 | r | visualize_baba_path.R | library(shiny)
library(tidyr)
library(dplyr)
library(ggplot2)
library(ape)
library(jsonlite)
library(gplots)
library(phytools)
get_limits <- function(vec){
c(min(vec), max(vec))
}
plot_baba_components <- function(inferredComponents, sparsityLvl){
sparsity_levels = unique(inferredComponents$sparsity)
sparsity_id... |
c6238e2f1256974b61f9afee950b7d6f82d1f3bf | 73b5d6d0399b6ca3e1eed0f8b95f2cd146d345b9 | /plot_3.R | c53a61f55f89078300189cd0261a55fd60fb9df0 | [] | no_license | mtelesha/ExData_PeerAssessment2 | b342761909aced48c0f78896bb2d1e0a0be7ab02 | 63105e2ff0c7a50a94d06cbaa10bef2cc2182e24 | refs/heads/master | 2021-01-18T12:45:53.893583 | 2015-03-22T07:59:54 | 2015-03-22T07:59:54 | 32,666,595 | 0 | 0 | null | 2015-03-22T07:35:34 | 2015-03-22T07:35:33 | null | UTF-8 | R | false | false | 585 | r | plot_3.R | # plot #3
# libraries
library(dplyr)
library(ggplot2)
options(scipen=999) # turn off scientfic numbers
# load data files
nei <- readRDS("./data/summarySCC_PM25.rds")
scc <- readRDS("./data/Source_Classification_Code.rds")
# answer the question
question_3 <- nei %>%
filter(fips == "24510") %>%
group_by(year,... |
3ef6ff1e16a6adbb343d551426c3abb3a79cff92 | 6694b8995f2d33a7b7daef7f7c999b9cc4be90e7 | /CourseProject2/Plot6.R | f419454771588437afd6644b35f813dd24e5bb92 | [] | no_license | Fbarangan/Exploratory_Data_Analysis | 312126c8717871a69aaa660ce95d3fd736ff840e | 4f795e4837df9bbcc8f2f58069816013fe9ae1bb | refs/heads/master | 2021-01-10T17:15:13.003304 | 2016-04-18T06:25:06 | 2016-04-18T06:25:06 | 54,862,035 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,790 | r | Plot6.R | #File Management and data Download
library(dplyr)
library(ggplot2)
#get Directorory
getwd()
# file location - "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip"
# Create the file
if (!file.exists("PM25_Raw_Data")) {
dir.create("PM25_Raw_Data")
}
fileUrl <- "https://d396qusza40orc.cloudfront.net... |
2961ed9e728480c11ff7f2ff92b8afa1f2c3640c | e4880de71470c0d58ebc1000cb89d0151d5aa6b1 | /man/model_options.Rd | 6b37e869c561ca4cd97a59af888a54b3c2c3c69d | [] | no_license | bprucka/uttr | 9c42a8e360c41c5402778d3ea1d9a5f9ae45c32e | 68d02c8567997a8a03d91295005b51a28633c4eb | refs/heads/master | 2021-09-22T09:44:47.307283 | 2018-09-07T15:11:17 | 2018-09-07T15:11:17 | 147,837,755 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 489 | rd | model_options.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/General_Functions.R
\name{model_options}
\alias{model_options}
\title{Set options for a model}
\usage{
model_options(...)
}
\arguments{
\item{...}{A list of unquoted expressions setting the options in the form
of \code{option = value}.}
}
\va... |
d3be8a6de46f3f7286468ac911223b93100e4bb1 | 28470bf5146137c8c7f374f23c503944af5743af | /tests/testthat.R | a4dd0ec817f74b4ec3cec0079acae00a89f7ff31 | [
"MIT"
] | permissive | C-Juliette/Geostatistic | f86b78695cdfe3c00f94a1b9666b149bcb57814e | 9d5f02c7392d6240ca6f45683ded722c460600e8 | refs/heads/main | 2023-06-20T05:03:30.244606 | 2021-07-20T15:37:02 | 2021-07-20T15:37:02 | 374,126,970 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 64 | r | testthat.R | library(testthat)
library(MonPackage)
test_check("MonPackage")
|
df0c227e5131ac417495de0d85d05ff3a91b0a0d | ebb314b086f96245ee9e776b8301b261bae78e70 | /man/Zelig-poisson-bayes-class.Rd | 6deeb94988ead48d143f02f306d9b058fd09220a | [] | no_license | mbsabath/Zelig | 65e153648ff89790e758b104ffb0de5c1e376c29 | c90d171f11fde4042710353883f2ccb6e16e471e | refs/heads/master | 2021-01-25T04:21:44.942660 | 2017-06-06T20:33:24 | 2017-06-06T20:33:24 | 93,430,501 | 0 | 1 | null | 2017-07-12T15:14:34 | 2017-06-05T17:39:14 | R | UTF-8 | R | false | true | 336 | rd | Zelig-poisson-bayes-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model-poisson-bayes.R
\docType{class}
\name{Zelig-poisson-bayes-class}
\alias{Zelig-poisson-bayes-class}
\alias{zpoissonbayes}
\title{Bayesian Poisson Regression}
\description{
Vignette: \url{http://docs.zeligproject.org/articles/zelig_poisso... |
5c12d2a299a70fe3ee88542510d3796ba19898ab | 29585dff702209dd446c0ab52ceea046c58e384e | /qdm/R/samediff.R | 6fd93ea276f1261365d53672ac9d3698e441168e | [] | 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 | 1,277 | r | samediff.R | # samediff.R
#
# last mod: Oct/16/2014, FW
# Calculate discrimination probabilities, P("different"), from same-different
# judgments
psi <- function(data, oa1 = "s1", oa2 = "s2", resp = "resp"){
## Check data
if (!(oa1 %in% names(data) && oa2 %in% names(data)))
stop("Stimulus names need ... |
8c4b8fe1491fa846d7a44b1aac18bdf18560364e | cca264c6bb6daef2d22e749ec039eb5b386a9ef8 | /exercicios/explorandoInputs/explorandoInputs.R | 1256cb2c3320564be23db5536f14e01e740061c6 | [] | no_license | rodrigomotoyama/202006-dashboards | 696b1289557bbe82b67023ffbeb81ab781f62a01 | b1fb22fe4f50ed851c6592c2a984ab4d5c7a7674 | refs/heads/master | 2022-12-01T07:28:54.563402 | 2020-08-09T02:53:49 | 2020-08-09T02:53:49 | 286,156,044 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,386 | r | explorandoInputs.R | library(shiny)
library(tidyverse)
library(readr)
library(lubridate)
dados <- read_rds("dados/ssp.rds")
col_crime <- dados %>%
names() %>%
.[6:28]
col_muni <- dados %>%
count(municipio_nome) %>%
select(municipio_nome) %>%
c()
ui <- fluidPage(
"Série temporal crimes", #Como eu faço pra inserir o nome d... |
76a8536e806658803e11e1d302f79309f97e7335 | 5247d313d1637170b6bbc5e367aba46c88725efd | /man/tw_api_get_statuses_user_timeline.Rd | 17506782c2f1d29d217712d83c2f759db20784b8 | [] | no_license | fentonmartin/twitterreport | dac5c512eea0831d1a84bef8d2f849eab2b12373 | 5ddb467b8650289322ae83e0525b4ff01fba0d1d | refs/heads/master | 2021-08-22T04:25:01.834103 | 2017-11-29T07:47:43 | 2017-11-29T07:47:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,069 | rd | tw_api_get_statuses_user_timeline.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/twitter_api.R
\name{tw_api_get_statuses_user_timeline}
\alias{tw_api_get_statuses_user_timeline}
\title{Gets status updates (tweets) from a given user}
\usage{
tw_api_get_statuses_user_timeline(screen_name = NULL, twitter_token,
user_id = N... |
4a98f7c38bd66eef279ea7d3666097d8290a0e62 | c0f8c06b1b28537dc2d86befa562f871a28900fe | /base/cl-abc.R | fbc77957fcbb629580f9c227fb278bbcdb0ae069 | [] | no_license | edwaltz/cl-abc | d4ec32a9e1122e8f1b0c62c96d94331d4bcf0e3b | 1cda8403185f52042a83608d9ca9b1811d11c349 | refs/heads/master | 2021-01-20T23:31:39.096957 | 2013-06-04T00:15:11 | 2013-06-04T00:15:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,718 | r | cl-abc.R | # Composite Likelihood ABC
library(abc)
library(MASS)
pmin <- -100
pmax <- 100
sim.prior <- function(data, num) {
# Simulate from prior estimated by the standard kernel density estimatior
#
# Args:
# data - points to be estimated
# num - number of simulation points of the prior
#
# Returns:
# A... |
45e784a8a78fc1962ce29cdc4b48ae4b58842d0b | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/7717_0/rinput.R | 32ba048b460a9855931b18ea00b4ed29f9a1d4f3 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("7717_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="7717_0_unrooted.txt") |
1cd27d016fcb26e1134f8d16bb6505f3d7b5e959 | 6fb453f3b45cad66751ee817f9b3463c89196972 | /R/log_fc.R | 4a8b3276ac0e928b6189d64d28c75b57b1715e1c | [] | no_license | SamirRachidZaim/referenceNof1 | 838c74bdad9f99cc4144ed43368dc2b187403e26 | 65f63660a96022c202addef59888e2026faae24f | refs/heads/master | 2022-12-31T22:02:44.858043 | 2020-10-20T15:16:46 | 2020-10-20T15:16:46 | 296,476,075 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 423 | r | log_fc.R | #' random forest feature selection based on binomial exact test
#'
#' \code{referenceNof1} is the R implementation of the reference biomarker algorithm by (Zaim 2020)
#'
#' @usage log_fc(pair.mat)
#'
#' @param pair.mat a two-column, stimulus-response paired sample matrix
#'
#' @return a data.frame with 1 columns contai... |
6528752f9fddc6d3a0c7b00a9aadb3efd6348d11 | 5a2cd2517a6738105447909a4e8ecda07bc28647 | /man/BrailleRUsefulLinks.Rd | b7f579895f2591328b055d9ab57c67a6874414f8 | [] | no_license | dewarren/BrailleR | e2f2a948832d94661e4da37cf0c813fda83e7561 | 5517918d36e61aade29e57f4ce706137fc697fed | refs/heads/master | 2020-12-02T06:29:52.684393 | 2017-10-02T01:41:41 | 2017-10-02T01:41:41 | 96,844,078 | 0 | 0 | null | 2017-07-11T02:56:05 | 2017-07-11T02:56:05 | null | UTF-8 | R | false | false | 702 | rd | BrailleRUsefulLinks.Rd | \name{BrailleRUsefulLinks}
\alias{BrailleRHome}
\alias{LURN}
\title{Open the BrailleR Project or Let's Use R Now home page in your browser}
\usage{
BrailleRHome()
LURN(BlindVersion = getOption("BrailleR.VI"))
}
\arguments{
\item{BlindVersion}{Use the version of Let's Use R Now tailored to an audience of blind users.}
}... |
6cfce5084e1eb67bc1477b6bb8c51bc99775eed4 | a35c23526ac659127a03058426a71b3dfee3e250 | /HONDO/Saplings/scripts/hondo_saplings_2010.R | 1be1484430418efa84d13541ce6a3dcb68920e3e | [] | no_license | avhesketh/LDP_SEADYN | 88914e1d61c41d8958ecfd7843d6fd3626e9434b | e826215b435c9eeb786cfe2f22388b023df0a21d | refs/heads/master | 2023-04-15T21:26:37.191146 | 2022-05-27T15:30:30 | 2022-05-27T15:30:30 | 372,590,927 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,108 | r | hondo_saplings_2010.R | ### Extracting 2010 sapling data and tidying for depositing
### AVH November 2021
## TLDR; these data didn't end up in the final deposit because they don't actually look like usual
## sapling data.
library(tidyverse)
library(assertr)
data <- read_csv("./Hondo/Saplings/raw_data/2010_data/Hondo_Saplings_Stand7_2010.csv... |
512357258a1b39a9cbd08c691c61f18bf0814ab0 | 98d1a4a349a2a916cca89ba8eb3e20b3ee68c84b | /man/smooth_raster.Rd | 00af95201cd664327730bda26e597248b8291116 | [] | no_license | edwindj/sdcSpatial | 31b23f1c47dd2e90fd40fc822047e4c4d5358069 | 750d8ff7da14499a79ba9465e8e3ce7b92370aff | refs/heads/master | 2023-08-02T19:24:56.369292 | 2023-07-28T13:43:44 | 2023-07-28T13:43:44 | 135,307,240 | 11 | 2 | null | null | null | null | UTF-8 | R | false | true | 1,143 | rd | smooth_raster.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/smooth_raster.R
\name{smooth_raster}
\alias{smooth_raster}
\title{Create kde density version of a raster}
\usage{
smooth_raster(
x,
bw = raster::res(x),
smooth_fact = 5,
keep_resolution = TRUE,
na.rm = TRUE,
pad = TRUE,
padValue... |
2e400f04c2c9c850501302072452fbae24f06759 | 1e993cc32d8bf94c2aa653004a45b2f6b700c00a | /bin/GetLongestContig.R | 6dc157a9a5245316c24313599bbaac7907e0c739 | [
"MIT"
] | permissive | skjq/Hannigan_CRCVirome_mBio_2018 | 337582b93e9718395529fa2f5d85f3a8ac5cd2b3 | 7247bbda750ee6ff05b3df853b8b2d0b07e8cd04 | refs/heads/master | 2022-12-21T12:24:19.418712 | 2018-10-11T13:12:47 | 2018-10-11T13:12:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,390 | r | GetLongestContig.R | # GetLongestContig.R
# Geoffrey Hannigan
# Schloss Lab
# University of Michigan
library("optparse")
library("ggplot2")
library("cowplot")
library("plyr")
option_list <- list(
make_option(c("-i", "--input"),
type = "character",
default = NULL,
help = "Contig length table.",
metavar = "character"),
... |
b5ccef73e0b149430b28ae9a2c7f96af1c6372a2 | 9267a73131c01475cf20cf6719ce991653700941 | /man/carstats.Rd | 9addad2b21301edf5e0aef400af50e97dd5a1770 | [] | no_license | cran/CornerstoneR | 40d8f0aa0e3ea3b99be2741f212ce4edfcaf7eb8 | 308bc720857013667a66bd6f2f9f1586d4ef0415 | refs/heads/master | 2021-07-03T21:11:06.083410 | 2020-08-28T10:30:33 | 2020-08-28T10:30:33 | 162,022,134 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 736 | rd | carstats.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{carstats}
\alias{carstats}
\title{Data from carstats}
\format{
A \code{\link{data.table}} object with 406 observations and 9 variables.
The variables and their scale of measurement are as follows:
\ite... |
eb2b694fee29e3a77d3d35b58443d0ba48cf11f2 | a36788ef0c3589f5ca89b909341ca79e958af036 | /R/data_ODsample.R | f951cf7d1993faf73b97378dca7fd9d2acd1225d | [] | no_license | ropensci/skynet | dfe786786a397a1ed75fe8e3d3da6e5cff1504b3 | 255d83ac1ed0b3e98980e5762014514ec5e6c6af | refs/heads/master | 2022-11-07T00:27:45.699099 | 2022-10-25T13:15:29 | 2022-10-25T13:15:29 | 86,709,909 | 8 | 3 | null | null | null | null | UTF-8 | R | false | false | 161 | r | data_ODsample.R | #' Sample OD data
#'
#' Sample data to use with SKYNET functions
#'
#' @format A dataframe with 500.000 observations and 19 variables
#' @name OD_Sample
#'
NULL
|
761b1eddac38fa39b9a4e7a07c9237ec96de4b7f | bb12ce1efd621cf2a4a942d7939bce44610aab3e | /R/spped-main-dir.R | f2cb7f1116a4a3836d527532a5a323263ae4f56a | [] | no_license | dantonnoriega/sppedr | 2eabd1616c961f79b8e91c12c8cc77bf096930a3 | c377de137aaf0f9b8d78efb299013a9de162e6de | refs/heads/master | 2021-01-21T14:24:25.837312 | 2017-08-16T23:01:11 | 2017-08-16T23:01:11 | 95,277,197 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,549 | r | spped-main-dir.R |
tools_main_dir <- function() {
get = function() {
env <- Sys.getenv('SPPED_MAIN_DIR')
if(identical(env, "")) {
message("Couldn't find env var SPPED_MAIN_DIR. This the path to the main SPPED directory on your computer. Please set using set_main_dir().")
return(NULL)
} else env
}
set = ... |
f8c2a5e48a468084e785f1e65ce7aeec9578fb6e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/phonR/examples/plotVowels.Rd.R | b9e00fdfed671013d59feb4edcb28f3dabfdcd58 | [] | 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,491 | r | plotVowels.Rd.R | library(phonR)
### Name: Plot vowel formant frequencies
### Title: Plot vowel formant data and a variety of derivative measures.
### Aliases: plotVowels
### Keywords: device hplot
### ** Examples
data(indoVowels)
with(indo, plotVowels(f1, f2, vowel, group=gender, plot.means=TRUE,
pch.means=vow... |
cb92dd916f959ca3214c478ed325368c56b56256 | edd3571a86b3293dd3d97b7ef6c43386be58575c | /man/rmvnorm_cholesky.Rd | 103063cfccccb667f385271dab78dfb0a8647d12 | [] | no_license | pierrejacob/PET | 88ec8531ed13fb5ea27eb30037f063bb11b766fa | 5057eb5d7c52f7b4fc18a258260a9a8557d6a72b | refs/heads/master | 2021-01-19T16:42:17.937684 | 2018-05-02T22:19:17 | 2018-05-02T22:19:17 | 88,281,336 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,041 | rd | rmvnorm_cholesky.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multivariatenormal.R
\name{rmvnorm_cholesky}
\alias{rmvnorm_cholesky}
\title{Generate multivariate Normals}
\usage{
rmvnorm_cholesky(n, mean, cholesky)
}
\arguments{
\item{n}{is the number of desired samples}
\item{mean}{is the mean vector}
... |
adbb4e82979286a6cda98f18d84ff57f50124013 | 4af4d4872f7bbe51e41db6e60889498a67a31249 | /all_models.R | 8dee7a0099537df8ecfb6694946b70bc3874f75b | [] | no_license | mmhu/imaging-project | a230943834e0f0c03d59e49ada01e2573b10d943 | bdaba26e67fbf8563b05bf9ec11721d08d1448fc | refs/heads/master | 2021-01-25T07:49:03.918835 | 2017-07-11T19:26:33 | 2017-07-11T19:26:33 | 93,665,393 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,862 | r | all_models.R | # (1)
library(knitr)
opts_chunk$set(cache = TRUE)
opts_knit$set(root.dir = "C:/Users/bensadis/Desktop/BDSI/imaging-project")
library(devtools)
library(ggbiplot)
library(ada)
library(randomForest)
library(e1071)
library(tidyverse)
library(mgcv)
library(gbm)
library(nnet)
library(ROCR)
nTrain <- 500
sampleidx <- sampl... |
220e8ecca8e3b4effacc33e7502ff3a059b34e91 | 1858c69a9338db6cdce1c01f9660949b32601477 | /inst/shiny/server.R | 90a839ef92df3cc131ba7e166ddf079471a450af | [
"MIT"
] | permissive | lianos/multiGSEA.shiny | c457793966bcad00b9abfd73acf77c6915d02d05 | ef24e4dda17ec6a79928e9cf7da7da57b5ee57eb | refs/heads/develop | 2021-06-04T16:24:57.860391 | 2020-09-11T15:37:09 | 2020-09-11T15:37:09 | 112,698,587 | 3 | 5 | NOASSERTION | 2020-02-13T00:11:19 | 2017-12-01T05:24:24 | R | UTF-8 | R | false | false | 4,669 | r | server.R | shinyServer(function(input, output, session) {
## If this application was invoked via explore(MultiGSEAResult), then
## getOption(EXPLORE_MULTIGSEA_RESULT='path/to/result.rds') was set that
## we can load, otherwise this will respond to a user upload.
mgc <- reactive({
## Are we here because the user upload... |
703bdb36fef37bada52498a83bb7f6bbd5f2592c | 027a491b02278271f0c3bb5173b76ec14bea3b08 | /preliminary_study/plot.R | 08e9e2a7ad3a387c4c5a9d89fdc253a4a3718bd2 | [] | no_license | thegcamilo/AIArt_MoralStanding | d3c670162092c3002459e7f30b550fdc4d9f6ea6 | 04df5c3428c93c0a7826d34dcf861130e5c988c2 | refs/heads/master | 2023-05-08T04:48:18.815719 | 2021-05-18T03:43:53 | 2021-05-18T03:43:53 | 354,767,548 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,289 | r | plot.R | library(ggplot2)
library(dplyr)
library(patchwork)
library(here)
setwd(paste(here(), "preliminary_study", sep="/"))
getwd()
df.tmp <- read.csv("data/AIArt_judgements.csv")
df <- read.csv("data/unmelted.csv")
udc.max <- (df$Undecided > df$AI.Program) & (df$Undecided > df$Human)
sum(udc.max)
df <- df %>%
rowwise %... |
cfb3df5c05f6d7c8b0b4e8fee52d47f21c9927d8 | bc73dbb3ba557c4e9f31976f395053325c9be018 | /sanity_checks2.R | 54581ed7bc5d7d49086033c262f1ecff1825bf19 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | ldecicco-USGS/passive_tox | c7fe0ccbe4227265ceab17a1e3fe9f3db329cf09 | 9321ef259cfeeb6888b870ae7aa97a018e21d5cc | refs/heads/master | 2021-06-26T00:40:03.326522 | 2020-11-20T21:30:13 | 2020-11-20T21:30:13 | 135,317,394 | 1 | 2 | null | 2020-07-21T19:50:00 | 2018-05-29T15:35:27 | R | UTF-8 | R | false | false | 6,138 | r | sanity_checks2.R | library(tidyverse)
library(toxEval)
library(openxlsx)
source(file = "read_chemicalSummary.R")
tox_list <- create_toxEval(file.path(Sys.getenv("PASSIVE_PATH"),
"data","data_for_git_repo","clean",
"passive.xlsx"))
path_to_data <- Sys.getenv("PASS... |
91c5a58072c85cc1f5899ba29578821eaabbfcdc | b12382e16a602599d0725b5446bb6e5680da3e66 | /R/Newton-Raphson/NLS_NR/Scripts/main_simulation.R | a15a05b0eb4c7e17d42b918e605c8c991d1d1d7a | [] | no_license | hhnguyen2/Summer-2016 | edd9de12fff00d5af3c058c30a7d07e71ba4289b | bccd6810ce3c49f8a0925b1954cff7643eb9648c | refs/heads/master | 2021-01-20T17:20:31.080061 | 2016-08-04T20:11:56 | 2016-08-04T20:11:56 | 60,541,681 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,013 | r | main_simulation.R | ## CONDUCT SIMULATION
# Set initial conditions and initialize variables
init_gamma <- rep(0,5)
init_alpha <- rep(0,5)
init_B <- rep(0,2)
# Set truth
my.gamma <- c(0.25,-0.25,0.10,-0.45,0.75) # my.gamma: logistic parameters for Z
alph <- c(1,0,0,0,0) # alph: logistic parameters for A|Z,X
mu <- c(... |
2dd5972b4706fb4c488908f51a0fa4cf41bbac4f | 6ed875a510b7db9f5d44852b3e836cf78ff91d15 | /home/data/minap_rscript.r | 569878325e6a936a131c88f4829b23ddd869a58f | [] | no_license | maya70/qualdemo | 1547ba7b63ea7451286559014d76cc0031fe6800 | 80688db47ec4d2ea6aea54c69aa2621fdce38104 | refs/heads/master | 2020-06-22T18:35:06.328545 | 2019-07-19T13:06:21 | 2019-07-19T13:06:21 | 197,774,229 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,747 | r | minap_rscript.r | # read raw admission data from its current location
library(readr)
library(lubridate)
library(parsedate)
source_file_path <- "C:/Users/scsmel/Dropbox/Leeds/Qualdash related/Data/"
dest_file_path <- "C:/Bitnami/wampstack-7.1.13-1/apache2/htdocs/Qualdashv1/home/data/minap_admission/"
#dateFormat <- "%d-%m-%y %H:%... |
404eae9494adfd4c729a9767dd2aaed000f837d4 | 1651d18a23bb6e822aa73fac319111a786afe8a4 | /man/clusterExtractp.Rd | b5571ad8ab5d4ab412999e9d7e589b85a932b00d | [] | no_license | fomotis/cyanoFilter | ac1ba3b95225bc67b3130019160101a79435816c | 5c358c86a9e22670b84d80ac73135afbdf2457e9 | refs/heads/master | 2021-08-01T21:38:38.323652 | 2021-07-29T14:01:03 | 2021-07-29T14:01:03 | 150,075,530 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,903 | rd | clusterExtractp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cluster_extract.R
\name{clusterExtractp}
\alias{clusterExtractp}
\title{takes a flowframe, name of cluster column and extracts part of flowframe
that makes up proportion.}
\usage{
clusterExtractp(flowfile, cluster_var = "Clusters", proportio... |
534128f6b927a1f9547baa9a2576607efe2eb76a | c35961807afd74625a5285071ae8db15254ca59d | /Player performance/playereffects.R | c084a25e5be323f869a5f6800f98033c19dda008 | [] | no_license | miketar27/hockey | 0cfde5a84dcba2af788a4bbed06ec0aa598276c3 | f4c2db836f08f11168478c41804ccf39e6c2a33d | refs/heads/master | 2021-01-12T04:51:25.252345 | 2013-11-22T02:51:57 | 2013-11-22T02:52:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,346 | r | playereffects.R | ## set the working directory (user specific)
setwd("/Users/apple/Dropbox/Sen/hockey/player\ effect")
# load the 'gamlr' package
library(gamlr)
library(Matrix)
# Read in the data set
load("../shot\ and\ goal\ comparison/results/hockey_goals.rda")
## Build up the design matrices and response vectors
x <- cBind(config,o... |
64d287cf576e454a77b13e9c412c384698e7b536 | e1028dc1fbccf8988375330dffc3cf7c7dbde24a | /man/convertIncome2incomeGroup.Rd | 430d8e6a96e8e43eccfee0977b80d4e6db1b3eec | [] | no_license | n8thangreen/STIecoPredict | aab10d94b24e825273f91d67ba6d425854109df5 | 48369489baf9f8ea152f929758fdb625b6bab7fc | refs/heads/master | 2020-12-09T17:55:11.140024 | 2020-06-02T14:25:18 | 2020-06-02T14:25:18 | 37,931,678 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 387 | rd | convertIncome2incomeGroup.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Convert2Groups.R
\name{convertIncome2incomeGroup}
\alias{convertIncome2incomeGroup}
\title{Convert Income to Income Group}
\usage{
convertIncome2incomeGroup(income)
}
\arguments{
\item{income}{(integer)}
}
\value{
character strings of categor... |
adfcac6ef06e66770d626564efb8afbabe3e3cd7 | 8d96a11ce8eb0687f69070d7d8d511632d289ec1 | /R Data Visualisations - Tasmin.R | 5a06360010b45aa6d5e60f93fafd794982e73957 | [] | no_license | TasminG/HLTWK10Tasmin | 12fd4506682a7830fcc35fc4abf385285d341653 | 3851ab7448b1b2ab08060979e54a81f59a53bee1 | refs/heads/main | 2023-08-23T22:15:15.863784 | 2021-10-07T19:47:59 | 2021-10-07T19:47:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 537 | r | R Data Visualisations - Tasmin.R | install.packages("ggplot2")
library("ggplot2")
#Using the ggplot in-built data sets in RStudio and the qplot function
#create data visualization using your preferred data set.
str(mpg)
qplot(displ, hwy, color = class, data = mpg)
plot(mtcars$mpg, xlab = "Number of cars", ylab = "Miles per Gallon", col =... |
7ff6329d42e8014250033f4310b80b7de29f882a | 2bd3c511663349c7b493d57a9f9bbe228f8a9852 | /.Rproj.user/4B7E6015/sources/s-BDF32986/38BC7E9A-contents | c8d5a0771aabfed64cb80e1acad0bb2dc516b262 | [] | no_license | dndufufu/rmytools | 29ed0f90703b103eaf756ec210173ca7003ac6bc | 2e7e06137739408a152e1587471f98a837ad8bbc | refs/heads/master | 2023-07-11T05:33:52.309637 | 2021-08-13T00:53:26 | 2021-08-13T00:53:26 | 395,356,705 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,010 | 38BC7E9A-contents | #' Using a dataframe specific column to plot a pie figure
#'
#' @param data a dataframe or tibble
#' @param ncol specific column, factor
#'
#' @return a figure as ggplot2 object
#' @export
#'
#' @examples
#' my_pie(mtcars,ncol=2)
#' my_pie(diamonds,ncol=3)
#' my_pie(diamonds,ncol=3)+guides(fill="none")
#'
my_pie <- fun... | |
9faff5f69b649856ac4e64ea641a40bbe49129b8 | d7506b0faaef0363c0c28d401b736b83d6db83c3 | /R/modify_pal.R | 6463b258fa3718abea4d284139cdeb3fe14b9cf0 | [
"MIT"
] | permissive | GenChangHSU/PalCreatoR | 9cff9754dc20c56377188db9c2d171051f60bf89 | c6b97c276f3cca58fad66529cfaefc7ed7b3c8ec | refs/heads/master | 2023-04-01T23:32:20.095353 | 2021-04-01T15:13:38 | 2021-04-01T15:13:38 | 322,634,068 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,551 | r | modify_pal.R | #' @title Modify alpha transparency of the colors in the palette
#'
#' @description \code{modify_pal} modifies alpha transparency of the colors in the palette.
#'
#' @param pal a vector of hexadecimal color codes (not necessarily returned from \code{\link[PalCreatoR:create_pal]{create_pal}).
#' @param alpha a single nu... |
917e15af4bfed45994f53ef4b5abf6ca3d0206f4 | 86b16636c31254eb27c63574f369e9d1b6c73c52 | /R/mod_marcacao_ponto.R | c0c52989c8a4ecd877842512000e6cdd08bdedea | [
"MIT"
] | permissive | leandro-vento/Ponto | cee8f122fd225e2466559b79323ba122e6a589a2 | 870269bf23918a058a2f5c1bb450c298538b25b3 | refs/heads/master | 2022-12-07T16:33:12.269521 | 2020-08-20T14:57:54 | 2020-08-20T14:57:54 | 288,650,351 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,479 | r | mod_marcacao_ponto.R | #' marcacao_ponto UI Function
#'
#' @description A shiny Module.
#'
#' @param id,input,output,session Internal parameters for {shiny}.
#'
#' @noRd
#'
#' @importFrom shiny NS tagList
mod_marcacao_ponto_ui <- function(id){
ns <- NS(id)
tabItem(tabName = "marcacao_ponto", align = "center",
fluid... |
e3e63df316ac0ebccdcf03f0f91d21d2f2d43470 | 91da7c1d3fa3a1db0eb324587a5701354b2bbfc7 | /homework_files/homework_1/homework1.R | 9c9ff749fe902a99298922d18c7c90842a3f6e69 | [] | no_license | zidan40o0/R_workshop | 6ab721d023f0830fd0dc6d1dc0a72e9fc1d3c3fb | 1a682e44fa471fd7d443f93c3aa6a39258636768 | refs/heads/main | 2023-03-27T17:26:22.153974 | 2021-03-11T13:05:43 | 2021-03-11T13:05:43 | 330,746,056 | 0 | 1 | null | 2021-02-18T18:40:41 | 2021-01-18T17:56:38 | R | UTF-8 | R | false | false | 1,459 | r | homework1.R | #Homework Assignment#
# 1- Make a new project
# 2- Pull the main git branch into your computer
# 3- Create a new branch in your repo and name it myname_homework1_sol
# 4- You see the file named "supermarket_sales - Sheet1.csv" in R, rename it according to the good practice we discussed then
# import this file into a d... |
e91261a630afaf23fa757450bc71d0dc5bae748c | 8fa881542cc1f5bcd4029063f8c5096e42dbf62b | /TP4.R | bcb1c0d6b00aca876cf5db9bbe25d30aec6efee8 | [] | no_license | suyiqing/sy09_tp | 3704e26e84b299bef89e79c4a044adeff5515920 | 8c0a38b1aa7fdb41c00e6573a508fa23e4d96861 | refs/heads/master | 2020-03-14T06:09:07.643661 | 2018-04-29T08:31:36 | 2018-04-29T08:31:36 | 131,478,066 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,388 | r | TP4.R | notes <- read.csv("donnees/sy02-p2016.csv", na.strings="", header=T)
notes$nom <- factor(notes$nom, levels=notes$nom)
notes$correcteur.median <- factor(notes$correcteur.median, levels=c("Cor1","Cor2","Cor3","Cor4","Cor5","Cor6","Cor7","Cor8"))
notes$correcteur.final <- factor(notes$correcteur.final, levels=c("Cor1","Co... |
1d50359e709ed29106374cc40baa1712d91fa22b | 2b850f9fdfa54159f05553050ad21600e6a58246 | /R/plot.obscor.R | 1edf6d8f1247d46b0f848fc920c1138bff783431 | [] | no_license | cran/palaeoSig | f1dece921733d50a2915d47bd188ecdc32392ced | 29f25c31bf18651a5d50928ebe61f2b247f22962 | refs/heads/master | 2023-03-15T03:17:27.916002 | 2023-03-10T08:30:02 | 2023-03-10T08:30:02 | 17,698,185 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,227 | r | plot.obscor.R | #' @describeIn obs.cor Plots for obscor object
#' @param x An obscor object.
#' @param xlab X-axis label if the default is unsatisfactory.
#' @param ylab Y-axis label if the default is unsatisfactory.
#' @param f Scale factor for the abundances, the maximum cex of points for the
#' which=1 plot.
#' @param which Which t... |
166b1a2a6c982c9f5c23bf5c5b1299fcd8325279 | fe1b2831b88fd1bfb8831fef64251e6f0f1c88b1 | /NSC_R_workshop_series_I/NSC-R Workshop_08_Notes.R | c06f1d8d3a39f0586b1720cfe3e29e3ba4feb671 | [] | no_license | Jonkman1/NSC_R | dafac864ec7ce1eb70c859c8cbf34c155ed5a21a | 7a94fabce76c783b71d37dc1602de7535b88b4b5 | refs/heads/main | 2023-08-25T21:35:20.988088 | 2021-09-14T19:06:11 | 2021-09-14T19:06:11 | 403,142,724 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,881 | r | NSC-R Workshop_08_Notes.R | # NSC-R Workshop #8 Notes
# Regression modeling in R
# R version 4.0.0
# WB July 20, 2020
# These are the libaries that you need for the functions
# in this script
library(tidyverse)
library(broom) # tidy, augment and glance
library(car) # vif (variance inflation factors)
library(MASS) # n... |
3f6ed4ae43e8ed72a6310cf399331a9de85692f3 | 5e67544bd977d277ea24050d1aafa1c9bed9cf86 | /explore/tl_followers.R | a690aa93bf7fcfc2ba2f243e51c9ba17b1da0028 | [] | no_license | balachia/Currency | 8d08a1c11a6472e7b019c641afb64ad90c7e1b7b | ff46e4b042eb176cb7787ba524c52d21303cd5ce | refs/heads/master | 2021-01-17T04:46:31.851629 | 2016-07-14T22:45:06 | 2016-07-14T22:45:06 | 15,240,711 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,041 | r | tl_followers.R | library(data.table)
rm(list=ls())
setwd('~/Data/forex/tables-2014/Rds')
ba <- readRDS('BrokerAccount.Rds')
ba <- ba[,list(brokerAccount_id=id, user_id, baseCurrency)]
setkey(ba,brokerAccount_id)
# make fpt
fpt <- readRDS('ForexPositionTracker.Rds')
fpt[,c('version','correlationId','position_id','original_id','resid... |
3cc449aabf0a124f444f3f96855a1ceeab341578 | 1ef2ca8618fbf2b0fcdb062e957af9429b3fd9da | /man/CacheIndividualTrees.Rd | 705035fb013a0adb440848dfcf1ceada512398da | [] | no_license | jwiggi18/HistoryOfEarth | c4d27692161a0e293a56d9221629b43ddd2a1da8 | 8f136cc9aa2e2f292d24774153eb0cfe231905e5 | refs/heads/master | 2020-04-15T21:55:28.707830 | 2019-07-17T19:07:02 | 2019-07-17T19:07:02 | 165,052,095 | 3 | 1 | null | null | null | null | UTF-8 | R | false | true | 459 | rd | CacheIndividualTrees.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/historyofearth.R
\name{CacheIndividualTrees}
\alias{CacheIndividualTrees}
\title{Cache trees for website}
\usage{
CacheIndividualTrees(taxa = GetTaxa(), age_df = GetAgeDF(),
height = 800, width = 900)
}
\arguments{
\item{taxa}{Vector of tax... |
0af4eb48cbf7aaf97186f85276748360bb9c95b9 | ff59003d5f85134185f059ab3c3ce5f15df3414d | /MakePlots.R | b589aa5745c7802bd2dc69b507b76c2730dd5c71 | [] | no_license | yannicao/Reprojection | 9842a8d07fb0326681db717757f9526888818c2a | cc3051396b2b5a5b795b4b968082814b3c849125 | refs/heads/master | 2021-01-10T01:22:14.859357 | 2016-02-22T05:10:04 | 2016-02-22T05:10:04 | 51,965,004 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,243 | r | MakePlots.R | library(geosphere)
library(RColorBrewer)
source("WRF_functions.R")
# Do some plots for the article
#
plotPolyT = function(latMin, latMax, long=0, col="red2", ...) {
lats = seq(latMin,latMax,.1)
latsT = transform2sphere(lats)
diff = distHaversine(cbind(long,lats),cbind(long,latsT)) / 1000 # Convert to km
... |
4415f4f3af41c4ed040eb34938b1e6e81de6c15a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/influence.SEM/examples/sem.fitres.Rd.R | 5e3868b2994a09ef655bb7c364d62c2696fe9457 | [] | 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 | 553 | r | sem.fitres.Rd.R | library(influence.SEM)
### Name: sem.fitres
### Title: Fitted values and residuals
### Aliases: sem.fitres obs.fitres lat.fitres
### Keywords: utility
### ** Examples
data("PDII")
model <- "
F1 =~ y1+y2+y3+y4
"
fit0 <- sem(model, data=PDII)
out <- sem.fitres(fit0)
head(out)
par(mfrow=c(2,2))
plot(e.y1~hat.y1,da... |
0d38cf849710714e24740ce62054a6fc51d39a20 | 600ce8eed536ade87d512c4c7fa0047ca84047a0 | /Preparation/prepareModel.R | 3693ff9f20eadf37a5c93ecc5d95ef7b8cf5494e | [] | no_license | ravi-addanki/predictNextWord | 1623120590167fe40b982c2213cf6772d0bb109c | 1e4266d1b71c816bdc3f3b974038c3b45fb1d447 | refs/heads/master | 2021-01-01T22:39:35.028481 | 2020-02-18T15:51:49 | 2020-02-18T15:51:49 | 239,374,668 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,010 | r | prepareModel.R | ## Prepare Model
options(expressions = 5e5)
options(java.parameters = "- Xmx4g")
library(tm)
library(SnowballC)
library(RWeka)
library(tm.plugin.webmining)
library(stringi)
library(stringr)
library("dplyr")
time_from <-Sys.time()
txtFileDir <- paste0(getwd(),"/data/final/en_US")
(ovid <- Corpus(DirSource(txtFileDir),re... |
a9f89804cb0ac6d0441da9fe55cba0334a901ca1 | 226e1acd1b811900c0ee019fdbaa50da81cf7a8f | /Code/R_scripts/Figure_generation/Volcano_Hist.R | 12577e55b1ddcd78ac745c032252c0c3e7e53845 | [] | no_license | Harrison5692/Bioinformatics_work | 7b2a02aa0452f543bc4e057f7272baaf89d43680 | 25315cf3867d6d869e0952d72ed82645c8509102 | refs/heads/master | 2022-11-16T00:25:49.033210 | 2020-07-13T06:01:09 | 2020-07-13T06:01:09 | 279,223,690 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,207 | r | Volcano_Hist.R |
DMSO_TGFB_DESeq2 <- DMSO_vs_TGFb
#-----------P-values
### CHANGING COLOR TO RED FOR LOG2FC > 1 IN MAGNITUDE ###
DMSO_TGFB_DESeq2$color[DMSO_TGFB_DESeq2$logfc > 1 & DMSO_TGFB_DESeq2$pvalue < .05] = 'blue'
DMSO_TGFB_DESeq2$color[DMSO_TGFB_DESeq2$logfc < -1 & DMSO_TGFB_DESeq2$pvalue < .05] = 'red'
DMSO_TG... |
4cd4f4ae1f99f9707b0c7742434cff0efa6dbdc2 | b45845ee528ed22b433c5e876c87d088ce5ac860 | /perfomix_check_list.R | 5cc7355645f530d69a078fb80f9fc2c5b1c0146c | [] | no_license | martinEcarnot/vrac | 00445d290377b68c812173c20761094654d5878e | 47bdfc47fd15454e30fdcf777c6d461a95cb38dc | refs/heads/master | 2022-12-21T10:01:16.702031 | 2022-12-13T08:07:24 | 2022-12-13T08:07:24 | 232,131,113 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 453 | r | perfomix_check_list.R | f="D:/2021/perfomix/perfomixspectro_prioritary-mixtures_long_ME.csv"
l=read.table(f,sep=";", header = T)
## IHS
# i20=which(l$season=="2019-2020")
i20=which(l$season=="2020-2021")
# l20=paste0(l[i20,"xy"],'-',l[i20,"id"],'*','sp.gz')
l20=paste0('*',l[i20,"xy"],'*','sp.gz')
for (i in 1:length(i20)) {
# print(l20[... |
b0f8caaa4417b0d75011db4cd31d9697d4a08e40 | 0084280ad5d1400c280c110c402d3018b7a129af | /R/timing/pyclone_cluster_ccf.R | d46d3d1e7d4ca5c681b1093162ceef6ce4eb464b | [
"MIT"
] | permissive | fpbarthel/GLASS | 457626861206a5b6a6f1c9541a5a7c032a55987a | 333d5d01477e49bb2cf87be459d4161d4cde4483 | refs/heads/master | 2022-09-22T00:45:41.045137 | 2020-06-01T19:12:30 | 2020-06-01T19:12:47 | 131,726,642 | 24 | 10 | null | null | null | null | UTF-8 | R | false | false | 3,388 | r | pyclone_cluster_ccf.R | library(DBI)
library(tidyverse)
library(ggplot2)
con <- DBI::dbConnect(odbc::odbc(), "GLASSv2")
res <- dbGetQuery(con, read_file("sql/pyclone/pyclone_cluster_stats2.sql"))
tmp <- res %>%
mutate(known_driver = ifelse(is.na(num_drivers), "No known driver", "Known driver mutation"),
plot_id = paste(case_ba... |
dc1ed469ed810c86e61bbae459d253300a2e5ab9 | 617042ee3e269b7a444bc2cb43b58e596da48bc3 | /plot4.R | 233e1cfe40abcf24adff5455ba74f87f3a1c4b24 | [] | no_license | marimit1/ExData_Plotting1 | 8229fa111d36b9f37bc317eb5f4cf425272070fb | d0b22a8332c3b3aa5079a57f9791908b4c722f84 | refs/heads/master | 2021-05-11T02:37:01.829896 | 2018-02-05T00:08:14 | 2018-02-05T18:20:41 | 118,368,136 | 0 | 0 | null | 2018-01-21T19:49:34 | 2018-01-21T19:49:33 | null | UTF-8 | R | false | false | 1,950 | r | plot4.R | #### plot4
### set working directory
setwd("./R_specialization/ExData_Plotting1")
### load libraries
library(data.table)
library(sqldf)
library(lubridate)
### read data
# download data
dataset_url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(dataset_url, d... |
43d6cb3781fe19ccda2ed0a95e859025e0aaad5d | 7ae34b4e174fc64bd602f4bd3dbb40c0f10e3fa9 | /pkg/gMCP/inst/unitTests/runit.gMCP.R | d65ec315fc3c9130569456a792a44f2c83cf3efc | [] | no_license | kornl/gMCP | ff53468562d58d1530f2f2f613b503d382f11d6b | e3e82ac4eab1e3b4d4ca769c3aa372d8bb1aa8c7 | refs/heads/master | 2021-01-15T09:32:47.828717 | 2020-03-22T20:44:36 | 2020-03-22T20:44:36 | 10,665,881 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,847 | r | runit.gMCP.R | test.Simes <- function() {
m <- matrix(0,nr=4,nc=4)
m[1,3] <- m[2,4] <- m[3,2] <- m[4,1] <- 1
w <- c(1/2, 1/2, 0, 0)
p1 <- c(0.01, 0.005, 0.01, 0.5)
p2 <- c(0.01, 0.005, 0.015, 0.022)
a <- 0.05
g <- matrix2graph(m, w)
result1 <- gMCP(g, pvalues=p1, test="Simes", alpha=a)
result2 <- gMCP(g, pvalues=p2, test="... |
ff7ca7f1fe53f4788359d396da47c0b0a77e6c40 | 84a81beb43008d608479b4e5c993ca86cfe86873 | /man/fullResults.Rd | 94e8df75d414061d580c6eb01fd7abceb9b58d21 | [] | no_license | andrew-edwards/sizeSpectra | bb3204c5190ec6ccf09ef3252da30f0c2b4ac428 | 517c18d84f4326b59807de5235ab4cddac74876b | refs/heads/master | 2023-06-22T17:57:26.718351 | 2023-06-12T16:51:23 | 2023-06-12T16:51:23 | 212,250,882 | 7 | 8 | null | null | null | null | UTF-8 | R | false | true | 737 | rd | fullResults.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{fullResults}
\alias{fullResults}
\title{Full results from using each fitting method on each year of IBTS data set.}
\format{
Data frame with 240 rows (one row for each of 30 years for each of
the 8 methods) and cor... |
56d972674b92aaef409244c7ca74aab721e99385 | b416c4fb16eea0a456e2d442193e62761380ae27 | /R/selectGenes.R | d47e7011cad63fada68ea2331827f97f42da7db7 | [] | no_license | CenterForStatistics-UGent/SPsimSeq | 8bfbfa1bc37cb75d1727eb0e64380ced90f4d89e | 8ef681373e1e0330b3077173c71a859c9e9a464f | refs/heads/master | 2022-02-11T05:43:24.961643 | 2022-01-25T19:24:45 | 2022-01-25T19:27:09 | 169,562,897 | 12 | 5 | null | 2020-04-02T14:23:53 | 2019-02-07T11:42:51 | R | UTF-8 | R | false | false | 966 | r | selectGenes.R | #' Sample genes from candidate genes
#'
#' @param pDE fraction of genes to be made DE
#' @param exprmt.design the experiment design
#' @param n.genes the total number of genes required
#' @param null.genes0,nonnull.genes0 Candidate null and non-null genes
#'
#' @return a vector of selected genes
selectGenes <- function... |
841610d62e4b5b1ee288765e6de37e5e17daa7dc | 48dc3bb4b86faaeb0d0380e5a7bb7c17b0ad3ab4 | /man/SymbiotaR2.Rd | 3348fdad6e1ec827b310b9ac42c4249fe30112ce | [
"MIT"
] | permissive | ropensci/SymbiotaR2 | 3e80e24cec07c8cbdc86e2d235fe362d924e818b | f0231b51066d15e7d6a64baf5c63eb37236a23bd | refs/heads/master | 2023-04-14T10:19:27.583114 | 2022-01-26T22:26:15 | 2022-01-26T22:26:15 | 190,439,935 | 0 | 0 | MIT | 2022-01-26T22:26:16 | 2019-06-05T17:34:58 | R | UTF-8 | R | false | true | 2,385 | rd | SymbiotaR2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SymbiotaR2-package.R
\docType{package}
\name{SymbiotaR2}
\alias{SymbiotaR2}
\alias{package-SymbiotaR2}
\alias{SymbiotaR2-package}
\title{Downloading data from Symbiota2 portals into R}
\description{
This package allows users to access and
do... |
752e5d183a1b35a4aa1d9cdc3248d958ebce140f | 53dc2ae7dddb95bac3dbcd885237cadc554e97c4 | /man/moviemeter.Rd | 40e92dd06089b5a071b1b90d82109d9042d45d1d | [] | no_license | hrbrmstr/moviemeter | 273deabfc6b4aff341ef3659e5331c4654404f28 | 4e117616c6a9b799df02e13b41a2c0a2789e1952 | refs/heads/master | 2021-01-10T22:53:34.591103 | 2016-10-08T15:11:15 | 2016-10-08T15:11:15 | 70,337,498 | 8 | 0 | null | null | null | null | UTF-8 | R | false | true | 518 | rd | moviemeter.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/moviemeter-package.R
\docType{package}
\name{moviemeter}
\alias{moviemeter}
\alias{moviemeter-package}
\title{Tools to work with the MovieMeter API}
\description{
Get an API key: \url{https://www.moviemeter.nl/site/registerclient/}
}
\details... |
e78c4f08dc265b372ed4222db33a00a09f79c836 | 982273312b912edf4ce88ef85b94d387928c6f37 | /src_presentation.R | 26c93b21ad59a1165987294aba339f5df3d827c8 | [] | no_license | smckechnie/examples | e64d451c9b1dca85b921f7a9250472b0e7700baa | b1bb0378def28198c23c1bedf55e9974d154e18a | refs/heads/master | 2020-04-16T08:47:53.883104 | 2019-01-13T20:54:22 | 2019-01-13T20:54:22 | 165,438,246 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,946 | r | src_presentation.R | setwd("C:/Users/steph/OneDrive/Documents/Stat 281/Project")
setwd("C:/Users/mckec/OneDrive/Documents/Stat 281/Project")
# Import data
library(readr)
train_main <- read_csv('smartphone_train.csv')
test <- read_csv('smartphone_test.csv')
train_labels <- train_main$Activity
train_levels <- as.numeric(as.factor(... |
9cd810d323f02ca6cda5560e2e2040f73b557194 | 4253ddfc4c9b7b3e98349693c6288553d3919756 | /factor-character.R | 4a06558289225f1e00f26c33ea4f47b7c828c5bc | [] | no_license | esoterikosQ/MLB | b6980135bdb431e111ce697c8adbb7cb554c2e76 | 85497a58ae00bb8260a1d5f588307248ccdf1ec9 | refs/heads/master | 2020-03-26T13:11:22.038442 | 2018-08-19T13:25:13 | 2018-08-19T13:25:13 | 144,927,714 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 787 | r | factor-character.R | # A random independent variable
continuous_x <- rnorm(10,10,3)
# A random categorical variable as a character vector:
character_x <- (rep(c("dog","cat"),5))
# Convert the character vector to a factor variable.
factor_x <- as.factor(character_x)
# Give the two categories random values:
character_x_value <- if... |
77dcdd9813ce76687ecc3d797849f8bfa3fdc064 | c68aea1de91b46ae684792123c61e84c44ea0266 | /books/cs/data-mining/learning-data-mining-with-r/1rst-edition/chapter2/R/ch_02_eclat.R | 9edad3907cfe5cd1677c95623bbe7c4336003b1a | [
"Apache-2.0"
] | permissive | Winfredemalx54/algorithm-challenger-1 | 12e23bed89ca889701db1b17ac540ce62ce86d8e | 761c2c39e041fb155f853385998d5c6318a39913 | refs/heads/master | 2022-11-22T15:03:01.548605 | 2020-07-11T12:26:31 | 2020-07-11T12:26:31 | 297,955,141 | 3 | 0 | Apache-2.0 | 2020-09-23T11:58:19 | 2020-09-23T11:58:18 | null | UTF-8 | R | false | false | 1,702 | r | ch_02_eclat.R | #clean the workspace and memory
rm( list=ls() )
gc()
tbl <- read.csv("../data/itemsets002.csv", header=FALSE)
tbl <- as.matrix(tbl)
colnames(tbl) <- NULL
itemsets <- t(tbl)
print(itemsets)
items <- c(1,2,3,4,5)
min_sup <- 0.22*nrow(itemsets)
f <- NULL
ff <- NULL
testEclat <- function(data,base_items,MIN_SUP){
print... |
c77fe11e8d71eb4be14a3c5edd171ec687bad707 | ade67a67fbbf9f8f132096193758e7e58a95c307 | /man/NA_hms_.Rd | 728a32cf9627088dfd5bfa17f8723fd688d593d3 | [
"MIT"
] | permissive | poissonconsulting/dttr2 | f4ea3e045b46e2ee23445cd81445b512e04f9cea | be0eb04a2b353cd791989c89eef41a818c50972c | refs/heads/main | 2023-07-07T07:55:28.489864 | 2023-07-04T16:16:49 | 2023-07-04T16:16:49 | 186,494,511 | 10 | 2 | NOASSERTION | 2023-06-27T00:25:55 | 2019-05-13T20:56:44 | R | UTF-8 | R | false | true | 309 | rd | NA_hms_.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/na.R
\docType{data}
\name{NA_hms_}
\alias{NA_hms_}
\title{Missing hms}
\format{
An object of class \code{hms} (inherits from \code{difftime}) of length 1.
}
\usage{
NA_hms_
}
\description{
A missing hms object
}
\keyword{datasets}
|
74f8eb96abde02927406fab294058ae1d3674736 | 42b3ddece3c7e9b56d513823c5dc2f03d0b17979 | /man/graph_environment.Rd | 5c25b929dab5e1d398fc31dc3c8877bbb8363158 | [] | no_license | digideskio/admixturegraph | 1a52155638b76d089f1ad9945c70a6a814eeedd1 | 5be6fbde1688cb96debabe74c25e4834063aa308 | refs/heads/master | 2021-01-17T05:29:54.186661 | 2016-06-10T13:48:40 | 2016-06-10T13:48:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,035 | rd | graph_environment.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/evaluate-f-statistics.R
\name{graph_environment}
\alias{graph_environment}
\title{Build an environment in which f statistics can be evaluated.}
\usage{
graph_environment(parameters, edge_lengths = NULL, admix_prop = NULL)
}
\a... |
b13eb8a2714789c2b9a8d8152a7a7db5b935d43a | 8bbc42c11e4f98b2fa4cb8d8895436408c00cfa5 | /proj20-BrainAgeEval/Analyze_Results.R | ea77a44ee1fedc806b272eaa3bc7b7aac43d9bc5 | [] | no_license | ccplabwustl/RobertJirsaraie | f2007b48bf9a9dd32e73d8998c176eea8082554e | b8032078400278f46a252379bf487c23d89435be | refs/heads/master | 2023-04-06T23:25:53.870308 | 2022-10-14T13:00:55 | 2022-10-14T13:00:55 | 296,682,721 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 10,965 | r | Analyze_Results.R | #!/usr/bin/env Rscript
######################
library(gamm4) ; library(lme4) ; library(nlme) ; library(parameters) ; library(performance)
library(ggplot2) ; library(ggforce) ; library(corrplot) ; library(ggeffects)
library(tidyr) ; library(plyr) ; library(dplyr) ; library(purrr)
library(knitr) ; library(psych) ; lib... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.