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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
57294a45c8c951dd360e83dae1c784a1695b70d1 | 4e5f8ad9b0a094d509ee8ba34c761aefa18a006e | /grattan195.R | 7839b14ac8824aac182dea55f29a7f5ba5d7ac88 | [] | no_license | HughParsonage/r-dev-vs-release | 727b555a3440d6886f50daf2ad4c75d7da5a518c | 87fd595b04fd914a053dd6b0bf934f5da27990ab | refs/heads/master | 2021-06-02T22:25:43.271211 | 2020-11-29T04:25:36 | 2020-11-29T04:25:36 | 124,319,979 | 0 | 0 | null | 2020-11-29T04:25:37 | 2018-03-08T01:44:13 | R | UTF-8 | R | false | false | 451 | r | grattan195.R |
Sys.setenv('R_GRATTAN_BUILD_MAIN_VIGNETTE' = 'true')
Sys.setenv('R_GRATTAN_ALLOW_TAXSTATS' = 'true')
install.packages("remotes", repos = "https://cran.rstudio.com")
install.packages("grattan", repos = "https://cran.rstudio.com")
install.packages("taxstats", repos = "https://hughparsonage.github.io/tax-drat/", type ... |
d52838bb057324191d2b58523ee2d6c9e1bf83d0 | 8375d88db0ec7f04d04dd79385754ec831d03ee8 | /R/bcos.R | 91cb12ff70f91b4a279bd507f50fcf90c1401b3b | [] | no_license | cran/MIICD | 4346c8879f4049253ad6dce6061ff78f53ba86b3 | 4d9c804c12352edf4d18028091ad09b9bde259a4 | refs/heads/master | 2021-01-15T15:47:54.639481 | 2017-05-27T15:20:01 | 2017-05-27T15:20:01 | 19,073,304 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 521 | r | bcos.R | #' bcos : breast cosmesis data
#' @name bcos
#' @description A data frame with 94 observations on the following 3 variables : \itemize{
#' \item left
#' \item right
#' \item treatment
#' }
#' The data comes from the \code{Interval} library by Michael P. Fay.
#' @author Michael P. Fay
#' @examples head(bcos)
#' @docType... |
23728045e6d7999f54b430751a2cd6b0bae33c0b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/knockoff/examples/knockoff.filter.Rd.R | 9811ea86f04a5291fb34c31fec66f8d8911ac4e2 | [] | 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 | 633 | r | knockoff.filter.Rd.R | library(knockoff)
### Name: knockoff.filter
### Title: The Knockoff Filter
### Aliases: knockoff.filter
### ** Examples
p=200; n=100; k=15
mu = rep(0,p); Sigma = diag(p)
X = matrix(rnorm(n*p),n)
nonzero = sample(p, k)
beta = 3.5 * (1:p %in% nonzero)
y = X %*% beta + rnorm(n)
# Basic usage with default arguments
re... |
e07151ae1ee861ac7fb7d047e785f6fd71d33201 | 9ac4435b45098a4a0dc4c90fe118c40394767ba0 | /analysis/AlexandrovEtAl/script/subscript/perform_pmsignature.R | 45e482598c62a1fc0858ff686d4f9dc8b30e6dc7 | [] | no_license | friend1ws/pmsignature_paper | e0c2e66df310c1d7629da41dd300029fab2a7bb0 | ef93ee9b21570b0f3dd7de38ab004f6dd406ec9e | refs/heads/master | 2020-04-16T01:15:42.086275 | 2015-10-27T02:48:30 | 2015-10-27T02:48:30 | 30,580,825 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 523 | r | perform_pmsignature.R | #! /home/yshira/local/bin/R
library(pmsignature);
inputFile <- commandArgs()[5];
outputFile <- commandArgs()[6];
sigNum <- as.numeric(commandArgs()[7]);
trDirFlag <- as.logical(commandArgs()[8]);
trialNum <- as.numeric(commandArgs()[9]);
G <- readMPFile(inputFile, numBases = 5, trDir = trDirFlag);
BG_prob <- readBG... |
0ebc8243aa713444fe7ee2a1f082bb18be9a5f81 | 3b3f29bb712b8b0c73460e0dfe859bc1e3a63790 | /man/hhmmss_to_hms.Rd | e5b4f29535b77c3aac432b0dbe5b9c12b02d0a25 | [] | no_license | r-transit/tidytransit | 37765dedc4450dd1ff1b069f45491b69402e83da | 878e64a4a4b7f10b42f0e9d2c156fd1314fddaad | refs/heads/master | 2023-08-08T10:17:46.583304 | 2023-07-21T08:29:46 | 2023-07-21T08:29:46 | 142,806,717 | 123 | 24 | null | 2023-07-21T08:29:47 | 2018-07-30T00:43:24 | R | UTF-8 | R | false | true | 384 | rd | hhmmss_to_hms.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/time.R
\name{hhmmss_to_hms}
\alias{hhmmss_to_hms}
\title{convert a vector of time strings
empty strings are converted to NA}
\usage{
hhmmss_to_hms(time_strings)
}
\arguments{
\item{time_strings}{char vector ("HH:MM:SS")}
}
\description{
conve... |
28d65f2864846509535500761cfd2b9f07c4bb25 | aedb3cc6a5ff76468c2f244593381a851e36ef20 | /man/guttman.Rd | 16e1cbcec988829738eb90920eb0a4114c8863ad | [] | no_license | JackStat/Lambda4 | d340f354217363a4ae4a4d15e5ca4527a9cc9120 | 2da10dcf4ba68673bbc8de4a5417a4e28676274c | refs/heads/master | 2021-01-17T15:13:44.056771 | 2016-07-03T16:38:07 | 2016-07-03T16:38:07 | 9,309,287 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,177 | rd | guttman.Rd | \name{guttman}
\alias{guttman}
\title{Guttman's 6 Lambda Coefficients}
\usage{
guttman(x, missing = "complete", standardize = FALSE)
}
\arguments{
\item{x}{Can be either a data matrix or a covariance
matrix}
\item{missing}{How to handle missing values.}
\item{standardize}{When TRUE Results are standardized ... |
66f012965a8ea5e378db3cad2f66c61576f80c94 | e26f5924c22e7536d83d51ac3219a9ce4af16483 | /workout03/binomial/man/bin_cumulative.Rd | 0a8b18f4723b7ca75838a55bbc87bba32c0f3f08 | [] | no_license | stat133-sp19/hw-stat133-xihuanzhang | 1cd3e35a8a7be73f2174296c3c04dc07dbfb84d4 | a2bf17ccc8b8136ddde7858927dcef6d5d639269 | refs/heads/master | 2020-04-28T12:03:19.110912 | 2019-05-04T06:52:13 | 2019-05-04T06:52:13 | 175,263,547 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 519 | rd | bin_cumulative.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/function.R
\name{bin_cumulative}
\alias{bin_cumulative}
\title{binomial cumulative function}
\usage{
bin_cumulative(trials, prob)
}
\arguments{
\item{trials}{number of trials}
\item{success}{success rate of each trials}
}
\value{
A data fram... |
ed20149630126c2551244273a1a0162ac51a28ec | ab10f7fde360490c080c9a1184f8c868ace0cac8 | /man/add_counts.Rd | d03872116858e27544a8c2c273b6ffcf984e1fbf | [
"CC-BY-4.0"
] | permissive | cathblatter/cblttr | ca6b0160f25cd89d370aecc728f96e8cbd1e5365 | 41aaf0829084a545b9d7e0dcfa3df6c044c95412 | refs/heads/main | 2022-11-27T10:58:31.135308 | 2022-11-27T06:52:25 | 2022-11-27T06:52:25 | 161,007,732 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 602 | rd | add_counts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/add_counts.R
\name{add_counts}
\alias{add_counts}
\title{Add counts of multiple columns at once}
\usage{
add_counts(df, ...)
}
\arguments{
\item{df}{the dataframe to work on}
\item{...}{one or multiple column names to summarise by n() on}
}
... |
5fa638727158179bed69f787bc167295d76c48ee | af6cab822fab2115eaa2415ce0a0d3d7f607bf9d | /R/mixash.R | b78c532f78886561a4117e6ca56662f5dd4d8d9b | [] | no_license | mengyin/mixash | 9935d140cea102346ebd979798cc2259af85ae76 | 62bbf38e9b52c5c1ca39fc0c128da8988104fbd8 | refs/heads/master | 2016-09-12T22:49:43.137749 | 2016-05-20T15:18:16 | 2016-05-20T15:18:16 | 59,304,585 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,771 | r | mixash.R | library(SQUAREM)
library(gaussquad)
library(ashr)
#source('mix.R')
#source('added.R')
#' @title Function to compute the local false sign rate
#'
#' @param NegativeProb A vector of posterior probability that beta is negative.
#' @param ZeroProb A vector of posterior probability that beta is zero.
#' @return The local f... |
dc5dd849362e048a8b17f1036fdaaf4647551867 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/uavRst/examples/calc_ext.Rd.R | c9c18a52daacdb101f06e9b6aea3299abf602c8b | [] | 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 | 2,682 | r | calc_ext.Rd.R | library(uavRst)
### Name: calc_ext
### Title: Convenient function to preprocess synthetic raster bands from a
### given RGB image and/or DTM/DSM data.
### Aliases: calc_ext
### ** Examples
## Not run:
##D
##D ##- required packages
##D require(uavRst)
##D require(link2GI)
##D
##D # create and check the links to... |
c986bb05139939fbdc58c7fa5795546985472ba4 | e00befe0f92d42dd1f97e9304973f4b22da03af5 | /BCS_PopularKernels/BCS_PopularKernels.R | 443b6a7baf99784be06cdf6b66b609319c7a4064 | [] | no_license | QuantLet/BCS | a706ffdc3cf8777b5443b2c66ff601c3bc517ee0 | 4a5d9fc2c058e5e02534ccb37898d9e9cf2edd9e | refs/heads/master | 2023-04-03T23:59:31.647499 | 2023-03-27T22:14:39 | 2023-03-27T22:14:39 | 51,316,067 | 4 | 10 | null | null | null | null | UTF-8 | R | false | false | 1,484 | r | BCS_PopularKernels.R | # The R function kernel.wfunc implements all different kernel weighting functions in R
kernel.wfunc = function(x, xzero, kernel) {
n = length(x) # number of points to evaluate
y = NA # weight vector
dist = x - xzero # distance vector
for (i in 1:n) {
if (dist[i] <= 1 & dist[i] >= -1) {
... |
03d7366ea897186323ccbe298773ee1ff2e23026 | aa44abd28951f5f21ea3e4924bb7244cef3cd1c8 | /man/renderVegalite.Rd | 41d0fb1ecbd4d81f9d7f1afe89640e669ae28a42 | [] | no_license | hrbrmstr/vegalite | 969a53d7d34d67d445d9ddab49ecf5336345f69f | 385369840c6b396ba49a698e3c291aab8b5e404b | refs/heads/master | 2021-01-10T10:08:09.882157 | 2018-07-30T17:44:42 | 2018-07-30T17:44:42 | 52,391,615 | 175 | 21 | null | 2018-07-30T17:44:43 | 2016-02-23T21:05:34 | JavaScript | UTF-8 | R | false | true | 507 | rd | renderVegalite.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shiny.r
\name{renderVegalite}
\alias{renderVegalite}
\alias{renderVegaliteSpec}
\title{Widget render function for use in Shiny}
\usage{
renderVegalite(expr, env = parent.frame(), quoted = FALSE)
renderVegaliteSpec(expr, env = parent.frame(),... |
2b5d1f00b9eea061501d868aab1c81bb9e48db97 | d14bcd4679f0ffa43df5267a82544f098095f1d1 | /R/groupi.Dest.Degrad.oneplot.R | cbd4a92dd67c114d2937840344a43a8cb3f4608a | [] | no_license | anhnguyendepocen/SMRD | 9e52aa72a5abe5274f9a8546475639d11f058c0d | c54fa017afca7f20255291c6363194673bc2435a | refs/heads/master | 2022-12-15T12:29:11.165234 | 2020-09-10T13:23:59 | 2020-09-10T13:23:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,668 | r | groupi.Dest.Degrad.oneplot.R | #' Title
#'
#' @param data.ddd
#' @param distribution
#' @param transformation.response
#' @param transformation.time
#' @param ylim
#' @param xlim
#' @param my.title
#' @param ylab
#' @param xlab
#' @param cex
#' @param cex.labs
#' @param cex.points
#' @param add
#' @param grids
#' @param title.option
#... |
39f5f3734bdfc4a573ec33f180a74844c4e980ca | 0fbfa221d90a5485fa721b3d4dd2070753d923b1 | /modele_sird.R | 42725345521c4bf7c5665cdefd25e658848e2857 | [] | no_license | remithiebaut/3BIM | 4b9e5554e23e7d01f94b6f04a41995bade305e0a | b7900fb29fdfa8e27773cf039f8775f14986a561 | refs/heads/master | 2020-04-21T07:59:16.437556 | 2019-06-12T17:26:03 | 2019-06-12T17:26:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,658 | r | modele_sird.R | library(phaseR)
library(deSolve)
rm(list=ls()) #reinitialiser variables
par(mfrow=c(2,1)) # 2 fig
Eq1 = function(t,x,parameters)
{
with(as.list(c(parameters,x)),{
dS = - beta*S*I
dI = beta*S*I - gamma*I - mu*I
dR = mu*I
dD = gamma*I
list(c(dS,dI,dR,dD))
})
}
b... |
70aa4f2fcf74c87e92e306778fb3ce2c60748adb | 278dff1534b0ca8662efa3b520e0c52c40160af2 | /White_Sea/temperatures_Kandalaksha/temp_2013_2016.R | aea042a29a222368ae7e5b02c80947fc7bcba759 | [] | no_license | sophianazarova/PhD_thesis | ba96384983e8630819292811428ec316656c3ebb | 5f77ef0b52d7690200124de218672354cff3b964 | refs/heads/master | 2020-05-17T01:53:44.975595 | 2016-10-14T08:42:56 | 2016-10-14T08:42:56 | 7,933,216 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 449 | r | temp_2013_2016.R | temp <- read.csv2("2013_2016.csv")
str(temp)
str(temp$Time)
temp$Time <- as.POSIXlt(x = temp$Time, format = "%d.%m.%Y %H:%M", tz = "MSK")
str(temp$Time)
#делаем колонку месяц-год
temp$ym <- format(temp$Time,"%Y.%m")
str(temp$ym)
#считаем среднемесячные
Temp_month_mean <- aggregate( Temp ~ ym, data = temp, FUN = me... |
cbebf9c06280f5c12f1bf6035e25e463d3c05691 | 459c860719bb94380fc8bf2ddc95790a7957deb8 | /Project/feature_extraction/sentiment/sentiment.R | 70950a127fc60db81232eedc7b4333df04678723 | [] | no_license | mit-6867/mit_6867 | 8df3b852fe725258f7d71bcf923ace787e0ed5c1 | 65b320ef714cad963b1c4ef416a2b6051b5314d1 | refs/heads/master | 2020-04-05T22:53:51.230608 | 2016-10-12T19:41:01 | 2016-10-12T19:41:01 | 42,942,455 | 6 | 2 | null | 2015-11-12T04:01:43 | 2015-09-22T15:24:27 | TeX | UTF-8 | R | false | false | 1,326 | r | sentiment.R | library('tm')
library('SnowballC')
library('slam')
library("tm.lexicon.GeneralInquirer")
normalize <- function(corpus){ # conversion to lower case, other function: removeNumbers,removePunctuation,removeWords,
wd <- tm_map(corpus,content_transformer(removePunctuation))
wd <- tm_map(wd,content_transformer(tolower))... |
67bc927a500d1f679d820934c532fcd660ffa562 | f821206c7d62134707f119019676c2a3f67522fb | /plotCNVs.R | e41a9ae9985ba6dae8a04328ee641df82b0a7ff5 | [] | no_license | DTHenare/CSL_Choice | a407b55f27085b62f4422879affb72b0c97f6a56 | 5251628f8e6135be81d80e8c515184144ef17618 | refs/heads/master | 2021-10-20T10:52:27.169811 | 2021-10-19T00:55:58 | 2021-10-19T00:55:58 | 175,589,021 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,161 | r | plotCNVs.R | library(tidyr)
library(dplyr)
library(ggplot2)
paths = c('CNV_StimOnsetWide/','CNV_HannaStimOnsetWide/')
groupInfos = c('SophiaGroupAssignment_provisional.csv','HannaGroupAssignment_provisional.csv')
for (ind in 1:length(paths)) {
dPath = paths[ind]
baseline = 800
groupdata = read.csv(file=groupInfos[ind])
... |
77543bc894f49ead9d279d4078c73ebd61458772 | ea3c74bc2a5690656332a015f4765bc79a90062f | /hemocyte_proteome/obsolete code/venn_diagram_research.R | 894b5bb7a9622ae10052582ab7bd714dadfdcef5 | [] | no_license | drozdovapb/code_chunks | f2b591d3d44606220a5b2e8ff0b7723c07ea9619 | 2fcd9073073929eed75668d130c59e91a1d9172c | refs/heads/master | 2023-07-11T14:08:19.925268 | 2023-06-26T10:43:25 | 2023-06-26T10:43:25 | 28,041,858 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,032 | r | venn_diagram_research.R | ### Venn diagram part
##https://stackoverflow.com/questions/8713994/venn-diagram-proportional-and-color-shading-with-semi-transparency
##https://www.datanovia.com/en/blog/venn-diagram-with-r-or-rstudio-a-million-ways/
#if (!require(devtools)) install.packages("devtools")
#devtools::install_github("yanlinlin82/ggvenn")
... |
55ac03ee80b4856eb022b5e92837e489306df5ed | f581a1cec7e634730dc759dafe2c59caa6fc064d | /R/clo.R | 1d7f9448d2cce190d417ffc740553915f307e1a9 | [] | no_license | ebmtnprof/rties | c02919b4ce78a5ac1342d2a52e8baaec427f2390 | fae56523593318ded0d7d38c8533f39515711dfe | refs/heads/master | 2022-09-17T08:06:59.139907 | 2022-08-23T00:41:03 | 2022-08-23T00:41:03 | 127,973,424 | 10 | 2 | null | null | null | null | UTF-8 | R | false | false | 29,141 | r | clo.R |
## This file includes all the functions needed for a coupled oscillator analysis
#### The first two functions were written by Dr. Steven Boker and are available on his website, http://people.virginia.edu/~smb3u/. The method they are implementing is described in the following two publications:
# Boker SM, Nesselroade... |
667230a7cea5b31c53d951d3ea1dab15d4de323b | e641d77c2724c240c76f1872a6e2e88e0ca6c01e | /6 - 3nt Addition Energy.R | 36a0e322a0a84f614e9e2425df95c6ae0c43e28d | [] | no_license | cdevlugt/iav_par | 9a3bff7a328cc3c323fe807cb9104672a364418c | 01e4c11fc24513334cbb47689a6a311f75650fe4 | refs/heads/master | 2020-03-28T11:26:16.202803 | 2019-03-26T14:34:11 | 2019-03-26T14:34:11 | 148,213,040 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 65,373 | r | 6 - 3nt Addition Energy.R | require(ggplot2)
require(cowplot)
require(compiler)
enableJIT(3)
helixEnergy <- function(x53=NA, y35=NA, offset=0, calc='average'){
#calculates the free enegry at 37 degrees for a given helix.
# Turner energy rules (2004) are used for calculations.
# handles nearest neighbours, terminal mismatches, dan... |
3ec987357cd2dce294ff7eeebaefe3cbee12bb21 | a93e797750ee719069703464a84b7881f74d9220 | /R/helper_functions.R | 21a156b551814206e38ef95c94f454bceafefc14 | [
"Unlicense"
] | permissive | nevrome/sysdedupe | aa86a4e3fa93bd3240c1507a9ecf22488b5d5fe7 | 09e2bd84e3112fe7487947597750111161391513 | refs/heads/master | 2020-05-25T23:18:48.851256 | 2019-05-22T23:15:28 | 2019-05-22T23:15:28 | 188,032,322 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 264 | r | helper_functions.R | # https://stackoverflow.com/questions/42734547/generating-random-strings
random_string_generator <- function(n) {
a <- do.call(paste0, replicate(5, sample(LETTERS, n, TRUE), FALSE))
paste0(a, sprintf("%04d", sample(9999, n, TRUE)), sample(LETTERS, n, TRUE))
}
|
6627237c9cfc84c2967320e7bf934566ec0586d9 | 482d9b669cdb1a41b525214ee58c1de7c3e2b8b0 | /R/launch_ggedit.R | da1ab2527b4e583b7216cf16134aa64a2391d8b9 | [] | no_license | ktaranov/ggedit | 0459b1188e6d335a225326d0785f2b5dc6baaf56 | 1f90aee52aa102e41939323d150d774527a4abe3 | refs/heads/master | 2021-01-19T08:40:18.945096 | 2017-04-06T20:03:18 | 2017-04-06T20:03:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 548 | r | launch_ggedit.R | #' @import shiny
launch_ggedit <- function(p,output,rstudio, ...)
{
assign(x = '.p',envir = .ggeditEnv,value = p)
assign(x = '.output',envir = .ggeditEnv,value = output)
on.exit({
#rm(list = ls(envir = .GlobalEnv)[ls(envir = .GlobalEnv)%in%c('p.new','p.in','p.theme','pList.new','p.Elems','themeUpdate')],en... |
b1ec3dabc0314cb5971aa99710234afb7049cf0c | 3555804fa67ea7e5f7d770e54fff9f44994e8b32 | /ui.R | 2692de4d444c5620ab6318b1903d404ba7f5be52 | [] | no_license | jacksmd12/devdataproduct | c4eb07ee2820ae13e227d823ebd042c09f57d1d1 | f1cc79875722f463af2e7cee8d1866d6463af918 | refs/heads/master | 2021-01-10T10:28:48.226906 | 2015-11-20T19:44:25 | 2015-11-20T19:44:25 | 46,581,851 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,197 | r | ui.R | # Shiny app (exploratory app for data sets)
library(shiny)
library(ggplot2)
data(mtcars)
ui <- fluidPage(
titlePanel("Explore mtcars dataset"),
sidebarLayout(
sidebarPanel(
selectInput(inputId = "ind", label = "Independent Variable", choices = names(mtcars), selected = "mpg"),
... |
7f9b5e3e3b3a22547aeb5cdc3bfb6b401037f756 | d91ca58ef6c050991ece3a1af3caa18e4fb3c5e3 | /Performance.R | 070a2bdb596bf6308178c79feba8eb500d72e450 | [] | no_license | Gmabatah93/PEOPLE_Analytics_Performance | 5a0507b0965ff1d31ab428787994385612160031 | 752ea9d185452d8f1cc9938eeeae7c9ad312b405 | refs/heads/main | 2023-04-02T14:48:59.669984 | 2021-03-27T17:33:06 | 2021-03-27T17:33:06 | 352,129,502 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,856 | r | Performance.R | library(readr)
library(dplyr)
library(ggplot2)
library(infer)
library(broom)
# PERFROMANCE: ----
## Data
performance <- read_csv("Data/performance_data.csv")
hr_data <- read_csv("Data/hr_data.csv")
# - join
hr_perfromance <- hr_data %>%
left_join(performance, by = "employee_id")
## Exploratory Data Analysis
# - s... |
51222b4a545bbaf1feea402a42160bf113722ff1 | d49fa877b3c3db1c4ab8cf2c2dd56d11b8c593a9 | /src/helpers/SignificancyDataCollection.R | 4b7b10cbb65ca8d33bc4c37955c96d5f3ecd651a | [] | no_license | aysegul-kt/MelonomaMetastasisPrediction | 510dfecc0c80b7cc5b4605144d9fe20f0daf5e05 | 524c201771f6b26da5a3b5a5219766a6475f5b2a | refs/heads/master | 2023-06-05T05:45:51.263538 | 2021-06-22T19:54:25 | 2021-06-22T19:54:25 | 225,965,472 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,782 | r | SignificancyDataCollection.R | ###############################################
# ADI : Base An. Script
# YAZAR : AYSEGUL KUTLAY
# ACIKLAMA :
# GUNCELLEME TAR?H?: 06.06.2019
# VERSIYON : 02
################################################
TrimMiRNA <- function(trimInputdata)
{
trimInputdata <- joind_map
tr... |
5d2f2b18c90b434d84b95e79ac4cdcd7d828de0f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/quanteda/examples/head.dfm.Rd.R | 18a91eb9378ede7e7723865f53913505fea2921f | [] | 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 | 294 | r | head.dfm.Rd.R | library(quanteda)
### Name: head.dfm
### Title: Return the first or last part of a dfm
### Aliases: head.dfm tail.dfm
### Keywords: dfm
### ** Examples
head(data_dfm_lbgexample, 3, nf = 5)
head(data_dfm_lbgexample, -4)
tail(data_dfm_lbgexample)
tail(data_dfm_lbgexample, n = 3, nf = 4)
|
0b942f035a93160c6beafac15f18ec833ad58653 | affd25a59adb603e84ed2d8da6ca982c1ef26fbe | /Beispiel03.r | 8cc44dbe49aaae8dcfb849738adbaf147949ebe4 | [] | no_license | NightRoadIx/ICTmetR | 20da7d9d064b71c37bbd551d659d8c69d3d704c8 | b6792bcdf495ae26ac070bddc7d2549e386641f3 | refs/heads/master | 2021-07-07T23:38:56.377212 | 2020-07-14T05:16:00 | 2020-07-14T05:16:00 | 130,419,610 | 0 | 1 | null | 2020-06-23T04:01:57 | 2018-04-20T22:33:44 | R | UTF-8 | R | false | false | 3,593 | r | Beispiel03.r | # Instalar el paquete para manejar la librería rscopus, para datos de la BD de SCOPUS
# install.packages("rscopus")
##########################################################################################
# Instalar el paquete para manejar la librería rplos, para datos de la BD de PLOS ONE
install.packages(... |
0f486c0bcdfa7b3a3dc2fc4ca06bb2df4b8eabb8 | d3d9eb5f90468b11c62081fb65dbf353d20792d6 | /man/obter_ipca.Rd | 65f21547f071b4fab1e238d6d7e7a5fc53c70db4 | [] | no_license | Figuera/dadosbc | 1e4f83f3a7936c21f7624d65d10ea9e0c5f90f6c | 046226d1728801791f8e6a1f3d18033d26e9a3c5 | refs/heads/master | 2020-03-21T21:17:26.790575 | 2018-07-10T14:26:09 | 2018-07-10T14:26:09 | 139,056,226 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,137 | rd | obter_ipca.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/obter_ipca.R
\name{obter_ipca}
\alias{obter_ipca}
\title{Realiza consulta de série de tempo do IPCA}
\usage{
obter_ipca(inicio = "01/01/1995", fim = Sys.Date(), tipo = c("indice",
"var"), frequencia = c("mensal", "anual"), base = 1993)
}
\a... |
6c9f949c72a02c40194722518f4a3dc3f60c2132 | 19dceb6996411251385c29d7c00ade2aae67a4ce | /4gini_scoring.R | dca745bd4669bdef598ae21f28f8e4d31410d2cc | [] | no_license | m0rr15/NHL_metrics.R | 2c6e7449418a5857a01a405aed2d5fca5e553c82 | d3a80e2c58d43d47c5f446e39a7235c1ad52eb54 | refs/heads/master | 2020-04-15T11:15:38.595664 | 2019-03-19T08:07:47 | 2019-03-19T08:07:47 | 164,622,596 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,135 | r | 4gini_scoring.R |
# gini_scoring.R
# Morris Trachsler, 2016
#
# "Just how important is secondary scoring in ice hockey?" I wrote this script
# to adress this question. I first collect and clean ten years of NHL data
# ("Read data", "Data Treatment" sections). I then propose a new statistic to
# measure any team's "star - depen... |
a72f467e152210df7bb7d3cd9697a1b2fb246093 | 22f73b20031c768f7e6d9b20fd02504c29f60ac2 | /scripts/generate_samples.R | 5fea5b328d89f368110333628ad8c7c759c182bb | [] | no_license | tlortz/forecasting-package-study | 7944927c1e39a799560f00c0661c09e02ca50cc1 | 3ed284d4ea48180c36c7aee1af9f3a0445b8b58e | refs/heads/master | 2020-04-05T05:53:49.420895 | 2019-02-09T18:25:53 | 2019-02-09T18:25:53 | 156,616,233 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,928 | r | generate_samples.R | source('scripts/compare_forecasts.R')
library(data.table)
raw_data = fn_get_raw_data()
clean_data = fn_fill_ts_na(raw_data)
rm(raw_data)
gc()
station_names = clean_data %>% select(StationName) %>% unique()
station_names = as.vector(station_names[['StationName']])
model_results_list = list()
for (s in station_names)... |
eb1007d2eb372dee7cbf17ba97eb9e2cf6916e2d | 9781c5384830f3a9074793f42af3062b58516714 | /man/SafeMerge.Rd | c32774b8aa805219930dc56615c8ed9169ee724a | [] | no_license | ohumblet/SafeMerge | 4404d722235ecdb41ff0cd4b71cc21beb1ce79c8 | c04474c1ff8dc9ca0f22a8f3373ead95c77648ec | refs/heads/master | 2021-01-23T07:33:48.848753 | 2015-09-25T05:49:49 | 2015-09-25T05:49:49 | 32,885,216 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,357 | rd | SafeMerge.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/SafeMerge.R
\name{SafeMerge}
\alias{SafeMerge}
\title{Safer merging of two data frames.}
\usage{
SafeMerge(x, y, by = NULL, by.x = by, by.y = by, all = FALSE,
all.x = all, all.y = all, sort = TRUE, suffixes = c(".x", ".y"),
incomp... |
1bbd07bf9d91a7e2b1f2b480e33275eeaf32a2a5 | 3ff2900210f84c69f4f3a299598076c687a00d16 | /old files/Functions/spline_state level.R | 132b22e62841e6f4294a9bc6e1b8387dc96123ac | [] | no_license | sjweston/Rapid-R3-Website | 424db286b58e8b6383ed8cb5de563b38cdde38bc | f75e0ff4da7179e142316140b268118b525096d4 | refs/heads/master | 2023-05-27T06:27:41.293523 | 2021-05-24T18:20:13 | 2021-05-24T18:20:13 | 257,148,940 | 0 | 1 | null | 2021-05-24T18:20:14 | 2020-04-20T02:17:58 | HTML | UTF-8 | R | false | false | 2,284 | r | spline_state level.R | state_splines.groups = function(data, outcome, group, point){
group.name = deparse(substitute(group))
group.label = gsub("_", " ", group.name)
group.label = stringr::str_to_sentence(group.label)
outcome.label = deparse(substitute(outcome))
outcome.label = gsub("_", " ", outcome.label)
outcome.label = ... |
9ae9065cba420d255f9feca66a7c332b5087e55a | 982415a4fbff0d1291926e3a857f322531fa9a98 | /R/number_tides.R | 8639f897a04fbfc74bf196836bfff32098fa6884 | [] | no_license | ScenicVerve/VulnToolkit | 89554775667054ae0cccd3dc9e596fc02a544713 | e18da64ea4ca633eb49519473c4df1f3a0b4eee6 | refs/heads/master | 2021-01-17T22:28:51.142893 | 2015-08-12T13:26:28 | 2015-08-12T13:26:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,336 | r | number_tides.R | ### function to number tides and insert tide numbers (for whole tidal cycles, flood, and ebb tides)
### in high-frequency dataset.
### Requires HL() function output, and initial dataset
### input arguments:
### "data": full water level dataframe
### "datetime": date/time column from full dataset (used as "time" argumen... |
5d2766b3748fe89b5a8e314e685e9d9071547d55 | fbabac8318e6c3a7c84d13f24244dee6536905ce | /rankall.R | 780fb3788652bf855908036d9be7cc4b125f8dda | [] | no_license | arun25/Hospital_data_analysis | eb60c382f55be56d1392b7982a8ece9e757871aa | 1c9d40a063c2f06cafe7994d0c0989d7914098af | refs/heads/master | 2021-01-11T22:05:20.657179 | 2017-01-16T17:44:14 | 2017-01-16T17:44:14 | 78,919,290 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,593 | r | rankall.R | rankall <- function( outcome, num = "best") {
data <- read.csv("outcome-of-care-measures.csv", colClasses = "character")
states <- data[ , 7]
outcomes <- c("heart attack", "heart failure", "pneumonia")
#if ((state %in% states) == FALSE) { stop(print("invalid state")) }
#if ((outcome %in% outcomes) == FA... |
d33f124c77a563a8a96a41eb62073edf9ca0f73b | 29bd7ec43e40263e62535f51169d95082d11832f | /man/taxon_richness.Rd | 9071a401c09a51f42b0993d004d80dbc3df7791d | [] | no_license | esocid/Benthos | 171ab922b751f5b2d03caa5e36aedc239f7894d0 | 60ba98f6935ee70998e6061ca0891f32dc0a8d5d | refs/heads/master | 2021-06-18T18:28:10.526456 | 2017-06-22T16:18:44 | 2017-06-22T16:18:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 617 | rd | taxon_richness.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diversity_metrics.R
\name{taxon_richness}
\alias{taxon_richness}
\title{Taxon Richness}
\usage{
taxon_richness(long, taxon, low.res.rank, high.res.rank)
}
\arguments{
\item{long}{Taxonomic counts arrange in a long data format (i.e., each
row ... |
707c043f50a72df06c602181b4934bc926f3405d | 5e4199af14b7b6cac8841cbf320c88b6787b420a | /dplyr_data_table.R | cc1ab739a1f75983ce5c6c02b0c0a5fd60167540 | [] | no_license | mfarr76/DataScience | ed8528c572eee97423a81bb6e697ee7d2d9d1f17 | a37bc4ef5da7a98174c36ea5835dda442cbc67ed | refs/heads/master | 2021-07-10T22:38:07.734645 | 2017-12-07T13:52:39 | 2017-12-07T13:52:39 | 96,574,463 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,368 | r | dplyr_data_table.R | #https://datascienceplus.com/best-packages-for-data-manipulation-in-r/
rm(list = ls())
#install.packages("compare")
library(dplyr)
library(data.table)
library(lubridate)
library(jsonlite)
library(tidyr)
library(compare)
library(ggplot2)
spending=fromJSON("https://data.medicare.gov/api/views/nrth-mfg3/rows.json?acces... |
04d0480c5a335c044090aca755ccaf588921c1fd | 1fc2af32d1b74cdaef9cc2298c4b5726b89965f0 | /cachematrix.R | ca80a6d75940f360b0e464da98b1c98551e66c07 | [] | no_license | evajenseg/ProgrammingAssignment2 | 02a7e00e8e60d96674fdd2e4cc192c41e079f689 | f604b1efe40f2f7f3cf9163d0dfb2eb3691f1c60 | refs/heads/master | 2021-01-20T06:42:41.762415 | 2017-05-01T12:24:31 | 2017-05-01T12:24:31 | 89,912,044 | 0 | 0 | null | 2017-05-01T09:27:59 | 2017-05-01T09:27:58 | null | UTF-8 | R | false | false | 1,559 | r | cachematrix.R | ## x is a square invertible matrix
## makeCacheMatrix is input to cacheSolve, where makeCacheMatrix can cache its inverse
## cacheSolve:computes the inverse of makeCacheMatrix (returned by makeCacheMatrix above).
## If the inverse has already been calculated (and the matrix has not changed),
## then the cachesolve sh... |
668418af7bbf7bfe1f29f232455715f5088c4d13 | 1679bf45175566aec338b46eb0c968879cae2343 | /R/plot_cluster.R | e52c87c728ee9bc50ae831de3693bee2a158d01f | [] | no_license | UW-GAC/QCpipeline | e485044355e74dae3de324fc5985f82b9b41cb2b | f60319122d0842852acaa410eb977344be2bf4dc | refs/heads/master | 2021-07-10T00:17:13.832045 | 2020-05-27T00:01:50 | 2020-05-27T00:01:50 | 97,990,389 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,039 | r | plot_cluster.R | ##########
# Cluster plots for association tests
# Usage: R --args config.file < plot.cluster.R
##########
library(GWASTools)
library(QCpipeline)
sessionInfo()
# read configuration
args <- commandArgs(trailingOnly=TRUE)
if (length(args) < 1) stop("missing configuration file")
config <- readConfig(args[1])
# check co... |
ebe4b5db74a705978ca67b88d150884f8e637c69 | f2d0e19b55cb262c1e76dad1de21557a8f6640d1 | /preprocessingPart1.R | 884c512b6ec4dc74fd7e4830bf09edf7f88e5cb6 | [] | no_license | desmarais-lab/govWebsites | e405989a82374832e9715e08b785b13b34a85493 | e22e3ef38d7f986c7332a6d0d04d80e8a1b0edef | refs/heads/master | 2021-12-23T11:43:47.803689 | 2019-05-06T20:35:53 | 2019-05-06T20:35:53 | 80,395,954 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,209 | r | preprocessingPart1.R | # This document creates a list of all the files that were downloaded with wget
# and then merges it with the city metadata
# the resultant citydocs.rdata file should be used as input for convertToText.R
# the resultant city-specific rdata files will then further be processed in preprocessingPart2.R
#setwd("govWebsites... |
f641ef3feb9b2b453a7362a741d03141a5e8edde | 1c9e8cfff234c1177f36cd295f39764842bbc641 | /man/getInvfunction-Curve-method.Rd | b072d5756797ffa34ddf7ca0b01fa462765e24da | [] | no_license | cran/gestate | afb9e543700ad03d909336e6b08247c92423c984 | 4eda0e9fcc7af2a82cb94f1aa643330244a8bb0c | refs/heads/master | 2023-05-11T15:41:19.042482 | 2023-04-26T10:02:30 | 2023-04-26T10:02:30 | 236,603,581 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 586 | rd | getInvfunction-Curve-method.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/s4_architecture.R
\name{getInvfunction,Curve-method}
\alias{getInvfunction,Curve-method}
\title{Method for returning the inverse-CDF function for a Curve object}
\usage{
\S4method{getInvfunction}{Curve}(theObject, p = "p")
}
\arguments{
\item... |
1ebb841d5dbde62d9e101e987ad018c07ae56eb9 | 20d578dc272a70fdef27325f09b1c2e2681042c4 | /plot4.r | a60359a17202182666091748d7a46ae07e513675 | [] | no_license | SWest101/ExData_Plotting1 | 882e0e5cfe779abb821e1c72ac7d0774ed67ec8e | 9adcc5bc85edb40d88472a444c9cb20f52e4589c | refs/heads/master | 2021-01-12T02:48:59.800029 | 2017-01-05T12:46:18 | 2017-01-05T12:46:18 | 78,112,057 | 0 | 0 | null | 2017-01-05T12:43:02 | 2017-01-05T12:43:01 | null | UTF-8 | R | false | false | 1,415 | r | plot4.r | ##Script to plot the graphic 'plot4.png'
#Data importing seperated into it's own script as it will be used for all plots.
source("dataread.R")
#Set par to a 2 x 2 matrix of graphics
par(mfrow=c(2,2))
#Create a timeseries plot of the Global Active Power column of the dataset
plot(date_time,raw_data$Global_active_powe... |
24aa9b754ed1cd7a60a7af8ce1c773a4330ed8f3 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /ChangePointTaylor/R/change_point_analyzer_function.R | a52b92e90de914d300fc75b79d5b4e43a9687d00 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,717 | r | change_point_analyzer_function.R | #' @useDynLib ChangePointTaylor
#' @importFrom Rcpp sourceCpp
#' @importFrom magrittr "%>%"
#' @importFrom stats "complete.cases"
#' @importFrom stats "quantile"
#' @importFrom rlang ":="
#' @importFrom rlang "!!"
#' @importFrom rlang ".data"
NULL
if(getRversion() >= "2.15.1") utils::globalVariables(c("."))... |
d692cbbf927023dd1757fe3bfeaf56452559f66d | 3b759584191822a004bb060de383b140a1c84694 | /Rcode.R | 0c26922c79b54bcf496e44c1f9539b3f7b283b34 | [] | no_license | FunQi/CompMus | ab5e3172c3b9339497119f49135a370abd8f3f3e | 3bcf93d9e386f7b34589f3031e64d1b49e167e0f | refs/heads/main | 2023-03-21T01:50:57.694457 | 2021-03-28T14:50:08 | 2021-03-28T14:50:08 | 335,895,560 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 156 | r | Rcode.R | library(remotes)
library(tidyverse)
library(usethis)
library(spotifyr)
remotes::install_github('charlie86/spotifyr')
spotifyr::get_spotify_access_token()
|
2ded7a04ac9401ce794cb4fce747aa6104b39c99 | 2ffff05a55c6beef31f3e80d72614467b5caa020 | /Discover_Paris/global.R | d842ccca52eb1517360e726931ad929b12b737aa | [] | no_license | jayendrashinde91/Discover_Paris | 8aa78cd488190649c3ac46978916f752e39d25f9 | c71cf587bbc7dd9c780e18a5ab1aa0784f8f28cd | refs/heads/master | 2021-01-12T14:40:25.632794 | 2016-10-27T20:01:56 | 2016-10-27T20:01:56 | 72,044,357 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 20 | r | global.R | load("pData.RData")
|
85c23886a6e2732b8f89cdfbc57add162ed6e04a | 92196c33ce999f4dc04db549a6785ef67fad84db | /tests/testthat/test-anlz_fibmap.R | c03af41136639721c12d646a72b3f96bfece30df | [
"MIT"
] | permissive | tbep-tech/tbeptools | 2414d900643ba2871a922826343940c7a44b2e74 | bb4489ea83509f812e0d8d09290251d97b374455 | refs/heads/master | 2023-08-04T13:57:09.114359 | 2023-07-31T13:44:54 | 2023-07-31T13:44:54 | 184,627,857 | 7 | 3 | NOASSERTION | 2020-06-22T22:03:33 | 2019-05-02T18:03:48 | R | UTF-8 | R | false | false | 1,526 | r | test-anlz_fibmap.R | # Test case 1: Check if the output has the expected columns
test_that("Output has the expected columns for anlz_fibmap", {
result <- anlz_fibmap(fibdata)
expected_columns <- c("area", "epchc_station", "class", "yr", "mo",
"Latitude", "Longitude", "ecoli", "ecocci", "ind",
... |
d061cea3582ac4044f7f6572fc46329ec9cf244b | 6022b903a56b6fefc799fa7d540287900916c9f8 | /E050112/25.R | 8c8f5067285f26ef7893b47278ceb7c3ee9b5dfd | [] | no_license | hojinWoo/R_backup | f694680555a315e1c819aaf2cf1e02cb19dc2edc | 5daee6f35581012e9871a5b65d96218b50e83880 | refs/heads/master | 2020-05-15T14:45:06.472050 | 2019-04-20T04:21:19 | 2019-04-20T04:21:19 | 182,341,806 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,201 | r | 25.R | # 임의의 주소지를 중심으로 지도를 출력하기
gc<-geocode(enc2utf8('강원도 속초시'))
gc
cen<-as.numeric(gc) #숫자형 모드로 변환
cen
map<-get_googlemap(center=cen,
maptype="roadmap",
marker=gc)
ggmap(map, extent="device")
names<-c("1.망상해수욕장", "2.속초해수욕장",
"3.낙산해수욕장","4.송지호해수욕장",
"5.하조대해수욕장")
add... |
1b4a32e5ec38fe1e97fa3933c83ae1e75b58ac1d | 9c6e2ab15a4c32e6ed864807d887be8b5b467db9 | /R/ppareto2.R | d1bac43164415a347731e6b7810b7959ec484eab | [] | no_license | cran/CaDENCE | 853b37566024fd329a0419b5e643c4b16c4d698e | 7c754e5e408f46aa3704cdf0c06626a52a548c00 | refs/heads/master | 2021-01-23T13:22:25.997825 | 2017-12-05T03:05:17 | 2017-12-05T03:05:17 | 17,678,401 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 111 | r | ppareto2.R | ppareto2 <-
function(q, scale = 1, shape = 1)
{
p <- 1 - (1 + q/scale)^(-shape)
p[q <= 0] <- 0
p
}
|
6e86f29caf2c3b6bdcd72884e29a6c4d521026ef | 5ed0a9765939a26594e7b7498b03b9480a365ce8 | /tests/testthat.R | 8845e331a3f2ebba5282c3e5a766ef6517af06c5 | [] | no_license | zejin/MDMeasure | c9cf2b8cbc6b28769a93c6051997d3dded384dd6 | 4ce1dcad66087d496b89ec24e531a99a16c7736d | refs/heads/master | 2021-05-11T04:23:42.319010 | 2018-02-12T17:55:40 | 2018-02-12T17:55:40 | 117,938,068 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 62 | r | testthat.R | library(testthat)
library(MDMeasure)
test_check("MDMeasure")
|
05755aa02472c2a60cff955f8a1c372471192fb1 | ac9b44f711d7ddbfebfe05651feae87c70d49a5a | /simple-array-sum.R | 3d32a64392120a6a2aef8ba0ce75a46cf5b348c5 | [] | no_license | mohammedabed/hackerrank-1 | 1f3da37ed99a199c4a7edb79782df281c93ecc1f | bf9787ebd4a3cb00b385f367ab9a9b2cb3782199 | refs/heads/master | 2021-09-15T18:37:06.625447 | 2015-10-20T13:51:01 | 2015-10-20T13:51:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 655 | r | simple-array-sum.R | # Problem Statement
#
# You are given an array of integers of size N. You need to print the sum of the elements in the array.
#
# Input Format
# The first line of input consists of an integer N. The next line contains N space-separated integers contained inside the array.
#
# Constraints
# 1=N=1000
# 0=A[i]=1000
... |
47a550e37d9c778b7576b92b863122015ea18917 | 6248006ae5f4cd59bd1352c19e911666240da47f | /scripts/TMI-sourmash-explore.R | a8f118385c7ac0d813110224f19f00f3e4747a6d | [
"MIT"
] | permissive | Arcadia-Science/metagenomics-of-cheese-rind-microbiomes | 785829b29e9b098aa0a39fa6f1fca5cf88131487 | 7121fd7589cc93d6f9ef97645066a4e9793bcec8 | refs/heads/main | 2023-05-26T11:42:31.086755 | 2023-05-25T20:21:18 | 2023-05-25T20:21:18 | 598,318,496 | 1 | 0 | MIT | 2023-05-25T20:21:19 | 2023-02-06T21:22:53 | Standard ML | UTF-8 | R | false | false | 9,703 | r | TMI-sourmash-explore.R | library(tidyverse)
library(sourmashconsumr)
library(ggpubr)
library(ArcadiaColorBrewer)
#########################################################
# TMI Illumina sourmashconsumr exploration
#########################################################
## read in reads files for TMI illumina samples
# reads signatures
tmi... |
32c938c73e9fdae33e724de9a75a08556941d3df | 9b6b2dc0b505fec339b7330a25e2fd50df00f20c | /07_tree_structure_feature_bias.R | 7825f367c125dece53afc1f1ef37d29f6f4cae2a | [] | no_license | vla6/Stereotyping_ROCDS | bec4317132dd2fd8433e43afac1c55d96c649eed | b825a6a7d87eb961d72b599d6c6c69336717708a | refs/heads/main | 2023-02-21T22:53:09.104274 | 2021-01-22T01:23:40 | 2021-01-22T01:23:40 | 311,982,866 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,952 | r | 07_tree_structure_feature_bias.R | #
# Examines tree structure for selected
# feature bias models. Examines female-income interactions.
# For now, examines only models Q and S
#
rm(list=ls())
source('00_setup.R')
library(h2o)
# Exempt model with different female definitions
kModelInclude <- c('p', 'q', 'r', 's', 't')
#
# Import data ----
#
h2o.i... |
c0fafef6450595700fe2872466c53111c2523390 | ebf2d02e0b13ae18614a5dce7203991548d5ea32 | /scripts/spat_check_results.R | d9b7a6600bece764e92c65631347a2a9fde005d9 | [
"MIT"
] | permissive | weecology/mete-spatial | 48d2917afb1b88b9e80f94e5a95b96a0cb1a18ca | 1ed11e0661b70dfb79834058729b3ad5a7df1be8 | refs/heads/master | 2022-01-23T12:07:31.462049 | 2022-01-10T18:12:26 | 2022-01-10T18:12:26 | 7,699,982 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,058 | r | spat_check_results.R |
setwd('./sorensen')
files = dir()
sites = as.character(read.table('../data/shrtnames.txt', colClasses='character'))
load_list = function(filenames, R_obj=FALSE, obj_name=NULL) {
dat = vector('list', length(filenames))
for (i in seq_along(filenames)) {
if (R_obj) {
load(filenames[i])
dat[[i]] = ... |
5a6ef6abeba3facbc1125dd90544a4aa48e0466d | dd4707aabfcb0275859f77b0f60c34805ad6d4b0 | /R/AIC.R | 233f40cfa96d39c317e7fce3a0d9106268520f16 | [] | no_license | RobHayward/Econometrics2 | a37eb6d5ad0130ab57a2b885db3b6cf7096b8562 | 30e5bd9c00f7c5dfea1342935c641c7fca12d954 | refs/heads/master | 2021-01-21T13:14:27.075082 | 2016-12-20T15:15:15 | 2016-12-20T15:15:15 | 20,849,641 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 244 | r | AIC.R | # this comes from http://www.r-bloggers.com/computing-aic-on-a-validation-sample/
library(splines)
AIC(glm(dist ~ speed, data = train_cars, family =
poisson(link = "log")))
|
5a498368e6693aa7a9f453ba1c3ac9605e7904dc | d2fa1a7f6b3382507b628aa75c5c76387e389656 | /R/modelEnsembling&stacking.R | 042555bd75792d5958a7f1d2559cc45e8e55268b | [] | no_license | himankjn/Practical-Machine-Learning | ac8e12405f6181c65941822a7a58a67347fcd9cf | 4a56d800758bcd1a396f79bc9feac2552cb50382 | refs/heads/master | 2022-03-30T21:50:38.526319 | 2020-01-05T12:30:09 | 2020-01-05T12:30:09 | 200,061,321 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,770 | r | modelEnsembling&stacking.R | #REGULARIZED REGRESSION:
#The train error always reduces with increased number of predictors but the test error
#decreases first and then start increasing again. this is due to overfitting.
#we use methods like PCA , regularized regression to decrease dimensions by removing correlated and unnecessary predictors
#in reg... |
12701cced32bb1dea5012df3cccdb65705c474ae | 96aeeffe655e13a4da83c8f73918372cc7335df5 | /man/plot3d.ThreeDimensionalColor.Rd | 570e7096b1cef553f51f5a290468492c7ee25ee9 | [] | no_license | HenrikBengtsson/R.colors | 2ff1a46725d4ad00215c1a4c8e775fdbb6cb98aa | 500d2e4ffb153f990ceedfd4b6b5251c5a206c01 | refs/heads/master | 2021-01-20T00:58:43.927288 | 2014-06-19T04:20:16 | 2014-06-19T04:20:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,069 | rd | plot3d.ThreeDimensionalColor.Rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% ThreeDimensionalColor.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{plot3d.Three... |
7bcb5841546f2a623f1e69b9a7b0a47ddba520cc | 56208c93517c510bbe3a25fbee15735001f3fae4 | /OCR.R | 747b4e769313aac10de87f2ca3a90c1fdc4ef237 | [] | no_license | AdiModi96/Hindi-Numbers-OCR | d83caea3fa00e7a9b8c80076fd67b9c6e73c4d43 | c1ef253bfdd04892826d375393fe87a7e396b655 | refs/heads/master | 2021-07-16T14:21:09.936474 | 2017-08-11T12:20:37 | 2017-08-11T12:20:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,433 | r | OCR.R | library(png)
library(DBI)
library(RMySQL)
library(party)
library(randomForest)
#Path Declarations
rootFeaturesLocation <- "D:/Codes/Data-Science-OCR/Features"
rootReadLocation <- "D:/Codes/Data-Science-OCR/OCR Test Alphabets"
rootDiscretizedLocation <- "D:/Codes/Data-Science-OCR/OCR Test Alphabets-Discretized"
rootBin... |
82c623924d2c7dcd491cbc402d25827f9ccd4b0d | 75d303983f1789b3b26b433117d9360001cd37d9 | /BLG 527E - Machine Learning/hw/hw1/1079026/q2d.R | 7775eecb40dd006abae16a2d67e1aecfcc1385b4 | [] | no_license | tugrulyatagan/itu_comp_eng_lectures | 22452ef2af569bbc89de68809595bac5f992d89a | c6f62e142a7df5aaef68e3345833f2092b2f2364 | refs/heads/master | 2022-12-15T21:18:18.519189 | 2020-09-20T22:21:46 | 2020-09-20T22:21:46 | 297,064,338 | 14 | 2 | null | null | null | null | UTF-8 | R | false | false | 404 | r | q2d.R | # BLG 527E Machine Learning HW1 Q2d
# Author: Tugrul Yatagan 504161551
range <- 10
g1_x_func <- function(x) {
log(1/(sqrt(2*pi))) - (x^2)/2 + log(0.2)
}
g2_x_func <- function(x) {
log(1/(2*sqrt(2*pi))) - ((x-1)^2)/8 + log(0.8)
}
plot(g1_x_func, -range, range, col='blue', main = "Q2d: g1(x)[Blue] an... |
c402731dff1be6eda35eb38f40a152acf06b7769 | 1e86a06ed13301e7663d81a0c163f07d5ac74394 | /man/getModEqn.Rd | 7e69d84d46e26b19b26250d02cebe3e57c89f0ae | [] | no_license | cran/modEvA | 9184b2b9f43feb25e26e48d3731ea01b037d8c5a | 970384a0efde2e38d24ff9fc6c0237856abd351d | refs/heads/master | 2023-05-01T03:08:02.824453 | 2023-04-14T22:10:02 | 2023-04-14T22:10:02 | 63,406,050 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,830 | rd | getModEqn.Rd | \name{getModEqn}
\alias{getModEqn}
\title{
Get model equation
}
\description{
This function retrieves the equation of a model, to print or apply elsewhere.
}
\usage{
getModEqn(model, type = "Y", digits = NULL, prefix = NULL,
suffix = NULL)
}
\arguments{
\item{model}{
a model object of class 'lm' or glm'.
}
\item{t... |
a23f7767c8cb3c4cd4870d2a30302c677f68e3ba | 8293de8755c004ecd43613d523327ac5065523e7 | /Validation Phase II/Cross Ensemble/valtest_sekc20.R | 9a4dcfc819c46903b0724e971af425660da5ca7e | [] | no_license | HarshaDaparti/Capstone_ClusterEnsembles | 21aa4c2c1ece720e2b797ef8f9cc740fe3b4a227 | fe20203accf65a89d0fa4cc13e2a92036db929a5 | refs/heads/master | 2022-07-11T13:25:09.597640 | 2020-05-21T18:36:45 | 2020-05-21T18:36:45 | 265,625,270 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 533 | r | valtest_sekc20.R | g$cluster=k20e$cluster
gke20<-g[order(g$cluster),]
gke20_pro=gke20[, 1:17]
g=g[, 1:17]
gboostekc20=clara(gke20_pro, 20, metric = "euclidean", stand = FALSE, samples = 100, sampsize = 50,
trace = 0, rngR = FALSE, pamLike = TRUE, correct.d = TRUE)
dekc20=daisy(g, metric = "euclidean")
sekc20=s... |
e0a8ff479553f350a4fae6f8a6ac83dd9050e65d | 37fcfce951487d3ba45d2ba3dbc22b6360939b77 | /man/franchise_leaders.Rd | 7ac5d803f293e2d8a79935ce271a6a249df6ca55 | [] | no_license | abresler/nbastatR | 576155fb58378c03010590c81806515161c03eb5 | aba9179ef644f263387c1536d6ddd26104d79cf4 | refs/heads/master | 2023-08-08T08:52:05.149224 | 2023-07-19T13:09:21 | 2023-07-19T13:09:21 | 43,844,510 | 307 | 94 | null | 2023-02-01T16:59:22 | 2015-10-07T21:00:59 | R | UTF-8 | R | false | true | 1,144 | rd | franchise_leaders.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/league_leaders.R
\name{franchise_leaders}
\alias{franchise_leaders}
\title{Franchise leaders}
\usage{
franchise_leaders(
teams = NULL,
all_teams = FALSE,
remove_inactive_teams = F,
modes = "Totals",
season_types = c("Regular Season"... |
5559d9ae70a3525f9304a7ee091a75d68403ad6f | 396a0112c7f3a76303324b820e131381a2a4fcae | /R/weblmInit.R | 8f7f59e141a4a2d315e23af711edcd458c01ee33 | [
"MIT"
] | permissive | cran/mscsweblm4r | 940c4895480b8e013aa48b4fb57d7fb31815cea2 | 2b33b3c3756109c604193419925d938d97b3536d | refs/heads/master | 2021-01-21T14:32:58.816525 | 2016-06-15T22:02:43 | 2016-06-15T22:02:43 | 59,103,575 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,072 | r | weblmInit.R |
#' @title Initializes the \pkg{mscsweblm4r} package.
#'
#' @description This function initializes the Microsoft Cognitive Services Web
#' Language Model REST API key and URL by reading them either from a
#' configuration file or environment variables.
#'
#' This function \strong{MUST} be called right after pack... |
a38849fd5f4dfa7a4ec3bd30a855fc7f52583384 | bc73b51699fb07f7dc81ea189cfbc2e086ffa794 | /R/plot_shapley.R | c898a111f56a9509b06a9f55adfacb9351af75dd | [] | no_license | redichh/ShapleyR | ec6c8bfac9925ac6bdc89110c8ba48072bf5278c | a977c041519e19f9b7f230e47c79235b3194d4f0 | refs/heads/master | 2021-07-06T04:58:19.363784 | 2019-03-05T22:55:16 | 2019-03-05T22:55:16 | 113,659,609 | 29 | 10 | null | 2019-03-05T22:55:17 | 2017-12-09T10:02:17 | R | UTF-8 | R | false | false | 5,908 | r | plot_shapley.R | #' Plots the difference for a single observation. Works only with `task.type` "regr".
#'
#' @description This method draws a plot for the data.mean, the observed value
#' and describes the influence of all features/variables for this difference.
#' @param shap.values A shapley object (generated by the shapley fun... |
e3da5afa7c886e77aca57170d3a63662f15fe208 | 4efac93116c266322340995eb05640d882d32ad8 | /scripts/to_snake_case.R | 89220ae5e6d4ff8445643a8e3615b1d014dad593 | [
"Apache-2.0"
] | permissive | kingaa/kingaa.github.io | 85c64870d977cb5dca7037876cf41386fc2d067b | 8bf76dd9c5c098068354df02559c5e294d59bb9f | refs/heads/master | 2023-08-17T10:13:02.635750 | 2023-08-14T14:41:14 | 2023-08-14T14:41:14 | 38,618,388 | 5 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,235 | r | to_snake_case.R | ## This script will edit files so as to replace calls
## to deprecated *pomp* functions with their proper replacements.
## Usage:
## 1. Make a directory and copy all files that you wish to edit into it.
## 2. In an R session, source this script.
## 3. Call the `to_snake_case` function with the path to your new
## di... |
95e01aeeda274e96835fb6d29db758bc39704991 | 1fc6cdf2b36678fa0096015640ab9e6f14d7aefc | /man/mappabilityCalc.Rd | 8ba910eedd698272d043356d71a1bb7dbe7bf52a | [] | no_license | clark-lab-robot/Repitools_bioc | e36b4a9912f8fe3c34ab592a02069afe860a6afa | b838a8fd34b2ecc41dd86276bd470bfdae53d544 | refs/heads/master | 2021-01-01T18:37:22.034108 | 2014-04-15T01:49:48 | 2014-04-15T01:49:48 | 2,335,128 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,923 | rd | mappabilityCalc.Rd | \name{mappabilityCalc}
\alias{mappabilityCalc}
\alias{mappabilityCalc,GRanges,MappabilitySource-method}
\alias{mappabilityCalc,data.frame,MappabilitySource-method}
\title{Calculate The Mappability of a Region}
\description{Function to calculate mappability of windows}
\usage{
\S4method{mappabilityCalc}{GRanges... |
ca79329e49aeee49d9ca5ea0d6f2ad9d83664340 | 367805d6ab8316f1ad7a1c8424847c9e9d986baf | /quiz4.R | 9859ff88bd17967409c4bda07c443eea103abafc | [] | no_license | abzaloid/stat-327 | 4e0004c9ff62e95922d19d9d7e3fe6d16df58df0 | 35e973a1b78f9aa93c7a5fa44444f9032a33000e | refs/heads/master | 2021-01-21T02:24:13.529822 | 2015-07-16T04:00:37 | 2015-07-16T04:00:37 | 38,990,743 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 578 | r | quiz4.R | s = read.csv("serekovQ4.csv")
cat(mean(s$age[s$sex=="F"]))
cat(mean(s$age[s$sex=="M" & s$eye.color=="brown"]))
cat(sum(s$hair.color %in% c("black","blond","brown")))
cat(sum(s$eye.color=="hazel" & s$hair.color!="gray"))
cat(s[order(s$weight,decreasing = TRUE),][3,]$age)
ordered=s[order(s$eye.color, s$weight, decr... |
86f8f106dfe726d9a8c8773e89411a118cb2f929 | 67a61966b03dc457e6a80c9de1913a375ae2d8c4 | /Platform/functions/quandl.R | cb41851c0db249f2ce3c24d92fb2db42b7c6b95b | [] | no_license | KarasiewiczStephane/automated_trading_with_R | 75f6e453e99e894c26ef1003ecb9f9d5a3ae3b0f | 628c44fce866bac969200e918d0e762c4b422089 | refs/heads/master | 2021-07-12T03:35:34.833375 | 2017-10-13T22:53:43 | 2017-10-13T22:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,316 | r | quandl.R | # Source : https://docs.quandl.com/docs/time-series-1
# Examples
# You can get the same data in a dataframe: data <- Quandl("FRED/GDP", type="raw")
# In ts format: data_ts <- Quandl("FRED/GDP", type="ts")
# In xts format: data_xts <- Quandl("FRED/GDP", type="xts")
# In zoo format: data_zoo <- Quandl("FRED/GDP", type="z... |
b3ef09a48883f230a2c64bb3f922101041faffb6 | 2aa238d03328cffa2a3b41df70c1c05c4cf97c15 | /man/bl.Rd | c8be9b2c7991b8c753f4daf3068bd29c8232ad6b | [] | no_license | cran/easyreg | 24dcc6387501e824b7e871701a120f39c6f46ea5 | 2b83e29f8632ebcf023d18c0b499f3fd13db15b6 | refs/heads/master | 2021-01-11T01:55:27.933134 | 2019-09-13T12:30:02 | 2019-09-13T12:30:02 | 70,836,877 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,579 | rd | bl.Rd | \name{bl}
\alias{bl}
\title{
Analysis of broken line regression
}
\description{
The function performs analysis of broken line regression
}
\usage{
bl(data, model=1, alpha=0.05, xlab = "Explanatory Variable", ylab = "Response Variable",
position = 1, digits = 6, mean = TRUE, sd=FALSE, legend = TRUE, lty=2,
col="... |
70b2382139f3fcf8737ee368628440af5320139b | 06d7da77c509f52f6d1629307b9c9a59ab106020 | /Rcode/01-intro.R | 227a8a53b3b3173cb3ecc76059de239c0901b433 | [] | no_license | happyrabbit/CE_JSM2017 | b823883d01c7787a77e424aa099464564005aedc | bddf17356b156c41bfe948ce6f86ee2d1198e4f8 | refs/heads/master | 2021-01-17T12:00:37.183957 | 2017-07-31T21:19:07 | 2017-07-31T21:19:07 | 95,393,608 | 8 | 4 | null | 2017-07-06T16:18:56 | 2017-06-26T00:27:40 | HTML | UTF-8 | R | false | false | 209 | r | 01-intro.R | ### -----------------------------
### Hui Lin
### @gossip_rabbit
###
### http://scientistcafe.com
### -----------------------------
## preparations -----------------------
source("Rcode/00-course-setup.r")
|
a019ab09d1651a0e9f3fa339ca2d3eed0b22944c | caab88f01472dccf8f8e6c36d8b6686c9a69ec36 | /nonparametric/distances.R | cc0516d1f2638387798d5f511044141764ff0fa7 | [] | no_license | clarkfitzg/pems_fd | e3e51142f9a173136ae3a41fec292082a55b5a67 | eb379ec3fd03e23591a92de359f4efc06bef0741 | refs/heads/master | 2021-05-07T14:31:39.219377 | 2019-05-20T18:38:07 | 2019-05-20T18:38:07 | 109,893,320 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 632 | r | distances.R | source("helpers.R")
stn = load_station()
N = length(stn)
distwrap = function(s1, s2)
{
distance(x1 = c(0, s1$right_end_occ)
, y1 = c(0, s1$mean_flow)
, x2 = c(0, s2$right_end_occ)
, y2 = c(0, s2$mean_flow)
)
}
# Works
distwrap(st... |
530acf2894bc8bb4cfb80b0dd6f067dc9ee4ebe0 | e03a21bf93181acbd72f19e10e7f0604bb32a6df | /R/phystiodata.R | 4e035c54c790e151ac89aa7854fdb2c49f359f5e | [] | no_license | cran/seedr | 996862f5c5069506ab1ed187c4a020fd40d105b5 | 530ed2921907b6ca067901f260dc221a583c7310 | refs/heads/master | 2023-01-06T08:26:14.438066 | 2020-11-03T07:30:02 | 2020-11-03T07:30:02 | 310,522,632 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,842 | r | phystiodata.R | #' Transforms dataset to physiodata format
#'
#' \code{physiodata} takes the user's dataset and transforms it to an object of
#' class "physiodata". This object will be used by the model-fitting functions,
#' and it can also be used to explore the data.
#'
#' @usage physiodata(d, t = "times", g = "germinated", pg... |
075b0eb2b303c78ab424f2c9d06cc9f1af6132b7 | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/gMemoryInputStreamAddData.Rd | 0ce5a8e7d76c7562ada095e2dd98a1513fe8d5c2 | [] | 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 | 403 | rd | gMemoryInputStreamAddData.Rd | \alias{gMemoryInputStreamAddData}
\name{gMemoryInputStreamAddData}
\title{gMemoryInputStreamAddData}
\description{Appends \code{data} to data that can be read from the input stream}
\usage{gMemoryInputStreamAddData(object, data)}
\arguments{
\item{\verb{object}}{a \code{\link{GMemoryInputStream}}}
\item{\verb{data}}{in... |
64bdd292e512f4d8feff495716f7fd056f857ebb | e30bae69fc9d33fd2953cc93669686a52013049e | /tests/testthat.R | b59a36b69904be66ebe92f719a0cca377e9343ff | [
"MIT"
] | permissive | Silvia-1404/Proyecto1 | 74194b9b0183ecc1237350561813ffd70664af9c | b57d007c8f082b6d4f91ffa714b062e664298651 | refs/heads/main | 2023-03-20T18:51:56.080080 | 2021-03-16T18:20:58 | 2021-03-16T18:20:58 | 348,431,076 | 0 | 0 | NOASSERTION | 2021-03-16T18:02:22 | 2021-03-16T17:14:19 | R | UTF-8 | R | false | false | 62 | r | testthat.R | library(testthat)
library(Proyecto1)
test_check("Proyecto1")
|
bbf5b6ec094b53dc2ca1772afae593816af32094 | 522ca94e04ba06504404ff5a1d6d1570fe909097 | /Bioconductor_RNASeqAnalysis.R | 7338970af679a6c2b4e3f18c8431f1862ef70157 | [] | no_license | AGBioInfo/Bioconductor-RNASeqAnalysis | 3db3cbf593abcc497f5f81820ccfe52b896645df | fab8c3218e3401eee5b063f40c75c2fe8ecb1b50 | refs/heads/master | 2020-04-01T17:15:00.267691 | 2018-10-17T10:15:01 | 2018-10-17T10:15:01 | 153,420,041 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,045 | r | Bioconductor_RNASeqAnalysis.R | # What fraction of reads in this file has an A nucleotide in the 5th base of the read?
library(ShortRead)
library(yeastRNASeq)
fastqFilePath <- system.file("reads", "wt_1_f.fastq.gz", package = "yeastRNASeq")
fqFile <- FastqFile(fastqFilePath)
reads <- readFastq(fqFile)
reads_set <- sread(reads)
sum(DNAStringS... |
dc52f8995493bed77b7b7832e4b3257b7acc720d | c7e9a7fe3ee4239aad068c6c41149a4a09888275 | /OLD_GALLERY_RSCRIPT/#25_histogram_without_border.R | 77004c432344e7e0cdc0e511da11d6858e4a440d | [
"MIT"
] | permissive | holtzy/R-graph-gallery | b0dfee965ac398fe73b3841876c6b7f95b4cbae4 | 7d266ad78c8c2d7d39f2730f79230775930e4e0b | refs/heads/master | 2023-08-04T15:10:45.396112 | 2023-07-21T08:37:32 | 2023-07-21T08:37:32 | 31,253,823 | 591 | 219 | MIT | 2023-08-30T10:20:37 | 2015-02-24T09:53:50 | HTML | UTF-8 | R | false | false | 287 | r | #25_histogram_without_border.R | # Creating data
my_variable=c(rnorm(1000 , 0 , 2) , rnorm(1000 , 9 , 2))
# Draw the histogram with border=F
png("#25_histogram_without_border.png" , width = 480, height = 480)
par(mar=c(3,4,2,2))
hist(my_variable , breaks=40 , col=rgb(0.2,0.8,0.5,0.5) , border=F , main="")
dev.off()
|
7573babcc72b82bfd80cef111d0904641969f20a | 3208cc4c01370e22961fcb21f350f7557e006428 | /plots_select.R | 69fbadbf47fd18f6c7868e7df4e4cb58915e8d30 | [] | no_license | austinctodd/ConnectedCar | edadb2614577c4a0f8c25174a36c427b2b6cf8ac | 78bcd810065d58cc1917217b4be6e48c78c8cb60 | refs/heads/master | 2020-12-31T05:10:34.110816 | 2016-04-25T11:26:00 | 2016-04-25T11:26:00 | 56,857,366 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,517 | r | plots_select.R | tagList(
br(),
# fluidRow(
# column(width = 3),
# column(width = 6,
# sliderInput("map_area", "Time Range",
# min = as.POSIXlt(min(cars_weather$GPS_UTC_Time)/1000,origin="1970-01-01",tz="EST5EDT"),
# max = as.POSIXlt(max(cars_weather$GPS_UTC_Time)/1000,or... |
eb643bb00105116c8d598e77ae4e5b8dbaa3f560 | e67a32b7985e535e258a883ef71b679045429b6e | /4_model/src/process_models/random_walk.R | 7f44d1f7edc6dee62ca10ebcd051389080f3c2e0 | [] | no_license | jzwart/delaware-water-temp | 7b114d9ca92a60c5a406c18bca80553af1614003 | 4c50519980ea97512835a015cd341746fd64da80 | refs/heads/master | 2021-08-07T10:26:29.158373 | 2021-07-08T16:42:18 | 2021-07-08T16:42:18 | 203,851,125 | 2 | 4 | null | 2020-10-29T14:11:45 | 2019-08-22T18:28:39 | R | UTF-8 | R | false | false | 250 | r | random_walk.R |
#' random walk model
#'
#' @param states model states at the previous time step
#' @param sd state error as standard deviation
random_walk = function(states, sd){
states_1 = rnorm(n = length(states), mean = states, sd = sd)
return(states_1)
}
|
90b2d68e4e45f6cd2c7bfcb67ee4c247ae8f7024 | 598f42e4af35f3371251fe9c01b57f13bc2318c3 | /north_filter.R | 5b2fd20a92c69bb288aeaf965a066ce8c43b7559 | [] | no_license | lucaskdo/Thesis | 298fd2ba1ff63f1484dd4a0848f34cc229ef19ff | 6cf4b177feaadf092e7486e38b6afb51e12d2e8e | refs/heads/master | 2020-12-19T17:18:41.492565 | 2020-01-28T19:24:54 | 2020-01-28T19:24:54 | 235,798,499 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,211 | r | north_filter.R | #install and set up necessary packages
install.packages("tidyverse")
install.packages("janitor")
library(tidyverse)
library(janitor)
#import all data sets for mid (yield projections for each climate model)
#has to be run manually for each crop/scenario/normal combination (10 total)
yr <- c(2070:2099)
... |
75f35ed1b302f1eda282b2c2bc627f2003097802 | 6895dfd6ce7a392962790f2fdb64f8414180adb0 | /man/prep_cross.Rd | 9bb1c895062fd9a91a283aa201a67563a86bd234 | [] | no_license | neyhartj/fsimpute | 957d832b0f08965596c2f467fa13aa93c1c71b8d | 993561395c7b37b1cb2475e357cab4159dc6a1a0 | refs/heads/master | 2020-07-04T12:11:49.655347 | 2017-01-03T14:56:51 | 2017-01-03T14:56:51 | 74,064,977 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,107 | rd | prep_cross.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prep_cross.R
\name{prep_cross}
\alias{prep_cross}
\title{Create a cross object}
\usage{
prep_cross(map, founders, finals, selfing.gen)
}
\arguments{
\item{map}{The genetic map, formatted as a \code{list} of chromosomes, where
each chromosome ... |
a58aa5316fd94656ee798a8091700632374427c3 | 47e05368c371a9d580dc8c1b7744450dfc6c973e | /tempVilnius.R | a242585b10d60c24653aa4a13c72668bfe11b224 | [] | no_license | Gwenael617/VilniusTemperature | 2ad6b3f0f77996bc1c5b80cbdfba4f271b75ec94 | c3ae0e9b8298cdc5650637ad62b63b1f3e7a6009 | refs/heads/master | 2021-01-10T17:44:13.250348 | 2016-05-05T20:30:38 | 2016-05-05T20:30:38 | 45,398,745 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,481 | r | tempVilnius.R | setwd('N:/Rwd/VilniusTemperature')
cat("\n list of files in data folder : \n \n")
print(list.files("./data")) ## check the file numbers to pick up the correct one
library(lubridate)
tempVilnius <- function(fileNumber){
df <- read.csv2(paste0("./data/", list.files("./data")[fileNumber]),
skip=6, ... |
a95d49648c9e7af127fcaee7c5bd91bb8da1b8a3 | b88e71cf62d75955fab994688502cbaf1250c55d | /_src/update_estado.R | 33823b991ac3f91202668fcac3400cab3b9d162d | [] | no_license | vikramroy622/covid19br.github.io | 7789002e1135c5a0ecb9234dcd238210fa51e273 | ef10128998974e23faf7ae1ebd290fbe10922cd6 | refs/heads/master | 2022-09-01T01:20:41.060808 | 2020-05-27T00:41:31 | 2020-05-27T00:41:31 | 267,365,257 | 2 | 0 | null | 2020-05-27T16:03:35 | 2020-05-27T16:03:34 | null | UTF-8 | R | false | false | 3,063 | r | update_estado.R | tryCatch({
# Libraries
library(widgetframe)
library(tidyverse)
library(plotly)
library(lubridate)
# Helper Function
makeNamedList <- function(...) {
structure(list(...), names = as.list(substitute(list(...)))[-1L])
}
# Estados a serem atualizados
estados.para.atualizar <- c('AC', 'AL', 'AM', 'AP', 'BA', 'CE', 'DF',... |
96552d290da392db81ef56af49ef31df9e12862a | 06169fdcd899f4e59d424cc6602d801a43f94183 | /R/organization_api.R | 0c0016caf0e5b3888a977795f2c9860487c7f2dd | [] | no_license | jfontestad/tldbclr | 56b2efa27eb4d20d893611c65341ee6074ca4efd | f3ad4b338235f73af073fdb84d91bcd7f1ee7064 | refs/heads/master | 2022-12-04T00:44:18.624015 | 2020-08-18T18:19:43 | 2020-08-18T22:06:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 57,897 | r | organization_api.R | # TileDB Storage Platform API
#
# TileDB Storage Platform REST API
#
# The version of the OpenAPI document: 2.0.4
#
# Generated by: https://openapi-generator.tech
#' @docType class
#' @title Organization operations
#' @description tiledbcloud.Organization
#' @format An \code{R6Class} generator object
#' @field apiCli... |
03257b12bee5cf952081e04e29df2c1b95b1718b | 9ad93fb5324fbdcaada135cef25969eb381c8372 | /analysis/R/generate_output.R | 388988e1fe6b66f8fbe5af7e986671327765f890 | [
"MIT"
] | permissive | pennell-lab/fossil_sampling | 4f208de90ffc34a315b892f05da92e7a387a9e96 | dc8b5e72af5705372859ec63cd90cada7231bb70 | refs/heads/master | 2021-01-12T08:29:41.292371 | 2016-12-20T08:47:56 | 2016-12-20T08:47:56 | 76,596,511 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 654 | r | generate_output.R |
anolis = read.csv("analysis/data/anolis.convergence.csv")
head(anolis)
library(ggplot2)
library(ggforce)
gg0 = ggplot(anolis, aes(SVLength, FemurLength, colour = Island)) +
geom_point() +
facet_zoom(xy = Ecomorph == "Crown-Giant")
gg0
ggsave("analysis/output/anolis_zoom.pdf", plot = gg0)
library(dplyr)
ann =... |
86825b63c8811d58606ac6b26830b29c51de1372 | b512d9d69ebfd2b9537685c4cdf405f8ad59d5be | /man/importNmModInput.Rd | e80e809ea148ca99b554ea9434bef5c1bb66d98e | [] | no_license | MikeKSmith/RNMImport | ba7b64b5be198e7fac364f6c747282b729211aae | ba395c6da585ade86dffe953159a4f50213fd792 | refs/heads/master | 2020-12-28T06:56:26.201975 | 2018-04-12T17:01:00 | 2018-04-12T17:01:00 | 67,253,939 | 0 | 1 | null | 2018-01-05T10:49:43 | 2016-09-02T20:49:22 | R | UTF-8 | R | false | true | 918 | rd | importNmModInput.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/importNmModInput.R
\name{importNmModInput}
\alias{importNmModInput}
\alias{.importNmModInput}
\title{Parse $INPUT statement}
\usage{
.importNmModInput(txt, .extract = length(grep("\\\\$INPUT", toupper(txt))) >
0)
}
\arguments{
\item{txt}{Ch... |
c8c62e92556553653497daf71ffee4ffc40a59c1 | 3b361820e93c9cbaa7e740b6edbf13c03a1cfcce | /man/BYlogreg.Rd | 9319fa78d5aa6b13554d30478a7274838bc32828 | [] | no_license | msalibian/RobStatTM | f8dabc88197be2460f1ba4c95b595e95ff53c1e9 | d542c29816d50889f25649817e3ae5de08946141 | refs/heads/master | 2023-05-14T08:42:27.747789 | 2023-05-09T17:08:37 | 2023-05-09T17:08:37 | 83,067,068 | 14 | 7 | null | null | null | null | UTF-8 | R | false | true | 1,821 | rd | BYlogreg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BYlogreg.R
\name{logregBY}
\alias{logregBY}
\alias{BYlogreg}
\title{Bianco and Yohai estimator for logistic regression}
\usage{
logregBY(x0, y, intercept = 1, const = 0.5, kmax = 1000, maxhalf = 10)
}
\arguments{
\item{x0}{matrix of explanato... |
9e45ba4f456d56fc56cd4fc57471f2b12bd6c09e | e575932c6669de128effa5de43d815a5c5d5163c | /man/SummarizePosteriors.Rd | 5c77441fe78d181371936076db14786b12840141 | [] | no_license | femoerman/PBPGM | 03e9a9e12b00dfebed20f4be59436c1547b62d92 | a84b7e1ff5daad0083ecebb18159c88a5fb30d67 | refs/heads/master | 2021-08-27T18:37:36.599988 | 2021-08-19T14:38:07 | 2021-08-19T14:38:07 | 166,230,502 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 560 | rd | SummarizePosteriors.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SummarizePosteriors.R
\name{SummarizePosteriors}
\alias{SummarizePosteriors}
\title{SumarizePosteriors function}
\usage{
SummarizePosteriors(fulloutput, modelname)
}
\arguments{
\item{fulloutput}{Output generated in the BHfitting function, co... |
9bcfb4e8d03803f374c4a6a9856f38df611c4ad1 | a5c83798a649d5113387bb005030bc91ef578cfa | /Reviews.R | b101a3c61c9d66fb1453f9097c20a19e933e892d | [] | no_license | tejascphadnis/visitsingapore | 3ec78fae7db75141c3c04d52f4c4fd1394d6b663 | 059466b0c260c115f6c9464c7b15c990b6cd59ed | refs/heads/master | 2021-01-09T06:27:15.487959 | 2017-03-29T23:17:18 | 2017-03-29T23:17:18 | 80,988,997 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,367 | r | Reviews.R | # Load Data
setwd("D:/Data Science/Data Incubator/DataSet")
reviews <- read.csv("Reviews.csv")
reviewsUSS <- subset(reviews, Attraction == "Universal Studios")
reviewsUSS$sentiment <- 0
reviewsUSS[reviewsUSS$Reviewer.Rating == 5 | reviewsUSS$Reviewer.Rating == 4, "sentiment"] <- 1
reviewsUSS_a <- aggregate(r... |
92706a0918b7550e04668b21845c09b7a4988418 | e2ab8b8ac40148ea44407407f71e731329e126b4 | /Rcode.R | e72d7f8577d8e0c9f8085646aad70962952ee901 | [] | no_license | reemaleithan/software_bug_prediction_explanation | 9ceab7adae7a9c4e584c934fdbf802ad9f648d9b | e63fd12ad6425e14af82d1ceac99c335d9568d94 | refs/heads/main | 2023-03-24T15:28:48.674251 | 2021-03-15T20:42:55 | 2021-03-15T20:42:55 | 310,771,447 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,571 | r | Rcode.R | # R snippets for Break-Down with DALEX
# read more about the metod at
# Explanatory Model Analysis
# https://pbiecek.github.io/ema/
# Prepare data
library("DALEX")
jdt_training <- read.csv(file.choose(), header = TRUE)
jdt_testing <- read.csv(file.choose(), header = TRUE)
# Train a model
library(ranger)
... |
f063e1e0d9237adcec390e9215bcc8fc40a7f590 | 01a6c5a8fd11768560697e643f392bb519afdfae | /Scripts/Nutrition2013.R | d430a085888c4f7978f7ec9bc11d990e472e1332 | [] | no_license | vincentlinderhof/NutritionETH | 05e9902c15bce6823d72dd5b38f246a20bf2d624 | c321aa0a40f75b604f4dd138666fb8c048e454e1 | refs/heads/master | 2020-09-25T19:39:45.005718 | 2017-03-19T14:31:08 | 2017-03-19T14:31:08 | 66,675,689 | 0 | 1 | null | 2017-03-19T14:31:09 | 2016-08-26T19:58:22 | R | UTF-8 | R | false | false | 18,015 | r | Nutrition2013.R | # Tom
# dataPath <- "C:/Users/Tomas/Documents/LEI/data/TZA/2010/Data"
# LEI Path
# dataPath <- "W:/LEI/Internationaal Beleid (IB)/Projecten/2285000066 Africa Maize Yield Gap/SurveyData/TZA/2010/Data"
# ACT: Tom has to change his dataPath
if(Sys.info()["user"] == "Tomas"){
dataPath <- "C:/Users/Tomas/Documents/LEI... |
869f860b32813863821eeb7b068e8148b2380471 | fc91ba37fccc23969ace7822d5e8562411427965 | /cachematrix.R | 81c7f0ac38b64cf499b067525cc703d7727a4ba4 | [] | no_license | eamoncayo/hariharan | 40f1d58ec58bfce2384a8f7fc74d32c3ce212af8 | 2d53083650db8eb102ce4178e8f94e4f2859ed6f | refs/heads/master | 2020-12-29T00:41:35.287310 | 2014-04-27T19:53:38 | 2014-04-27T19:53:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,966 | r | cachematrix.R | ## functions that helps in caching the inverse of a matrix
## matrix inverse is calculated and is cached
## cached inverse is displayed for unchanged data.. new inverse calculated for change in data
## Creates a special matrix object that can cache its inverse
makeCacheMatrix <- function(x = matrix()) { ## defines x... |
897c4b080d314ebd568568d7f86b120bde7104f1 | ea110112ffa5b4f0adc9b024882c74502c662142 | /GS_MultiRunFZ.R | cbd8a2962d00914fbc1026ca7b754d61934db760 | [] | no_license | alenxav/GenomicSelection | 3ce22dc6442c4f06b60a4198b3e6364f9802ae4d | 40b84f33cc3af3944de9429b3ae3cfb31a05e1d9 | refs/heads/main | 2023-04-09T04:26:24.772797 | 2021-03-27T18:07:27 | 2021-03-27T18:07:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,893 | r | GS_MultiRunFZ.R | ### Simulation Breeding Selection Strategy, Index of Selection and GS Models ---
## Packagers -------------------------------------------------------------------
rm(list=ls())
if(TRUE){
load('Founders.RData')
}else{
library('AlphaSimR')
set.seed(123)
Ne <- 106 # Tsuda 2015 BMC
segSites <- round(20... |
db2c9e97d96ceb545cd090942007c271fc862d10 | c97fa9aadc45c44fad6433ae10c772060bde355c | /MyNotes/03 - Geting and Cleaning Data/Course Project/run_analysis.R | 4b121f635e2a9ae8713280753599682d081622d2 | [] | no_license | vitorefigenio/datasciencecoursera | 9866816242d39fa9fc9520bc4d543efc815afeb5 | 03722d0c7c6d219ec84f48e02065493f6657cc0a | refs/heads/master | 2021-01-17T11:17:58.099767 | 2016-02-28T03:06:37 | 2016-02-28T03:06:37 | 29,034,385 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,176 | r | run_analysis.R | # 1st: Merges the training and the test sets to create one data set.
# Create table wuth the variables names
features <- read.table("./data/UCI HAR Dataset/features.txt")
# Create TEST table: with test dataset
table_test <- read.table("./data/UCI HAR Dataset/test/X_test.txt", col.names=features[,2])
test_labels <- r... |
868dac3309b9b12d585d36e701cbae71f619f990 | 0866bc5078826247d959a8063ef4d18aebd7523a | /01_Data_Construction.r | 9f491ba67cd2ac78cc402bed412330feb4720362 | [] | no_license | TomoyaOzawa-DA/Rust | 7261db070d17f2026ede1e4b721d2ba082cf8aac | 67b0b148574dc212c75daf5b56dc562101162108 | refs/heads/main | 2023-06-14T22:41:24.886161 | 2021-07-08T03:29:14 | 2021-07-08T03:29:14 | 375,599,693 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,463 | r | 01_Data_Construction.r | # objective: Reading datasets in Rust 1987 and Processing them to data frames.
# install packages
if (!require("tidyverse")) install.packages("tidyverse")
library(tidyverse)
# read .asc files and make them matrix.
# Bus group 1: 1983 Grumman model 870 buses (15 buses total)
df_group_1 <-
read.csv("./dat/g870.a... |
65e0ba724c5fd366c1f79c0a532a757a40ad9fb0 | 61fe2d2c573fd1a58ba00e0f2d2213e61d72f1ff | /cachematrix.R | bee2a999061c02e9aedfabda664ce5ca063f2876 | [] | no_license | vaanxy/ProgrammingAssignment2 | 81215b090ae2b3400b1275f8709a4e7f8f891de3 | 6370f6fd1ce702b7c478b8fda5c5c01aa200eb01 | refs/heads/master | 2021-01-20T23:48:07.340819 | 2015-03-08T02:54:55 | 2015-03-08T02:54:55 | 31,776,301 | 0 | 0 | null | 2015-03-06T15:47:26 | 2015-03-06T15:47:25 | null | UTF-8 | R | false | false | 1,193 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
##makeCacheMatrix creates a special "matrix", which is really a list containing a function to
##set : set the value of the matrix
##get : get the value of the matrix
##setSolve: ... |
5f1941df5d83c4806c697690c9d14c6e5e49b231 | 80514a9aef5f6075d7d07151aa565540da963e74 | /man/generateGSC.Rd | dd8cac24bf863d3b0fb39c3c4d78e32f09e63978 | [] | no_license | bengtssonpalme/cafe | 99a7710fdfc8393b006a6b0727eeb439b1b2415b | d3c159b268001784bc709f6d87a77b5a8d999a20 | refs/heads/master | 2023-01-14T07:05:19.060946 | 2023-01-04T16:59:10 | 2023-01-04T16:59:10 | 238,866,904 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 922 | rd | generateGSC.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/generateGSC.R
\name{generateGSC}
\alias{generateGSC}
\title{Generate a Gene Set Collection}
\usage{
generateGSC(file, columns = c(1, 3), header = FALSE)
}
\arguments{
\item{file}{Tab-separated table containing associations between genes and, ... |
dfa611fd757d0d53e431ecb7b31b8ad207f737c1 | d31602f21f6c627b05a6889b94aab7a07b5ceb9b | /man/fc_mean.Rd | a73da1cb4df9cb2b7f022187726d601ce9c1cbf0 | [
"MIT"
] | permissive | evandeilton/cvforecast | ff7162983e163a5f180deed360074145e142fd4d | d6d934d1eb1e036b472a16c6ea5dafdce0a36111 | refs/heads/master | 2020-04-25T12:26:40.028320 | 2017-05-22T02:17:45 | 2017-05-22T02:17:45 | 37,792,953 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,131 | rd | fc_mean.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cvForecastExtraFunctions.R
\name{fc_mean}
\alias{fc_mean}
\title{Mean forecast wrapper}
\usage{
fc_mean(x, h, level = 95, onlyfc = TRUE, ...)
fc_mean(x, h, level = 95, onlyfc = TRUE, ...)
}
\arguments{
\item{x}{'ts' data}
\item{h}{forecast ... |
6544852528dd8a243c7fc3b94a04fab597578c41 | 7a50607ba3e3006368b024b97288c2610421dfd6 | /chapter1/main.R | 3723cb7190c1a2117c4bd244e3580a9191e20f3b | [
"MIT"
] | permissive | maxwellb995/Statistical-Computing-with-R | 5cbc8dae76698632cbe0ba1e3a5f7b378a66b484 | 72dc6dfe3ba63fc89ebd8c467630e406f705c166 | refs/heads/master | 2021-05-11T03:45:50.557955 | 2018-01-18T03:51:01 | 2018-01-18T03:51:01 | 117,921,900 | 0 | 0 | MIT | 2018-01-18T03:51:02 | 2018-01-18T02:40:47 | R | UTF-8 | R | false | false | 464 | r | main.R | # Statistical computing with R
# setwd("C:/Users/Maxwell Ramirez/Documents/Statistical Computing/chapter1/")
setwd("C:\\Users\\Maxwell Ramirez\\Documents\\R\\Statistical Computing\\chapter1")
getwd()
# install.packages("tidyverse")
# library("tidyverse")
######### Start Chapter 1
source("chapter1_helper.R")... |
afb604f9d03c1564fd83084dec932ebed9008237 | 2f6d7a99ce3155d2c635c39013a0da1418208b40 | /tests/testthat/test_devtools.R | 5a1d1fff4b0b4049c8642dd2f2f433b20ab219b7 | [
"MIT"
] | permissive | oganm/ogbox | c75eb1d8f4df00be214731e085e6c19e141992cc | ba99a46487836af5ab4fb5b013bc92cf35ad8e95 | refs/heads/master | 2020-04-04T07:07:27.383911 | 2019-07-29T23:00:12 | 2019-07-29T23:00:12 | 37,562,559 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 215 | r | test_devtools.R | context('devtools')
test_that('getVersion',{
testthat::expect_equal(getVersion(),'1.0')
})
test_that('setVersion',{
setVersion('1.2')
testthat::expect_equal(getVersion(),'1.2')
setVersion('1.0')
}) |
9c4d6df6eadcb3b356f21b1e5af94f3fb3c69dd6 | dc1368704fc79912439369ac822802502781f873 | /plot1.r | 6c10fcdaf0d213f5a3e4e478e47745c069fd9593 | [] | no_license | chuhoaianh/ExData_Plotting1 | a7e1f988c2d39481d822559fb4ab8023f2d7cb61 | e29ac975837f4d3db6d33c2c1da1b76a6d44cef2 | refs/heads/master | 2021-01-17T14:48:44.524934 | 2015-07-12T15:01:57 | 2015-07-12T15:01:57 | 38,860,605 | 0 | 0 | null | 2015-07-10T04:18:13 | 2015-07-10T04:18:13 | null | UTF-8 | R | false | false | 951 | r | plot1.r | #########################################################################################
# Creator: Anh Chu
# Course: Exploratory Data Analysis
# Course Project 1 - plot1.R
# This assignment load data from
# https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip
# and practice plotting ... |
cac9b04dcac44c54fc20b9b8c09bf7419d49a212 | bbd48af369edc0eb5df2a6b844abb9a563641a0e | /test/test13.R | ab8ceaa7b6e4b8476607a6092fc753228034bdc1 | [] | no_license | doktorschiwago/kwai | 5ff61dfb413e1bf7880b9b45e9c6f43b20b290ac | 6f3003578ca5747dbc423bed3115b02a4d4b68f4 | refs/heads/master | 2020-04-17T09:41:14.257637 | 2015-11-29T12:57:33 | 2015-11-29T12:57:33 | 33,010,238 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 490 | r | test13.R | myfunction <- function(arg1,arg2){
qq=arg1+1
qq2=arg1+1
if (qq2>arg2) {
return(qq)
} else {
return(-11)
}
}
myfunction2 <-function(a) {
return(myfunction(arg2=a+1,arg3=a-1))
}
library(kwai)
source("../R/compile.R")
source("../R/typelib.R")
source("../R/inferType.R")
source("../R/createIR2.R")
source("../R/... |
d03c55b30cad9cd7e57ffa1c1bb7218d9fc3e887 | 306c9c5808cfbbcbfe6b9bf42c0f3ad1a9502879 | /R/TwoPart_MultiMS.R | 63c7f2db86537d4b4a0e8203a54266736712b990 | [
"MIT"
] | permissive | YuliyaLab/ProteoMM | 333386474d1d9cf984fad74ab299335c52f8003e | 3058e12d44b9f2a64f74b4165bf563b5c594ed05 | refs/heads/master | 2022-05-15T08:21:13.133808 | 2022-04-10T05:20:14 | 2022-04-10T05:20:14 | 138,552,525 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 54,526 | r | TwoPart_MultiMS.R | ###############################################################################
# Function to conduct multi-sample two-part test with
# permutation null distribution
# Initial implementation date: 22 July 2016
# Relesae data: February 2018
###############################################################################
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.