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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1c14501d3441074ccd1a6440e004dda16fa07704 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/DiceDesign/examples/rss3d.Rd.R | 159b01f8c53755c23f930eb79d98a3728b5a502e | [] | 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,400 | r | rss3d.Rd.R | library(DiceDesign)
### Name: rss3d
### Title: 3D graphical tool for defect detection of Space-Filling Designs.
### Aliases: rss3d
### Keywords: design
### ** Examples
# An orthogonal array in 3D
data(OA131)
# centering the design points of this 7-levels design
OA <- (OA131 + 0.5)/7
# 2D projections onto co... |
b4745d7befda99af7cbcfa13abab8d62e496a1ef | ce53531f6eaf4c087122289774872b425d772d06 | /man/mixomics_splsda_optimize.Rd | 64a2eadbc00e7bc784945cec8b6ae261be1f5986 | [
"MIT"
] | permissive | antonvsdata/amp | bf449a87c162b2093c88cf8b49333a92ee631076 | b2999f2741c260fd7752ab8818e1b6d17b522971 | refs/heads/master | 2020-05-01T14:44:04.961091 | 2020-01-07T11:41:12 | 2020-01-07T11:41:12 | 177,528,217 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,219 | rd | mixomics_splsda_optimize.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multivariate.R
\name{mixomics_splsda_optimize}
\alias{mixomics_splsda_optimize}
\title{sPLS-DA}
\usage{
mixomics_splsda_optimize(object, y, ncomp_max, dist, n_features = c(1:10,
seq(20, 300, 10)), ...)
}
\arguments{
\item{object}{... |
4a7dade954b8b38af447e099ef218634d7b2c2f6 | ea3435d66f8cbebb4a46981386f5afe3b67e4d00 | /R/guess-datetime-format.R | c5235b1412b08599d9d96c59e3b2636168068a20 | [] | no_license | ramnathv/intellidate | 0ae1eb4c4514513a9af91b6dc7eec56bdbe00641 | 497df967e67d7f691721b162fe169503abc21519 | refs/heads/master | 2020-06-02T05:13:47.819698 | 2011-12-15T15:04:42 | 2011-12-15T15:04:42 | 2,976,112 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 688 | r | guess-datetime-format.R | #' Guess strptime format of a date time string
#'
#' @param string date time string whose format is to be guessed
#' @return a string consisting of strptime tokens
#' @export
guess_datetime_format <- function(string, default = 'mdy'){
# SPLIT: at the time string
strings <- split_datetime_string(string)
# APPL... |
225d66774dacc2bd91ac3ad4ceca36d74322ba99 | 9b2d67e2ce7bc6a2bd267ea3f01bc9960b156ec8 | /EXERCICE.R | fb09140e40798b7f27f3668ad7c3af12eddf59ce | [] | no_license | Reda066/DataVisualisation | 52ab1e70b88b84b39c82fa0f5670d03d30bafb95 | ca8fb99d4fa3b03d2384994021d090fa8c602108 | refs/heads/main | 2023-01-07T08:50:09.927238 | 2020-11-10T09:32:03 | 2020-11-10T09:32:03 | 311,599,768 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,384 | r | EXERCICE.R | install.packages("readr")
library(readr)
install.packages("tibble")
library(tibble)
install.packages("dplyr")
library(dplyr)
install.packages("tidyr")
library(tidyr)
install.packages("stringr")
library(stringr)
install.packages("ggplot2")
library(ggplot2)
install.packages("scales")
library(scales)
round_2 <- rea... |
82c1cfecc98adffc681bd7f099ed0a63bca3ed38 | a75fbd8055c551645a94d7500d60b7537effbd4f | /man/post_pred.Rd | 860daa1361922a36cae9c447256f144400e82a26 | [] | no_license | schmettow/bayr | ee8d99188d7910ea2487a462a09b83c4bcfc47d2 | 8190009a00490cd9429eb356635ae293d71e9145 | refs/heads/master | 2023-03-08T20:49:42.073479 | 2023-02-27T12:02:02 | 2023-02-27T12:02:02 | 53,658,287 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,394 | rd | post_pred.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/markup_helpers.R, R/postpred_extraction.R
\name{print.tbl_post_pred}
\alias{print.tbl_post_pred}
\alias{print.tbl_predicted}
\alias{knit_print.tbl_post_pred}
\alias{knit_print.tbl_predicted}
\alias{post_pred}
\alias{mtx_post_pred}
\alias{mtx_... |
0d0ea3ce14317e765128670db7542d41d9837da9 | c9b9a57b169d2bba38d774991cf86f7e82e94522 | /explore/Code/firms/Geocode_Florida.R | 8bdbfa91a2a999266ca1969446974d39d89f15a7 | [
"MIT"
] | permissive | Andrew-Kao/thesis | e110d448457a4240b429241db30feba58594eeae | c3fbd69a6775e40215c9ae9b5b27cb3532f57992 | refs/heads/master | 2023-03-15T23:11:36.994870 | 2023-03-13T17:35:44 | 2023-03-13T17:35:44 | 189,903,573 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,948 | r | Geocode_Florida.R | # This file is used to interface with the US Census Geocode for Florida Businesses
# Located here: https://geocoding.geo.census.gov/
# SETUP -------------------------------------------------------------------
library(dplyr)
library(data.table)
library(httr)
library(jsonlite)
library(purrr)
library(stringr)
if (Sys.i... |
886a26196330cf164e56b877424d6c45703b1fec | cfa1cfb6b9a39102a0cc7df5abf974cec2d472cc | /helpers.R | c42356bca2f696c67da0cee01775ca11bfef2c2e | [] | no_license | MrMaksimize/ExData_Plotting1 | 78e3a17e0719ad46062d661f10d48093fb034c8b | edd6ec351daafca89aa1232f66f27f42012fe058 | refs/heads/master | 2021-01-22T01:44:06.048234 | 2015-06-06T00:10:53 | 2015-06-06T00:10:53 | 36,845,317 | 0 | 0 | null | 2015-06-04T03:18:04 | 2015-06-04T03:18:03 | null | UTF-8 | R | false | false | 1,097 | r | helpers.R |
getData <- function() {
# Auto Install Packages
list.of.packages <- c("dplyr", "sqldf", "lubridate")
new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[,"Package"])]
if(length(new.packages)) install.packages(new.packages)
## Bring in the libs.
library(dplyr)
library(sqldf)
... |
b8eeda5ed4db56d7877f983d16e3e9d0af1611a0 | 40fcdf019a47552d6d7df9e2fd5f15b3d71587ab | /R/plot_Box.R | 264a27082fb991f61f64455b5fba308db39fe0ee | [] | no_license | cran/grnnR | fa2f3f577abfb01fc25be10f263f64e4bc7c5bc2 | 6661951f61aef9067c73e97d799d06fb04b7eb92 | refs/heads/master | 2020-05-17T10:05:01.998635 | 2005-12-15T00:00:00 | 2005-12-15T00:00:00 | 17,718,845 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,549 | r | plot_Box.R | "plot_Box" <-
function (T, T_hat, NOVAL=NA) {
# INITIALIZATION
ERR <- abs (T-T_hat);
ERR [is.na(ERR)] <- NOVAL;
m <- min (ERR);
n <- max (ERR);
# MAIN
box1 <- boxplot (ERR, plot=FALSE);
l1 <- box1$n;
l2 <- box1$stats[1,1];
l3 <- box1$stats[2,1];
l4 <- b... |
d10813f4d9d66ac52c98445e6f69ab700597b503 | 7b8e7e28104237e7e461db06cf637866e4edd773 | /man/transition_graph.Rd | 3724d1fd5c60103a3a6968c36566ecc74cc46c5d | [] | no_license | bayesball/PitchSequence | 3f3d7837bfe68b3721c7cda2f2fef54ce54bd794 | 2a4812795daf44ab87baeac364ea28cfcd770cca | refs/heads/main | 2023-02-17T01:31:52.769493 | 2021-01-18T17:41:12 | 2021-01-18T17:41:12 | 325,057,410 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 446 | rd | transition_graph.Rd | \name{transition_graph}
\alias{transition_graph}
\title{
Graph of Count Transitions
}
\description{
Constructs a graph of the count probability transition matrix
}
\usage{
transition_graph(S, title = "")
}
\arguments{
\item{S}{
Data frame giving the count transition probabilities
}
\item{title}{
Pr... |
6405ed433e3ae67dc285ff5784c42cbf76714c06 | c70c9dc1a49703e57498bb141084c5e430bb8e09 | /code/4_posterior_predictives.R | 1d03d5bb15fd45c6fb34a219e51ada01df3046a6 | [] | no_license | ballardtj/dynamic_modelling | 3dd8dac452805958f8de69acb86cc62b3a726025 | ae6f5c85b7faa5022dbb5e4a68a46fa1329a951f | refs/heads/master | 2021-10-10T23:37:58.573613 | 2019-01-19T05:28:07 | 2019-01-19T05:28:07 | 151,516,324 | 1 | 0 | null | 2018-11-01T00:04:15 | 2018-10-04T04:00:50 | R | UTF-8 | R | false | false | 4,029 | r | 4_posterior_predictives.R | #NOTE: This script is used to create the figure that displays the posterior predictives
#for the two mixture model and the sample level model (which is equivilant to a one mixture model).
#clear workspace
rm(list=ls())
#load packages
library(tidyverse)
#load data
dat=read.csv("../raw_data/goal_data.csv")
#prepare ... |
accb534d43dd61639eb14894510ebd81d9f0059e | 553907775f08a05b140c2d616bdfb695dc1f27d0 | /rcode/stats2.r | d4bafc173500651e358216a7305374ef3abcd0af | [] | no_license | OdessaR/android-runner | 3742acc15339943dba486df5fb1914fd716a57f8 | a2e739cade0a15f269b7d9c2c1878328dffeb02d | refs/heads/master | 2023-02-13T18:03:29.043922 | 2021-01-12T08:56:26 | 2021-01-12T08:56:26 | 291,691,667 | 0 | 0 | null | 2020-08-31T11:03:45 | 2020-08-31T11:03:45 | null | UTF-8 | R | false | false | 15,926 | r | stats2.r | library(magrittr) #to use %>% notation
library(tidyverse)
library(dplyr)
library(plyr)
library(ggplot2)
library(car)
library(gridExtra)
#get csv paths of test folder
#csv_paths_test <- list.files(path="./data/test",
# recursive=TRUE,
# pattern="^Joule.*\\.csv",
# full.names=TRUE)
aggr_m... |
eeff9c0ff0372ac22f78c50087c3453509a47e58 | a66de884ff4e8c5c983d9b30c6ed46da34d82250 | /APD_Mapping.R | 0ad39c7eafb8e810a846f92c775fcf9dac9d671d | [] | no_license | furuutsuponchisamurai/APD-Analysis | c93dc2bfbfc3bfdefa021460c6aecc4e6cc5390f | 9e30f5b406d925a8114635f067cac022d074673d | refs/heads/master | 2020-03-08T04:54:29.593563 | 2018-08-05T15:20:41 | 2018-08-05T15:20:41 | 127,933,964 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,408 | r | APD_Mapping.R | library(tidyverse)
library(reshape2)
library(leaflet)
library(jsonlite)
data <- read_csv("APD-DATA-CLEAN.csv")
clean_data <- data %>% filter(!is.na(LONGITUDE))
austin_data <- filter(clean_data, -97.94 <= LONGITUDE, LATITUDE <= 30.52) %>% filter(LONGITUDE <= -97.56, 30.09 <= LATITUDE)
# geoJSON <- fromJSON("districts... |
3211af211a4b09c8445c96b49585d2a3e3c6b2be | a30d89a181b8f4e9d49989058fc5ae2724883974 | /src/01.basic/4.function.R | 23c6acdc5f68005e867ae552b52a67988a86a315 | [] | no_license | imdangun/r_grammar.20.12 | d9b120e9f6a54b0172d09599285423288f1fb6c7 | 4f83ed51ad227716c48cf5adfa1212dd02c72767 | refs/heads/master | 2023-01-30T11:00:23.288349 | 2020-12-15T05:33:32 | 2020-12-15T05:33:32 | 320,449,625 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,705 | r | 4.function.R | #4.function
## 1. math function
x = c(5.415, -5.415)
ceiling(x) # [1] 6 -5
floor(x) # [1] 5 -6
trunc(x) # [1] 5 -5
round(x, 2) # [1] 5.42 -5.42
signif(x, 3) # [1] 5.42 -5.42
round(sqrt(1:10), 3) # [1] 1.000 1.414 1.732 2.000 2.236 2.449 2.646 2.828 3.000 3.162
## 2. statistics function
# na.ram
(x = c(1:... |
7067aa804774d0da8776da3aa07aea312b995e60 | 7a57aebb4ac8e0ae102839297adf3b654e386789 | /Rscript/GI_Distribution_sim_vs_theory_4.R | c24fcc16667375427b33bac1a4834d7cf6bd3571 | [] | no_license | davidchampredon/tmpGI | 3ea971b044b248d6d3e43a5f1e20141c4ed82a91 | fb239730f1f96ee6e185f88ff5426acb2076a01d | refs/heads/master | 2016-08-11T13:05:58.144478 | 2015-11-10T22:21:07 | 2015-11-10T22:21:07 | 44,702,143 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,144 | r | GI_Distribution_sim_vs_theory_4.R | #################################################################
###
### COMPARE EMPIRICAL & THEORETICAL GI DISTRIBUTIONS
###
### Created 2015-07-03 by David Champredon
###
#################################################################
source("calc_theoretical_GI.R")
source("read_simul_GI_FCT.R")
source("fi... |
99f39715547aa07ddf9ef457ffdb9d9dc705888f | 437ea30837d0068b8bca815f500396f30cd2ff74 | /man/phenodata.Rd | c0572f54566d8e40b850ec3889a76bb7c66d6087 | [] | no_license | hummelma/GlobalAncova | 0d51390638a353a3d2732a962f05b9a2a73606fc | f2512c80850a0b0ebb6d5ee53c6ed9228b85b74c | refs/heads/master | 2021-06-15T19:42:03.969139 | 2021-01-31T09:39:31 | 2021-01-31T09:39:31 | 123,418,216 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 954 | rd | phenodata.Rd | \name{phenodata}
\alias{phenodata}
\docType{data}
\title{Covariate information for the van t'Veer data}
\description{
Covariate data for the van t'Veer example:
\describe{
\item{Sample}{Sample number.}
\item{metastases}{Development of distant metastases within five years (\code{0}-no/\code{1}-yes).}
\item... |
8b78fcd808fa07eda3fdaedd6c3b2345e38b4cae | 62ebe734f294c073e9f9d3044ab07c7d71e18808 | /logit-regression.r | b4ef5ecf2c656e7cd86d9765667c858e261c8deb | [] | no_license | hubbard/web-r | 9dbd629828131aac299fc0804c1f320cedd1dc19 | af73a51aa1f587737cd9d1ac99702c35d262c364 | refs/heads/main | 2023-03-14T15:56:49.887956 | 2021-03-04T00:31:00 | 2021-03-04T00:31:00 | 318,614,199 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 879 | r | logit-regression.r | # Thanks to the UCLA IDRE for this example http://www.ats.ucla.edu/stat/r/dae/logit.htm
library(aod)
library(ggplot2)
# if you are ever missing a package, start R as root (i.e. sudo R) and use install.packages("packagename") to get it
cat("logit is for a binary outcome (e.g., do or do not get accepted to grad school, ... |
869c0477ef508a8057146af9f258aa95b56693fa | 2cf5744042a9802bc019c0557848db8fbfda0d39 | /man/MRIaggr-calcSmoothMask.Rd | 18106e3c49dddabb80c3e113453fe935d4c3e134 | [] | no_license | cran/MRIaggr | bcc874f1253ab7b168e4a6d68bc66e8556b7d330 | 099c3227ac60fdad71aa5c1b79bf53b91a92e177 | refs/heads/master | 2021-01-21T21:47:16.132229 | 2015-12-23T23:44:19 | 2015-12-23T23:44:19 | 31,946,742 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,752 | rd | MRIaggr-calcSmoothMask.Rd | \name{calcSmoothMask}
\title{Spatial regularization}
\alias{calcSmoothMask}
\alias{calcSmoothMask,MRIaggr-method}
\description{
Perform a spatial regularization of a binary mask.
}
\usage{
\S4method{calcSmoothMask}{MRIaggr}(object, mask = "mask", numeric2logical = FALSE,
size_2Dgroup = 50, Neighborhoo... |
338b3ba23b50d975fea74bb4325c6188c07b5a1b | f53f54c5420cde05e685c93dff279c644c03b9bc | /rf_percentCover_BRTE2.R | 87088fc6d7d34f6ce1cfaa04f5b38e6cfc94a776 | [] | no_license | cacurtis/random_forest | ff3b724c0306845da021474df28d09bbe9a64add | 9f67a982910a9c53b20ad2f30b0c1ffe680dde63 | refs/heads/master | 2021-01-09T20:42:02.348521 | 2016-07-01T19:05:07 | 2016-07-01T19:05:07 | 62,414,257 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,734 | r | rf_percentCover_BRTE2.R | #############################################################################
# This script reads training data from the CSV file created using the "percentCoverResample.R
# script. The script then uses the X and Y coordinates from the training data file to select
# the pixel values (predictor values) for each sam... |
03d4afd4a114480516d40dd4c3e7dbbe3e4a98b8 | 5b5144b60245ccb475709617c7f6002077ef171a | /R/package.r | d1b5fdcfb1f5cea77b7b63c49dd933c347a2500c | [] | no_license | Guillermogsjc/scimple | 88ae92b5114ea30144aed251d8068fd4652b100d | 31ff2a217d235bc2ece5ffc4d46d48203d2959ee | refs/heads/master | 2021-06-11T01:06:34.621066 | 2017-03-04T05:25:41 | 2017-03-04T05:25:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,048 | r | package.r | #' Simultaneous Confidence Intervals for Multinomial Proportions
#'
#' Methods for obtaining simultaneous confidence intervals for multinomial proportions have
#' been proposed by many authors and the present study include a variety of widely
#' applicable procedures. Seven classical methods (Wilson, Quesenberry and Hu... |
55429827c21af255883f2dbcf5fc00362e25933e | f81a5e8e2523934d39d24199b42654ecc09f9223 | /Recommender System/Network Analysis.R | e920229a8902d460b7622affc13a584666660ae4 | [] | no_license | Bl7tzcrank/DataInt-Recommender-System | 161f8940bd7e8b5023de3f435ff63d19ea793180 | 916c34d953e5ead1d319caa4e992a2f536dd5fa7 | refs/heads/master | 2021-05-14T11:14:06.369340 | 2018-01-30T22:20:00 | 2018-01-30T22:20:00 | 116,374,783 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,503 | r | Network Analysis.R | # Network analysis based on the 4Play Database
# ------------------------------------ HowTo ------------------------------------ #
# 1. First of all, run the function definitions (and package installations / requirements / library calls)
# 2. create a database connection by running the respective commands in the "Data... |
00c01f31cd2ba38ae636bef6b99c78db32b6b80e | 0d5f02f6ab16924115aa2cc3b446a80ff87a6395 | /man/fqr.Rd | 844e8c4629a4e650bd5cc18a1c66930b7a472baa | [
"MIT"
] | permissive | MohsinFuzzy/FuzzReg | a6b8c86b56e94756854f2dba9e351567c0d7c1ea | 4df04534ddb1deccae499bab51606213586122f2 | refs/heads/master | 2021-04-06T14:06:26.225717 | 2018-03-15T15:10:02 | 2018-03-15T15:10:02 | 119,653,933 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,371 | rd | fqr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fqr.R
\name{fqr}
\alias{fqr}
\title{Fuzzy Quantile Regression}
\usage{
fqr(X,y_left,y_centre,y_right,t,type)
}
\arguments{
\item{t}{is a spesified quantile ranges from 0 to 1 i.e t=[0,1]}
\item{type}{spesifies the model (1 or 2)}
... |
0567c030e0d4197a3522d714ff7cf07c0dd0ca4e | 523ba4df759398ac3386dd9e723a5dd9f7981df9 | /scripts/4plotbuilderv2.R | 25e0902b792e254c8d3d646b46e29042acd13bea | [
"MIT"
] | permissive | Jake1Egelberg/DEARV2 | 4431e068de0618e24e39c60a2a2577ead5262214 | 201782f2abbf7484f648620c34b0d9755689fe08 | refs/heads/main | 2023-07-10T22:45:07.257164 | 2023-07-08T10:40:25 | 2023-07-08T10:40:25 | 541,267,149 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,677 | r | 4plotbuilderv2.R |
#--------------------RUN REGARDLESS
.GlobalEnv$design_path<-paste(exp_directory,"/Metadata.csv",sep="")
if(file.exists(design_path)==TRUE){
#Read design matrix
design_raw<-read.csv(paste(exp_directory,"/Metadata.csv",sep=""),header=TRUE,fileEncoding = 'UTF-8-BOM')
design_raw$Seq<-gsub(".fastq.gz","",design... |
76581bdf1337db52321a78100599709b62388042 | 371ce0d6d5ed76bd45298c82f5af6c80b44df6c0 | /man/get_pubmed_ids.Rd | 03f6dcb41fb7aa22e4525879aceab3e28e9ff73d | [] | no_license | dami82/easyPubMed | 87003b93f549b5a20ecf3d4b7c9899ba68e2ed82 | 2826071e5764edc5c36e604b894a3d380350fbde | refs/heads/master | 2023-06-07T19:50:23.415789 | 2023-05-29T20:32:42 | 2023-05-29T20:32:42 | 81,876,896 | 13 | 11 | null | 2023-05-29T20:32:43 | 2017-02-13T22:06:32 | R | UTF-8 | R | false | true | 2,150 | rd | get_pubmed_ids.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/easyPubMed_src.R
\name{get_pubmed_ids}
\alias{get_pubmed_ids}
\title{Simple PubMed Record Search}
\usage{
get_pubmed_ids(pubmed_query_string, api_key = NULL)
}
\arguments{
\item{pubmed_query_string}{is a string (character vector of length 1) ... |
d48a42cc09b625ce416d24982a42a578cdb1f1b0 | 99b03f6b5e20cf0a04aa4e4edc68759f65d7005b | /man/sentenceParse.Rd | 3c9563b18960945422c09e725b74ded8f51fd5ee | [] | no_license | jiunnguo/lexRankr | 521ba9546efc396483a09b82303f2a9ed0e4284c | 8239cd7698a62342b1dfdf7a20f88efe2a767e12 | refs/heads/master | 2021-01-13T14:58:46.923964 | 2017-01-13T19:57:02 | 2017-01-13T19:57:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,136 | rd | sentenceParse.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sentenceParse.R
\name{sentenceParse}
\alias{sentenceParse}
\title{Parse text into sentences}
\usage{
sentenceParse(text, docId = "create")
}
\arguments{
\item{text}{Character vector to be parsed into sentences}
\item{docId}{A vector of docum... |
bb65856e985a04c3043afe40b7a8e02d9046f292 | 38d64d099cfef6f39fa08aa6364b0464a988102d | /bipartite/R/plotPAC.R | 3579a6c883a0123367aff786beb56dce473bbe77 | [] | no_license | biometry/bipartite | 004b458f73c25f64de5bda3c4c9e2c861aec983a | 2fb52577d297480a3a1c1c707a3549ac97e5d08c | refs/heads/master | 2023-06-23T12:37:01.423686 | 2023-03-01T15:22:14 | 2023-03-01T15:22:14 | 24,846,853 | 37 | 16 | null | 2020-05-27T11:07:11 | 2014-10-06T13:26:44 | R | UTF-8 | R | false | false | 2,997 | r | plotPAC.R | plotPAC <- function(web, scaling=1, plot.scale=1, fill.col=rgb(.2,.2,.2,.5), arrow.col=rgb(.5,.5,.5,.5), outby=1, label=TRUE, text=TRUE, circles=FALSE, radius=1, text.cex=1){
# function to draw a circular PAC-plot, as in Morris et al. 2005
# PAC is the "Potential for Apparent Competition and is computed using the fun... |
a0f9d3e7141a1510dcf539ebe3aa610ef0a2a565 | 4b100d411187c8e0718d176e8f51846e514b272e | /R/GC.content.R | a269918a1f1c90c180f4b413f41fbe9d78e863f3 | [] | no_license | cran/vhcub | 4897cd01406ddbcb426e2ed395bd9944faf81364 | d7ea958270d0b68d118109f60612cb664ec9385a | refs/heads/master | 2020-12-22T23:05:44.804924 | 2019-11-15T11:00:02 | 2019-11-15T11:00:02 | 236,957,357 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,393 | r | GC.content.R | #' GC content
#'
#' Calculates overall GC content as well as GC at first, second, and third codon positions.
#'
#' @usage GC.content(df.virus)
#'
#' @param df.virus data frame with seq_name and its DNA sequence.
#'
#' @return A data.frame with overall GC content as well as GC at first, second, and third codon position... |
a36c72286af93a88ed2b596fbde3993090ec4e43 | 5bac3ce8fa5ce7921b2c318d46500020b5b4d3d1 | /man/show.Rd | bf294129a4830b69fd7eee7730d83dee181d928a | [
"Apache-2.0"
] | permissive | CDK-R/fingerprint | ce621309e28d00e18e1a284795418e228c507895 | 8da6b320856538a05d5502b8be5191193d714e34 | refs/heads/master | 2022-10-26T09:01:21.536490 | 2022-10-16T23:08:52 | 2022-10-16T23:08:52 | 156,985,877 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 529 | rd | show.Rd | \name{show}
\alias{show,fingerprint-method}
\alias{show,featvec-method}
\alias{show,feature-method}
\title{
String Representation of a Fingerprint or Feature
}
\description{
Simply summarize the fingerprint or feature
}
\usage{
\S4method{show}{fingerprint}(object)
\S4method{show}{featvec}(object)
\S4method{show}{f... |
2a3af8b6f154aa7a7e096ccace49bdc7da65029e | 6dc2d9ef6198ede44345bdea09aad12107e4d5d9 | /functions/generaPdfTablas.R | ad91d15880edc6f9694a7f44dcf7e13cadc7d25b | [] | no_license | laparcela/modelo_red_booleana_milpa_rafa | 0785af645855f393712c69fb26ceb6b4447cd75f | 2c593eebe211f9af2443e74b33446583a276e049 | refs/heads/master | 2021-07-17T01:28:33.787325 | 2017-10-23T21:12:18 | 2017-10-23T21:12:18 | 108,016,086 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,373 | r | generaPdfTablas.R | ############################################################
### Function for generating a pdf from stargazer outputs ###
############################################################
generaPdfTablas<-function(x=NULL,nombre=NULL, width=8, height=11, columnas=NULL, var_resp=NULL, titulo="",summary=F){
require(stargazer... |
79c041de0bc16978bb172ae360c31208cca15b09 | 21a76218b0882cf35e85c2297b5ee5d58e4da64e | /R/center.R | 3d32e598fe9cc7e83cd4ae5cb476f7b4219d896d | [
"MIT"
] | permissive | Zack-83/maRgheRitaR | 29ca2df425472f11845c1069d1db5e149fb79d9c | 45d10a7854dd9ee53ef2745501d24df03137292c | refs/heads/master | 2020-03-22T21:50:31.213511 | 2018-07-12T14:55:28 | 2018-07-12T14:55:28 | 140,716,790 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 514 | r | center.R | #' Centering datasets
#'
#' Some more description
#'
#' And even more
#'
#' @param dataset The numeric vector to be centered
#' @param desired The numeric midpoint value around which the data will be centered (default: 0)
#'
#' @return A new vector containing the original data centered around the desired value... |
e0524668b2ed606db29bda2ef3b7f9fbb270acef | fe872a4ad8d46e7df60dd19617fb14e988f07ed8 | /R/m2-mixt-three-sided-v2.R | 56c6909a2e7bde2b5b95d16748c42d5b8d484e93 | [
"MIT"
] | permissive | chaudhary-amit/acblm | 638aa75273f6f4522279634e67b3b831036d0a03 | b6aa44163c1f2782becbbef6b6f71d5fe4b85f62 | refs/heads/master | 2023-04-25T06:25:22.124853 | 2021-05-18T15:49:43 | 2021-05-18T15:49:43 | 368,360,787 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 34,450 | r | m2-mixt-three-sided-v2.R | # This is an em for the exognous mobility case.
# It will estimate a non-stationary model, and will be able to impose monotonicity
# ------------- Initiliazing functions ---------------------
#' create a random model for EM with three sided
#' endogenous mobility with multinomial pr
#' @export
m2.mixt.new <-function... |
67722df43988495cfadf4b87d7eb95d28f5798cc | e7a62f2bbd1ca228200304f5577239556336fd81 | /Sensitivity Analysis/sensitivity_analysis_f.R | 9d8b79a95aaae553acaef958e86af246e04675e8 | [] | no_license | pakdamie/codlingmothdiapause | 7bf11bc87f253f6937eb4c0569f5121f8dd1dd98 | a38fc061cb361443b76d07a06f25ccead4fdc72e | refs/heads/master | 2022-06-16T16:58:44.966296 | 2020-05-06T15:14:47 | 2020-05-06T15:14:47 | 261,789,576 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,454 | r | sensitivity_analysis_f.R | ###############################
###SENSITIVITY ANALYSIS#######
############################
library(pracma)
library(pomp2)
################################################
###I'm running it only for the first 10 Years###
################################################
#############################
###Smooth... |
390944b2d79dc87b29f41a8607e64f5fc52175c9 | 01cf57814df3eb6ece3742d3af1702eed0794bb1 | /man/rasterize_cellplan.Rd | d8d8d95342c41ddd7fd8ce337034e607fb1a6cbe | [] | no_license | Flowminder/mobloc | bbb8fc6ed792f90bc9b2685f8de6e64885d792b3 | 6edb4ddfcb4c468b039d3f45532d0c2ae794ee8c | refs/heads/master | 2020-03-21T23:00:05.591714 | 2018-06-11T10:22:48 | 2018-06-11T10:22:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 453 | rd | rasterize_cellplan.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rasterize_cellplan.R
\name{rasterize_cellplan}
\alias{rasterize_cellplan}
\title{Rasterize cellplan}
\usage{
rasterize_cellplan(cp, cp_poly, raster, elevation, param)
}
\arguments{
\item{cp}{cellplan}
\item{cp_poly}{cellplan polygons}
\item... |
f2b5dafa1f7460ead630a395d6c7088fbd4bc7cd | 9c14a3f22704fdb9d794cb2eee40662d6174d162 | /src/junk/svmRuns.r | 50d2738fa47da43c094aa36b3af5b08b90048838 | [] | no_license | mutual-ai/kernel-methods | b35d31f9996b2bd8c5c1842fcc74e085e960817a | 73c8d5829b9d89d613c15a4eb0882557eafbe9a1 | refs/heads/master | 2020-03-19T23:31:51.668901 | 2016-12-06T18:17:05 | 2016-12-06T18:17:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,787 | r | svmRuns.r | #import dependencies
#libs
library('e1071')
library('kernlab')
library('randomForest')
#src
source('model.svm.r')
source('model.svm.r')
source('train.r')
#DATA SETUP
#----------
#read in data
map = read.table('../data/Yatsunenko_global_gut_study_850_mapping_file.txt',sep='\t',head=T,row=1,check=F,comment... |
7967fde161cba28400d0c915091e541fae50d3e0 | fe5f50773bfac59ffad8c74c392628c7362a0e53 | /R/mfgTraits.r | cf76604cf789054b4c01871092b3a60ba3aaf083 | [] | no_license | cran/algaeClassify | d7b0dd9acb17f31050c9da4e686c03c3aa399661 | f661618feaaded028b66075d2dfee27edf1b074f | refs/heads/master | 2022-03-17T06:17:41.166073 | 2022-03-11T22:30:08 | 2022-03-11T22:30:08 | 208,512,920 | 4 | 3 | null | null | null | null | UTF-8 | R | false | false | 997 | r | mfgTraits.r | #' Functional Trait Database derived from Rimet et al.
#'
#' @format A data frame with columns:
#' \describe{
#' \item{phyto_name}{binomial scientific name}
#' \item{genus}{genus name}
#' \item{species}{species name}
#' \item{Mobility.apparatus}{1/0 indicates presence/absence of flagella or motility}
#' \... |
da6a6c9441083c1fc48b1a3745d2ae05537f8237 | 82d128a4b47a0a3a85e6c768b25df5848b7f3b54 | /CBMRtools/man/CBMRtools.Rd | a74ce6e7ea7eebf61c4e9b596869a913a73d74d8 | [] | no_license | tetomonti/CBMRtools | 37e19db6a23c46882ec850df64a0a664f39d57f6 | 6ea11896423219a1df91528eed7ba7744e1d27d0 | refs/heads/master | 2021-03-27T10:27:51.753463 | 2020-02-06T19:03:14 | 2020-02-06T19:03:14 | 35,168,993 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 253 | rd | CBMRtools.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CBMRtools.R
\docType{package}
\name{CBMRtools}
\alias{CBMRtools}
\title{CBMRtools}
\description{
A package for accessing general-use R scripts developed by montilab members
}
|
41f0f676a5754ef2269f29956f28dfa8cb6fb4e2 | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Miller_And_Freund_S_Probability_And_Statistics_For_Engineers_by_Richard_A._Johnson/CH5/EX5.44/EX5_44.R | 78ed2688162411f765e0784ce6c4db87c8be9233 | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 95 | r | EX5_44.R | Data<-c(0.57,0.74,0.26,0.77,0.12)
alpha = 0.05
beta = 2.0
((-1/alpha)*log(1-Data))^(1/beta) |
a4dc209c056f012777b2e88772f13b2afe3cb0e9 | 9ced058004c19ba00d837a8e456817d56a565c9d | /tests/testthat/test-oc_key.R | 0c0723cb5fe1e853fa86d41aa069120d2f8d4303 | [] | no_license | cran/opencage | 84594102736a8d97869cceb15ec774c5d7af0f41 | 11a46b26ae7b13a3eca36a2b4a42fa3c998a4361 | refs/heads/master | 2021-05-15T01:06:06.777397 | 2021-02-20T00:00:02 | 2021-02-20T00:00:02 | 58,643,210 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,350 | r | test-oc_key.R | ## Test oc_check_key ##
test_that("oc_check_key checks key", {
expect_error(
oc_check_key(
key = 45
),
"`key` must be a character vector."
)
expect_error(
oc_check_key(
key = c(key_200, key_402)
),
"`key` must be a vector of length one."
)
expect_error(
... |
3c5ee7b8c6b9e0b325f90e588d48e3466c351ba9 | a9a9863005028343faba4634a8232e6736935ef3 | /data/airquality/air_quality_July4th.R | 69fca63ce68bd08e3b6a9a6cfb0119c5dd62bc2a | [
"MIT"
] | permissive | data-reef/data-reef.github.io | ca3db9f55c9a19d70e5818f0a9e4be1a6199ba90 | 73a7a2a3f9333e3b22c832c27daf8222233415c1 | refs/heads/master | 2019-07-19T07:44:52.482991 | 2017-11-05T21:31:58 | 2017-11-05T21:31:58 | 93,815,387 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,684 | r | air_quality_July4th.R | #Air Polution during July 4th. PM2.5 hourly data.
#Data Reef
library(ggplot2)
library(gridExtra)
library(ggthemes)
library(readr)
#Import the data downloaded from https://aqsdr1.epa.gov/aqsweb/aqstmp/airdata/download_files.html
hourly_88101_2016 <- read_csv("hourly_88101_2016.csv")
#Extract only certain dates data
su... |
bc88efbf3e12c49a0e14e528fd1221f1b864b979 | 5a5bc9e1b0d59859b4e213b092e19afe232819e1 | /R/raster.R | dcddaad9da8dfd9a73afab4e809c2fcd9f2ca441 | [] | no_license | jrmosedale/microclimates | bf469e07b688e9342c0a8d767db84ee428e778f3 | ae2e61969631506c523bd618c9106a61b00355dd | refs/heads/master | 2021-04-30T15:18:19.091728 | 2018-02-12T11:31:16 | 2018-02-12T11:31:16 | 121,236,443 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 194 | r | raster.R |
r<-raster(xmn=0, xmx=200, ymn=0, ymx=100, ncol=20, nrow=10)
r[] <- 1:ncell(r)
e <- extent(10, 220, 10, 100)
r <- extend(r, e)
ncol(r)
nrow(r)
res(r)
r
e<-extent(10,50,0,100)
r<-crop(r,e)
r |
68a519d59fba3fffcc7aaf9d1998cd8fa9e6030f | 5d63b292b8cdce7101fa0142d90f06c08c35b515 | /R/internal.R | 10892d0e89a7ef6c39218d8737de8e7290446d51 | [] | no_license | mayoverse/dq | b9ce7fe335a4186bb69c5821885175dececea8bc | 7e12f010572c884b9aed554baa4049374265ee53 | refs/heads/master | 2022-04-13T17:45:32.520154 | 2020-03-13T13:12:48 | 2020-03-13T13:12:48 | 203,206,478 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 369 | r | internal.R |
is.numericish <- function(x)
(is.numeric(x) || inherits(x, "difftime") || inherits(x, "Date") || inherits(x, "POSIXt")) && length(unique(x)) >= getOption("dq.min.unique", 10)
fix.dates <- function(dat)
{
idx <- vapply(dat, function(x) inherits(x, "Date") || inherits(x, "POSIXt") || inherits(x, "difftime"), NA)
... |
fcab0334247f3510d63a56ae8bc89d995783485f | 43456e1928807abe61fc01c1027ded9b775000c4 | /R/dimModels.R | 21575c272bc9e73fd27b2bfdab78eeea74caa395 | [] | no_license | prosodylab/ArticleFocusPhrasingJphon | d3b27dc7c1b5ce15c5d682786e585e5a237867bb | 4141d02e41ac2a4850c2ce079caee5463e3a9fa9 | refs/heads/master | 2020-07-05T07:58:53.646765 | 2020-03-03T21:59:47 | 2020-03-03T21:59:47 | 202,580,391 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,293 | r | dimModels.R | #
# Models
#
library(texreg)
##
##
## look at raw measures by syllable
modelDuration1=lmer(data=filter(dd1,Position=='B'),
syllable_duration~
(Broad.vs.Narrow+First.vs.Late+Second.vs.Third)*
Decl.vs.Inter*Left.vs.Right+
((Broad.vs.Narro... |
f07e3568ec1e01f6bbf52320dc94c67195d694de | 874b22613ad34cc0cedeaca5002c7a9a58eba3c2 | /plot3.R | eea7b4e110d78d3adab548c038db05c0587a9f9f | [] | no_license | urubatan-pacheco/ExData_Plotting1 | 78b88a9643309b5ccc91b19b866b3779606dfe6d | 1c28fc681df57b441907c0b6ccf4b9c28eff7f34 | refs/heads/master | 2020-12-13T20:49:46.351723 | 2015-06-04T02:19:23 | 2015-06-04T02:19:23 | 36,840,520 | 0 | 0 | null | 2015-06-04T01:29:02 | 2015-06-04T01:29:02 | null | UTF-8 | R | false | false | 1,793 | r | plot3.R | library(sqldf)
library(gsubfn)
library(dplyr)
library(lubridate)
# Loads rows with Date between '2007-02-01' and '2007-02-02'
query <- "select * from file where substr(Date, -4) || '-' || substr('0' || replace(substr(Date, instr(Date, '/') + 1, 2), '/', ''), -2) || '-' || substr('0' || replace(substr(Date, 1, 2), '/',... |
aa15430c188d171f5f3b2137aa58a4f258a110e4 | e0051b6791a5fc11d75746f58968bbfbe6183e73 | /man/url_character.Rd | 6363c98ea8714607d7b3d2379284a6c19b1f8358 | [] | no_license | LuffyLuffy/baidumap | 1d735a634acc6b2c14922a073c98495a6b167c5d | 59656d2ff6d0e2749adb53032ca81d5f374860b0 | refs/heads/master | 2022-11-22T07:57:07.015625 | 2020-07-22T10:22:32 | 2020-07-22T10:22:32 | 281,645,479 | 4 | 0 | null | 2020-07-22T10:20:49 | 2020-07-22T10:20:48 | null | UTF-8 | R | false | true | 542 | rd | url_character.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getPlace.R
\name{url_character}
\alias{url_character}
\title{Transform the query character to raw character
Take in query and city, return the informations}
\usage{
url_character(x)
}
\arguments{
\item{a}{character}
}
\value{
raw character wi... |
534cd631f56a6672245c46cb3308d83cf1d2879f | bf1d99664cde8686366907d92829b8d395ec0f6f | /Tree_Plot_Function.R | 3f74f57d13018d146dd4b5c7a4108f67f3ca07ee | [] | no_license | csheehan3/Sheehan_Biocomputing_Final | 30bd8217b4dba2130828379fca98e9733ae6e908 | 92de188d01b07ca0321101a8c83bb11dfca14a25 | refs/heads/master | 2021-04-08T13:05:25.493824 | 2020-04-02T22:14:14 | 2020-04-02T22:14:14 | 248,778,512 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,029 | r | Tree_Plot_Function.R | Tree_Plot_Function <- function(the_dataframe, the_gene, the_GO_term){
if(!exists("GO_metabolic_list", mode = "list")){
print("Warning: need to load GO list for this function")
load("GO_metabolic_list.Rdata")
}
BACH1_row <- filter(the_dataframe, the_dataframe$entrez_dictionary==the_gene) %>%
dplyr::select(mat... |
e7c4197f4f84367ec82cafb17b3b6578c1e635b1 | 4af685718ce2c5f45a9b82e2f0e6527c17c97f5c | /R/ggplot2scales.R | fd911dd3065ddf950a27b4fb4bf4ce0c1330d68c | [] | no_license | liston/palettetown | c98684c62bd16c32c5569136954c7cf491586c0d | 4f772f78578d2ae9167ab76024b7ec8886d4567e | refs/heads/master | 2022-02-17T13:49:04.482462 | 2017-09-08T10:33:02 | 2017-09-08T10:33:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,316 | r | ggplot2scales.R |
#' Add a pokemon palette to a ggplot2 colour or fill scale.
#'
#' Get a pokemon palette by either giving a pokemon number or name.
#'
#'@inheritParams pokepal
#'@param ... Other arguments passed on to \code{discrete_scale} to control
#' name, limits, breaks, labels and so forth.
#'
#'@name scale_colour_poke
#'@detai... |
ece8fe8d4ed2602a4bad1b64503f4ad5cbe7bec2 | fee345e168c62f95576e24326f75463f5b349dd0 | /combine.R | 15038b70514c71b127295787c134c25df20f5cf4 | [] | no_license | ryanburge/tags_twitter | 1df03507d3521a191d339495bb363ccf97f681e9 | ab08060614388a237f8f3ffb3ca955ea6d73a194 | refs/heads/master | 2021-01-18T20:02:57.378195 | 2018-12-17T17:00:30 | 2018-12-17T17:00:30 | 86,930,310 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,404 | r | combine.R | library(tidyverse)
library(tidytext)
library(lubridate)
library(stringr)
library(httr)
library(dplyr)
library(wordcloud2)
library(extrafont)
library(scales)
tweets_dec <- read.csv("tweets_dec.csv")
tweets_dec <- tweets_dec %>%
mutate(date = dmy_hms(time)) %>% mutate(day = as.Date(date))
count_tweets_dec <- tweets_... |
cf42c0a65ee1e5f5c3dc0982f26914d2b373a812 | be8d70e60dd86be6f9f3b2e33d71226763053f6f | /Rpackage/man/plot_nyc_web_images.Rd | ed6387e75978eb22908cadbf9938feea4adcd513 | [
"MIT"
] | permissive | yoni/insta-sound | 0101c9d6352eea853b7655dc1a8d3a2fcd9a9b73 | c9ee4c6be98b065052a566ee9852e8fc0f463ae6 | refs/heads/master | 2021-01-18T07:15:01.917677 | 2014-01-27T00:00:34 | 2014-01-27T00:00:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 359 | rd | plot_nyc_web_images.Rd | \name{plot_nyc_web_images}
\alias{plot_nyc_web_images}
\title{Generates nyc plots.}
\usage{
plot_nyc_web_images(posts, path)
}
\arguments{
\item{posts}{instagram posts for all neighborhoods}
\item{path}{path in which to store the plots}
}
\description{
Generates nyc plots.
}
\examples{
data(posts_sample)
plot_nyc_... |
d6cee00577f5504a7b690b431520b8f19c579d7b | 819a5f52b0bb3be25156257c214b0b18f8c2612c | /R/jhu_data.R | 63e82e8af37c3beb225e1ae85ebc2b0791a9f219 | [
"MIT"
] | permissive | kotliary/sars2pack | f605a81004535e382ee411a89fcae61af9753ee7 | 43abdafcc73ccbfb95c23b27cc20d3aadfd1fd9e | refs/heads/master | 2022-04-21T15:04:23.176685 | 2020-04-14T17:28:54 | 2020-04-14T17:28:54 | 255,723,912 | 1 | 0 | NOASSERTION | 2020-04-14T20:54:44 | 2020-04-14T20:54:44 | null | UTF-8 | R | false | false | 6,908 | r | jhu_data.R | # THIS CODE IS MODIFIED FROM MOREFIELD/MALLERY WITH SOME ADDITIONAL OPTIONS
# ORIGINAL CODE IS IN SOURCE PACKAGE sars2pack/inst/original
# RUN PATTERN DEVELOPED BY C. MOREFIELD and ABSTRACTED by J. Mallery
#' simple function to munge JHU data into long-form tibble
#'
#' This function takes one of three subsets--confi... |
93e2846003f28dc2554ccfae7cf23c1adfc84f64 | e5bc58f03acbcbad4bcfadf58f242769623679c8 | /plot1.R | cec7af01ff06469b7f2c646e2843b7a7df69cf35 | [] | no_license | chrisgs77/ExData_Plotting1 | 860a24622bb55af6b9c8049400d4c5f2d18e2550 | 830f168633554d1580219bea6b563f8bcd379912 | refs/heads/master | 2022-05-24T23:04:47.682563 | 2020-04-29T15:41:49 | 2020-04-29T15:41:49 | 259,937,478 | 0 | 0 | null | 2020-04-29T13:47:33 | 2020-04-29T13:47:32 | null | UTF-8 | R | false | false | 649 | r | plot1.R |
#download data then read
#note that the file is semicolon (;) separated with ? as NA
plot_data<-read.table(file="household_power_consumption.txt",
header=TRUE,sep=';',stringsAsFactors = F,na.strings = "?")
#convert to date format
plot_data$Date<-as.Date(plot_data$Date,"%d/%m/%Y")
#subset to 2/... |
759f5604f167abb4cf90e1e89eb01942ee274237 | 6ab308e123a091936a86ca70f98372ccba2603b0 | /Session5/Session 4.R | 71a064e4ff54d0d47b6c3a04817d9e30ff9243ce | [] | no_license | laura-green/RepoLauraProgramming | 3089f86734716f3b0d260e38851424f3e8fd6adf | 035812fc1ad7f4494ee24732dbb2d8fcd8d50907 | refs/heads/master | 2020-04-15T00:49:40.211864 | 2016-12-01T16:52:49 | 2016-12-01T16:52:49 | 68,156,971 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,042 | r | Session 4.R | # Origin: Code for week 4 of programming class.
# Author: Laura Green
# Title: week_4_code.ipynb
# Last modified: 2016.10.05
# Load the package
# NOTE: Uncomment this line if need to install package
#install.packages("MASS", repos="http://cran.rstudio.com/")
require(MASS)
# Set the correlation parameter and mean
bet... |
b2b335906062923cadca3943f563edbfbe0aa499 | f32dbf645fa99d7348210951818da2275f9c3602 | /R/GLUEseisMAT.R | 2badccefd78e4b24892d92ce9bf02d644cc1c831 | [] | no_license | cran/RSEIS | 68f9b760cde47cb5dc40f52c71f302cf43c56286 | 877a512c8d450ab381de51bbb405da4507e19227 | refs/heads/master | 2023-08-25T02:13:28.165769 | 2023-08-19T12:32:32 | 2023-08-19T14:30:39 | 17,713,884 | 2 | 4 | null | null | null | null | UTF-8 | R | false | false | 497 | r | GLUEseisMAT.R | `GLUEseisMAT` <-
function(GFIL)
{
### find duplicated stations in a matrix and
### fill in the traces that are continuations
### return the new matrix and the vector duplicates
dot = which(duplicated(GFIL$KNOTES))
G = GFIL$JMAT
for(i in 1:length(dot))
{
w = which(!is.na(match(GFIL$KNOTES, ... |
0142bf1830d4ff46cabeac8a7286b4a3eb67c7e2 | 02bf4177ad6159a427ec0a95850fa65b05e9af77 | /confinterval_tstudent_02.R | df980d2f45699b60ed1436424f77553e0f163917 | [] | no_license | vcwild/statinference | f6312e1dce8f6af23412f69f2c1bedf868bec4d9 | 0f17f35864865f35e3dd16d1a56a54a417431221 | refs/heads/master | 2022-07-12T18:18:28.751742 | 2020-05-13T00:08:25 | 2020-05-13T00:08:25 | 263,422,234 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 505 | r | confinterval_tstudent_02.R | "A diet pill is given to 9 subjects over six weeks.
The average difference in weight (follow up - baseline) is -2 pounds.
What would the standard deviation of the difference in weight have to be
for the upper endpoint of the 95% T confidence interval to touch 0?"
n = 9 # subjects
t = 6 # weeks
xbar = -2
mu = 0
p = ... |
f760574fb18f7dcd8ca7ffde4737e053094fc473 | ec2d6f790c243428084c6c8f708955e31129a431 | /man/odds_ratio_test_description.Rd | 3d41bde3c5b58d1d3ad7e36b5d4aff7bdd93c97f | [] | no_license | jaropis/shiny-tools | a221a279c600ca46d3f73620dab80018329579fa | b3d4fdda883585e562d030adf8ac307907d5e8d7 | refs/heads/master | 2023-03-15T03:53:49.461990 | 2021-03-20T12:08:37 | 2021-03-20T12:08:37 | 220,004,701 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 457 | rd | odds_ratio_test_description.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/constants.R
\name{odds_ratio_test_description}
\alias{odds_ratio_test_description}
\title{adds the description of the RunTest_Fisher}
\usage{
odds_ratio_test_description(language)
}
\arguments{
\item{accepts}{the language in which the app wil... |
85089a94758b69bf3b2d6f69ba7914575699e4a8 | bee3492da4b235152794f3ec17485bc854f362a7 | /cgatshowcase/R/counts2tpm.R | 0eab417bfbe4f0918891fd1c59dab8cf1881992f | [
"MIT"
] | permissive | cgat-developers/cgat-showcase | e62547dee9967d69d21b0bf9c9ef8b972e50e595 | 1bb08796012be1859286e60483407bc34b4b8158 | refs/heads/master | 2020-03-30T20:15:09.053929 | 2019-03-11T13:32:02 | 2019-03-11T13:32:02 | 151,579,954 | 0 | 0 | NOASSERTION | 2019-02-21T16:07:34 | 2018-10-04T13:54:49 | Python | UTF-8 | R | false | false | 2,222 | r | counts2tpm.R | library(optparse)
option_list <- list(
make_option(c("--counts"), default="must_specify",
help="Specify a counts table to convert to tpm's"),
make_option(c("--genome"), default="must_specify",
help="Specify a genome name in ensembl convention"),
make_option(c("--meanfraglength"), default="must... |
5956d03b2da7401dfc0350ac1deb325a1a8a4ebb | 28540d37a1aa353193e6573391d27a98c9c378c9 | /MechaCarChallenge.RScript.R | f82438e6b025a8acf9de1293a92b0b52af767505 | [] | no_license | linb960/MechaCar_Statistical_Analysis | 8de594fa1fdcceb756c1ca813deb1b99d0e86016 | 88ccaf55e140ebaac103d206f65657ef94d6ee2f | refs/heads/main | 2023-06-04T14:58:54.374135 | 2021-06-22T20:38:32 | 2021-06-22T20:38:32 | 379,079,091 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,188 | r | MechaCarChallenge.RScript.R | # Deliverable 1
library(dplyr)
MechaCar_table <- read.csv(file='MechaCar_mpg.csv',check.names=F,stringsAsFactors = F)
head(MechaCar_table)
lm(mpg ~ vehicle_length + vehicle_weight + spoiler_angle + ground_clearance + AWD ,data=MechaCar_table) #generate multiple linear regression model
summary(lm(mpg ~ vehicle_lengt... |
f62ad87532e9d23b1a9d64755997ac0f4e2acfd1 | f1897fae82edc098385a75d60ee934691a1eddcd | /binomial/tests/testthat/test-check.R | 21b19db1d0224c9745a17fd5c065eb51693fe330 | [] | no_license | stat133-sp19/hw-stat133-Zehao1006 | 6bb9367077e24ee8926dd0af78c38314ba2767df | 17bf42c3b0d93d854fb56d3b46a8f85b3b8efe14 | refs/heads/master | 2020-04-28T14:52:57.081374 | 2019-05-01T02:23:01 | 2019-05-01T02:23:01 | 175,352,668 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 641 | r | test-check.R | context('check for checkers')
test_that("check_prob() works as expected",{
expect_error(check_prob(2))
expect_error(check_prob(c(0.5,0.3)))
expect_error(check_prob('a'))
expect_error(check_prob(TRUE))
})
test_that("check_trials() works as expected",{
expect_error(check_trials(-2))
expect_error(check_trial... |
13cd770c6e4eef39294790267b99a9e2acd8062c | 302d026524486f0ad386599fac8dd4f57278ba38 | /man/trueLength.Rd | b0695779af9e314c4a46901205d14e482f032a24 | [
"CC0-1.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | cwhitman/GenEst | 96d72e50eafe5e71c25a230c8046f80e152b1963 | 7c84c887b3f671fa8786eee8077512b8d80b7883 | refs/heads/master | 2020-03-30T18:03:28.168191 | 2018-10-11T07:04:03 | 2018-10-11T07:04:03 | 151,481,672 | 0 | 0 | NOASSERTION | 2018-10-03T21:17:44 | 2018-10-03T21:17:44 | null | UTF-8 | R | false | true | 431 | rd | trueLength.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utility_functions.R
\name{trueLength}
\alias{trueLength}
\title{Get the length of real things}
\usage{
trueLength(x)
}
\arguments{
\item{x}{vector of values}
}
\value{
integer of how many non-NA values in x
}
\description{
Leng... |
44c8dbde146b3cf8e4d028f65d1ff33b2f23cbcd | 07c0afbc28b2dc1db824add0b971ba87adabb793 | /tests/testthat/test_arg_validation.R | 85abac894203b78c2ff49fc4e576a24fd83d2347 | [
"BSD-2-Clause"
] | permissive | teaguesterling/receptormarker | 0169ddf77b4c5ea53b903c8c428d176441cf824e | 44450cb8a73c6790484a731abb36c67ea1daed48 | refs/heads/master | 2020-12-25T20:42:47.149120 | 2016-03-16T22:38:00 | 2016-03-16T22:38:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,214 | r | test_arg_validation.R | context("Test internal functions that validate other function arguments")
test_that("making sure arguments are TRUE/FALSE works properly", {
arg_list <- list(fake_param=TRUE, another_param=23)
expect_error(validate_true_false(arg_list), "another_param")
arg_list <- list(fake_param=TRUE, another_param=1)
expect... |
993f863c661347c9a6ffc1ee15df617ff6de562c | a0aba1a0a7819f5f06d52108166913a04735a0d1 | /code/prediction/extern/R/ComputeGIES.R | 0c272dd0321839dd789fbde23b0d3a479c7aa1de | [
"BSD-2-Clause"
] | permissive | philipversteeg/validation-yeast | cebdc40908ce6fbda916f9df6b940aeee63e0234 | a977a2b038618530b75577495ade6b7a9e728da4 | refs/heads/master | 2021-05-04T22:14:28.638729 | 2018-02-20T23:00:21 | 2018-02-20T23:00:21 | 120,023,890 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,416 | r | ComputeGIES.R | ##########
# Author: Philip Versteeg (2017)
# Email: pjjpversteeg@gmail.com
# #######
# Compute Greedy Interventional Equivalence Search (GIES), callable from command line
# with arugments. Can be bootstrapped if and can use multiple processes if so.
#
# Args:
# input Input MicroArrayData hdf5 format file
# ... |
5d95870af96af0f8b6bdc522e690265710b8cf4f | 608adcf47ef5c776429dfe2e555c20c0ef54547a | /man/Hst.sumup.Rd | cc835e69e804bb76e5ed2fbb3bac4cab8f8cb794 | [] | no_license | cran/widals | b722ad1e1e0938998461d8fe83e8b76437cbc031 | c431b52c0455ad4568072220838b571bacc3b6ba | refs/heads/master | 2021-05-15T01:43:27.321897 | 2019-12-07T21:20:02 | 2019-12-07T21:20:02 | 17,700,881 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,381 | rd | Hst.sumup.Rd | \name{Hst.sumup}
\alias{Hst.sumup}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Create Covariance Matrix
}
\description{
Calculate the covariance matrix of all model covariates
}
\usage{
Hst.sumup(Hst.ls, Hs = NULL, Ht = NULL)
}
%- maybe also 'usage' for other objects documented here.
\argumen... |
51e201880416297708bf251a3776ea136f114419 | 4b10c2e443fcbec746cb8f5db8aedf0a0933a439 | /man/SphericalAngleForEquilateralTriangleFromGreatCircleSideLength.Rd | 163e7b8c04c9e403fe8a2b04b536e7fc6cf002c8 | [] | no_license | laurasoul/dispeRse | 81968d976ce9477f45584f62c9a7baa87bb42273 | 0f1316bc963fa8cea3ed3da0f7bb585e8acd7079 | refs/heads/master | 2021-06-05T09:02:45.991357 | 2021-05-24T21:15:14 | 2021-05-24T21:15:14 | 33,941,723 | 5 | 0 | null | null | null | null | UTF-8 | R | false | true | 920 | rd | SphericalAngleForEquilateralTriangleFromGreatCircleSideLength.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in
% R/SphericalAngleForEquilateralTriangleFromGreatCircleSideLength.R
\name{SphericalAngleForEquilateralTriangleFromGreatCircleSideLength}
\alias{SphericalAngleForEquilateralTriangleFromGreatCircleSideLength}
\title{Finds the spherical angle fo... |
a1f6c67a631035eff001396dc496cf6f7aa032d6 | e56078d8c6c239152fcb05828ce4ed956b9d7741 | /man/getHyperPathway.Rd | 5b989258fceb8cc24969b6a97d4115bb22e84448 | [] | no_license | sbwilson91/cellcall | 2d9dd5e22870d187daa06a5ba7e030cc0ce0b5d6 | d8e34033714611c0c325c6266aed7c01cf1f1b0a | refs/heads/master | 2023-08-16T18:48:15.400378 | 2021-08-13T03:38:33 | 2021-08-13T03:38:33 | 407,876,678 | 0 | 0 | null | 2021-09-18T14:04:57 | 2021-09-18T14:04:57 | null | UTF-8 | R | false | true | 779 | rd | getHyperPathway.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getSignificantPathway.R
\name{getHyperPathway}
\alias{getHyperPathway}
\title{enrich communication relation on the pathway}
\usage{
getHyperPathway(data, cella_cellb, IS_core = TRUE, Org = "Homo sapiens")
}
\arguments{
\item{data}{a dataframe... |
e470b1336f2c7c4d13f61c60ab267413d6d17920 | 1a63c15398a830a9447d86828e76cc2790e6af1e | /R/reports.R | 8534a180d558139ebd28b763c27c8750a4011913 | [
"MIT"
] | permissive | sckott/discgolf | 327fff393389b1f955f85ce50b88265263a49c95 | 7fd0de8878ddc2a014b358def8ba1580165be5e6 | refs/heads/master | 2021-07-12T09:01:07.138933 | 2021-02-26T21:02:48 | 2021-03-01T16:35:14 | 28,190,714 | 7 | 3 | NOASSERTION | 2021-03-01T16:35:14 | 2014-12-18T16:11:01 | R | UTF-8 | R | false | false | 611 | r | reports.R | #' Reports
#'
#' @name reports
#' @param start_date,end_date start and end dates
#' @param category_id a category id
#' @param group_id a group id
#' @param ... Named parameters passed on to [crul::verb-GET]
#' @examples \dontrun{
#' x <- reports_page_views(start_date = "2019-08-01", end_date = "2019-09-11")
#' }
#' @... |
05c97ead98714801ad1b956478745950cd9a0d5d | 9eaf80388eab753441863c288c8c45967488894c | /MM1.R | 0075d1444729a8c092f12206e488aadb0ee86694 | [] | no_license | LillyannaHilario/Repositorio | f3cf78f7de853f7b807abf86d59c6a49dea544c9 | 9edc60ca55d011d9bccd31c49923bb766985f79a | refs/heads/master | 2020-06-16T12:07:56.285799 | 2016-11-29T18:39:31 | 2016-11-29T18:39:31 | 75,106,119 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,652 | r | MM1.R |
mm1<-function(){
lambda = 2
promedio_lambda=(1/lambda)
cat("Tiempo promedio de llegada:",promedio_lambda,"\n")
mu = 4
promedio_mu=(1/mu)
cat("Tiempo promedio del servicio:",promedio_mu,"\n")
cat("\n")
tiempo_limite = 20
tiempo_actual = 0
total_cola = 0
store = 0
tiempo_exp = rexp(1,lambda)
cat("Tiemp... |
820002e724c80833089fbf190f521741199aeec5 | 38747ebed43ead47e4f39c83e34c2810e3c87df8 | /code/one-time-processing.r | 4cddc7193191579f92ce8f82916de85caa94a989 | [] | no_license | affeder/SHIV-structure | 2ffb44cd6ff150615f7064993a743189ebfa2022 | f2c1b2d69ebf01b4c158f467b926958c6f813f93 | refs/heads/master | 2020-06-10T20:30:02.283918 | 2017-04-26T03:14:37 | 2017-04-26T03:14:37 | 75,883,271 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,323 | r | one-time-processing.r | #This file converts fasta files into the format usable for the analysis
require(ape)
require(foreach)
require(seqinr)
require(stringdist)
RNA <- read.dna("../dat/RT-SHIV-RNA.fa", format = "fasta")
DNA <- read.dna("../dat/RT-SHIV-DNA.fa", format = "fasta")
seqnames <- c(rownames(RNA), rownames(DNA))
rnanuc <- foreach(... |
27d0864ae7be3dfcc61e2dafcaa3986373b21447 | 2a87ad7ed0d4944a499fbc4ad174d2231e954938 | /R/Rice_geno_map.R | c682b99f96b1ea89eb463932fb40f37737415428 | [
"MIT"
] | permissive | KosukeHamazaki/RAINBOWR | cb5dcdcb051c90f643e6e1462c7d63b306a7df5d | 0af152aa7c0ea87caa628931135acbca6bf4d2b3 | refs/heads/master | 2023-08-04T20:05:47.833628 | 2023-07-25T08:18:44 | 2023-07-25T08:18:44 | 216,477,356 | 16 | 5 | null | null | null | null | UTF-8 | R | false | false | 808 | r | Rice_geno_map.R | #' Physical map of rice genome
#'
#' @name Rice_geno_map
#'
#' @description A dataset containing the information of phycical map of rice genome (Zhao et al., 2010; PLoS One 5(5): e10780).
#'
#' @format A data frame with 1311 rows and 3 variables:
#' \describe{
#' \item{marker}{marker name for each marker, character}
... |
669af81c08016f4421bc549c535c658d4896adf7 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/NISTunits/examples/NISTacreFtTOcubMeter.Rd.R | c22755ab20621df91f2250e1fd3313f692a55011 | [] | 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 | 204 | r | NISTacreFtTOcubMeter.Rd.R | library(NISTunits)
### Name: NISTacreFtTOcubMeter
### Title: Convert acre foot 7 to cubic meter
### Aliases: NISTacreFtTOcubMeter
### Keywords: programming
### ** Examples
NISTacreFtTOcubMeter(10)
|
d25fb942b3e079f3dbf6d7b92130f13da94be800 | 907aaa2ef40dd8beeb9d533fa519fac0afaf8e37 | /man/aggreg.Rd | a1512c3c739c88bda067143de8d949873fe132d4 | [] | no_license | AndreasFischer1985/qqBaseX | eaee341155d66d4ff92ca00d6b4d419c3bf1f28a | 98bec0ce041666d09d2c89a4ddc6b84a2349fa53 | refs/heads/master | 2022-09-14T18:58:05.493380 | 2022-08-26T11:52:38 | 2022-08-26T11:52:38 | 189,703,556 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,156 | rd | aggreg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aggreg.r
\name{aggreg}
\alias{aggreg}
\title{Function aggreg}
\usage{
aggreg(x, y = NULL, fun = NULL, verbose = F, y.is.dummy = F,
attr = F)
}
\arguments{
\item{x}{Numeric vector or matrix.}
\item{y}{Vector or matrix specifying the subsets... |
888143cb842f0e845819415ac2024f7a54b0ce50 | 58bc1dcc03e2d21e6649fcc03e9b3014c92d5360 | /man/set_confounds.Rd | 3fd9acbf6c94ce3c76cc790af2c6e555e88ad657 | [] | no_license | yadmasu1/CausalQueries | 58c6435bcd7a6cc09d37b8d9c2140228b6c20b94 | a137adf5ae5031562e56ed589e015fedc069b12f | refs/heads/master | 2022-11-11T03:30:12.983147 | 2020-07-03T22:23:37 | 2020-07-03T22:23:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 531 | rd | set_confounds.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/set_confounds.R
\name{set_confounds}
\alias{set_confounds}
\title{Set confounds}
\usage{
set_confounds(...)
}
\arguments{
\item{...}{arguments passed to set_confound}
}
\value{
An object of class \code{causal_model}. It essentially returns a ... |
8434a8b794db62ed8e95e08e1cf2be7240a9fc72 | 5a7e12e77006ddd46c9cd69bbb3985945138894b | /man/mesh_triangle_integration.Rd | a7eea87bf116877a7318a0c8a7f3a011b4df160c | [] | no_license | cran/inlabru | ba002f0eb10ba85144dfbfeb1f3af4755b9d8acb | 77e5590164955a652e9af2d6a814fdf2c8d9a1f2 | refs/heads/master | 2023-07-12T01:38:40.674227 | 2023-06-20T13:10:02 | 2023-06-20T13:10:02 | 110,278,992 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,132 | rd | mesh_triangle_integration.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/integration.R
\name{mesh_triangle_integration}
\alias{mesh_triangle_integration}
\title{Integration scheme for mesh triangle interiors}
\usage{
mesh_triangle_integration(mesh, tri_subset = NULL, nsub = NULL)
}
\arguments{
\item{mesh}{Mesh on ... |
32e43315f9beb5c83c30d0093d8c7e4a8e992aca | 6c47f3bee1b4d808141312a720b70d2705e5516c | /lectures/lecture10/problemset10_solutions.R | ced55d508405959234c5e552287b3575d5da358c | [] | no_license | ZhouLinli/rclass | 9c9d754b75637e8cbae21c5664dfd2b8c0a2a0ec | d13cca7d59549fb7719f1771b853dab647b3b337 | refs/heads/master | 2023-04-09T21:01:01.027776 | 2020-10-29T18:01:39 | 2020-10-29T18:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,376 | r | problemset10_solutions.R | #-------------------------------------------------------------------------------------------------------------------------------------------------------
#Grade (/20)
#-------------------------------------------------------------------------------------------------------------------------------------------------------... |
59906cff7bfc83840cee35012f7d3892b71d31b0 | 7f77551f86a4b5b9e6bacd39cacd6d170141c1fa | /1209/Lecture 7.R | 228100a3603955c5e0b46789822dcbc2e29a6c80 | [] | no_license | ocowchun/R_Computing-_for_Business_Data_Analytics | b96722ccd04c3d2a5c507694548c5764afb354e4 | 66276ec423f0cddf53215743019202546beef8dd | refs/heads/master | 2021-01-10T20:29:05.086711 | 2015-01-16T10:40:38 | 2015-01-16T10:40:38 | 24,643,703 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 5,597 | r | Lecture 7.R | #7.1
#
set.seed(3759)
b0=0.2
b1=0.5
n=1000
x=runif(n, -1, 1)
S=1000
par.est=matrix(NA, nrow=S, ncol=4)
for(s in 1:S){
y=rpois(n,exp(b0+b1*x))
model_glm=glm(y ~ x, family="poisson")
model_lm=lm(y ~ x)
par.est[s, 1]=model_glm$coef[1]
par.est[s, 2]=model_lm$coef[1]
par.est[s, 3]=mode... |
4e8abb9187d77aa051ad5d63b3e2f6d126a46bd5 | 77bfcf3f6d6e95df3dac88e31962e03182a5656d | /.R | b30f6a48fb5600ee0a8b6b185239aa78d029e63d | [] | no_license | ahaime/idealpointsElSalvador | be1924c625c36de024eccfd87b3195cfcb669e94 | b6749b31df4d39d433c1b4856992cc5747f76ea6 | refs/heads/master | 2021-01-23T21:23:49.121684 | 2018-02-28T22:21:35 | 2018-02-28T22:21:35 | 102,898,261 | 0 | 0 | null | 2018-02-28T21:47:25 | 2017-09-08T19:41:18 | R | UTF-8 | R | false | false | 3,197 | r | .R | library(pscl)
library (ggplot2)
##### Load the votes matrix (change the path accordingly in line 6) ##############
store<- read.csv("/Users/ah35/Google Drive/El Salvador roll calls/Data/Legislature 2012-2015/rollcalls_legislature2.csv")
store<- store[,-1]
store[ store == 9 ] <- NA
#### Dropping
#### Uncontested
####... |
132b0ad639b9bfbfc01ac18fe9129318a97959b2 | d354983f75228b3aa82eea518f42de95e3fa32f7 | /functions/sort.R | b0639055ba1905dca056f724f021f7aba509dc02 | [] | no_license | ReneNyffenegger/about-r | f1f1d1f6c52f0446207978e78436ccbd91b89d20 | ae511ae632e1f8827cab91d4e36c1a9349fda5ab | refs/heads/master | 2022-01-14T10:19:45.230836 | 2021-12-27T19:50:37 | 2021-12-27T19:50:37 | 22,269,629 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 321 | r | sort.R | v <- c (5, 3, 6, 1, NA, 2, 7, 4 )
sort(v)
# [1] 1 2 3 4 5 6 7
sort(v, decreasing=TRUE)
# [1] 7 6 5 4 3 2 1
sort(v, na.last=TRUE)
# [1] 1 2 3 4 5 6 7 NA
sort(v, na.last=FALSE)
# [1] NA 1 2 3 4 5 6 7
sort(v, na.last=NA)
# [1] 1 2 3 4 5 6 7
is.unsorted(v)
# [1] NA
w<-sort(v)
is.unsorted(w)
# [1] FALSE... |
ca4a61144e718cf2061c153ec5d553c9eb9d765f | 8577e9d70acc9b3383684b8aedd5bdc36b72751d | /R/PasolliE_2018.R | 9fb95415f28ace99ce882a21471b5a0c3c046a39 | [
"Artistic-2.0"
] | permissive | Liuyangying/curatedMetagenomicData | f6a9bffb45e2e3b71d3429d798a8bcd2fe309aa2 | 9c5f2bfa7c15c839f30049a9ec41ca57c6393d3f | refs/heads/master | 2020-05-20T05:13:08.761177 | 2019-04-25T14:34:05 | 2019-04-25T14:34:05 | 185,399,986 | 1 | 0 | Artistic-2.0 | 2019-05-07T12:43:53 | 2019-05-07T12:43:52 | null | UTF-8 | R | false | false | 1,631 | r | PasolliE_2018.R | ## generated by make_data_documentation(): do not edit by hand
## see source in data-raw/make_data_documentation.R
#' Data from the PasolliE_2018 study
#'
#' @aliases PasolliE_2018.genefamilies_relab.stool PasolliE_2018.marker_abundance.stool PasolliE_2018.marker_presence.stool PasolliE_2018.metaphlan_bugs_list.stoo... |
02a7359f3ed5c7ce72b9f5130fc3bffac9c3aba0 | 2edcd98d334212b5bb8d49a39f961ab22950daaf | /R/personal-savings.R | c76ab2235eb015a47ac9bd12f9ebdf8489e71d9a | [] | no_license | davidallen02/personal-income-spending | 392004e36372e2af3f3d0430534f990fda4ea5ce | b51a0355bb87900b34201f94931f1a61cab383fc | refs/heads/master | 2023-01-04T09:47:15.959500 | 2020-10-28T19:10:24 | 2020-10-28T19:10:24 | 270,889,368 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 496 | r | personal-savings.R | library(magrittr)
dat <-pamngr::join_sheets(c("pidss", "pidsdi")) %>%
dplyr::mutate(savings_rate = pidss/pidsdi * 100) %>%
dplyr::select(dates, savings_rate) %>%
reshape2::melt(id.vars = "dates") %>%
dplyr::filter(dates >= as.POSIXct("2017-01-01"))
p <- dat %>%
pamngr::lineplot() %>%
pamngr::pam_plot(
... |
9d5d4da149171e9e0e4892ac1ce324fccdcd893c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/imagerExtra/examples/RestoreHue.Rd.R | 9cc2d015f13ebb911b125670fca23123ec0a9cf1 | [] | 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 | 268 | r | RestoreHue.Rd.R | library(imagerExtra)
### Name: RestoreHue
### Title: restore hue of color image
### Aliases: RestoreHue
### ** Examples
g <- Grayscale(boats)
hue <- GetHue(boats)
layout(matrix(1:2, 1, 2))
plot(g, main = "Original")
RestoreHue(g, hue) %>% plot(main="Resotred")
|
173cefbcbfd2ae236e7897d61d3603f52a35ae32 | 4d90245de35bc2df919f0b607803b4071d4f9456 | /man/get_results.Rd | 99d81657936d49f0006ad1e8fda14700c374e887 | [] | no_license | musically-ut/typeform | 1c41b9c07f95c7c3fbe4e4bf6d1ad5540b0a94da | 89c7017a64ef2655dc405fcf6ee2bd8659479759 | refs/heads/master | 2020-05-25T15:46:54.944109 | 2016-03-26T21:03:13 | 2016-03-26T21:03:13 | 54,839,427 | 2 | 0 | null | 2016-03-27T17:14:21 | 2016-03-27T17:14:20 | null | UTF-8 | R | false | true | 1,611 | rd | get_results.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_results.R
\name{get_results}
\alias{get_results}
\title{Download questionnaire results}
\usage{
get_results(uid, api, completed = NULL, since = NULL, until = NULL,
offset = NULL, limit = NULL, order_by = NULL, simplify = TRUE)
}
\argume... |
48397d7e5e3b8c1653b2ff338e5d1ea63a4aaead | 097e93a460f8a449fd3d2f2a9211a95546a4b8ab | /man/dggev.Rd | 9556134b924cbe3608cec86df7304f06c2ca314c | [] | no_license | cran/MCMC4Extremes | c589f1419caacffd076e9cacaf3296fb45ef038d | f4ac4f621d1c2527402c2ad7398587e1b1c0ab22 | refs/heads/master | 2020-04-15T17:29:27.007122 | 2016-07-14T07:18:48 | 2016-07-14T07:18:48 | 33,276,883 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,151 | rd | dggev.Rd | \name{dggev}
\alias{dggev}
\alias{pggev}
\alias{qggev}
\alias{rggev}
\title{
Dual Gamma Generalized Extreme Value Distribution
}
\description{
Cumulative probability, quantiles, density and random generation from the dual gamma generalized extreme value distribution.
}
\usage{
pggev(q, xi, mu, sigma, delt... |
87dd0fb378b4a12a5d9bccf054ce9ddc69cd1625 | d040574327243ddb8712f28b99d51c390257c896 | /man/intensity_plot.Rd | 91c9b110ee9c6d16c266af68d0685de1ffaaa108 | [
"MIT"
] | permissive | faye-yang/MSPTM | 646fbfce7e900628edd515f29a07cea7880f4a3c | b7974dd46450221480092a0ec51c490b3231673e | refs/heads/master | 2020-03-30T17:37:09.179322 | 2018-12-06T01:12:07 | 2018-12-06T01:12:07 | 151,462,814 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,043 | rd | intensity_plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{intensity_plot}
\alias{intensity_plot}
\title{\code{intensity_plot} output graph of intensity of amino acid.}
\usage{
intensity_plot(data, modification, mZmarker_ions, search_engine)
}
\arguments{
\item{data}{mass spetrometry inf... |
94a358108caa0fe6e73048cde5a737ed97a2ef38 | e60ceb3886665655c29a00571156050b2a8d813e | /milestone.R | 0d4891be151abbef3a7c3a32bf4a08cb9e8223ac | [] | no_license | LarionovaAnna/PredictNextWord | 22a964e8599f02213b672fb67b2611321accb3f7 | 029cda58b4b5c68ca6cd70aeb1b3e1c9cb2011dc | refs/heads/master | 2020-04-05T00:04:13.317424 | 2015-08-19T17:48:43 | 2015-08-19T17:53:11 | 41,050,150 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,098 | r | milestone.R | #Libraries loading
library(tm)
library(rJava)
library(RWeka)
library(SnowballC)
library(wordcloud)
library(ggplot2)
library(tm.plugin.webmining)
library(stringr)
#Data loading
news <- readLines("en_US/en_US.news.txt", warn = FALSE, n = 50000)
blogs <- readLines("en_US/en_US.blogs.txt", warn = FALSE, n = 50000)
twitter... |
a957f1d54505439a39d10830967203759e001208 | 7bb3f64824627ef179d5f341266a664fd0b69011 | /Numerical_Methods_by_E_Balaguruswamy/CH6/EX6.7/Ex6_7.R | 8212cef0e10ea67575e641ef555908aa3cddb87b | [
"MIT"
] | permissive | prashantsinalkar/R_TBC_Uploads | 8bd0f71834814b1d03df07ce90b2eae3b7d357f8 | b3f3a8ecd454359a2e992161844f2fb599f8238a | refs/heads/master | 2020-08-05T23:06:09.749051 | 2019-10-04T06:54:07 | 2019-10-04T06:54:07 | 212,746,586 | 0 | 0 | MIT | 2019-10-04T06:03:49 | 2019-10-04T06:03:48 | null | UTF-8 | R | false | false | 1,322 | r | Ex6_7.R | # Example 7 Chapter 6 Page no.: 147
# Newton-Raphson Method
install.packages("numDeriv")
library("numDeriv")
# Given Function
u <- function(x) {
x^2-3*x+2
}
curve(u, xlim=c(-5,5), col='blue', lwd=2, lty=2, ylab='f(x)')
abline(h=0)
abline(v=0)
# From the curve the points in the vicinity ar... |
aedda7703c31f93cd0a43e6c127994a4e0247288 | f317887c7d83e62235ba2cf19065dcef9244f645 | /man/summary.pltdTable.Rd | 6b00f4c527bf427203f65c73f4d09589fcca8dad | [] | no_license | rrprf/tablesgg | 3fec64842266f8a7f28e29899d31c673b5dad09c | 1a60f894869326b34eff1804c9378a1c05e78a79 | refs/heads/master | 2023-05-07T14:12:05.102317 | 2021-06-03T14:45:34 | 2021-06-03T14:45:34 | 318,291,905 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,322 | rd | summary.pltdTable.Rd | % Auto-generated documentation for function summary.pltdTable
% 2021-06-02 11:12:19
\name{summary.pltdTable}
\alias{summary.pltdTable}
\title{Summarize the Dimensions and Options of a Plotted Table }
\description{
Summarize the dimensions and display options of a plotted table.
}
\usage{
\method{summary}{pltdTable}(... |
26d75666b91c1eabda23abd4c78bc0774f02ee29 | f9bc24751d593694fbc98648519df43c70d253ee | /inst/unitTests/test_synapseLogin.R | 0e0a41ef7c0129f2c5160525eaf368671374d58b | [] | no_license | brian-bot/rSynapseClient | cf607b242fa292902f832d6a5ecffceeba80eaef | cef1a6bb1f28034a9de826f3e92f1b1139e56c61 | refs/heads/master | 2020-04-05T22:52:30.912248 | 2017-04-28T17:45:58 | 2017-04-28T17:45:58 | 3,354,254 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,659 | r | test_synapseLogin.R | ## Unit test synapseLogin
##
## Author: Matthew D. Furia <matt.furia@sagebase.org>
###############################################################################
.setUp <-
function()
{
synapseClient:::.setCache('oldSessionToken', synapseClient:::.getCache("sessionToken"))
synapseClient:::.setCache('oldHmacKey'... |
3496f42f06ed6ac3758c7cd508d655638fc0f0e3 | 3a5b24af385e8bd09526d4742c81bc3a2e01be4e | /R/visualization.R | 26ad81f99a064ef4b9de7d75263de9a09a3e8292 | [] | no_license | teryanarmen/CellChat | 019aa5099f53518aef45b3c1bf8a7cdc8370b2a2 | 56ac7b92718517ab5f9cddb80ca859d6ae29bf30 | refs/heads/master | 2023-03-29T19:42:54.226398 | 2021-04-08T19:05:21 | 2021-04-08T19:05:21 | 356,020,334 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 185,166 | r | visualization.R | #' ggplot theme in CellChat
#'
#' @return
#' @export
#'
#' @examples
#' @importFrom ggplot2 theme_classic element_rect theme element_blank element_line element_text
CellChat_theme_opts <- function() {
theme(strip.background = element_rect(colour = "white", fill = "white")) +
theme_classic() +
theme(panel.bord... |
709f13158a162877fa520c93b34bc7d2cc33eed0 | f7d9d31d70f17ed4e8eb0d17c1394667e8e52d11 | /turmas/2020_turma1/R/graficos.R | a8a67d2bb08b9a72e3586f34e5f923e6e36733c5 | [] | no_license | seade-R/programacao-r | ea57032585127a5199f53bfb5c637c5d371562a7 | 3b2599bebb0c975613d4b070875766e9dabd40ec | refs/heads/master | 2023-03-10T10:07:22.794751 | 2023-03-07T00:55:25 | 2023-03-07T00:55:25 | 246,390,979 | 15 | 5 | null | null | null | null | UTF-8 | R | false | false | 4,725 | r | graficos.R | library(tidyverse)
library(readxl)
library(janitor)
obitos_2018_url <- 'http://www.seade.gov.br/produtos/midia/2020/02/DO2018.xlsx'
download.file(obitos_2018_url, 'obitos_2018.xlsx')
obitos_2018 <- read_excel('obitos_2018.xlsx')
obitos_2018 %>%
glimpse()
obitos_2018 %>%
ggplot() +
geom_bar(aes(x = idadeanos... |
3042856021c6e935e5189c1dd9ff07439dd8939d | 2099a2b0f63f250e09f7cd7350ca45d212e2d364 | /DUC-Dataset/Summary_p100_R/D073.SJMN91-06164210.html.R | abaf6a47ce0c1e1e08f09c22b85697c3f95ed77f | [] | no_license | Angela7126/SLNSumEval | 3548301645264f9656b67dc807aec93b636778ef | b9e7157a735555861d2baf6c182e807e732a9dd6 | refs/heads/master | 2023-04-20T06:41:01.728968 | 2021-05-12T03:40:11 | 2021-05-12T03:40:11 | 366,429,744 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 784 | r | D073.SJMN91-06164210.html.R | <html>
<head>
<meta name="TextLength" content="SENT_NUM:4, WORD_NUM:99">
</head>
<body bgcolor="white">
<a href="#0" id="0">It was followed by a second explosion a few minutes later and a third, smaller blast at 11:49 a.m.; The huge plume could be seen in Manila, 60 miles to the south, and reporters at the scene said i... |
a9b9687a92fa4cafda129f5ee9556e045da4345e | 3647a0d6e8869fbc1595d90527aafd34231304f1 | /Quant-Gen/additive_alleles_app.R | 2049288470a938552bf46d988a4a23540d3781fe | [
"MIT"
] | permissive | mweissman97/shiny_popgen | dce6d1a28a1b7574a5638a7265fa15d0002ea75b | dcb492f66501d22f4c4eb81d6c22c8064cb3b8c1 | refs/heads/master | 2023-07-12T02:51:13.543470 | 2021-07-14T02:25:28 | 2021-07-14T02:25:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,884 | r | additive_alleles_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(shiny)
pheno.dist <- function(n.loci, allele.types) {
n.alleles <- 2 * n.loci #2 alleles for each locus... |
4122bbc782b3162a2a5978486b6615cd213b60e8 | 92d0ec74ce59f8d98e858d02598cced7b0d30c54 | /data analysis/HPC_analysis.R | 5863a591cf73ad4c4abe64d4623a6e1522f21b38 | [] | no_license | Miaoyanwang/ordinal_tensor | 1a8bd71f227294c16e12c164af12edaa134f3067 | ba90e6df7ac5865c755373c84370042d4f1d528d | refs/heads/master | 2023-04-22T07:24:17.635342 | 2021-05-10T02:35:09 | 2021-05-10T02:35:09 | 209,680,209 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,675 | r | HPC_analysis.R | ### Cross validation ######
source("functions.R")
load("../data/dti_brain.RData")
### 5 fold ################ To Chanwoo: Please changes the sampling per instruction ####
# `index' is for 1:5
# I used following lines when I put codes in the server in sh file
# args index ==$SLURM_ARRAY_TASK_ID" filename.R
# i: re... |
a7b85121251b6159b5a82966f0ba501b59d0a46e | 486e148c5bbe8977a20e616500a80036d0edaba9 | /Y3-S2/TS/proiect-lab/lab.R | a1ebb555f1d2cc0be2987b1ac76e6168e5091f9c | [] | no_license | cluntraru/FMI | 12dc3a3da72ab90cc1bf69100cc1c09855983162 | d6ac083be495779604d83d1fe7f20f0197b589ca | refs/heads/master | 2022-09-19T04:42:03.597746 | 2020-05-28T11:33:49 | 2020-05-28T11:33:49 | 175,603,011 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 814 | r | lab.R | # Functia de intensitate din enunt
intensity <- function(t) {
if (t < 0 || t > 24) {
return(-1)
} else if (t >= 0 && t <= 8) {
return(15)
} else if (t < 14) {
return(2 * tan(0.1 * t) + 14)
} else {
return(9)
}
}
# Functie care intoarce timpul la care se petrece urmatorul eveniment Ts
genPoiss... |
8a42c6e12a79f80fefec22a61419fc7aca195ff4 | 19f0e3c6b29e88fa3797ab07b46870beafd6d3d1 | /gps-analysis/analysis.R | 31e921620b434e489f354ecce4c2088725190ab5 | [] | no_license | gretac/ura | fe7e0432c52dcc607eb0f06abc289132b515cf9e | e5fc3ae78625b672734d0744b708919959f92112 | refs/heads/master | 2021-01-22T09:20:50.163127 | 2016-02-05T20:41:23 | 2016-02-05T20:41:23 | 35,527,070 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 14,396 | r | analysis.R |
options(mc.cores = 4)
#setwd("/home/sfischme/Documents/acerta/pilots/ROS")
setwd("/Users/gretacutulenco/Documents/greta_dev/pilots/GPS-driving-reporting/")
## load Acerta
Sys.setenv(R_TRACES_DIR="../traces")
q <- getwd()
setwd("../../../tstat/site/Rserver")
setwd("/home/sfischme/Documents/acerta/tstat/site/Rserver")... |
1e39f99926e2ea6f2622638a832ce5a680263646 | 4fe1bb1ce1bc5d082585db2e47399f4e73434a46 | /R/isSNV.R | 71d19610d4b99af45340e70f96474e67bb7759fd | [
"MIT"
] | permissive | seandavi/MutationTools | 41da16852703a78411c10b3e06fb8c7de2ae6515 | c130cb9e80872acb45f88e4085af110847d204cf | refs/heads/master | 2016-09-10T20:03:54.992224 | 2014-03-28T14:23:32 | 2014-03-28T14:23:32 | 17,545,165 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,198 | r | isSNV.R | #' Determine if variants in a VCF object are SNPs
#'
#' Returns TRUE for variants that are SNVs and FALSE otherwise.
#' For variants with multiple ALT alleles, only the FIRST is used.
#'
#' @param variants an object inheriting from the \code\link{VCF}} or \code{\link{VRanges}} classes
#' @return logical vector with the... |
2f285e330565f42d6ec84f381835c1b971e75f36 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/2314_0/rinput.R | bbf0ab62a090e48644dbf11148aa5b010b3b9289 | [] | 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("2314_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="2314_0_unrooted.txt") |
0bc1defa6b75fdd8b7a87d89eb11d6eb4d063c52 | e0abbbf66e9e8f22b0237265762db65cad3dd40b | /test_retrievals.R | 84fb2d8aeb96d530dbc69c81f3796b63120a139b | [] | no_license | jylhaisi/post-processing-mos-point-analysis | 84f4860810d47c74e185f12bc7788778ec458b63 | f949615fa82ee516b3724257ac3b5c83b221352a | refs/heads/master | 2021-06-07T20:41:41.489122 | 2020-12-16T12:02:34 | 2020-12-16T12:02:34 | 100,267,033 | 0 | 0 | null | 2018-04-06T07:16:16 | 2017-08-14T12:49:54 | R | UTF-8 | R | false | false | 4,164 | r | test_retrievals.R | # This script retrieves foreign station data from CLDB and prints out max precipitation values in the woule observation time period
rm(list=ls())
# Reading in the required packages, mapping lists and functions
source("load_libraries_tables_and_open_connections.R")
# User-defined variables
timestamps_series <- define_t... |
b81ad9b0b2e701f66b7df457384ee2ead7c32b71 | 9f1f507043d4bd08deb5c0c4f887b38fe22cfa5f | /dataGenerationScripts/generateBaseDataCenter.R | 69151e8a62059952d126b702bfbdda3f25e9d3bb | [] | no_license | maximustann/PhDProject | d3371199ae53a9b0dff2e5eeea624e56a03c8e41 | cf09e31021780d505e79831d2806f0f6e4c368e2 | refs/heads/master | 2023-08-30T15:14:51.673989 | 2021-11-12T07:01:41 | 2021-11-12T07:01:41 | 298,183,027 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,403 | r | generateBaseDataCenter.R | cat('Usage: generateBaseDataCenter(testCaseSize, OSNum, testCase)\n')
generateBaseDataCenter <- function(testCaseSize, OSNum, testCase){
set.seed(testCaseSize + testCase)
generateArtificialData <- function(datasetName, whichVMsize, vmCpuLimit, vmMemLimit, size, testCase){
selectFromData <- function(datasetName, ... |
78dcd2c71ededf1a2cbd52340955f7699134f2e3 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /easyVerification/R/Ens2AFC.R | 3261f76d3b15ff3fa1998f12b0bdd0e680d92114 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,649 | r | Ens2AFC.R | # Ens2AFC.R Generalized Discrimination Score
#
# Copyright (C) 2016 MeteoSwiss
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at you... |
86bb3fe1e3b459c2c318b5b7271f5c3dec80d23b | 46bc9c9270977f361b52fe28a5041b34b962c248 | /app.R | 900cd33b60cfedb2029ed82b86418615eeae82fa | [] | no_license | margitaii/cs_shiny | d32b0ced1837487122dae732c2cf14f1c18fd1cc | f446c27ea356c968d957e5dfcb13023f8d34bc59 | refs/heads/master | 2022-04-14T07:54:09.212991 | 2019-01-22T07:52:33 | 2019-01-22T07:52:33 | 255,046,267 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,127 | r | app.R | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# The app visualizes transaction data from
# Erste Personal Accounts API
#
# API info: https://www.ersteapihub.com/docs/apis/bank.csas/v3%2Fnetbanking
#
library(shiny)
library(httr)
library(data.table)
library(... |
a4f86da5427a92ef7195b7d49da96f82f540ebaf | f9795034a885336779ae2d9a0eece9224d2f7cb1 | /query/rQuery.R | 31a065eaf42a6a73ee6d13247e797c26ad463955 | [] | no_license | anssonliang/R-EmailingExcelReport | a7e972a5815c638f172a1a0538df390538099fe7 | 19882c050b161cd6cc5bd8e2aa590dab39380236 | refs/heads/master | 2021-01-20T01:12:24.744245 | 2017-04-24T12:25:24 | 2017-04-24T12:25:24 | 89,236,276 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,675 | r | rQuery.R | # replace patterns in SQL script
#substituteFun <- function(sql, st_date = Sys.Date() - 1, end_date = Sys.Date() - 0){ # change date heres
substituteFun <- function(sql, st_date_input, end_date_input){
st_date <- as.numeric(difftime(st_date_input , unixTime, units = "sec"))
end_date <- as.numeric(difftime(... |
6d9de35ad7b2fcaa7fe5ac66a6f75d36273f041e | d79928950b55a5fd9f291bc9429e1e5b3a12a199 | /New Zealand early projects/Neural Nets and decision trees/distplots.r | f0a1f36e4fa0ba9faae286b7a6f5b23222e59c94 | [] | no_license | Przemek-Win/privateProjects | 0b09456b499e9d1fb2ad5f23861bbed8e5761f19 | b3eac22dfe075ba5a6d6cc76a839ace5a880de53 | refs/heads/master | 2022-12-13T14:43:26.707582 | 2018-08-15T21:28:07 | 2018-08-15T21:28:07 | 144,473,576 | 0 | 0 | null | 2022-12-08T02:22:20 | 2018-08-12T14:28:35 | Python | UTF-8 | R | false | false | 3,412 | r | distplots.r | ##############################################################################################
# Example to produce plot of:
# Relative distance in Feature Space (x) versus Relative Distance in Response space (y)
##############################################################################################
#
# Assume... |
fa4c2d22531423f7382a0be0b34a27240feca7c6 | ce8bb19d9ff723dcff105626d5a0eda60b2dd55b | /model_simple.R | af1a427451e4e2180ff75e82f46f54b6393eb495 | [] | no_license | hdshea/R4DS_Exercises | 0ddb96f0e1c845034d0e6a40c8435af845610022 | ae850f3086cd47f90dda092f07194d1bbcf2aa66 | refs/heads/main | 2023-04-09T09:23:42.174419 | 2021-04-01T13:14:01 | 2021-04-01T13:14:01 | 330,763,572 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,903 | r | model_simple.R | #' ---
#' title: "R4DS Model Section: Model Basics Chapter"
#' author: "H. David Shea"
#' date: "28 January 2021"
#' output: github_document
#' ---
#'
#+ r setup, include = FALSE
library(tidyverse)
library(modelr)
options(na.action = na.warn)
#+
#' ## 23.2 a simple model
ggplot(sim1, aes(x, y)) +
geom_point()
mo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.