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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ceead9354294119f94899e4f300519c075a92177 | bebe94f1d0b3a30f12ad309a6629737ae706fb19 | /R/gg.R | 6451bf08f735c38d34b2c3cdfe882a9312e27875 | [] | no_license | BHGC/bhgc.wx | d19956db738f841cda62ef3e176c7a3c54ab1709 | a4b28cfabf4ec2107799dda868601c7d3cdbdfb3 | refs/heads/master | 2022-03-24T21:49:31.627577 | 2020-10-11T04:20:45 | 2020-10-11T04:20:45 | 156,008,704 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,055 | r | gg.R | ggplot_datetime_labels <- function(t, tz = timezone(), flavor = getOption("flavor", "wide")) {
flavor <- match.arg(flavor, choices = c("wide", "narrow"))
## message(sprintf("ggplot_datetime_labels(): tz=%s", tz))
hours <- strftime(t, format = "%H", tz = tz)
uhours <- sort(unique(hours))
near_noon <- uhours... |
e4cd10422c0bd4ad19a0e1b08c25c4cfd9b304db | fa2218ab1b6ba64096c29fd1c565873de8ddf8ab | /man/se_lines.Rd | ddb3bd07c139ffa6de39a71865980c1a60ba5098 | [] | no_license | ivyleavedtoadflax/teaplots | 7cce00c16cfe1a518457ce40b14ceb6bdb3c0f7f | 06031aa671ddc47b4bb2535c30ed73525be83fa5 | refs/heads/master | 2020-06-20T00:07:23.328450 | 2016-11-27T15:10:34 | 2016-11-27T15:13:11 | 74,895,312 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 500 | rd | se_lines.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/se_lines.R
\name{se_lines}
\alias{se_lines}
\title{se_lines}
\usage{
se_lines(x, SE, y, bar_width = 0.1)
}
\arguments{
\item{x}{A vector}
}
\value{
numeric vector of length 1 giving number of zero values in vector \code{x}.
}
\descrip... |
8e388602b62d88762bf3daa774c1a38c8c764a27 | 12c20cd032553e7fd8e23238ee28e8d3e8d32be1 | /misc/erythropoiesis/marjorieDemos/tms.R | c1ec3ef784382f1035bbd39f56923620b62276af | [
"MIT"
] | permissive | PriceLab/TrenaMultiScore | 5b33bdc4c8a00870c8a76523ed4542f76e338717 | c6d91402d83534fee27d157a933a0c2687a7b3d3 | refs/heads/master | 2022-09-03T03:52:27.013503 | 2022-08-19T21:00:22 | 2022-08-19T21:00:22 | 233,648,550 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,368 | r | tms.R | library(TrenaMultiScore)
library(TrenaProjectErythropoiesis)
library(RUnit)
library(factoextra)
library(RSQLite)
library(ghdb)
library(httr)
#------------------------------------------------------------------------------------------------------------------------
if(!exists("ghdb"))
ghdb <- GeneHancerDB()
if(!exists... |
453ae57e443e7f7b2522f9f8b6b2e0e182b29488 | 52efacf9230d27099208b340b52b8f11103f405d | /r_fun_utils/monty_hall_simulator.R | c3857f0ee0e76fd6cba3e0495308fed438046515 | [] | no_license | leviabowles/lb_r_utils | 8a70b062996db7e466a19703dc7c38ee877c9d5d | 13b7bcb912ca273a6cd532aa27585276328b02b5 | refs/heads/master | 2023-02-05T03:48:48.795476 | 2020-12-31T02:01:08 | 2020-12-31T02:01:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 865 | r | monty_hall_simulator.R | ## Monty Hall simulation game for variable number of games played, whether switch strategy is in play and variable numbers of doors
simulations = 10000
doors = 5
switcher = 1
monty_hall = function(simulations,doors,switcher){
sim_matrix = matrix(nrow = simulations, ncol = doors, runif(simulations*doors))
win... |
2888f3d1e8e34e76248d12d6bda5fcfc30dc6351 | 42fb36a62430a122ad6649095670043680d84522 | /man/CleanJSTOR_df.Rd | 120d5ad7fa9a0e55878f0cfa578541ac97ce15af | [] | no_license | arthurbnetto/tidyJSTOR | 662e4254c6bc6cbfbc76e4e4e6578449b88cd2ca | 4a613591a7f11f4e70940472ee3ab5384c7c2ee5 | refs/heads/master | 2020-06-06T01:54:24.148254 | 2020-02-12T18:38:16 | 2020-02-12T18:38:16 | 192,606,371 | 8 | 0 | null | 2020-01-29T19:50:24 | 2019-06-18T20:14:02 | R | UTF-8 | R | false | true | 625 | rd | CleanJSTOR_df.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hello.R
\name{CleanJSTOR_df}
\alias{CleanJSTOR_df}
\title{CleanJSTOR_df}
\usage{
CleanJSTOR_df(df, Titles = FALSE)
}
\arguments{
\item{df}{A dataframe in the JSTOR_df format (see: JSTOR_df())}
\item{Titles}{whether to clean titles (instead o... |
672621e4ba427a75b89a97d9934433f045fec9a0 | 205a269537cc4bfbc526da048db8d185e1e678c9 | /R/ipar.R | 5fc7f9c196fd6c7b89e95a6f95df938c4cf6707e | [] | no_license | davidgohel/ggiraph | bca2fc5c61ef7cbeecc0a0d067f7479822117ab0 | b3ce2998b57d8c8b63055499925fd9fe99f4d1a7 | refs/heads/master | 2023-09-03T00:06:10.817100 | 2023-08-30T14:35:40 | 2023-08-30T14:35:40 | 40,061,589 | 735 | 86 | null | 2023-09-03T09:50:54 | 2015-08-01T22:17:06 | R | UTF-8 | R | false | false | 14,470 | r | ipar.R | #' @title Interactive parameters
#'
#' @description
#' Throughout ggiraph there are functions that add interactivity to ggplot plot elements.
#' The user can control the various aspects of interactivity by supplying
#' a special set of parameters to these functions.
#'
#' @param tooltip Tooltip text to associate with o... |
8e4d20c17f8f1dfe9f3198311bf77f2108b4c9e2 | 5e9174e8c66e695e1d2fe39b919d64dc1f537ba8 | /Homework 4/Solution/HW4-R-ajmn100.R | 7a6bf9b00ce0433759582ba5b5b52d05a36526af | [
"MIT"
] | permissive | jonathannjeunje/Applied_Statistical_Methods_With_R | 32e89c61d737e337b0c2a195e1c496132e41792b | c6c71b2a12da50be50dc1c5fd14a80962c7d32a2 | refs/heads/main | 2023-02-23T00:50:08.200810 | 2021-01-27T01:55:51 | 2021-01-27T01:55:51 | 333,272,540 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 486 | r | HW4-R-ajmn100.R | #1.If X is Binomial (n = 100, p = 0.3)
#P(X = 39)
dbinom(39,100,0.3)
#P(X >= 25) = 1 - P(X <= 24)
1 - pbinom(24,100,0.3)
#2.If X is Beta (a = 5, b = 3)
#P(0.4 <= X <= 0.5)
pbeta(0.5,5,3) - pbeta(0.4,5,3)
#The value of k such that P(X <= k) = 0.7
qbeta(0.7,5,3)
#3.
#histogram of 100 random num... |
2826c22a606cf4d063044d7fe09521d3bab3a385 | 9e51d436c3516e8045a331724519e2d47785b635 | /assets/projects/BayesianIRT/shinyStan_for_shinyapps/server_files/utilities/update_multiparam_selectize.R | 21b4e826d13442f90d30fe371bfbc4e1b0849e5b | [
"MIT"
] | permissive | rfarouni/rfarouni.github.io | 383df890b03254e34210f23d0c350cd5ca38fcf9 | bb5eb702736d57f48c3bff99bb8339cc22736099 | refs/heads/master | 2023-04-15T16:04:20.199574 | 2022-09-30T15:18:44 | 2022-09-30T15:18:44 | 32,032,321 | 0 | 6 | MIT | 2023-04-11T22:44:18 | 2015-03-11T17:48:14 | HTML | UTF-8 | R | false | false | 548 | r | update_multiparam_selectize.R | # functions for updating the choices and selected for
# the selectizeInput input$params_to_plot when the sorting
# option is changed in input$multiparam_sort
copy_params_to_plot <- reactive({
copy <- input$params_to_plot
if (is.null(copy) | length(copy) == 0) {
return(NULL)
}
copy
})
observe({
x <- inpu... |
8bf886477c0dc54beb62ceb8e56e5b6670d853c7 | 792db68cb166df96f92b841bb0a86c4bd1d536d2 | /Practica6_Covid-19.R | c3530f23158a7f4394b9249335f96a2435f9a66b | [] | no_license | AllanZamb/ProcesamientoR | 74ac7524d8b8e9563827c3b5e8d7d25ae1c01d61 | 3a5e29b0c7fbc6a35ca71846e89caaa1b008dcd7 | refs/heads/main | 2023-03-06T22:20:01.317589 | 2021-02-06T04:48:10 | 2021-02-06T04:48:10 | 316,684,351 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,458 | r | Practica6_Covid-19.R | paises <- read.csv("https://covid19.who.int/WHO-COVID-19-global-data.csv")
#Estructura de nuestros datos
str(paises)
#Resumen de los datos
summary(paises$Cumulative_cases)
#Colunmas de nuestro dataset
colnames(paises)
colnames(paises) <- c("Fecha_de_reporte",
"Código_de_país",
... |
e78c8d3642a2ac4bd38378077e8a0ed245809432 | 7db2c001e9fbaadf8a796ae80e5d09d90925c46d | /R/explorer_header.R | e5cbf6b12e96810e6d390b015b946be635e1a6d8 | [] | no_license | DavidBarke/shinyExplorer | a466d490243c241a914a12c8ab30e641b594526d | 4a0b3f101bb46db6727ade489ae177e40b23a2c9 | refs/heads/master | 2020-09-03T21:14:14.750167 | 2020-08-25T21:37:04 | 2020-08-25T21:37:04 | 219,572,569 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,056 | r | explorer_header.R | explorer_header_ui <- function(id) {
ns <- shiny::NS(id)
htmltools::tagList(
shiny::uiOutput(
outputId = ns("header")
)
)
}
explorer_header <- function(
input, output, session, .values, .explorer_classes, .explorer_class_returns,
.explorer_rvs, .root_node_r
) {
ns <- session$ns
rvs <- sh... |
6a739d3505b740210c6fe554015604c1f7b88a89 | b438c7e240506b851d4f9179190ce83dd5e45f95 | /R/set_Classes.R | d93cc4a333ad989ed6957fb892ef152ff2398e7f | [] | no_license | meerapatelmd/secretary | bd75a6ef4b3ab23eb9177b08e0610cefdfbed7d7 | 492f0555fa07aeebc8ee64c6ed4962053636d8b0 | refs/heads/master | 2023-08-06T22:21:02.641198 | 2021-10-05T20:54:37 | 2021-10-05T20:54:37 | 253,169,208 | 0 | 0 | null | 2021-10-05T20:54:38 | 2020-04-05T06:20:40 | R | UTF-8 | R | false | false | 1,220 | r | set_Classes.R | #' Set TypewriteMessage Class
#' @noRd
#' @export TypewriteMessage
#' @exportClass TypewriteMessage
TypewriteMessage <- setClass("TypewriteMessage",
representation(Plain = "character",
Formatted = "character"),
protot... |
0c640612297345280cad92de1f9aef50721fe928 | 7e7646c0aebbfc8becdf74b64f05e0ec24fc4d3f | /R/mice-init.R | ae6aec41e4204a406ee276ce1b17a6313b95fb2a | [] | no_license | roliveros-ramos/mice | bfddb78ff8b9b19bf587c3c1bc4e7398ec0cdecb | 3aebda0b3d2a6d22197544244d9c357bc195d18f | refs/heads/master | 2023-08-18T15:23:25.581157 | 2023-08-09T19:22:35 | 2023-08-09T19:22:35 | 109,646,515 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 11,874 | r | mice-init.R |
# Initialization of Functional Groups -------------------------------------
checkGroups = function(groups, ndtPerYear, subDtPerYear, T, resources) {
groupNames = sapply(groups, FUN = "[[", i="name")
names(groups) = groupNames
ndt = ndtPerYear*T
if(!is.null(resources)) groups = updateResourceBiomass(groups, ... |
284c5591d0cd6ea004fc186e304dc566f5ec94ee | 5507eeff38ec29024331f6ac2d170bf154e39eb6 | /Assignment_6_1001.R | 4f18aa0583d2b64d34bc220065a88ec0b26a5aba | [] | no_license | aayushsaini/Numerical-methods-using-R | cf61d326b675a31ca42e974cd2fdfe1714903c55 | 8f1919ded37acabc60c3e29ffcfa52a6f2dc90e5 | refs/heads/main | 2023-06-16T20:02:01.178986 | 2021-07-16T13:15:20 | 2021-07-16T13:15:20 | 369,499,716 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,310 | r | Assignment_6_1001.R | #Assignment 6
#---------Q.1------------
#------------------------
n <- 100
p <- 0.05 #5% defective rate
m <- n*p #mean number of defective bulbs
#Distribution: given below (line:11)
print("Ans1(i) We are going to use Poisson Distribution, since P is very small and no. of trials is large i.e., 100")
pmf <- dpois(... |
65181a6491b3ee4e3d14c66fe5e263e4c4f73d5f | 622a08cd7f8c01c86930aa70b70fb8c79d7af0e4 | /R/processGIMMS.R | 719f50a4fd97a23a76d4a2d95c7671e4e326fdb4 | [] | no_license | npp97/paper_kilimanjaro_ndvi_comparison | 6651cd2c295f7b913729fee41b47d27ab117283c | f443c6d1e5d1d5a25bdd00b95855938146f3aa2c | refs/heads/master | 2021-01-16T23:22:35.421214 | 2015-10-15T14:21:24 | 2015-10-15T14:21:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,931 | r | processGIMMS.R | ### environmental stuff
## functions (located in repository, not on external hdd)
source("R/aggregateGimms.R")
## working directory
library(Orcs)
setwdOS(path_lin = "/media/fdetsch/XChange/", path_win = "D:/",
path_ext = "kilimanjaro/ndvi_comparison")
## install old 'MODIS' version (bug in MODIS_0.10-33::wh... |
2c1dc1de96c6f1b08b2e715b4f81e9192948a940 | d65574d30ee29a7b7661df8e9d74e4fd3f043f1f | /server.R | bbe3a52e9927aa50e4bb3f15af56d20e52cece8c | [] | no_license | anumoshsad/Developing-Data-Products | 3332322a277a3f7eb285813c5f6d6a7600570b70 | 3a6f80e6f5f6e6981982581b93f0b1c207e4a6f5 | refs/heads/master | 2020-02-26T15:15:14.407315 | 2016-08-14T06:34:36 | 2016-08-14T06:34:36 | 65,653,322 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 949 | r | server.R | library(shiny)
shinyServer(
function(input,output){
nosim <- 10000
output$newHist <- renderPlot({
n <- input$n
lambda <- 0.2
dat <- apply(matrix(rexp(nosim*n, lambda), nosim),
1 , mean)
# Histogram of mean sample
hist(dat, main = "Sample ... |
f99d8ddeb655ccfad875f528cdd360c42b05f443 | 4041625bb47c72dd6ca504a2db4e591f8dd0f4c0 | /inprep/eusidatasets.r | 80a37aade6db854904dfe76c590e251b671b8a12 | [] | no_license | pwasiewi/eusi | fa1eaba2f005a36417e7e176b0b9c96817d4c745 | 7c0d3365a1433a0764d3f5637f8e5f1070764ba9 | refs/heads/master | 2020-04-14T05:03:37.410622 | 2018-03-31T16:01:39 | 2018-03-31T16:01:39 | 372,294 | 0 | 4 | null | null | null | null | UTF-8 | R | false | false | 3,133 | r | eusidatasets.r | # skrypt do zajęć EU SI: dane testowe
# TODO: test, testować
# Licence LGPL
# Author: Piotr Wąsiewicz
########################################################################################################
##########################################################################################################
nDa... |
ba3dac098563835e35bd1742af3b76b3a083a34d | 9818edb917a1244192e03076b920114518715e8a | /Financial-Risk-Modelling-and-Portfolio-Optimization-with-R/source-code/Part3Chapter4Ex9.R | 3429b9208ee83a8f186936bca2eb37b93b93f6dd | [
"MIT"
] | permissive | rivu-basu/R_for_Quantitative_Finance | 927d06495a1668e32ec0671b7b88ba72e6bdf183 | f4c78c547c28408cc0f859630ebe57f2fb61b6c8 | refs/heads/master | 2020-05-21T17:07:27.580327 | 2014-08-29T03:25:52 | 2014-08-29T03:25:52 | 186,116,962 | 1 | 0 | MIT | 2019-05-11T10:07:26 | 2019-05-11T10:07:25 | null | UTF-8 | R | false | false | 1,014 | r | Part3Chapter4Ex9.R | ## Defining portfolio specifications
SSTPrior <- function(x, spec = NULL, ...){
list(mu = c(MSTfit@fit$beta), Sigma = MSTfit@fit$Omega)
}
BlCopPost <- function(x, spec = NULL, ...){
Sim <- CopPost@posteriorSims
list(mu = colMeans(Sim), Sigma = cov(Sim))
}
## Skewed Student's t
MSPriorSST <- portfolioSpe... |
52346b48647366c39e26983a3cabc4668d9be7e7 | ec7d134a1337e3542e98032b8ef1b56caf95a25c | /phd/codes/similarity calculation.R | a7fdd9f1baf0c05c6a4d2ee908d9fc705123742f | [] | no_license | sylphs22/my-phd-work | 007ec88de63a265899245bef7d29c5b5a5fbaecb | e9b25ced9addd60bfe07afa95a59037ea9a6b50f | refs/heads/master | 2020-03-19T15:59:01.825169 | 2018-06-09T06:09:57 | 2018-06-09T06:09:57 | 136,694,540 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,824 | r | similarity calculation.R | #data=read.table("C:/Users/bip/Documents/Visual Studio 2012/Projects/recommend/recommend/dump1.txt",header=F)
data=read.table("C:/Users/bip/Desktop/Abhishek/95_1000_diff_sparse/95_1000_diff_sparse/95_1000_pers.txt",header=F)
#data=data[,36:47]#needs
data=data[,48:52]#values
#data=data[,1:35]#Big5
#d=as.matrix(dist... |
a79ed2c9eba4755dc6fff89895bced0e350c0bf4 | d1b1cead5e9525fbfec5b7df989ebc0a09c8d782 | /man/getAttributesColumnHeaders.Rd | 5bd87d913a9c0d19ab99cfcf32194e6f3f8e4698 | [] | no_license | AmundsenJunior/pfsrsdk | 0ce8195f9d9a96562d31992f44303ee151bd4111 | d799defb9447a4e70cb2906205f6023020fc621a | refs/heads/master | 2020-06-06T00:24:06.491018 | 2019-07-15T16:59:12 | 2019-07-15T20:37:59 | 192,584,459 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,575 | rd | getAttributesColumnHeaders.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getAttributesColumnHeaders.R
\name{getAttributesColumnHeaders}
\alias{getAttributesColumnHeaders}
\title{getAttributesColumnHeaders - Gets the attribute column header for all or specified attributes in an entityType.
\code{getAttributesColumn... |
e03a2fe1f44965f2b03ae0d8b184d16e7607bd5c | 3ad3a2b20fb23eaa6e3d6934007207914ae46e6f | /man/box_plot_max_weekly_cases.Rd | dbe83827e190d91fa77cdcb558f40d68f24340bb | [
"MIT"
] | permissive | dachuwu/ringbp | f44de5d3eb2cc4df7a83fd7ab6e85acd1db6ecd5 | a48964b10276d8673d5560ec7f6081e055446dbc | refs/heads/master | 2022-06-26T23:39:34.745345 | 2020-05-11T05:55:00 | 2020-05-11T05:55:00 | 261,081,295 | 0 | 0 | NOASSERTION | 2020-05-04T04:36:09 | 2020-05-04T04:36:08 | null | UTF-8 | R | false | true | 1,704 | rd | box_plot_max_weekly_cases.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/box_plot_max_weekly_cases.R
\name{box_plot_max_weekly_cases}
\alias{box_plot_max_weekly_cases}
\title{Create box plots of maximum weekly cases by scenario}
\usage{
box_plot_max_weekly_cases(
results = NULL,
cap_cases = 5000,
extinct_thr... |
c6062695f94877ee714602717d62a06f481cf6e2 | 52802ff28ca37aa7d028c1411b2e3948ecbf02f0 | /text_mining/tidy_text/Ch06_topic_modeling.R | e32906eb1a78007ecb0e2573f1a614ef9752cc5b | [] | no_license | PyRPy/ML_Py_Templates | a4cd06c5e0cc54ccf544269ae4bf3a8aece15b85 | 677d29207c459bbc9e89e0f1239a1792f128a413 | refs/heads/master | 2022-02-23T06:18:51.466170 | 2022-02-16T22:52:02 | 2022-02-16T22:52:02 | 167,294,425 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,569 | r | Ch06_topic_modeling.R | # -- Latent Dirichlet allocation ---
# In Chapter 5 we briefly introduced the AssociatedPress dataset provided by the topicmodels package,
# as an example of a DocumentTermMatrix. This is a collection of 2246 news articles from an American news
# agency, mostly published around 1988.
library(topicmodels)
d... |
d61f5d31a176edcf627e7994f1d3ee7381cb3c4c | e1c533911bfe894b5819103b18b4e76fa182e038 | /metadata_workflow_Postgres_Postgis/scripts/write_metadata_EML.R | f24b99d009bd46dfb40b9809d7e706f4b4beb855 | [] | no_license | juldebar/R_Metadata | 2ea1abf7bca0739c342caef9650f8ea16d573d03 | 0c93dd844774eae99eca16e865c843a632fb9350 | refs/heads/master | 2020-03-21T07:30:28.044333 | 2019-08-22T12:12:12 | 2019-08-22T12:12:12 | 138,283,915 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,172 | r | write_metadata_EML.R | # DONE BY FOLLOWING ONLINE TUTORIAL https://github.com/ropensci/EML/blob/master/vignettes/creating-EML.Rmd
# https://github.com/ropensci/EML
# GOAL IS TO GENERATE EML FOR GBIF IPT : eg http://vmirdgbif-proto.mpl.ird.fr:8080/ipt/eml.do?r=ecoscope_observation_database&v=6.0
# download.file(url="http://vmirdgbif-proto.mp... |
21a0142be26df3ccad837f75a438dc4db57edd83 | 74f428a05dc1aa31b2caad6b5da3cef2b90e1ed5 | /maldonado/R/function_brainstorms.R | 8b63fdb4dfadb35328fe3fe9c4a18db7acbbfa14 | [] | no_license | BiologicalDataAnalysis2019/2020 | e689d9401ea632b5033a7b2bea7654cefcfa246f | a1f587d39abd16b1edd18fc5292ab53b92f40f59 | refs/heads/master | 2023-06-19T06:54:38.173314 | 2020-11-20T22:38:50 | 2020-11-20T22:38:50 | 283,593,237 | 0 | 12 | null | 2020-12-01T21:50:04 | 2020-07-29T20:12:06 | HTML | UTF-8 | R | false | false | 665 | r | function_brainstorms.R | #' Calculate size ranges for each life stage of each species in database
#' Summarize which trap type in which each species was caught the most
#' Run a ttest or ANOVA on different parameters to determine significance
#'
#'
#'
#' Plot a frequency distribution graph for numbers of individuals at different sizes with... |
32244d4caf646871e11b7b1dce0a96792004eea7 | 1502987a5a27865fc634b74b55f4a2c67f6d9a78 | /logistic_gwas_example/server.R | 2eb621da5b7d42407fc1e5383a04a685b7588458 | [] | no_license | syyang93/shiny_snp | 811b441f1f5fa29c4c8fa78a46ca823bb6d24303 | 00d3c00189c4013856281c1a3aa66b6f700edff6 | refs/heads/master | 2023-03-10T17:02:07.250461 | 2021-02-24T16:43:47 | 2021-02-24T16:43:47 | 285,067,739 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,619 | r | server.R | library(shiny)
library(shinythemes)
library(rsconnect)
library(ggplot2)
formatbeta = function(beta){
formatC(round(beta, 3), 3, format = "f")
}
formatpval = function(pval){
ifelse(pval > 0.001, format(round(pval, 3), nsmall = 3), formatC(pval, format = "e", digits = 2))
}
Sys.setlocale("LC_CTYPE", "en_US.UTF-8") ... |
07ad5f53bb17fa7d009410d1554b83a6b340b074 | c05891fe5cdbd620b4e1f6fa782c7beb8f9c2a07 | /R/08asBibEntry.R | 6efb774da8f45a907bbabdc5d981a40e6b119bae | [] | no_license | aurora-mareviv/RefManageR | 03e7d165cc587609db3069478c5f7639f08a13d6 | b9adf6175fd9effb2065b2519bc9fc4de9c30a1f | refs/heads/master | 2021-01-14T13:17:28.766337 | 2014-08-18T00:00:00 | 2014-08-18T00:00:00 | 25,426,581 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,290 | r | 08asBibEntry.R | #' Coerce to a BibEntry object
#'
#' Functions to check if an object is a BibEntry, or coerce it if possible.
#'
#' @param x any \code{R} object.
#' @details \code{as.BibEntry} is able to coerce suitably formatted character vectors, \code{\link{bibentry}} objects, lists,
#' and data.frames to BibEntry objects. ... |
cf3a152d9638f9865fe93b68367d6da1f951a9e9 | a7d61ba51e7cae6001fc0778775f2852b641b59f | /tests/testthat/test_matrix_functions.R | 8c3ef47a98ae78179f2fcdd6e505ccabf3d461c0 | [
"MIT"
] | permissive | user01/uvadsi | 2a06dc1f4383dfd0ad49b0b807ca25b155812d5c | 07b5e4c86ffb6cd995ec61c2b95710f3deab1283 | refs/heads/master | 2021-01-11T04:13:35.981998 | 2016-11-12T00:03:28 | 2016-11-12T00:03:28 | 71,203,663 | 1 | 2 | null | 2016-11-12T00:03:28 | 2016-10-18T03:03:24 | R | UTF-8 | R | false | false | 4,828 | r | test_matrix_functions.R |
# Libraries
suppressPackageStartupMessages(library(purrr))
suppressPackageStartupMessages(library(dplyr))
# #############################################################################
# Column Selection
# #############################################################################
test_that("Get empty column", {
... |
96ea39c0c8ea368dcc3a9acc9aff8f36ebda9d30 | 3474af6c604afd89a64b3a1a637f02384669dba7 | /man/scale_label_pictogram.Rd | 3d0f0d872bf145332ed502e8bdc61bfd8f9fe966 | [] | no_license | edwindj/waffle | 4dbb28d1aabaaa0a93502fa122fcb853400924dd | 1d076c55f30b1a5ad101679be726e5d90c86f91b | refs/heads/master | 2020-07-08T04:51:51.664029 | 2019-08-21T12:20:26 | 2019-08-21T12:20:26 | 203,570,123 | 1 | 1 | null | 2019-08-21T11:28:08 | 2019-08-21T11:28:07 | null | UTF-8 | R | false | true | 456 | rd | scale_label_pictogram.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geom-pictogram.R
\name{scale_label_pictogram}
\alias{scale_label_pictogram}
\title{Used with geom_pictogram() to map Font Awesome fonts to labels}
\usage{
scale_label_pictogram(..., values, aesthetics = "label")
}
\arguments{
\item{...}{dots}... |
b43df4cdb286ddbb8bab36d3dcfa2363f6fe8bae | b33611762071f9277bf18d712d3beaddb1683788 | /man/clumper.Rd | a41ef6f1ce3c0a9037cdc3fe489109507116e5b3 | [] | no_license | fxcebx/soundgen | abc6bb7d7aded02e11fe6bd88cb058ca0947f75f | 2d8ae67893509bd29d132aaa04c0e9385879ddd9 | refs/heads/master | 2020-09-06T21:51:23.464374 | 2019-10-31T17:43:11 | 2019-10-31T17:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,391 | rd | clumper.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilities_math.R
\name{clumper}
\alias{clumper}
\title{Clump a sequence into large segments}
\usage{
clumper(s, minLength)
}
\arguments{
\item{s}{a vector (soundgen supplies integers, but \code{clumper} also works
on a vector of floats, chara... |
71dc93fb38adc4ee06e8ee51df249aa6b4c3c893 | 2da2406aff1f6318cba7453db555c7ed4d2ea0d3 | /inst/snippet/t-robust-qq-fig.R | 38eea306efa6ae3d1afc5a9e77896e1c2764f089 | [] | no_license | rpruim/fastR2 | 4efe9742f56fe7fcee0ede1c1ec1203abb312f34 | d0fe0464ea6a6258b2414e4fcd59166eaf3103f8 | refs/heads/main | 2022-05-05T23:24:55.024994 | 2022-03-15T23:06:08 | 2022-03-15T23:06:08 | 3,821,177 | 11 | 8 | null | null | null | null | UTF-8 | R | false | false | 894 | r | t-robust-qq-fig.R | ExpSims <-
expand.grid(n = c(10, 20, 40, 80), rep = 1:2000) %>%
group_by(n, rep) %>%
mutate(
pval = pval(t.test(rexp(n), mu = 1)),
dist = paste0("Exp(1); n=", n))
TSims <-
expand.grid(n = c(10, 20, 40, 80), rep = 1:2000) %>%
group_by(n, rep) %>%
mutate(
pval = pval(t.test(rt(n, df = 3), mu = 0... |
bc45048a3e14c3297df7d0891659708104cb5f37 | 43b52e0ed2e181cf907d7ddde64c680b67ab654f | /tests/testthat.R | 69844d7ed717de95221ddb0a053fb5071ca9af52 | [] | no_license | purplezippo/quantler | c37e79322fced31d14c66fac34a47322e3d67eb4 | 2e4a2afa24148899c9861930c06108fcddb3b4ff | refs/heads/master | 2021-01-01T20:18:25.550381 | 2019-04-03T16:13:17 | 2019-04-03T16:13:17 | 98,804,327 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 174 | r | testthat.R | library(testthat)
library(quantler)
test_check("quantler")
test_that('maxdrawdown returns a list of two elements',{
expect_equal(length(maxdrawdown(runif(20))), 2)
})
|
c562d080ee6cc624e4820fd7a984d736c4612fc4 | f81c7bce55dd6321908785c030e9928187eda2e4 | /run_analysis.R | f640e74524f5403f7e1b2be2e66e55ed11d1b617 | [] | no_license | vijeshm/CourseraGettingAndCleaningDataCourseProject | 43dc032db0be790f2b7962699f80195e775be83c | 0eda27d99a3b04767e4fe6b89ed472e62eb14fe4 | refs/heads/master | 2021-01-10T19:54:31.445382 | 2014-09-21T17:17:16 | 2014-09-21T17:17:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,817 | r | run_analysis.R | # Descrption: This script is used to clean the Samsung Galaxy S smartphone dataset on Human Activities like walking, sitting, standing, laying etc.
# Author: mv.vijesh@gmail.com
# Dated: 10th September, 2014
# Before running this script, make sure that your working directory is the root of Samsung dataset.
#Step 1 - ... |
768ec5f96b3329b98750027e10051be49b0b701e | 01d1ad3dc81f0c01ea6315c70175b2ac69d166fa | /Rcode/GJNodeStatsforTrain and Test.R | 255a81ec8212e167d48fe924994c48ddaf63bed0 | [] | no_license | estellad/Tree-of-Forests | 19133fa629647c1f5d567cef881ecb901b31f267 | 77ad278fe42eec32eaad5c9a0eb5a13ae9b63f64 | refs/heads/main | 2023-04-26T14:33:23.797371 | 2021-05-22T19:15:22 | 2021-05-22T19:15:22 | 300,429,412 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,033 | r | GJNodeStatsforTrain and Test.R | # Getting some Group 1 from Test set
# GENERAL SETTINGS
# require(tcltk)
# # Set the folder path for where the normal and cancer txt files are.
# ReturnVal <- tkmessageBox(title = "Step 1", message = "Please select the directory for the train set", icon = "info", type = "ok")
# direct1 <- tclvalue(tkchooseDirector... |
17e8aaed114251d144c67b37882bf9bc6e09f0cb | 04a7e4899d9aac6d1dbb0c37a4c45e5edb4f1612 | /R/sr-pdf.R | 7219cdf6f7e4cb6d9f069f40ddd1b67d4ee928ef | [
"MIT"
] | permissive | pbs-assess/csasdown | 796ac3b6d30396a10ba482dfd67ec157d7deadba | 85cc4dda03d6513c11350f7f607cce1cacb6bf6a | refs/heads/main | 2023-08-16T17:22:18.050497 | 2023-08-16T00:35:31 | 2023-08-16T00:35:31 | 136,674,837 | 47 | 18 | NOASSERTION | 2023-06-20T01:45:07 | 2018-06-08T23:31:16 | R | UTF-8 | R | false | false | 2,259 | r | sr-pdf.R | #' @rdname csas_pdf
#' @export
sr_pdf <- function(latex_engine = "pdflatex",
prepub = FALSE,
copy_sty = TRUE,
line_nums = FALSE,
line_nums_mod = 1,
draft_watermark = FALSE,
highlight = "tango",
... |
8b9c6d90168a0d6d904d57c8fb70209132b73a99 | a796bddefc36227fcf20c21b08509d02306266a1 | /R/12_summarize.R | 1122a871173ea61ac70668eed030b74d01c790f5 | [] | no_license | moodymudskipper/nakedpipe | 4ecfd51ba77f6ec82b116ca17bdb070c317ca39b | 03f128bd77402954ce155a4e6e8e2e8e3ce7f430 | refs/heads/master | 2023-04-04T13:07:39.032087 | 2023-03-23T03:04:07 | 2023-03-23T03:06:55 | 241,155,892 | 73 | 5 | null | null | null | null | UTF-8 | R | false | false | 4,451 | r | 12_summarize.R | # summarize ungrouped data
np_summarise <- function(.data, ..., env) {
exprs <- eval(substitute(alist(...)))
# expand, using `?`
names(exprs) <- allNames(exprs)
# set names for `=` expressions
for (i in seq_along(exprs)) {
if(has_equal(exprs[[i]])) {
names(exprs)[[i]] = as.character(exprs[[i]][[2]... |
6e024130a14dab30f068e432bd85cce1c589db00 | 3d2d38edafbf2f615b9b5263a39fb63865bc2dad | /main.r | 8742aab03eda005aed403e566e925950d6c70573 | [] | no_license | aa989190f363e46d/solarSfReader | 4f4ed17eb993da90845abc417aeceb2fad15646e | 17a88aba9b08e6b3c9c19f29c316e7a5cd7f4406 | refs/heads/master | 2021-01-19T10:57:38.550758 | 2014-10-01T13:22:27 | 2014-10-01T13:22:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 256 | r | main.r | library('digest') ## for sha256 from data file.
library('RSQLite')
library('bitops') ## for bitwise hashes XOR. binXor.
source('./storages.r')
source('./calculations.r')
source('./readSpc.r')
source('./manipulator.r')
Sys.setlocale('LC_ALL','C') |
ccc5af37f2a57203629ce82b4700da72f117da16 | 71dcb528bd7b0522130380fb4c2f4fc8a4b75ed9 | /R/all_mnread_param.R | 6e49e9b26aab8929ad52ed41b52767b859b03673 | [] | no_license | cran/mnreadR | 405c8ff6a3e5db5f77120d06d11840c9203c9abd | a431901056977d13676341f8e1c6471f4d0302ea | refs/heads/master | 2021-07-12T23:45:30.409039 | 2021-06-24T22:10:02 | 2021-06-24T22:10:02 | 98,470,195 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,405 | r | all_mnread_param.R | #----- mnreadParam ------
#######################--
#' Standard MNREAD parameters' estimation
#'
#' This function calculates simultaneously all four MNREAD parameters:
#' \itemize{
#' \item Maximum Reading Speed (MRS)
#' \item Critical Print Size (CPS)
#' \item Reading Acuity (RA)
#' \item Reading ACCessibili... |
f15fd4246ac4e1a423ab6bc82c06d0121ab94e2e | 71c70a7779f0fc12a7a42056704bf7b7005a17d9 | /Rescucitation_Vaupel_Yashin/res_nor.R | ee9a30fbc15286455d35b1cf2cec08a9b2d0aa86 | [] | no_license | jcletilei/Rescucitation_Vaupel_Yashin | 2ffe8fea2ed55d9ad68f9133bd9bddbfd4d268f4 | 32abaca65fc06e9876539a523743adc1b791ed02 | refs/heads/master | 2020-06-26T19:27:04.067900 | 2019-07-25T17:56:00 | 2019-07-25T17:56:00 | null | 0 | 0 | null | null | null | null | ISO-8859-10 | R | false | false | 65,658 | r | res_nor.R | library(MortalityLaws)
library(dplyr)
library(tidyr)
library(tidyverse)
library(lubridate)
library(plyr)
# Downloading some countries. We have to use the HMD codes
cntr <- c('SWE', "ITA","BEL","NOR","FIN",
"NOR", "CHE")
#reading in the life tables in single ages, by single-year periods
# females
... |
91b88e282b04e45727a4ed8004f8e4d32162751d | 38fbb4560f07db4f7436f09e9d929a5221f5ace8 | /wordcloud_ex.R | d236bea015bb24dea6526eeb044ae403d5ceb06d | [
"MIT"
] | permissive | Jeongryeon/ryun | 798ec921e2bccaba870cb62f6d57b6691e2ca240 | 736f78d082f4fefde1acedfe2433da924166b2ae | refs/heads/master | 2020-04-27T22:22:56.172428 | 2019-04-10T04:10:36 | 2019-04-10T04:10:36 | 174,734,991 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,298 | r | wordcloud_ex.R | install.packages("tuber")
install.packages("httpuv")
install.packages("dplyr")
install.packages("stringr")
install.packages("tibble")
install.packages("KoNLP")
install.packages("tm")
install.packages("wordcloud2")
install.packages("arules")
install.packages("igraph")
install.packages("combinat")
install.pack... |
c9f1a99e7f1ed12e1e89a1d1733a186f4a732f96 | 8b3ad0b9645fd35b739805c762adbaaa71b95be8 | /man/check_gene_filter1.Rd | 0e33ead733834d465d638d3061ffea9fd398c073 | [] | no_license | wikiselev/clustools | 51d33502e91fcca854664ebbfd1e20417f4e1b22 | 800d0bf479e2e4679f7d14264cd9e0e7f917b164 | refs/heads/master | 2021-01-10T02:20:14.157018 | 2016-01-21T11:07:20 | 2016-01-21T11:07:20 | 36,796,775 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,123 | rd | check_gene_filter1.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/machine-learning.R
\name{check_gene_filter1}
\alias{check_gene_filter1}
\title{Check the first filtering step.}
\usage{
check_gene_filter1(d, min.cells, max.cells, min.reads, n.dim)
}
\arguments{
\item{d}{Expression matrix with rows a... |
59de6940608002b4407093ea62d0ed85081009e0 | c4cb920902a96270eabe14349daada9269dad185 | /R/repository.R | 9a2a9208dfe6fa6c804f379d5341596d50bd5e35 | [] | no_license | ashbaldry/vstsr | d224187bde2f3694cb63ce8dd1bf5a3b535a54dd | 76111d35ddb7650eb6d602b6acc60f95925cbb03 | refs/heads/main | 2023-08-30T21:38:13.389355 | 2023-08-20T10:18:21 | 2023-08-20T10:18:21 | 117,109,966 | 4 | 2 | null | 2023-08-20T10:15:49 | 2018-01-11T14:19:14 | R | UTF-8 | R | false | false | 3,162 | r | repository.R | #' Azure DevOps Project Repositories
#'
#' @description
#' These functions will allow you to scrape project information from Azure DevOps.
#'
#' @details
#' For more information about repository API calls check
#' \url{https://docs.microsoft.com/en-us/rest/api/azure/devops/git}.
#'
#' @param domain The name of the Azur... |
c4bc903e44d212a0400641e18240722366eac1cf | c12b995bfa4db368286eddfacda70f0920e589e0 | /scRNAseq_mir29_targeting_signature_per_cluster.R | 93444d9d4853bf55d888a395faca48ecaf626028 | [] | no_license | hongyaz/mir29Project | b6ba1f7fff5246ba75f4be1c0f806fee1ed743a9 | ff8511810a7f1bcef3f80b9e43ebf8d055ced6db | refs/heads/main | 2023-04-11T19:03:08.033368 | 2021-09-15T00:27:15 | 2021-09-15T00:27:15 | 405,442,084 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,129 | r | scRNAseq_mir29_targeting_signature_per_cluster.R | # mir29ko is an Seurat object containing data from all 3 samples, generated in scRNAseq_harmony_integration.R
library(Seurat)
adult_ctrl = subset(mir29ko, subset = state == "Cre-")
adult_flox = subset(mir29ko, subset = state == "Cre+")
neo = subset(mir29ko, subset = state == "Neo")
actrl_norm = as.data.frame(as.matr... |
749ecc3a97b3519707b3602a5b13edc1a4fedaf4 | 07914bee98711467ea03263fdf2978aacda3a63a | /cachematrix.R | 2524cbd0e3827a18a880f65623946d9b2ce510d0 | [] | no_license | roger8144/ProgrammingAssignment2 | 5e0f202aee53b3905c851f6b3a4993735b5869e6 | d7f9864c477e9298f76dc172825332cbfe2b48fb | refs/heads/master | 2021-01-17T12:17:50.372712 | 2014-12-19T04:04:46 | 2014-12-19T04:04:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,501 | r | cachematrix.R | ## Coursera R Programming Assignment 2 - Lexial Scoping. Write an R functio
## that is able to cache potentially time consuming computations. Here, we
## cache the inverse of a matrix.
## The makeCacheMatrix function creates a special "matrix" that stores a
## matrix and cache its inverse. This object is really a li... |
0e6cfbaf18f86d5f702db69165b4c04c6a2da548 | 1bb196a4f1e7bd159b8c8ba54cdcdd1101fc1ca8 | /R/cor_mat.R | d3f9d75001658d317d4c61bc7bfd2cc99127bf2f | [] | no_license | slagtermaarten/maartenutils | c9cda2738ac0e4b449167e4e4da416bf1f99747d | 35771546f62389c3879158b0319c1e3295c9a870 | refs/heads/master | 2023-04-14T09:02:54.144968 | 2023-04-07T13:45:28 | 2023-04-07T13:45:56 | 104,318,595 | 0 | 1 | null | 2018-09-11T15:01:20 | 2017-09-21T07:56:35 | R | UTF-8 | R | false | false | 2,362 | r | cor_mat.R | get_lower_tri<-function(cormat){
cormat[upper.tri(cormat)] <- NA
return(cormat)
}
get_upper_tri <- function(cormat){
cormat[lower.tri(cormat)]<- NA
return(cormat)
}
reorder_cormat <- function(cormat){
cormat
dd <- as.dist((1-cormat)/2)
which(is.na(dd))
hc <- hclust(dd)
cormat <-cormat[hc$order, hc... |
68a46775ea4e39a625e957e08526449148ce15b8 | 0f0b5f45facc7619d3a6f6b15418a244cbc9711c | /REJECTION.R | ae4e7e369c0828cc37476010f79b184d5cd40a48 | [
"MIT"
] | permissive | aurielfournier/aurielfournier.github.io | fab8b6161b42688d9bec4e1753082bc3a83307ca | 15131ccdd7502bb02e08185a3584503ccc9f53f8 | refs/heads/master | 2023-08-11T01:32:56.934562 | 2023-08-04T15:30:21 | 2023-08-04T15:30:21 | 31,795,800 | 0 | 5 | null | null | null | null | UTF-8 | R | false | false | 8,130 | r | REJECTION.R | library(googlesheets4)
library(ggplot2)
library(cowplot)
library(RColorBrewer)
library(rgdal)
library(maptools)
library(tidyr)
library(dplyr)
library(grid)
library(auriel)
gs4_deauth()
dat <- read_sheet("https://docs.google.com/spreadsheets/d/1HyhVgsRINRbu6vRYJJzSe7omQOK_41jtqyZmvv_iXjE/edit?usp=sharing") %>%
filt... |
e95ca3b22ecf8807e1126aeb34d2747e0fec5f08 | 412d7ac8d78ee6eac43787b8a8f1883ebcffd6da | /R/4a2_hpin_nav.R | 526d30bd9fc63ea52d171580bdefb21a58aefc96 | [] | no_license | fhaertner/GeometricAnalysisDMs | 76669248c750ce7a919f545d046854c75d559140 | d0c23d650a3bfa7f695df94e04689c07b59e8a27 | refs/heads/master | 2020-03-10T02:02:20.435952 | 2019-03-12T21:05:32 | 2019-03-12T21:05:32 | 129,126,049 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,281 | r | 4a2_hpin_nav.R |
library(NetHypGeom)
library(dplyr)
load("../data/hPIN_150k.RData")
load("../data/coords_hPIN_150k.RData")
load("../data/protein_classes.RData")
epochs <- 100 #Number of experiments to run
st <- 500 #Number of source-target pairs
N <- vcount(hPIN) #Number of proteins in the network
#All TFs and Receptors
all.tf <- ... |
11449308675498282423bf5e892ca73649054667 | 753e449d707e106e6b345c222b7277ac8fc39858 | /Mapping spt.R | fa27028f72ddef04955aa26acd7364cd8b5d290d | [] | no_license | vamsikrishna97/IBMproject | 2fe4160d1baf234e03499efa36f6383c73f79be7 | 85e8ff1cd9ea01bb5af1868abde22047c55bcf1b | refs/heads/master | 2020-08-01T12:23:58.201243 | 2017-02-17T20:12:09 | 2017-02-17T20:12:09 | 73,575,782 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 785 | r | Mapping spt.R | q<-read.csv("StudentperT.csv")
q<-q[q$India..State..UTs!="India",]
for(i in 1:length(unique(q$India..State..UTs))){
q[q$India..State..UTs==unique(q$India..State..UTs)[i],"id"]<-i+1286
}
q.clean<-gather(q,Year,Number,3:12)
Type<-"Primary School"
ind.df<-join(indup.df,q.clean,by="id")
Mapper<- function(Type){
... |
81f5468f0f7a7f2c714e5a3f0fb00d5b277cb52e | 3f680c621d68cd817097e1a83915ceaead162e12 | /tests/testthat/test-approximatelyUninformative8.R | a2621ed47e35a6f51bc94e6ddc12ab416177564a | [] | no_license | rohan-shah/mpMap2 | 46273875750e7a564a17156f34439a4d93260d6c | c43bb51b348bdf6937e1b11298b9cdfe7a85e001 | refs/heads/master | 2021-05-23T20:34:59.327670 | 2020-07-19T10:24:09 | 2020-07-19T10:24:09 | 32,772,885 | 10 | 6 | null | null | null | null | UTF-8 | R | false | false | 2,292 | r | test-approximatelyUninformative8.R | context("uninformative 8-parent markers")
test_that("Check that the eight-parent uninformative marker combination gives an RF estimate of NA in the right cases",
{
testInfiniteSelfing <- function(pedigree)
{
pedigree@selfing <- "infinite"
map <- qtl::sim.map(len = 10, n.mar = 2, anchor.tel=TRUE, include.x=FA... |
a90018379446463e92943a4af1fa949ed98b8743 | 72d8202bea19a62e973ab035d1644c5737b93abf | /00-apply missing data and ordination.R | c62f2046de30ef2334d1a87b143ff99bfc365a49 | [] | no_license | Astahlke/MissingData_GEA | d35259933212cef6d49b57a5df5a3e2540fb83a4 | f30e3150783ccb3e31232e87350839669f8c0a95 | refs/heads/master | 2021-01-18T18:07:28.926059 | 2017-03-10T03:27:56 | 2017-03-10T03:27:56 | 84,361,022 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,162 | r | 00-apply missing data and ordination.R | ## This code will loop through all replicates for a set of 24 simulations for the discrete landscapes(H1sims, H5sims, H9sims) with 1 missing data input file. Keep the same file structure as when you download the files from Dryad (i.e. one folder per sim, and 10 replicate files in each folder named "R0.csv" to "R9.csv"... |
aca8657419566b539f9731f417f6437ab1b281fa | 1cd3929bdf604552846fbf6aa487800ce6115424 | /man/ker.eq.Rd | 921b8224b4c827087985651ed81807e1a810e930 | [] | no_license | cran/SNSequate | ef8b2ade5cfc458e02838a5b1e091cbb795ea506 | 16e0b6aee24a6737c9726ba0bfb054ad2a64e625 | refs/heads/master | 2023-01-12T04:36:19.272414 | 2022-12-20T16:30:09 | 2022-12-20T16:30:09 | 17,693,580 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,354 | rd | ker.eq.Rd | \name{ker.eq}
\alias{ker.eq}
\alias{ker.eq.default}
\title{The Kernel method of test equating}
\description{This function implements the kernel method of test equating as described in Holland and Thayer (1989),
and Von Davier et al. (2004). Nonstandard kernels others than the gaussian are available. Associated stan... |
f63ac8ce3dc0ffe760e42354682125cc0065e53f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/webshot/examples/resize.Rd.R | ce21b06631a687eaf9f9d8145b272a956ae7fc71 | [] | 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 | 377 | r | resize.Rd.R | library(webshot)
### Name: resize
### Title: Resize an image
### Aliases: resize
### ** Examples
if (interactive()) {
# Can be chained with webshot() or appshot()
webshot("https://www.r-project.org/", "r-small-1.png") %>%
resize("75%")
# Generate image that is 400 pixels wide
webshot("https://www.r-pro... |
18204cd6a21bdc1bd6fe6543b9c4a1d70771dec9 | 0441a11b7d74d68d17c67a023268c97afcbd4627 | /BAMSandAllen/rCode/PartialMantelTestsForNomenclature.r | 7756c16a7661bd3235f765dfd03361cfe1ada18c | [] | no_license | leonfrench/ABAMS | fbe847d8c4e21388ca9150ad55d2b4508883ebcf | a4d65e9c9a8a437db9326828ebe7bdaefd9a81ce | refs/heads/master | 2020-08-05T21:09:21.769589 | 2017-07-04T21:36:16 | 2017-07-04T21:36:16 | 7,511,456 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,415 | r | PartialMantelTestsForNomenclature.r | library(vegan)
library(mantel.correlog)
#### last ran from /grp/java/workspace/BAMSandAllen/data/rankedGenes/near final ammon/mantel.correlog
energies <- as.matrix(read.table("ConnectivityAndAllenPartialExpressionMatrixPair.NewEnergies.Correlation.txt"))
connections <- as.matrix(read.table("ConnectivityAndAllenPartial... |
b0826637677f5ac8397cc201474b08de3c316919 | 6bc11a98ae9ce811134ea764f20d1a3bd7bdc28e | /assignment 2.R | da62d91b88f8e52156c79b2a26c232e599440e8c | [] | no_license | prinzz1208/acad-DS-LinearRegression | cade5ffae6867dc52e0cbf214d834b15dff37b59 | 0715cebebbfdbe5b6ef6e8c9e4cb935989696975 | refs/heads/master | 2022-06-02T21:44:22.695882 | 2020-04-29T13:45:34 | 2020-04-29T13:45:34 | 255,600,668 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 905 | r | assignment 2.R | mdeaths2 = matrix(mdeaths,nrow = 6,ncol = 12)
colnames(mdeaths2) = month.abb
rownames(mdeaths2) = seq(1974,1979)
# VISUALIZATION OF DATASET
bar.color = c('maroon','red','orange','yellow','magenta','pink')
barplot((mdeaths2),ylim = c(0,4000),xlab = 'Month',ylab = 'Number of Deaths',col = bar.color,beside = TRUE,names.... |
b9d63f1596208830fd55e60f1d48a72abed2a057 | fa3bacaf97c83832b8a2baaf53cce3859c104f2c | /cachematrix.R | 2c5d795e79f0878f25721dcec24b5f93a168f7b6 | [] | no_license | css281/ProgrammingAssignment2 | 0f0df491722c29e62ab4f26a97d87335f01e779d | 6774ed96843d70451f0e1017b2186f83fb35529d | refs/heads/master | 2021-01-18T10:20:45.295934 | 2015-08-23T21:48:29 | 2015-08-23T21:48:29 | 41,223,776 | 0 | 0 | null | 2015-08-22T20:47:25 | 2015-08-22T20:47:24 | null | UTF-8 | R | false | false | 3,148 | r | cachematrix.R | ## Computionally intensive operations in R may potentially benefit from caching
## the result of processing input dataset. Retrieving result from cache avoids
## re-processing when the input is unchanged and the same operation is performed again.
## Performance benefits and resource usage optimization could be very s... |
3b93c451258c2bcc6b3f5481239757a1fb3c56ba | 17d4404e41c3f730912a446a596de59b0d3c50b1 | /R/diagnostics.R | cefc244ff390f6757f21627cda4d39365a88edbb | [] | no_license | JamesSul/analytics4managers | 453713a6181840d4bbe0bcf461884c4e28298a93 | 1e98a3b490b58492b9863d89410e66c5f53415e6 | refs/heads/master | 2020-04-29T11:48:25.732283 | 2019-03-20T00:42:09 | 2019-03-20T00:42:09 | 176,113,586 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,361 | r | diagnostics.R | # Hello, world!
#
# This is an example function named 'hello'
# which prints 'Hello, world!'.
#
# You can learn more about package authoring with RStudio at:
#
# http://r-pkgs.had.co.nz/
#
# Some useful keyboard shortcuts for package authoring:
#
# Build and Reload Package: 'Cmd + Shift + B'
# Check Package: ... |
7c98eb6003a1f2cb758db7aaa5a5730399680298 | 3a5fa834091a8fd9d9749fcd6cb2a0bfea46ac62 | /nearly_there.R | ce822e39984dbc302b0dc013ece038c823615f78 | [] | no_license | foundinblank/study1adults | 47100eb05ef9237ef452bb8e6e5497a6a17241e2 | 16239dbdb1a2b88678a072eb398a6d1a025c7d9c | refs/heads/master | 2022-08-03T17:41:14.491830 | 2020-05-23T12:11:23 | 2020-05-23T12:11:23 | 102,015,531 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,437 | r | nearly_there.R | # building a crqa loop
# Do averaged of fw bears
radius_fixed <- 34
embed_fixed <- 14
delay_fixed <- 117
target <- data_lists %>%
filter(name == "Adam" & story == "bears")
eye_y_target <- data_lists %>%
pull(eye_y) %>%
pluck(1)
rhand_y_target <- data_lists %>%
pull(rhand_y) %>%
pluck(1)
test_radius <- l... |
495707ae9d9122f51a3297d4313a6ca64b22f752 | 35d3e7eda3e80df5d1f7648091faa8cf8fe0c6c9 | /ui.R | ecab3f14212280abedb714393e647c8cbefe2ae2 | [] | no_license | aephidayatuloh/aida | af0ad3621dd77ff07ac81dfa3a3d76b634dddb59 | 240ebc7a106181c550f1e0f40d2d45d65ec1d4fa | refs/heads/master | 2021-09-10T07:09:04.645376 | 2018-03-22T04:42:23 | 2018-03-22T04:42:23 | 123,667,898 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,407 | r | ui.R | library(shiny)
library(shinyjs)
library(caret)
library(randomForest)
library(doSNOW)
library(ggplot2)
# library(RSQLite)
library(ROAuth)
library(twitteR)
library(stringr)
library(wordcloud2)
library(readr)
library(dplyr)
library(tidytext)
library(katadasaR)
source("TwitterAuth.R")
woeid <- read_csv(... |
0dd1c66945417819d54a1f348052a7b02ea6a15d | 836d7f80fc7a1a3af06da912ece15cf5c5faed4a | /pkg/GEARStools/R/ImageCollection.rasterEngine.R | e51c6444c552dc7265e53d476b6c56dba1567ca5 | [] | no_license | gearslaboratory/gearstools | 528c93cff9e42c7ada370c3c1070228aaead688c | 6fe38246d036ba54b496a03baf16bb5abe7b0083 | refs/heads/master | 2020-03-16T03:20:55.261482 | 2018-11-25T21:51:37 | 2018-11-25T21:51:37 | 132,485,668 | 0 | 4 | null | 2018-11-25T21:51:38 | 2018-05-07T16:09:53 | R | UTF-8 | R | false | false | 5,137 | r | ImageCollection.rasterEngine.R | #' @export
ImageCollection.rasterEngine <- function(
ImageCollection,
# rasterEngine stuff:
fun,args=NULL,
outdirectory,filesuffix, # Where to store files + suffix
chunk_format="data.frame",
blocksize=NULL,
# Image stuff:
retrieve_stack,
RasterStacks_names=NULL,
overwrite=F,
# Filter stuff:
fi... |
333c751984c1d335ed88247dec0924d9171b7cdc | 99c7b0f9c6882ea90b3960f144e80c4eb77159e3 | /23_pull_nominal_SNPs_for_Eric.R | e3b8eca4442885a34757a5e703ee6f7b87851d01 | [] | no_license | WheelerLab/ThePlatinumStudyGWAS | 8a5ca9edcad3aff0b0b6e0b4f228965f9b5fa36d | 44d341141a8193f01ad4e938012476997ea28b18 | refs/heads/master | 2021-01-22T17:33:35.864643 | 2016-07-07T15:07:54 | 2016-07-07T15:07:54 | 62,816,038 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,044 | r | 23_pull_nominal_SNPs_for_Eric.R | ##pull nominal SNPs (P<0.05) for Eric
library(dplyr)
library(tidyr)
library(ggplot2)
"%&%" = function(a,b) paste(a,b,sep="")
my.dir = "/Volumes/dolan-lab/hwheeler/ThePlatinumStudy/GWAS/GWAS_results/"
gwasfile <- my.dir %&% 'N88.imputed_rnGM412_age.cisp.10PCs_chr1-22.assoc.dosage.sorted'
gwas <- read.table(gwasfile,he... |
30195df10c9e2225f0e327ded2e185ad8c0c3c1d | 2a4b68a32d433e2005d65a856cb0b0ec610a98f9 | /man/GQ.Rd | 3c83674df8dec5e4a4527953260b6392fe28a9c8 | [] | no_license | cran/reports | ea418a523b13ff10bc83021a6cd4a3dbfc33689a | 503622c5d8b136e74ab6075e2bc3b7d3c1f20f80 | refs/heads/master | 2021-01-25T12:24:12.337179 | 2013-02-18T00:00:00 | 2013-02-18T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,270 | rd | GQ.Rd | \name{GQ}
\alias{GQ}
\title{Format Quotes}
\usage{
GQ(quotes = TRUE, block = TRUE, text = "clipboard",
copy2clip = TRUE)
}
\arguments{
\item{quotes}{logical or c(\code{l}, \code{r}, \code{L},
\code{R}, \code{left} or \code{right}). If \code{TRUE}
LaTeX style quotes (2 backticks and two single quo... |
b74984a9cbee3adff3c8b1a7b30939340213d76b | eff92f5dc6f811110609754e0accf176892b5af5 | /analysis/reconstruct_ancestral_ovary_morphology_type.R | b6eb930f189fd0a0a77bb9a0751e58fe547bee4b | [] | no_license | shchurch/insect_ovariole_number_evolution_2020 | 8c742a910e2d9e1ca233de8148f9f153559e15f1 | 22109637a1db53cbb06e3c64cda1f8773dc21d50 | refs/heads/master | 2023-06-18T23:06:42.385948 | 2021-07-08T17:27:42 | 2021-07-08T17:27:42 | 274,758,878 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,174 | r | reconstruct_ancestral_ovary_morphology_type.R | # This script was written by SHC in 2019.
# Its main purpose is to reconstruct the ancestral mode of oogenesis
library(OUwie)
library(corHMM)
library(parallel)
library(geiger)
set.seed(12345)
source("analysis/get_ovariole_number_data.R")
egg_database <- read.delim("analysis/datafiles/egg_database_final_values_July2019.... |
23a606a868e6374f2ceafda317c860b896ba63af | ce400939e11da3d17b10e800374c17bb947bae35 | /buildSvgrParseList/specialAttrs.R | a475f382f8433938d5f90fdcc23af6ed7633f819 | [] | no_license | mslegrand/ptRAceBldr | 255258dbede3e25cfbd595b7f50b9b11a9b68398 | 2c5d176e72efa158d78c22eefa0cadb926335681 | refs/heads/master | 2021-06-05T20:06:51.817158 | 2020-02-22T18:07:33 | 2020-02-22T18:07:33 | 103,204,581 | 0 | 0 | null | 2020-02-22T18:08:29 | 2017-09-12T01:02:16 | JavaScript | UTF-8 | R | false | false | 3,576 | r | specialAttrs.R | library(data.table)
library(XML)
if(!exists("requireTable")){ source("tableLoader.R") }
#source("specialTagHandlers.R")
# insertConditionalCode(ele.tag,attrsEle2Quote$filter, echoQuote, filterQuote),
# insertConditionalCode(ele.tag,attrsEle2Quote$fill, echoQuote, fillQuote),
# insertConditionalCode(ele.tag,attrsEle2Qu... |
0f53166b7d7179639a02582ca63b1210b5aebf91 | 539b3aff11d2fea161186a4726f26c0d2904c5e4 | /man/getWaterDataUrl.Rd | c4005a86d09d015c59d762c7e0d7350efd3f9e60 | [
"LicenseRef-scancode-warranty-disclaimer",
"CC0-1.0",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | ee-usgs/repgen | c7ba7ffcff84173f6e82a88d4e5f96c1b021feb0 | 6cf32d38d4bcb217af7f136053f04db4c6ad5362 | refs/heads/master | 2020-12-25T22:08:24.342632 | 2016-12-20T14:22:17 | 2016-12-20T14:22:17 | 59,049,412 | 0 | 0 | null | 2016-05-17T18:43:11 | 2016-05-17T18:43:11 | null | UTF-8 | R | false | true | 429 | rd | getWaterDataUrl.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-shared.R
\name{getWaterDataUrl}
\alias{getWaterDataUrl}
\title{Put the waterdata.usgs.gov url (if it exists) into the base of the report}
\usage{
getWaterDataUrl(data)
}
\arguments{
\item{data}{coming in to create a plot which may have ... |
f6f563863c276386c570f60e8847fe557c8b2967 | f8f1a2ca238fc61352ca21978516f5c996a6dfc4 | /R/AllGenerics.R | 4a9c9195f6758b1d1468da85f37db4f38063ecbe | [] | no_license | cran/portfolio | d53520af3b425d850c539bd6563496fa4caa0100 | 3b2b0ed0616e06d45116c245a390bd95ae6f027a | refs/heads/master | 2021-07-14T03:52:58.298908 | 2021-07-10T15:30:05 | 2021-07-10T15:30:05 | 17,698,678 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,685 | r | AllGenerics.R | ################################################################################
##
## $Id: AllGenerics.R 387 2007-01-10 04:14:02Z enos $
##
## All generic functions for the portfolio class.
##
################################################################################
if(!isGeneric("create"))
setGeneric("creat... |
9dd7c4bf00d1236843fb7873cfeedc7b902ddfdf | 282921fb2ddc8d6c49555e055c6271620dd9ed5f | /Getmeword.R | 35a68442f8813f80a9db778f3b26ac8e7ea2c0fc | [] | no_license | ElinorThorne/QA_Work | c109db5dca2040fff3b280c64e2b374361591e5b | a2b23bc03f2a7323064ba804dd59f83a4dc05da0 | refs/heads/master | 2021-01-17T18:01:53.738695 | 2017-06-27T09:37:40 | 2017-06-27T09:37:40 | 95,534,443 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 834 | r | Getmeword.R | ones <- function(a){
return(switch(a,"one ","two ","three ","four ","five ","six ","seven ","eight ","nine "))
}
teens <- function(a){
return(switch(a,"eleven ","twelve ","thirteen ","fourteen ","fifteen ", "sixteen ","seventeen ","eighteen ","nineteen "))
}
tens <- function(a){
return(switch(a,"te... |
b21543a1e9c4a17fa73ecefcd3201e5c65617315 | 6d8d9ce4c52349db43cbf4d854cfa91e5397b0c7 | /fullmat.R | 9b5321321e793f5dd09f78369e2d0ed4b5b521ad | [] | no_license | GissellaPineda/Tareas-Curso-BioinfInvRepro | e41d3f80139487337dafd427a23fae07b88bc382 | 769228736cd735cae65a55ae17ce9daad543c990 | refs/heads/master | 2021-01-13T00:02:39.936355 | 2017-05-17T20:43:32 | 2017-05-17T20:43:32 | 81,381,981 | 0 | 0 | null | 2017-04-05T02:43:59 | 2017-02-08T22:19:57 | null | UTF-8 | R | false | false | 2,702 | r | fullmat.R |
##Cargar un df llamada fullmat
fullmat <- read.delim (file = "../meta/maizteocintle_SNP50K_meta_extended.txt")
fullmat
##Que tipo de objeto se creó
class(fullmat)
##Como ver las 6 primeras lineas del archivo
fullmat[1:6,]
##Cuantas muestras hay
nrow(fullmat)
##De cuantos estados se tienen muestras?
levels (fullmat$Est... |
e3d6678e036e23c7d580afe4059f7ba7b54a951d | 9bdc98a92ba2f789c06107b0d1718180237bb929 | /mardham2/inst/analysis/mardhamAnalysis.R | 0dc4fd7ad288070f71fdb5dde6ef4fac318fbb5a | [] | no_license | dth2/CampAdol | ab68a1bb723c0a81fe60b1f4f891a9ad2d5fcf9a | ba4718bb01371d315f0e88aa5d10dfb5758c136f | refs/heads/master | 2021-01-12T09:53:11.176662 | 2017-09-21T21:39:46 | 2017-09-21T21:39:46 | 76,286,640 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,566 | r | mardhamAnalysis.R |
if(F) {
##############################################################
mean(mardham.sim.01a$atts.list[[520]]$vl[mardham.sim.01a$atts.list[[520]]$stage%in%"AF"])
mean(mardham.sim.01a$atts.list[[520]]$vl[mardham.sim.01a$atts.list[[520]]$stage%in%"AR"])
mean(mardham.sim.01a$atts.list[[520]]$vl[mardham.sim.01a$atts... |
57774fc3958da7f0b25ef14fa5c492e999793c45 | 967a0a9fc0868defc4c5eee1a1d805d9c006f90d | /plot4Rcode.R | f9ccb3cd356f10d10c36fd9b57d57f712eff8034 | [] | no_license | ormalik/EDAproject1 | 0c918fc7a919e888e12ad6df2b3379d985c1ac5e | 2bd4c0394bd1848fb33602165e123da4f17710e5 | refs/heads/master | 2021-01-15T17:45:52.645011 | 2014-11-09T16:26:23 | 2014-11-09T16:26:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,013 | r | plot4Rcode.R | ## plot4.png code
par(mfrow = c(2, 2), mar = c(14, 6, 2, 2), cex=.5)
plot(totime, power_data$Global_active_power, xaxt=NULL, xlab = "", ylab = "Global Active Power", type="n")
lines(totime, power_data$Global_active_power, type="S")
plot(totime, power_data$Voltage, xaxt=NULL, xlab = "datetime", ylab = "Voltage", type... |
b766aa89dcc3cf5f7b9a2e7fa025317bb4cbb42b | effdc0070dd900b61ffa37776e3c58c8d9aa090d | /Gehart2019.R | b77332769671f1901b52a1def199f5d6bb1e1c7a | [] | no_license | agranado/signaling-motifs | 734f7e7af28fe07361687a63e3fd7e950e0a7763 | b3da9e1779ffb7d748ff4a184525849993e3b955 | refs/heads/master | 2021-06-19T14:58:20.982956 | 2021-02-23T02:35:22 | 2021-02-23T02:35:22 | 164,530,664 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,026 | r | Gehart2019.R |
#library(Matrix)
library(Seurat)
library(data.table)
library(stringr)
rm(list=ls())
#data from intestine single cell rna seq
data.path = "/home/agranado/MEGA/Caltech/rnaseq/datasets/Gehart2019/GSE113561_RAW/rawcounts/"
files = paste(data.path,list.files(data.path),sep="")
f1<-fread(files[1])
gene.names.raw = f1[,1... |
ad1d667ecb1a46b3c92bb330108da91f9208e9af | d76e17939d1a18e6a1a272b8ea55cbe813ee1f58 | /UserMacros/TSHEQ_2ndEd_Programs_etc/Source_Programs/R/sgnrk.R | 65ce574f6b5ba3055af84d9897865870eab0a3db | [] | no_license | github-student-taker/sas_pgm | 60f6ad8476692001f73ee633a50e7db634bc3cca | 6a5662594a99d174ab610dc970b6f94bca5c9cf2 | refs/heads/added | 2021-01-21T14:01:06.502900 | 2016-01-25T08:11:46 | 2016-01-25T08:11:46 | 50,336,028 | 1 | 1 | null | 2016-05-31T00:51:15 | 2016-01-25T08:12:27 | SAS | UTF-8 | R | false | false | 1,034 | r | sgnrk.R | alpha <- 0.05
n <- 20
qpl1 <- 0.2398
qpl2 <- 0.7602
qplct <- (qpl1+qpl2)/2
eps <- (qpl2-qpl1)/2
d <- scan("<mydirectory>/Examples/ex5_4_sgnrk.raw",what=numeric(n),nlines=20,multi.line=TRUE,skip=0)
u <- 0
for (i in 1:(n-1))
for (j in (i+1):n)
u <- u + trunc(0.5*(sign(d[i]+d[j])+1))
zeta <- 0
for (i in 1:... |
35b0060fdc017a9c527253b4cd41d35316e5818b | 88225e53030787da384dab55e9ddf05ca97561ee | /man/get_surveys.Rd | 02edf423fee09746408e7ae1f668c69de67bffa6 | [
"MIT"
] | permissive | romainfrancois/coalitions | bb3faa2fa7ec4fbc3339fe232517533cd5743e7d | 7ba8f93ed4d72412ddb37d30764c551612d26840 | refs/heads/master | 2021-07-09T22:59:44.105391 | 2019-03-08T15:04:21 | 2019-03-08T15:04:21 | 178,819,390 | 0 | 0 | null | 2019-04-01T08:30:34 | 2019-04-01T08:30:33 | null | UTF-8 | R | false | true | 1,392 | rd | get_surveys.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scrapers.R, R/survey-helpers.R
\name{get_surveys}
\alias{get_surveys}
\alias{get_surveys_by}
\alias{get_surveys_nds}
\alias{get_latest}
\title{Scrape surveys from all pollsters}
\usage{
get_surveys(country = c("DE", "AT"))
get_surveys_by()
... |
13f893bf8993e9bba299ce82e8279bc20bc6f7f4 | 7088e3fae8303e45c1e18a2dcf41392cc249a05c | /man/addin.Rd | e6af9e35140f842a067d20257a035932ac428604 | [] | no_license | cran/autota | 1ae6b962eef6022ab4b48c2de8245a4705d5a4e6 | 214f69dbc4e22cd2c1e02562eb4c09942f93d746 | refs/heads/master | 2021-04-08T08:35:52.063450 | 2020-03-22T06:10:09 | 2020-03-22T06:10:09 | 248,758,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 410 | rd | addin.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/autota.R
\name{addin}
\alias{addin}
\title{Run the AutoTA RStudio addin.
You can either run this directly, or run it through the RStudio Addins menu.}
\usage{
addin()
}
\description{
Run the AutoTA RStudio addin.
You can either run this direc... |
799dd89886318e9e560253a85878c3f1d3b583ef | 5f75893cbd0755a2230d17dda2f0c3c9a9557740 | /draw_annotation_blocks.R | 07fb4c0f35b1c2f43d5c60a2314d386446b242ba | [] | no_license | wrf/genomeGTFtools | df94e3fe9ab9415c276b52d1baed9b665f33cae0 | 951069a9728541c44dd68542dcb785954deaa7a5 | refs/heads/master | 2023-08-16T09:03:04.962548 | 2023-08-15T14:23:29 | 2023-08-15T14:23:29 | 33,300,278 | 51 | 25 | null | 2023-01-07T16:52:55 | 2015-04-02T09:19:23 | Python | UTF-8 | R | false | false | 4,637 | r | draw_annotation_blocks.R | #!/usr/bin/env Rscript
# convert tabular annotation format to rectangle blocks
# or polygon blocks for single CDS genes, like bacteria
# last modified 2022-12-21
args = commandArgs(trailingOnly=TRUE)
inputfile = args[1]
#inputfile = "~/genomes/mnemiopsis_leidyi/ml0011_63k-88k_annot_short.tab"
#inputfile = "~/git/geno... |
dc3bb073c80da06c20542f99760014d2921f1cf7 | 2e3ec14a9cc530d88ca945855086fcd33a268136 | /man/getDNAClass.Rd | c855c1f9327f08b3d13a09440da1f8f33e240a84 | [
"WTFPL"
] | permissive | ritianjiang/RTFE | 569965601ed19e6f301384a26b85c5b7e0e82933 | 2e9de0849bb0989f1bef973b3ceb8a38f8c3c473 | refs/heads/master | 2021-07-05T21:36:21.365653 | 2020-08-04T10:32:33 | 2020-08-04T10:32:33 | 147,652,107 | 1 | 1 | WTFPL | 2020-01-24T01:00:05 | 2018-09-06T09:42:43 | R | UTF-8 | R | false | true | 407 | rd | getDNAClass.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PseKNC.R
\name{getDNAClass}
\alias{getDNAClass}
\title{getDNAClass}
\usage{
getDNAClass(nuc)
}
\arguments{
\item{nuc}{A character belongs to A/T/C/G}
}
\value{
A vector contains the 3 numeric values, only 0 or 1
}
\description{
The function r... |
76d7d811c94bf579911bd03cbb02ef83d7194936 | 0732340eadb6fbf63c4ca67d48e8ade7cbe8a464 | /functions/dates_and_times.R | 114b5077fdd31a00be8c210deff64e7501d038a5 | [] | no_license | gstewart12/delmarva-baywatch | 244410deec3c0c5149a806a1884aaa682633fd45 | eac5638514b974aab0e6f390bf1d5cb0cbafa886 | refs/heads/master | 2023-07-09T08:41:07.509024 | 2021-08-16T20:21:22 | 2021-08-16T20:21:22 | 254,463,133 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,746 | r | dates_and_times.R |
decimal_hour <- function(x) {
lubridate::hour(x) + lubridate::minute(x) / 60
}
add_time_comps <- function(data, timestamp = timestamp, offset = 900) {
timestamp <- rlang::enquo(timestamp)
id_along <- function(x) {
rle <- rle(as.vector(x))
rep(seq_along(rle$lengths), times = rle$lengths)
}
d... |
1fd96f96db2d388e9b749927c0f9a5ec2089fd2b | f71d0b16f3e1ed1137d2caa2460818a870d3b6e7 | /ContinuationReport/ConcordanceRate/PI-HAT_HETEROZYGOSITY.R | 7303c812ecf4dca47998db505e74dbc618838bee | [] | no_license | MTutino/PhD | 1bd049ad70f78bafee8f212ac5a8cbcdb4ef6205 | 5bf26e1479220fd1a7bdc307e4c550b73aa8524e | refs/heads/master | 2020-03-29T06:03:34.630341 | 2018-11-06T12:45:09 | 2018-11-06T12:45:09 | 149,607,024 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,995 | r | PI-HAT_HETEROZYGOSITY.R | library(tidyverse)
#Set working directory
setwd("B:/MauroTutino/ConcordanceRate/")
#Load IBD data
ibd<- read.table("ibd.genome", header=T)
#Make the plot
ggheatmap <- ggplot(ibd, aes(x=ibd$FID1, y=ibd$FID2, fill=ibd$PI_HAT)) +
geom_tile(color="white") +
scale_fill_gradient2(low = "blue", high = "red", mid = "wh... |
b26930c85feeee1851bb9dc80901f3873d6b0d43 | 8edf0521ebc0ca53ec618d6d220c47c851caaa71 | /man/SS_profile.Rd | 82d969c1d2bca15daf8d4bdb2e56f67da821b5f4 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | amart/r4ss | 9b730038ee4c4b6d38aaabe81b6ad9fddf0eb4f3 | fbccbace9a70e846401d32577aeab9f25cb31ba5 | refs/heads/master | 2021-01-17T06:03:03.172272 | 2020-10-04T01:38:14 | 2020-10-04T01:38:14 | 24,735,775 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 6,028 | rd | SS_profile.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SS_profile.R
\name{SS_profile}
\alias{SS_profile}
\title{Run a likelihood profile in Stock Synthesis.}
\usage{
SS_profile(
dir = "C:/myfiles/mymodels/myrun/",
masterctlfile = "control.ss_new",
newctlfile = "control_modified.ss",
linen... |
e2839b6cefa37a92145aa58e091b7050eff38918 | 08c4885facb8a0a40a995eaf989c6252fb8350b0 | /man/create_transmod_params.Rd | dc49c726e1e56e8ded9ad14bc4286c5827108064 | [] | no_license | InnovationValueInitiative/IVI-NSCLC | a1aeefb23113fe88b578e1023d21fbf0a6488254 | bafd1faa8b1887b91cd42af00b43cd5b41ee53cf | refs/heads/master | 2020-03-24T08:23:52.095148 | 2019-07-23T04:21:11 | 2019-07-23T04:21:11 | 142,594,493 | 14 | 14 | null | 2019-07-23T04:21:12 | 2018-07-27T15:29:57 | R | UTF-8 | R | false | true | 1,770 | rd | create_transmod_params.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/transmod.R
\name{create_transmod_params}
\alias{create_transmod_params}
\title{Parameters for transition model}
\usage{
create_transmod_params(n = 100, data,
params_mstate_nma = iviNSCLC::params_mstate_nma, check_covs = FALSE,
covs = NULL... |
7eceb0e38dc683f8173387b0ac982d929640c484 | 37b8b20c14dec7fa435f7b05c18185e57d0dd38a | /example_bayesm.R | 84468eefa5f5fd979914fe44dd629cdf1313359c | [
"MIT"
] | permissive | 01shruti/R_Progams | b3737a086c6a72425794166eec1b003079fcd390 | df6cfe2acb61e5815e01157fa87a3d598339b533 | refs/heads/master | 2021-03-19T16:21:03.432524 | 2018-02-26T14:34:20 | 2018-02-26T14:34:20 | 81,755,903 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,668 | r | example_bayesm.R | install.packages("mlogit")
library(mlogit)
data("Electricity", package = "mlogit")
Electr <- mlogit.data(Electricity, id="id", choice="choice",
varying=3:26, shape="wide", sep="")
Elec.mxl <- mlogit(choice~pf+cl+loc+wk+tod+seas|0, Electr,
rpar=c(pf='n', cl='n', loc='n', wk='n', ... |
c4f72aadb550d3c1306c56aeae8bee90b1206569 | a66e9e10a8d2d8919615009054cbe40c560930cc | /man/rel_states.Rd | 2ba783b850aaeb2fb1915344c1cee9ef8ba5b951 | [] | no_license | skranz/RelationalContracts | 91035b5ae6ce0d5804688da1b98655c84fdb15a2 | e29d080e8bfff5d9033f9b0f8b86ff5e002c6369 | refs/heads/master | 2021-06-14T17:48:23.383867 | 2021-03-05T13:27:25 | 2021-03-05T13:27:25 | 161,347,415 | 4 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,149 | rd | rel_states.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/relhold.R
\name{rel_states}
\alias{rel_states}
\alias{rel_state}
\title{Add one or multiple states. Allows to specify action spaces, payoffs and state transitions via functions}
\usage{
rel_states(
g,
x,
A1 = NULL,
A2 = NULL,
pi1,
... |
5f193733ddc58355d6bf2deb203782360f16a579 | 7f04f1db9801f0c5dbe26c854412b4537ea26961 | /R/barplot_fixed.r | 3733affabc972d3cc114d2f571e3edf35c73c87e | [] | no_license | guilhermesena1/abismal_benchmark | 5037d6501600cf01811da65e3ad9a00c7c8e8fa7 | e1f3735c9fb4e49da51d4a99219847f862b41a8d | refs/heads/master | 2023-04-14T14:28:11.511423 | 2021-09-01T01:42:17 | 2021-09-01T01:42:17 | 311,887,623 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,210 | r | barplot_fixed.r | barplot.default <- function (height, width = 1, space = NULL, names.arg = NULL,
legend.text = NULL, beside = FALSE, horiz = FALSE, density = NULL,
angle = 45, col = NULL, border = par("fg"), main = NULL,
sub = NULL, xlab = NULL, ylab = NULL, xlim = NULL, ylim = NULL,
xpd = TRUE, log = "", axes = TRU... |
59a73162c1ee4fdb489958ead4733b51b31cf7c5 | 746610d7fe75e163cf9344622cbec7ebdad29355 | /Plot4.R | dbe1607046e879498f0101217106573e3de03ea6 | [] | no_license | LeonardoSanna/Exploratory-Data-Analysis-Final-Project | af53dfd21ffadd18b35b7507a4cd10e47ba7981e | ce4bd86e32475fcdaf90811bd38ceb7d8a12e553 | refs/heads/master | 2022-06-18T11:26:29.659865 | 2020-05-08T22:53:24 | 2020-05-08T22:53:24 | 262,367,860 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 876 | r | Plot4.R | library(dplyr)
library(ggplot2)
#download file and unzip file
data_source <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip"
file <- "exploratory-final.zip"
download.file(data_source, destfile = file)
dataset <- unzip(file)
source <- readRDS("Source_Classification_Code.rds")
summary <- readRDS("s... |
04d799f3908342bbd6a797735819a02f20d02335 | ff1ef9ad06dc81de72ac27c95d4142fb921eeb96 | /man/glob_obs_vec.Rd | 0b2b85a11e00bdb7d2c76b5c54c05cbad0a9e4b5 | [
"MIT"
] | permissive | be-green/fqr | 03b83f077644c2d1ea00209eea7eca68dacb9068 | 5ecbb91610be80d3bcc1bb8264c62b9985e4032a | refs/heads/main | 2023-08-02T03:06:32.988501 | 2021-10-02T15:29:08 | 2021-10-02T15:29:08 | 367,083,805 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 431 | rd | glob_obs_vec.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{glob_obs_vec}
\alias{glob_obs_vec}
\title{Glob observations w/ residuals above a certain magnitude}
\usage{
glob_obs_vec(y, r, thresh)
}
\arguments{
\item{y}{design matrix}
\item{r}{vector of residuals}
\item{thresh}{thr... |
67aa4ee8d155f0a73b6d41751673ed5048a60c2d | 5b035c7fad4414d89d8a57d3840c4ee1cbb2d837 | /src/field_data_plots.R | 86994bd25d9136a1deb6cf5ef8b520b11423fba6 | [] | no_license | jbukoski/thailand_mangroves | 00a98330a454e65c40ad969d63de9d05543bc2d8 | 88ba36be229fab128f4c05c8479abe79cd720c38 | refs/heads/master | 2021-04-06T08:51:20.386494 | 2018-12-22T09:48:25 | 2018-12-22T09:48:25 | 124,941,309 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,794 | r | field_data_plots.R | # R file to generate plots corresponding to forest structure and C stocks
library(tidyverse)
library(ggthemes)
library(gridExtra)
# Specify data directory
data_dir <- "/home/jbukoski/research/data/thailand_stocks/output/"
#----------------------------------------------------
# Read in data summaries to plot
c_sum... |
821929e639cc022b2a09b04dbf064b31db98c7fe | 5a5da8fd1b51f17c5a20c6002b7993dbe61a55b3 | /man/tnf_train.Rd | 07e938f6e9af0f05d2c5de054186b0894fc0397f | [] | no_license | news-r/decipher | 5c03ef30a8d58a5bdd7388a9b05e02cb10b0b3d8 | eb002682d761368301f52e19f8cb87cc864c1468 | refs/heads/master | 2020-04-05T00:45:18.260373 | 2019-07-16T20:33:37 | 2019-07-16T20:33:37 | 156,409,227 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,936 | rd | tnf_train.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/TokenNameFinder.R
\name{tnf_train_}
\alias{tnf_train_}
\alias{tnf_train}
\title{Train name finder model}
\usage{
tnf_train_(model, lang, data, feature.gen = NULL, name.types = NULL,
sequence.codec = NULL, factory = NULL, resources = NULL,
... |
90e3be8ee7f6a8fc0b49e6e91ecb27db594387c3 | 56b8468245923e5d648e5e254266d8945fe1dbfa | /simulation/SimpleTest3 Time complexity of Optimal Partitioning and PELT.R | 442fbe1c69e44c7d6ec02fe43d8d4e64ee766d90 | [] | no_license | lpishchagina/OptPartitioning2D | 4c2e71d66001690b6ca3f0016c16a7c3e2d78d27 | 25f15670b6bff2a2f2f104d2b8989c66fcdecf03 | refs/heads/master | 2023-02-28T03:10:39.450800 | 2021-02-07T12:33:04 | 2021-02-07T12:33:04 | 332,521,131 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,653 | r | SimpleTest3 Time complexity of Optimal Partitioning and PELT.R | #Time complexity. Optimal Partitioning and PELT algorithms
devtools::install_github("lpishchagina/OptPartitioning2D")
library(OptPartitioning2D)
#Function OneStep returns the execution time of a given algorithm
OneStep <- function(data1, data2, penalty, type, func = "OptPart2D")
{
if(type == "null"){t <- system.... |
3a9a315ab5601bab36fe5f4292c2100e3f3f71f9 | b696aa649115006e6ddc561c29c15d1f6c6e52a2 | /R/survparamsim-methods.R | 2f361a90ad773069e801dc095a6f5d9606babe14 | [] | no_license | yoshidk6/survParamSim | b120278626829e62a8045d0fda21027ee1998a2b | 5a5adc9fd14369a4417bf463504ccce4dc20c7c7 | refs/heads/master | 2023-05-26T23:29:37.392001 | 2023-05-24T01:49:10 | 2023-05-24T01:49:10 | 200,903,829 | 3 | 0 | null | 2023-03-01T20:02:28 | 2019-08-06T18:26:57 | R | UTF-8 | R | false | false | 857 | r | survparamsim-methods.R | #' Methods for S3 objects in the package
#'
#' @name survparamsim-methods
#'
NULL
#' @rdname survparamsim-methods
#' @export
#' @param x An object of the corresponding class
#' @param object An object of the corresponding class
#' @param ... Additional arguments passed to methods.
print.survparamsim <- function(x, ..... |
24aeb50d53ce8fb059a0fd909ac84f12f238ee4a | 253898851acec35165e39d80808e4ea948d65d47 | /man/clean_tweets.Rd | 6ec84de04e094107697095113e8e6caaad686b89 | [] | no_license | rturn/parseTweetFiles | 486b4ecff7299b54d58d417a683a20861418c35e | c0922ccf2a8efc6370dfacfa1fbc2ad56e2331e1 | refs/heads/master | 2023-07-21T12:46:48.596085 | 2023-07-14T18:46:46 | 2023-07-14T18:46:46 | 36,214,329 | 7 | 2 | null | 2015-10-14T00:49:00 | 2015-05-25T06:33:46 | R | UTF-8 | R | false | false | 1,091 | rd | clean_tweets.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/parseTweetFiles.R
\name{clean_tweets}
\alias{clean_tweets}
\title{Cleans tweet data frames}
\usage{
clean_tweets(tweets.df, tz = NULL, stoplist = NULL)
}
\arguments{
\item{tweets.df}{An array of tweets with desired variables attached.... |
d801ba4cf1aceb09242713f468adb47e5605efa3 | 96766930ae6925c441e86939cee456f56a856ef2 | /01_weather_stations/17_reformat_pnud.R | 97ecf14de729f8b52b7058c829308cc7ee903008 | [] | no_license | CIAT-DAPA/usaid_hnd | 1dfb92736dbbfe0a5bf1723b7094d4fe3a3e9e65 | 6c35057a79695863f8c13effdc2ff33660ca6436 | refs/heads/master | 2021-07-17T20:32:41.923436 | 2021-03-01T14:45:46 | 2021-03-01T14:45:46 | 85,354,515 | 2 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 1,570 | r | 17_reformat_pnud.R | library(dplyr)
inDir = "C:/Users/lllanos/Desktop/all plot/monthly"
files_all = list.files(inDir, full.names = T, pattern = ".csv")
data_station= read.csv(files_all[1],header = T)
variable = substring(basename(files_all),1,4)
entidad = strsplit(basename(files_all),"_") %>% lapply(., `[[`, 3) %>% unlist %>% strsplit(.,"... |
c168955d6c51ba19a4aba01666ff1092e492ad02 | 232f6430d39404d86262c238a2bff55b797ebf59 | /AbaloneAgeclassification/newvar8class.R | c1a44e6783aade5ef53ac0151a828573b504aebc | [] | no_license | rahuvela/Projects | cbbdbe9c7c18d003d850a2d4d3dbf9c35cc3704e | a501f88b9e672d205ebbad7a9c4bc64556b6e309 | refs/heads/master | 2021-01-19T21:06:17.847603 | 2018-06-27T13:53:37 | 2018-06-27T13:53:37 | 101,244,933 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,562 | r | newvar8class.R | library(party)
library(randomForest)
library(Boruta)
library(caret)
library(rpart)
library(e1071)
abalone.cols = c("sex", "length", "diameter", "height", "whole weight", "shucked weight", "viscera weight", "shell weight", "rings");
url <- 'http://archive.ics.uci.edu/ml/machine-learning-databases/abalone/abalone.data'... |
39f6556dbcbec549764ac920e819bfc7be505716 | f67a72538b78724ec8906e1f2df643a97f85c4db | /run_analysis.R | f4678ee64fdd850c5909eb4d4fb8f792e03e9431 | [] | no_license | mohsenarabgol/GettingCleaningData | ddc6a91b95c641914c229df7a0f14b8d4f3d8e32 | 4fd227c935cb35e4ee316ac95c8b5a10c6a9c3cb | refs/heads/master | 2021-01-17T06:43:12.811108 | 2016-05-17T17:23:56 | 2016-05-17T17:23:56 | 58,880,062 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,963 | r | run_analysis.R | ##Reading the features and activity labels
features<-readLines("features.txt")
activity<-readLines("activity_labels.txt")
for (i in 1:length(features)){
features[i]<-unlist(strsplit(features[i], " "))[2]
}
##Reading and organizing the train data
X_train<-readLines("train/X_train.txt")
y_train<-readLines("train/y_t... |
49077493e434d372d3158205f6a14d8aeb01f89a | 3e1ceb11aee60a97fe51086ec887407a2159ee90 | /Lecture3/Lecture3.r | 3d8ca7db8adb55a577916253927efc0674cc5fce | [] | no_license | lvwarren/R | f1e5e8e3303de11d945c12828aad320d827e1f8c | 8c0c327a9be942d229f237f3a6f48ec3c1ed73f6 | refs/heads/master | 2020-12-28T14:50:00.681346 | 2020-02-05T06:01:50 | 2020-02-05T06:01:50 | 238,376,916 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,157 | r | Lecture3.r | # name value pairs like Python dictionary
# List allwos for different datatypes, character, numeric and logical
# Can have list of lists for database.
# vector would coerce evertying into same datum type
j = list(name="joe", salary=55000, union=T)
j
# component names are called tags
j$sal # can abbreviate to wha... |
7f9ea0e396108bf48bdfdcf8dde16995ab923866 | bf6e6d9a51776287e03c531d122e83287617cdfb | /labsimplex.Rcheck/00_pkg_src/labsimplex/R/adjustVertex.R | 7f4c316874923b9b056ae0094f8ce74647ab3d85 | [] | no_license | Crparedes/labsimplex | 2ec465947373e7fffabeaf469354e61eaef1e07c | 8228dd1ac6adfe9a4da42c59bb3c2b9ba1c63046 | refs/heads/master | 2021-09-27T03:48:09.634111 | 2021-09-22T14:22:18 | 2021-09-22T14:22:18 | 179,175,356 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,339 | r | adjustVertex.R | #' Modify given coordinates of given vertices of a simplex
#'
#' Changes the coordinates of generated vertices when slightly differences
#' were impossible to avoid at the moment of setting the experiment
#' (e.g. small differences in mass components when preparing a mixture).
#'
#'
#' @param newcoords List with eleme... |
83583cd53250b7e661f8946bd49b28a35c7c86c8 | ddbc421408e76f182518f36430e17468997a128b | /man/IdentifyIndelSignatures.Rd | 273068e253673b74d07a201e8f44a7ff6475cf97 | [] | no_license | Honglab-Research/MutaliskR | 25b9f05a7b93bb2d7d6e352065aacb9788c9adf4 | 9a4393b38489d2220068448861b02555dc6323be | refs/heads/main | 2023-04-05T05:04:49.239648 | 2021-03-30T06:44:07 | 2021-03-30T06:44:07 | 351,077,262 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,090 | rd | IdentifyIndelSignatures.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/main.R
\name{IdentifyIndelSignatures}
\alias{IdentifyIndelSignatures}
\title{Identify indel mutational signatures}
\usage{
IdentifyIndelSignatures(
input,
bsg,
sample.id = "Sample",
reference = GetPcawgIndelSignaturesData(version = "S... |
b6e6e8bcbfe53a95023209e3dbce9cac9f2b48ef | 816247c509847002300485ff792778d607a7c119 | /man/gen_cambio_futuro.Rd | 936298602a5a26ebf1453ed8fd1acc02e0e8089b | [] | no_license | mgaldino/line4PPPsim | 93d93c593e22583e4d00df5371d4b93c9850c2cd | a026c6d5f83ffc25712eb3b6f11d13a7f530c98e | refs/heads/master | 2020-04-02T02:29:55.803353 | 2019-02-11T15:28:31 | 2019-02-11T15:28:31 | 153,912,413 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 566 | rd | gen_cambio_futuro.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gen_cambio_futuro.R
\name{gen_cambio_futuro}
\alias{gen_cambio_futuro}
\title{Taxa de cambio futura}
\usage{
gen_cambio_futuro(start_year = 2005, amp_erro = 2, mu = 0)
}
\arguments{
\item{start_year}{A number. the year the series starts}
\it... |
cd580216897df5ffc3deaebdb00db03530c1b50c | 1f02b3d83bbdfb02a92fee402e2db63f446cf413 | /OLD/OLD IGNORE.R | 61304a6370000bcc681a2ed5e404aca8cdb10f6e | [] | no_license | gberg1303/goldbeRg | ec9f62817fcc71b84864d56d8d0a4d26068c3379 | ec5c662f19a2fdd4e5cec0fb6ec318cba0402eeb | refs/heads/master | 2023-04-03T03:40:05.153150 | 2021-04-08T22:38:39 | 2021-04-08T22:38:39 | 283,044,058 | 7 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,123 | r | OLD IGNORE.R | ### OLD Playoffs
dplyr::group_by(division) %>%
dplyr::mutate(
division_rank = rank(-wins, ties.method = "random"),
division_winner = ifelse(division_rank == 1, 1, 0)) %>%
dplyr::group_by(conference, division_winner) %>%
dplyr::mutate(
rest_conference_rank = rank(-wins, ties.method = "random")) %>%
d... |
c07ae77fe76f4db3fb0ddd79d54754ff5c16f408 | 2285ca4bcd0e51d8723a60ec0799558558c3bd98 | /Week4/Hypothesis_testing_demo.R | 5650b593bc2344ad18b85b353275308e8072fc6c | [] | no_license | ssj1739/BSRP2020 | 322876b1632d06717f188ca1022c5aab352c2bab | 767f0d19d11526fab84130adbcc68c57b1261d7a | refs/heads/master | 2022-11-26T06:54:06.328803 | 2020-08-06T18:20:22 | 2020-08-06T18:20:22 | 283,871,281 | 0 | 1 | null | 2020-08-06T18:10:38 | 2020-07-30T20:33:25 | R | UTF-8 | R | false | false | 5,794 | r | Hypothesis_testing_demo.R | #STATISTICS AND HYPOTHESIS TESTING DEMO
#Motivation: What is a population? What is a sample? Why might a sample not be the "same" as the population?
#suppose that you are doing a study on sepal length measurements of iris plants in Boston
#what is a population distribution?
iris_population <- iris
dim(iris_populatio... |
674af00655cccb8f248f2bcf9fe1870433e193f1 | 5b9be397239dfb3383313d86be9b806792377f8a | /helperFunctions/NearestStdRuns.R | ff422e44ada050c3c4abe12c2b12630ab08307fc | [] | no_license | jgiacomo/AMSanalysis | f20df8698906618c1d224932db5d22ba1893e1b1 | 3efb11c404fe10a265dac5bc8c92d39546359712 | refs/heads/master | 2020-05-21T13:48:58.332486 | 2019-09-01T12:29:49 | 2019-09-01T12:29:49 | 61,062,731 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,615 | r | NearestStdRuns.R | NearestStdRuns <- function(df, Run, standardPos, n=6){
# Finds standard runs (from the list of standards) which are nearest in time
# to the unknown's run. The number of standard runs found is determined by
# n.
# Inputs
# df = data frame containing AMS run data
# run = the run numb... |
080d090cc8b7811c1712a0eb7d6d89c93166b820 | e8c93f0897c372b73be474041b8ec209605595d0 | /runMe.R | 17f531e5d712db3c754823e06ba6427cda5d4e25 | [] | no_license | lixun910/smacof | 94c5177cd84ad6ab2716c304e3dfbc1eec343abd | dbac961f87ee9697837a4b7e3a1cdfd26916e97c | refs/heads/main | 2023-02-24T00:08:53.871955 | 2021-01-27T22:10:03 | 2021-01-27T22:10:03 | 333,573,964 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 657 | r | runMe.R | dyn.load("smacof.so")
source("smacofR.R")
source("smacofRC.R")
source("utilsRC.R")
m <- 100
n <- 50
wv <- dv <- rep (1, n * (n - 1) / 2)
wm <- dm <- 1 - diag (n)
set.seed(12345)
user1 <- rep(0, m)
user2 <- rep(0, m)
user3 <- rep(0, m)
for (j in 1:m) {
xold <- rnorm(2*n)
t1 <- system.time(h1 <- smacofR(wm, dm, 2, ... |
f815ccced99696412587106a35563fc9211a009c | b4b5a5998f2fecc590a5df4026c0d12d83d46cf7 | /_examples/earthquakes.R | 4ab97441b5ac8e88a254fa7c59ed791b34580275 | [
"MIT",
"BSD-3-Clause"
] | permissive | crazycapivara/deckgl | 50335a155c99307e40b21b2f82561f3cf15afb17 | 1741c8bc84d69e26694d670879911a0d2bb2c5c2 | refs/heads/master | 2023-04-03T06:19:35.377655 | 2023-03-26T10:46:36 | 2023-03-26T10:46:36 | 145,043,708 | 83 | 10 | NOASSERTION | 2023-03-26T10:46:41 | 2018-08-16T22:07:48 | R | UTF-8 | R | false | false | 557 | r | earthquakes.R | library(sf)
library(deckgl)
url <- "https://docs.mapbox.com/mapbox-gl-js/assets/significant-earthquakes-2015.geojson"
earthquakes <- st_read(url) %>%
dplyr::select(mag, geometry)
deckgl(
latitude = 20.7927,
longitude = 31.4606,
zoom = 0.5
) %>%
add_scatterplot_layer(
data = earthquakes,
get_position... |
d1cc568872b442cb832868d5e25b9beb93930451 | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/gtkToolbarSetOrientation.Rd | c7f5fbb3f3869a527305fe112cbbcb94ee0719ae | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 624 | rd | gtkToolbarSetOrientation.Rd | \alias{gtkToolbarSetOrientation}
\name{gtkToolbarSetOrientation}
\title{gtkToolbarSetOrientation}
\description{
Sets whether a toolbar should appear horizontally or vertically.
\strong{WARNING: \code{gtk_toolbar_set_orientation} has been deprecated since version 2.16 and should not be used in newly-written code. Use \c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.