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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12796d6139e34a41b337ae4b8c348723147b0807 | bff6f874ddadce8109260ac9c36a8e1f76bc5536 | /ndnd_code/text_runs_on temperature.R | 2e1c2842af27c164e4cece9cec4b6820d089225a | [] | no_license | ElliotSivel/NDND | b45d06e5b8f0ea9b81e8793ab6f203426b7e4b75 | 88ef12fe46ffb7ac3ead95dfbe4ab1c50aa7dacb | refs/heads/master | 2021-06-22T00:16:58.066969 | 2021-01-12T17:03:31 | 2021-01-12T17:03:31 | 171,261,910 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 696 | r | text_runs_on temperature.R | # small test script to run 3 simulations with 3 temperatures
load("~/Documents/Work/NDND/NDND_in_R/NDND/ndnd_data/NDNDData_2019_04_09_10_22_33.RData") # my reference data file
save(NDNDData,file = './NDNDData.Rdata')
source('./ndnd_code/NDND_main.r')
NDNDData=TEOMR(NDNDData,c(1,1,1,1,1,1,0,0),1)
NDNDData$Data.tag=Sys.... |
4550e560d2f65981e54adc24a829b5bb25390ee8 | eb64e76a208dd608c8a753af25e649415e0f2325 | /R/binToDec.R | cb9ed0dd74992fc9272ebc8ff6e3269f908aec5c | [] | no_license | cran/bayesloglin | b8a34d75ef71c6d486fbd1b31719bbee80f29fbe | f748df55cd8cc958a761b270b82cecf2746b9838 | refs/heads/master | 2021-01-12T06:50:29.768481 | 2016-12-19T15:13:03 | 2016-12-19T15:13:03 | 76,839,534 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 91 | r | binToDec.R | binToDec <-
function (x) {
dec <- sum(x * 2^(rev(seq_along(x)) - 1))
return(dec)
}
|
02c17b2c458d1e69a591cd96449bd5bc0bacf0c8 | cfaf00159de526c80f44376ce0defd82051ac3c4 | /tests/testthat/test-pkg_examples.R | 6e0c5b152b78917205a764b38942736b1ff3673d | [] | no_license | cran/RcppProgress | 3a5023e9f354dc5329873ba49c4d10b4b2950fa7 | f63f3f9b9ba4d01c45c44e778607c641fc884c54 | refs/heads/master | 2020-12-25T17:57:15.728649 | 2020-02-06T11:10:08 | 2020-02-06T11:10:08 | 17,693,210 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 821 | r | test-pkg_examples.R | source("wrap_examples.R")
context('RcppProgressExample sequential\n')
.test_sequential <- function() {
expect_error(test_sequential(nb = 500), NA)
}
test_that("test_sequential", .test_sequential())
context('RcppProgressExample multithreaded\n')
.test_multithreaded <- function() {
expect_error(test_multithreaded... |
3e69df87176370810d30f33d7dd72a798778a4a9 | 6484698359c33ec731d7448cecd48fb9beaba341 | /man/innerAUC_fct.Rd | 3d72dfb63c598c6d7bfb802a351d44ccd22496ab | [] | no_license | krumsieklab/SurvRank | af88aa83f1b7ac5adb0d4bac8f8c2ef164e33a90 | 2666b006321d0fb3e84bfee9c15a43f35219af30 | refs/heads/master | 2020-05-07T21:29:11.332431 | 2019-04-12T16:25:07 | 2019-04-12T16:25:07 | 180,906,378 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,713 | rd | innerAUC_fct.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/innerAUC_fct.R
\name{innerAUC_fct}
\alias{innerAUC_fct}
\title{Calculates inner and outer survival AUCs of training and testset}
\usage{
innerAUC_fct(f, data, t, cv.out, cv.in, i, fold, data.out, nr.var, out.s, sd1,
c.time, r... |
bb9d6e9669cac395f67200937d9e13884f6adf27 | cfc4a7b37657114bb93c7130eff4fc2458381a4f | /doc-ja/sample-quotientfield04.rb.v.rd | 47062f2ff55e22e75a7284c19e235744ae7207db | [
"MIT"
] | permissive | kunishi/algebra-ruby2 | 5bc3fae343505de879f7a8ae631f9397a5060f6b | ab8e3dce503bf59477b18bfc93d7cdf103507037 | refs/heads/master | 2021-11-11T16:54:52.502856 | 2021-11-04T02:18:45 | 2021-11-04T02:18:45 | 28,221,289 | 6 | 0 | null | 2016-05-05T16:11:38 | 2014-12-19T08:36:45 | Ruby | UTF-8 | R | false | false | 381 | rd | sample-quotientfield04.rb.v.rd | =begin
# sample-quotientfield04.rb
require "algebra"
F13 = ResidueClassRing(Integer, 13)
F = RationalFunctionField(F13, "x")
x = F.var
AF = AlgebraicExtensionField(F, "a") {|a| a**2 - 2*x}
a = AF.var
p( (a/4*x + AF.unity/2)/(x**2 + a*x + 1) +
(-a/4*x + AF.unity/2)/(x**2 - a*x + 1) )
#=> (-x... |
d76fbac184840de9663a491bc7502b6d8c93f5c0 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/6606_5/rinput.R | a81bb71dba2e57c3decd3e3500cc2997e6c19f0c | [] | 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("6606_5.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="6606_5_unrooted.txt") |
daadf46d7f215c41fb6866074dfa9a811996f786 | 7e46e285f29c527bb8c7a55b89411e13641c0bd9 | /Source/pomp-novac-fitting.R | e4152bd6c88f6226299aebf4b478c9f2314e4ed0 | [] | no_license | HopkinsIDD/singledose-ocv | d5a2f8eea95d1267b02190593f2db5ad9e075b4a | ec516ba0ca908076eb4114c3d58515c6130e2ea7 | refs/heads/master | 2021-01-20T07:48:33.219390 | 2015-12-07T08:40:48 | 2015-12-07T08:40:48 | 29,299,386 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 43,010 | r | pomp-novac-fitting.R | ###################################################################
## An attempt to really nail down unvac fits for zim and conakry ##
###################################################################
source("Source/leakyvac-pomp-model-inC-novac.R")
library(pomp)
palette(brewer.pal(8,"Set1"))
set.seed(243947892)
##... |
fef1c1008d821c9915eb0a3dad90062bed5a7598 | f530b7e7b0de3d3083ebdf9cd507e35b61227664 | /R/utils.R | 031ed41e8af80b559a9e270c9c95e1f7739bfd69 | [] | no_license | shbrief/GenomicSuperSignature | cc0eb4dff165477b3aae981c8c6cf800ee3c38b2 | ca168ab8d5de2908416b477ebcc0f3f42eb80a04 | refs/heads/master | 2023-05-10T19:50:08.389840 | 2023-05-02T03:17:58 | 2023-05-02T03:17:58 | 278,696,963 | 12 | 5 | null | 2022-08-23T19:06:23 | 2020-07-10T17:41:12 | R | UTF-8 | R | false | false | 4,294 | r | utils.R | ### Extract expression matrix from different classes of input datasets
.extractExprsMatrix <- function(dataset) {
if (is(dataset, "ExpressionSet")) {
dat <- Biobase::exprs(dataset)
} else if (is(dataset,"SummarizedExperiment")) {
dat <- SummarizedExperiment::assay(dataset)
} else if (is.matrix(dataset)) {... |
c40629b36f40e8b479ca14459eb9a325dfeb4752 | f44f88f39935e2879ebb3ff7f2abb11258e5d46f | /beast_scripts/v2.5_pipeline/v2.5_GetSeq.R | a957f6db5496974f18caf19a45e6c30450836d6b | [] | no_license | oncoapop/data_reporting | d5d98b9bf11781be5506d70855e18cf28dbc2f29 | 7bb63516a4bc4caf3c92e31ccd6bcd99a755322b | refs/heads/master | 2022-08-23T20:21:18.094496 | 2020-05-22T00:51:51 | 2020-05-22T00:51:51 | 261,604,041 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,566 | r | v2.5_GetSeq.R | ##################################################
## Script to get sequence (not SNV/SNP masked)
## around SNV or indels to design primers for
## Targeted resequencing on the MiSeq
## Aparicio Lab WSOP 2013-001 developed by
## Dr Damian Yap , Research Associate
## dyap@bccrc.ca Version 3.0 (Sep 2... |
fb4988d74274ed15612a048b399d05bf621d461b | 1fc02d5293e23639d667acc9c228b761478206e2 | /man/bonfInfinite.Rd | 7ea225165a90d43a9d55161c0ebed36998e42531 | [] | no_license | dsrobertson/onlineFDR | caf7fa9d6f52531170b3d5caa505a15c87d6db11 | 2e5a3eaf9cf85d2c04a587ad3dd8783f66435159 | refs/heads/master | 2023-04-29T11:25:12.532739 | 2023-04-12T10:30:23 | 2023-04-12T10:30:23 | 129,420,795 | 14 | 4 | null | 2023-04-12T10:33:39 | 2018-04-13T15:27:02 | R | UTF-8 | R | false | true | 2,559 | rd | bonfInfinite.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bonfInfinite.R
\name{bonfInfinite}
\alias{bonfInfinite}
\title{Online FDR control based on a Bonferroni-like test}
\usage{
bonfInfinite(
d,
alpha = 0.05,
alphai,
random = TRUE,
date.format = "\%Y-\%m-\%d"
)
}
\arguments{
\item{d}{Ei... |
e2eebd99e92839705d9e3b51196089ce5393cf78 | 73fca71f8407e428d3b891289d758778c03b7bec | /man/track.info.Rd | e8f99990034f77585c666bed6b3a4f8c1e35c87a | [] | no_license | cran/trackObjs | 7ada054878bf3de45d793988f7979cc6f464afef | 4c37bd207a34ead6d7fc6b347de1a7261b87e39b | refs/heads/master | 2020-05-30T08:59:57.519980 | 2012-09-22T00:00:00 | 2012-09-22T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,935 | rd | track.info.Rd | \name{track.info}
\alias{track.filename}
\alias{track.datadir}
\alias{track.info}
\alias{env.is.tracked}
\alias{tracked.envs}
\title{Return filenames and directories for tracked variables.}
\description{Return filenames and directories for tracked variables.}
\usage{
track.filename(expr, list = character(0), p... |
41e2ef84d7abe423a1a6ce4be067ae1ca570c650 | f61ee31916b71a31aca66cc1149ff5526f95b758 | /tests/testthat/test-logreg.R | 1ae798327bfce7e6a43eb32b4e3df518c81a27c3 | [
"MIT"
] | permissive | Ryksmith/blblm | 7346675923fb7b2b6bc01b859ce387020ed939e2 | feabe2014f11d5f6cab6811d19f4988324acf0d7 | refs/heads/master | 2022-10-06T08:00:50.176335 | 2020-06-11T11:36:28 | 2020-06-11T11:36:28 | 270,088,216 | 0 | 0 | null | 2020-06-06T19:54:18 | 2020-06-06T19:54:18 | null | UTF-8 | R | false | false | 238 | r | test-logreg.R | test_that("Logistic regression works", {
data <- iris
labels <- rep(0:1,75)
data$Species <- labels
fit <- blb_logreg(Species ~ Petal.Length * Sepal.Length, data = data, m = 2, B = 100)
expect_equal(length(coef(fit)), 4)
})
|
1a3ed264eeef2d4c62fa49131cce54e70d03cb31 | 0a70bf8f5c7511edb5b0c03f31e12bcabeae92b2 | /R/sigma.R | d927cef9a3561d8c45904b21e011ee7a09e36733 | [
"MIT"
] | permissive | iankloo/sigma | 38505a5111f2108536dc6698cb8bbf56da46b329 | 46e15dc03a7d0d2a008e6f0a99b373c2e5b18851 | refs/heads/master | 2021-01-15T17:40:38.922050 | 2017-06-28T14:17:31 | 2017-06-28T14:17:31 | 40,320,730 | 0 | 0 | null | 2015-08-06T18:30:04 | 2015-08-06T18:30:04 | null | UTF-8 | R | false | false | 902 | r | sigma.R |
#' @import htmlwidgets
#' @export
sigma <- function(gexf, drawEdges = TRUE, drawNodes = TRUE,
width = NULL, height = NULL) {
# read the gexf file
data <- paste(readLines(gexf), collapse="\n")
# create a list that contains the settings
settings <- list(
drawEdges = drawEdges,
dra... |
85fda23ddf7d850892dcc8ee86121eccbcbabf8f | 05a5a1f17f5df9fe295b616fb8d3c2427b2430ac | /man/dat_ckid.Rd | 0bac2ab8845ceb8a611910e8346f1d53b8fac6f2 | [] | no_license | AntiportaD/hrcomprisk | 20a0961bdf986414b7c1f2a8a2a23f9c93573d8d | c72ae62e96d05a585575a7ae8ea8c4952f03fce5 | refs/heads/master | 2020-09-27T04:53:26.499249 | 2020-01-23T14:35:03 | 2020-01-23T14:35:03 | 226,434,561 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,338 | rd | dat_ckid.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{dat_ckid}
\alias{dat_ckid}
\title{CKID dataset}
\format{A data frame with 626 rows and 13 variables:
\describe{
\item{b1nb0}{Binary indicator for race: black=1, non-black=0}
\item{entry}{Years since onset of ch... |
7f41e19f90ddfc5812dfb3753c1e4ab28ce2f52f | b74e35f81dbda954c2187384c2a42f7d8035100b | /plot6.R | a24c2168fbe8445f5cb00ddfe9d81f7e309c8a20 | [] | no_license | ez3804/ExData_Prj2 | 1c37ca5bbe0c808b01a84a2124ddbe13a592f996 | b79f9550dcdcc6e3d2782ab92eb2da3cf96f5064 | refs/heads/master | 2020-04-20T06:46:47.844441 | 2015-01-24T17:12:06 | 2015-01-24T17:12:06 | 29,783,118 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 960 | r | plot6.R | # Check if both data exist. If not, load the data.
if (!"data" %in% ls()) {
pmData <- readRDS("./data/summarySCC_PM25.rds")
}
if (!"data" %in% ls()) {
classData <- readRDS("./data/Source_Classification_Code.rds")
}
#plt the data
subset <- pmData[pmData$fips == "24510"|pmData$fips == "06037", ]
par("... |
9c1a55b3d86313760fcd48bb14242350aea5b2ed | 53d7e351e21cc70ae0f2b746dbfbd8e2eec22566 | /man/xmuTwinSuper_Continuous.Rd | 9f98a12be0239e87e8bb1a7af12dc502a7c2e428 | [] | no_license | tbates/umx | eaa122285241fc00444846581225756be319299d | 12b1d8a43c84cc810b24244fda1a681f7a3eb813 | refs/heads/master | 2023-08-31T14:58:18.941189 | 2023-08-31T09:52:02 | 2023-08-31T09:52:02 | 5,418,108 | 38 | 25 | null | 2023-09-12T21:09:45 | 2012-08-14T20:18:01 | R | UTF-8 | R | false | true | 4,213 | rd | xmuTwinSuper_Continuous.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/xmu_make_top_twin_models.R
\name{xmuTwinSuper_Continuous}
\alias{xmuTwinSuper_Continuous}
\title{Create core of twin model for all-continuous data.}
\usage{
xmuTwinSuper_Continuous(
name = NULL,
fullVars,
fullCovs = NULL,
sep,
mzDat... |
b371fd7e7eb187ff85c123b33bc29cf6e2b27e91 | 5c6e8f322dc82416fd43e03fea5ddb5342d3a5b7 | /man/proportion_df.Rd | 793d61a899b0c89704af03da8e5333f729b1ead4 | [] | no_license | ArnaudDroitLab/GenomicOperations | a847efea620adad0690f820572efe48062ee05e5 | 0d7ce960f5c18545d9e170fd605f0a22deba6342 | refs/heads/master | 2020-06-05T21:26:53.338085 | 2019-10-18T20:02:28 | 2019-10-18T20:02:28 | 192,550,540 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 594 | rd | proportion_df.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GenomicEnrichment.R
\name{proportion_df}
\alias{proportion_df}
\title{Returns a data-frame giving the coverage proportions for all elements of a
\linkS4class{GenomicEnrichment} object.}
\usage{
proportion_df(x)
}
\arguments{
\item{x}{A \link... |
75d9e9fc95889f81a6d230b8b929b1e1b5b9e737 | 9d484077026b7fcf26188d77281f573eaec1f1d3 | /R/external_packages/ssgsea.GBM.classification/man/MSIG.apply.model.Rd | 879be19cb245ae814524871ca1c6d05dd8eab98e | [] | no_license | gaberosser/qmul-bioinf | 603d0fe1ed07d7233f752e9d8fe7b02c7cf505fe | 3cb6fa0e763ddc0a375fcd99a55eab5f9df26fe3 | refs/heads/master | 2022-02-22T06:40:29.539333 | 2022-02-12T00:44:04 | 2022-02-12T00:44:04 | 202,544,760 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 19,245 | rd | MSIG.apply.model.Rd | \name{MSIG.apply.model}
\alias{MSIG.apply.model}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
MSIG.apply.model
}
\description{
%% ~~ A concise (1-5 lines) description of what the function does. ~~
}
\usage{
MSIG.apply.model(gct.file, cls.file, phen.annot.file = NULL, output.dir, database.dir,... |
f8adf2035303a519ef2cd937be1f7556959575c7 | d202cab73a83bafc80fc6a90ff9dee786d5f5970 | /submission_form_shiny/defunced_app.R | f4fecd2f9222df000d80efd9e56cafbe55b4843e | [] | no_license | eeb-bipoc-db/EEB_POC | 28844e6c8d2304326dc716f9a672bab0a1b1f063 | 2185d837448256c3020f9f6ca1afc379a01c1334 | refs/heads/master | 2023-02-16T20:04:37.998877 | 2021-01-15T22:34:15 | 2021-01-15T22:34:15 | 274,485,337 | 1 | 2 | null | 2021-01-15T22:34:17 | 2020-06-23T18:56:12 | JavaScript | UTF-8 | R | false | false | 13,156 | r | defunced_app.R | # eeb_poc Shiny server
# Written by Mairin Deith (mdeith@zoology.ubc.ca)
# First created June, 2020
# https://deanattali.com/2015/06/14/mimicking-google-form-shiny/
# Load libraries ----------------------------------------------------------
# devtools::install_github('rstudio/DT')
library(DT)
library(shiny)
library(s... |
84eb4b53d1c82cdeb5eae80ad3ffde67188eebc1 | 1b141d6887525dd038885603ba0525a4799fb297 | /R/E_CODE.R | b5e13b2bc8c33fd8a1c7000d8e7b519281f40fc2 | [
"MIT"
] | permissive | mjkarlsen/traumaR | c7b032ad24f5511d891348cf40b764e14a4d784b | dd52deec08282e8955c5fea6ad1fb7b2a80e0a9f | refs/heads/master | 2022-09-17T04:17:13.452037 | 2020-06-06T18:47:08 | 2020-06-06T18:47:08 | 260,229,827 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 106,572 | r | E_CODE.R | #' Cause of Injury
#'
#' @param col A column in PTOS data that typically starts with E_ACT_1
#'
#' @return It translations of the code into human friendly values.
#' @export
e_code <- function(col) {
col_value <- case.(col == 800.0, 'Railway Collision w/ Rolling Stock - Railway Employee',
co... |
7031845b8ac578aa5f29c591cc58096e58cb71ca | d76f3780e9dc27478f282935d3cbaf7c6143ccf3 | /run_analysis.R | 9b4fd79ec8683c2e9c012acb27ebec711395adae | [] | no_license | raol/GettingAndCleaningData | 244aaf3d077da708f945cda4852a6bed63676587 | 0c5fe1b5c33c1584097c9901325abd66f481278a | refs/heads/master | 2016-09-05T12:35:27.406659 | 2014-06-19T13:39:27 | 2014-06-19T13:39:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,287 | r | run_analysis.R | if(!file.exists("./data")) {
dir.create("data")
}
if(!file.exists("./data/activity.zip")) {
fileURL <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.file(fileURL, destfile="./data/activity.zip")
}
if(!file.exists("./data/UCI HAR Dataset")) {
... |
9a2b79d000066a14e8b984a7df52d575145a1af2 | 277dbb992966a549176e2b7f526715574b421440 | /R_training/실습제출/서승우/19.11.07/myhome_map.R | 2b82587ac4c0c1a70220ee926bd19530aa07ab4c | [] | no_license | BaeYS-marketing/R | 58bc7f448d7486510218035a3e09d1dd562bca4b | 03b500cb428eded36d7c65bd8b2ee3437a7f5ef1 | refs/heads/master | 2020-12-11T04:30:28.034460 | 2020-01-17T08:47:38 | 2020-01-17T08:47:38 | 227,819,378 | 0 | 0 | null | 2019-12-13T12:06:33 | 2019-12-13T10:56:18 | C++ | UTF-8 | R | false | false | 590 | r | myhome_map.R | today<-Sys.time()
sec<-as.numeric(as.character(format(today,"%S")))
mh<-geocode(enc2utf8('경기도 하남시 덕풍남로 11&language=ko'), source = 'google', output = 'latlona')
cen <- c(mh$lon, mh$lat)
myhome<-data.frame(mh$lon, mh$lat)
mt<-ifelse(sec<=14, 'terrain',
ifelse(sec<=29, 'satellite',
ifelse(sec<=44, 'r... |
a5ccf7e540885576bfb7bccc314a89f58e92f53b | f36b2ad1dc17ec05278f13c7fa72a1fd8343ee19 | /man/chk_flag.Rd | fe00c420a7f3fd7842394595bb120fbc8f842972 | [
"MIT"
] | permissive | poissonconsulting/chk | 45f5d81df8a967aad6e148f0bff9a9f5b89a51ac | c2545f04b23e918444d4758e4362d20dfaa8350b | refs/heads/main | 2023-06-14T19:32:17.452025 | 2023-05-27T23:53:25 | 2023-05-27T23:53:25 | 199,894,184 | 43 | 3 | NOASSERTION | 2023-01-05T18:50:23 | 2019-07-31T16:42:59 | R | UTF-8 | R | false | true | 1,088 | rd | chk_flag.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/chk-flag.R
\name{chk_flag}
\alias{chk_flag}
\alias{vld_flag}
\title{Check Flag}
\usage{
chk_flag(x, x_name = NULL)
vld_flag(x)
}
\arguments{
\item{x}{The object to check.}
\item{x_name}{A string of the name of object x or NULL.}
}
\value{
T... |
d73f477a3a2bbc8aecb647a1d2335c586f39e26c | d5df1809218923be5eeb23c97ffebcaafd1c156e | /importance_sampling.R | dcb42fde816cb3cac208522f1a8a2dc0e510dc13 | [] | no_license | rogersguo/bayesian_melding | e3a48dafa8bd2e658fd868fe2ec37ad83f16b288 | 8c6e46c2b278389fefa6130713e8e6839e08dd65 | refs/heads/master | 2020-12-03T09:11:00.384028 | 2014-10-20T14:27:33 | 2014-10-20T14:27:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,434 | r | importance_sampling.R | #### importance sampling example
library(ggplot2)
# from this paper http://iopscience.iop.org/0143-0807/22/4/315/pdf/0143-0807_22_4_315.pdf
## first simulate 100000 draws from the exp distribution with rate 1
# how many random samples to generate
number_samples<-10e5
#
random_numbers<-runif(number_samples)
# ... |
e2a4110d0afef87e467bcb55dd4f84f3989dd177 | 65406a7fa042037846277385df804308a4eb16dd | /statisticalAnalysis/dataAnalysis/historicalObservation/Archive/Rainfall_Frequency_Analysis_MultModels.R | 32c22330199a159901ffeaaf57ea3b722cb212b8 | [
"MIT"
] | permissive | uva-hydroinformatics/vtrc-climate | d4353abe559b1ca42f8fdd3a00eeccd183922920 | 51a1db1d8edb04bede2a19cb7c342fe628c7edaf | refs/heads/master | 2020-04-26T20:10:54.731154 | 2019-03-29T20:58:41 | 2019-03-29T20:58:41 | 173,800,949 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,831 | r | Rainfall_Frequency_Analysis_MultModels.R | # This script is to analysis daily rainfall projection data to get 24-hour rainfall
# intensity for 2050 and 2100
# data from 2035 to 2065 is used to get IDF for 2050
# data from 2071 to 2100 is used to get IDF for 2100
library(nsRFA)
library(gsubfn)
##########################################################... |
18576dbbb3c1b79b1638379fd0015c34f4c29dcd | e1308e1b4707debc25e3660249b727d91d6298c8 | /R/RMS-unbalanced.R | bb9c7dfc32291354ba0b499042ef979ee64f9b32 | [] | no_license | by1919/SPprm | 49836f6efacc4632bc57d7cc7c4f28cb887ad929 | ab7d862c8c56d8b23c7ff36af1d462206aad330d | refs/heads/master | 2022-12-18T10:57:05.901336 | 2020-09-29T20:27:20 | 2020-09-29T20:27:20 | 299,730,354 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,161 | r | RMS-unbalanced.R | #' Conduct estimation and RMS test for one-way random-effects ANOVA model
#'
#' We are conducting hypothesis test for a composite parameter, the RMS, defined as \eqn{\sqrt{\mu^2+\sigma_b^2+\sigma_w^2}:=\sqrt{\rho} }, where
#' \eqn{\mu} is the overall mean, and \eqn{(\sigma_b^2,\sigma_w^2)} are the between/within-subjec... |
c32ffd6be602abd03eb70b9c9bd07d16b41fc759 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/PathSelectMP/examples/NumEndFile.Rd.R | 89be6077d505b42498a33ccfc24a541dcdf2c774 | [] | 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 | 587 | r | NumEndFile.Rd.R | library(PathSelectMP)
### Name: NumEndFile
### Title: Extract Number From INP and OUT Files
### Aliases: NumEndFile
### Keywords: Parse helper
### ** Examples
## Don't show:
NumEndFile<-function(NameoFile,pattern1,pattern2){
#print(NameoFile[2])
LocUse=grep(NameoFile,pattern=pattern1)
Loc=gregexpr(pattern =patt... |
f4af53e930c67c3867692263c7eb037267668e00 | fbe0d74f9b11925c098c25f810e1c10a2ee0556f | /R/class_bill.R | 19ffb320b20660439c1c991a0a136ba2a451e91b | [] | no_license | takewiki/tsdm | 6848bee07680d04c0781dc098043bf2c44c5006e | c5133cddfbf3c59f1b770c5d056b621e5ebccd05 | refs/heads/master | 2021-08-06T06:20:31.271092 | 2020-05-23T13:05:30 | 2020-05-23T13:05:30 | 179,942,457 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 357 | r | class_bill.R | #' 定义一个单据的基本类型
#'
#' @slot FInterId integer. 单据内码
#' @slot FNumber character. 单据代码
#' @slot FName character. 单据名称
#'
#' @return 没有返回值
#' @export
#'
#' @examples 不需要示例
setClass('bill',slots = c(FInterId = 'integer',FNumber='character',FName='character'),
contains = 'VIRTUAL');
|
cc0d0fd76a41c3f7460964644224e0173827614e | 3653a5e85dca41ca724b03c83fad08e92c433244 | /GoogleVis.R | 361aecf1862e57fab41ade0692abaef0931705f0 | [] | no_license | ChanningC12/Developing-Data-Products | 3742e035ddd05403673c4e329cb44ebe175422ec | a3165c3ebf12a6bbd8e207dafbded7c216dfffad | refs/heads/master | 2020-07-02T09:53:23.507313 | 2016-11-21T01:44:09 | 2016-11-21T01:44:09 | 74,312,179 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,267 | r | GoogleVis.R | # Google Vis API
install.packages("googleVis")
library(googleVis)
## Example
suppressPackageStartupMessages(library(googleVis))
# assign gvis chart to Fruit
M = gvisMotionChart(Fruits,"Fruit","Year",options=list(width=600,height=400))
plot(M)
print(M,"chart") # give you the relevant html page
# Motion chart: givsMotio... |
c1dbe21298fbc2014a26a1e08af214c12d1eeb02 | 1259fcec2ee9fc09eefdac558358a2e202cc32f2 | /testing-scripts/case_study_data_munging.R | 27fd73864a3ea97d0165c2c883a7a8eb65e7b43b | [
"MIT"
] | permissive | bertrand-lab/cobia | 912a6f75966396a84e321da8744eb7fd5303ce21 | c9170b662c9ee3d2cac66cb4effdf9ad74af5a84 | refs/heads/master | 2021-06-24T19:30:23.483139 | 2020-11-24T22:27:08 | 2020-11-24T22:27:08 | 154,718,223 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,712 | r | case_study_data_munging.R | library(ggplot2)
library(dplyr)
library(readxl)
library(seqinr)
library(reshape2)
library(cleaver)
library(Peptides)
library(Biostrings)
countCharOccurrences <- function(char, s) {
s2 <- gsub(char,"",s)
return (nchar(s) - nchar(s2))
}
'%!in%' <- function(x,y)!('%in%'(x,y))
# read in file with ORF ids and annota... |
76dc90222ecee1ab436deb4d1eccd2d9e7c5c880 | 5febc1e3f2dd766ff664f8e0ae79002072359bde | /R/mgraph.r | 462dc9e3ec1a64ec4035d6515652e2042827a7ce | [
"MIT"
] | permissive | tanaylab/metacell | 0eff965982c9dcf27d545b4097e413c8f3ae051c | ff482b0827cc48e5a7ddfb9c48d6c6417f438031 | refs/heads/master | 2023-08-04T05:16:09.473351 | 2023-07-25T13:37:46 | 2023-07-25T13:37:46 | 196,806,305 | 89 | 30 | NOASSERTION | 2023-07-25T13:38:07 | 2019-07-14T07:20:34 | R | UTF-8 | R | false | false | 1,480 | r | mgraph.r | #' manifold graph structure over a metacell object
#'
#' Splitting metacells over a discrete time axis, defining manifold connections and estimated flows over them
#'
#' @slot mc_id id of the metacell object we represent as a network
#' @slot times_nms names of the time points (Default 1:T)
#' @slot mc_t distribution o... |
fe202d2a5e3a0b3ad1cffb2e4685833651c597ab | 0f104ea64886750d6c5f7051810b4ee39fa91ba9 | /man/redcap_variables.Rd | 1dd8c30e85e6cfe2abc74b620af6dba0aec641cf | [
"MIT"
] | permissive | OuhscBbmc/REDCapR | 3ca0c106e93b14d55e2c3e678f7178f0e925a83a | 34f2154852fb52fb99bccd8e8295df8171eb1c18 | refs/heads/main | 2023-07-24T02:44:12.211484 | 2023-07-15T23:03:31 | 2023-07-15T23:03:31 | 14,738,204 | 108 | 43 | NOASSERTION | 2023-09-04T23:07:30 | 2013-11-27T05:27:58 | R | UTF-8 | R | false | true | 2,943 | rd | redcap_variables.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/redcap-variables.R
\name{redcap_variables}
\alias{redcap_variables}
\title{Enumerate the exported variables}
\usage{
redcap_variables(
redcap_uri,
token,
verbose = TRUE,
config_options = NULL,
handle_httr = NULL
)
}
\arguments{
\ite... |
5e5a8b5de4ced9d8b450d6fa71365c6f74127add | e125045bcb852ee63d02515a0cfeee4d77a3a79d | /TimeSeriesJieYue.R | f9f634161073283bf2a1aebedc4b9f3ff13b6bf4 | [] | no_license | lchen22643/DataCleaningToolsR | 6af5c13d288963b8078969d9543b8bc3e7de33a2 | 3db03a6eb8b5ac4795b9ba42ba435fd4b433e4d4 | refs/heads/master | 2020-04-04T09:39:00.135247 | 2018-11-02T07:28:18 | 2018-11-02T07:28:18 | 155,826,174 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 4,688 | r | TimeSeriesJieYue.R | library(dplyr)
library(tidyr)
library(TTR)
library(forecast)
library(MatrixModels)
repay = readRDS(file="repay.rds")
repay$paytime=substr(repay$PAY_DATE,regexpr("[0-9]",repay$PAY_DATE),regexpr("\\s",repay$PAY_DATE))
#repay$repaytime=substr(repay$REPAY_DATE,regexpr("[0-9]",repay$REPAY_DATE),regexpr("\\s",repay$REPAY_D... |
357b1fd0fbfaf6efc991a3e54f76548c33cb09aa | f58a7f3646fbd25d0ef8ebecc7003c785e6e42da | /R/run_random_bias_experiments.R | 160a10c7abe1b9c7a81beda11d379dc2d27c529c | [] | no_license | schnee/big-data-big-math | 0bc01ee641e936f260ccf7ffad56d30bd3599a50 | 9d055dddf21eb7ce996857f6b6df4430f39d4b3d | refs/heads/master | 2023-02-09T10:54:37.192899 | 2023-02-02T15:47:45 | 2023-02-02T15:47:45 | 185,220,994 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,782 | r | run_random_bias_experiments.R |
library(keras)
library(ggplot2)
library(purrr)
library(readr)
library(tibble)
library(dplyr)
library(magrittr)
devtools::load_all(here::here("packages/testbench"))
mnist <- keras::dataset_fashion_mnist()
x_train <- mnist$train$x
y_train <- mnist$train$y
x_test <- mnist$test$x
y_test <- mnist$test$y
#damage_tib <- c... |
8b831474891268d76acb4544f7f55617c2dc679d | 1700d8d60853c7ca7420bee4c5216c2dc379cd1c | /R/createGWCoGAPSSets.R | 69b4eb0b5418e5acf0d9877c6856668046f31bff | [] | no_license | genesofeve/GWCoGAPS | f7465cd97389e9b387c807a9209f756114881d7b | 5607ee8d104ec4fa453b255b8e98515fe05db1cc | refs/heads/master | 2021-01-20T16:44:44.424777 | 2016-10-04T15:36:58 | 2016-10-04T15:36:58 | 67,257,211 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,196 | r | createGWCoGAPSSets.R | #' createGWCoGAPSSets
#'
#'\code{createGWCoGAPSSets} factors whole genome data into randomly generated sets for indexing;
#'
#'@param D data matrix with unique rownames
#'@param nSets number of sets for parallelization
#'@param outRDA name of output file
#'@param keep logical indicating whether or not to save gene set ... |
bc617ce89101f0c0824bd19b186d42d922a03bf4 | 552ef1b37b1689c0347071a4ac10f542cb47543f | /R/plot_ranked_facs.R | f9ef916f42ec767c84b3294003544e30770ff724 | [] | no_license | lhenneman/hyspdisp | d49fb29a3944ca0c50398c70ff21459fee247358 | 1763245269211f48da803d282720e6d818a2e619 | refs/heads/master | 2021-05-05T06:37:39.251922 | 2019-10-16T19:41:36 | 2019-10-16T19:41:36 | 118,811,581 | 5 | 3 | null | 2019-06-05T13:45:14 | 2018-01-24T19:27:40 | R | UTF-8 | R | false | false | 3,945 | r | plot_ranked_facs.R | plot_ranked_facs <- function( ranks.dt,
size.var,
size.name,
size.legend.range = NULL,
plot.title = NULL,
xlims = NULL,
ylims = NULL,
... |
4ee0c464502a46ff3c8ff4295278968ceeb1c9f6 | 9e6a08f6dc509964994a90a7fef83b26959001be | /Code/feature_tree.R | 10ce32c3ba3d7cfc22f3a344fe9f934da48665b0 | [] | no_license | julianzaugg/mine_waste | d9b04c0ca5ba74f9018809a586b5ef07d7929734 | 257e8b0aca3b5206a8834057f09a7de414311666 | refs/heads/master | 2022-07-03T14:31:00.932032 | 2020-05-12T05:21:45 | 2020-05-12T05:21:45 | 206,080,124 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,318 | r | feature_tree.R | # Construct tree for abundant features and collapse
# See https://bioconductor.org/help/course-materials/2017/BioC2017/Day1/Workshops/Microbiome/MicrobiomeWorkflowII.html
# or paper "Bioconductor Workflow for Microbiome Data Analysis: from raw reads to community analyses"
detachAllPackages <- function() {
basic... |
8999b52fd1b9a721fb5e9d95ff6c909033b353de | 9347791c6ee1d84399f3cc8be94041e3193b5439 | /aphrc/hh/idVars.R | cab1999c1d4791cc6e3f3a330a4bb8e774a3e1ff | [] | no_license | CYGUBICKO/projects | 6362bac0051208fda143630de27086ecd3210b19 | 5b819097f490ec6f919cdcfaeeff8e5ed41846c6 | refs/heads/master | 2020-04-16T19:50:46.393690 | 2019-07-16T17:32:49 | 2019-07-16T17:32:49 | 165,876,634 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 923 | r | idVars.R | library(dplyr)
library(tibble)
library(DT)
# Duplicate IDs
id_vars <- grep("id", names(working_df), value = TRUE, ignore.case = TRUE)
id_df <- (working_df
%>% select(id_vars)
%>% sapply(function(x)sum(duplicated(x) & (!is.na(x)|x!="")))
%>% enframe(name = "variable")
%>% mutate(prop_dup = round(value/nrow(wo... |
eaf6f29b8f63c80835c2f55c467dc6c83a7ed697 | 401a068f6d221792df986b560085bd45f42a62df | /R/merge-tidy_cpgs.R | 0d1cb1ca6a366b13c6bce6fbe649261eee2d7525 | [] | no_license | tanaylab/gpatterns | 33f8e7740e0407ec4be02e342866350c66d97ff7 | aa792f4a2ee9d53be7da75943904049514d100fb | refs/heads/master | 2023-05-25T05:08:06.078673 | 2023-05-14T13:39:10 | 2023-05-14T13:39:10 | 205,788,385 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,389 | r | merge-tidy_cpgs.R | #' merge tidy cpgs directories
#'
#' @param dirs tidy_cpgs directories
#' @param out_dir output directory
#' @param nbins number of genomic bins for output tidy_cpgs
#' @param paired_end is the run paired end
#' @param stats_dir directory for tidy_cpgs stats
#' @param filter_dups_bin binary for filter_dups_cpgs python... |
790eca70a1fd0127145de5b493822fac5cdcd320 | d3d0c8fc2af05f1ba3ed6d29b9abaaad80b0ca33 | /man/randomLetter.Rd | 857136f05fe688fd00f9c56a26f99c0863ad80ce | [] | no_license | natehawk2/NateUtils | 2e5e16cb244f52e8ebf53b9ee751bb33550cc20d | 5e4991c35e5ee5d9479b23763183a2aafc026b8b | refs/heads/main | 2023-01-13T10:06:18.617234 | 2020-11-13T16:23:43 | 2020-11-13T16:23:43 | 309,730,938 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 671 | rd | randomLetter.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/randomLetter.R
\name{randomLetter}
\alias{randomLetter}
\title{Random Letter Generator}
\usage{
randomLetter(n, letter_probs = rep(1/26, 26), wreplacement = TRUE)
}
\arguments{
\item{n}{number of desired random letters}
\item{letter_probs}{a... |
a749537a65cb8546eb11a5cee05ecf4454587524 | d50108e8915254f9e1ddb5642dc57ba522559755 | /R/pull_normalised_data_comparison.R | 66e6129111b87281c7f4df598cea966cee78a578 | [] | no_license | craigpoku/normalistioncomparison | 6800f803c0282e7bfd4c4d5cb5df1b7b0b4b4af6 | f935ec112e6a04c309db59b5777831c3dc9160f7 | refs/heads/main | 2023-06-18T23:16:41.865144 | 2021-07-15T08:49:55 | 2021-07-15T08:49:55 | 386,079,125 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,295 | r | pull_normalised_data_comparison.R | #' Pull normalised data comparison function
#' Should you want to run either the deweather or rmweather function, this code will allow you create a dataframe with
#' the required sites and prepare it to be normalised for a single pollutant choice
#'
#' @param df_de Output of normalised pollutants with deweather modul... |
30e12aec7d742383ec0d2ad6d4179e6c93a7db7e | e840bfee518f7764773ab79c700fa8d883db1148 | /inst/shiny/examples/1_simple_addition/Addition.R | 75cdc2374b7c07355af24f9897b7636edaae40b1 | [
"MIT"
] | permissive | jonas-hag/tidymodules | 642101ddefd310a13eafd7e58d2f944c064fc90b | 988b567228e5ebdfb03181448f0cdb8e98594e78 | refs/heads/master | 2020-12-26T12:15:54.222048 | 2020-01-29T11:03:16 | 2020-01-29T11:03:16 | 237,506,269 | 0 | 0 | null | 2020-01-31T19:59:19 | 2020-01-31T19:59:18 | null | UTF-8 | R | false | false | 1,471 | r | Addition.R |
Addition <- R6::R6Class(
"Addition",
inherit = tidymodules::TidyModule,
public = list(
initialize = function(...){
# mandatory
super$initialize(...)
self$definePort({
self$addInputPort(
name = "left",
description = "input value to add to the use... |
5674dc3bc7d48a0f315b43fd73168e099720ef1a | daeee1f6fa2191038550e6dde443d6554bce2c61 | /R/methods.R | 046a1541196ecd801497ded4449fc078d3e37ebd | [
"MIT"
] | permissive | nfultz/distributions3 | a58f88146c81a70ab09e43c3f2762e8dcd42c52a | 945dcecd6488329127bc5585b6042cf9ec4dba81 | refs/heads/master | 2020-08-24T20:17:53.012731 | 2020-06-26T03:09:45 | 2020-06-26T03:09:45 | 216,898,661 | 0 | 0 | NOASSERTION | 2019-10-22T19:57:28 | 2019-10-22T19:57:27 | null | UTF-8 | R | false | false | 4,984 | r | methods.R | # things to sort out with the generics
# - can i get stats::generics() to use ellipsis::check_dots_used()?
# - pdf() conflict with grDevices::pdf()
#' Draw a random sample from a probability distribution
#'
#' @param d A probability distribution object such as those created by
#' a call to [Bernoulli()], [Beta()],... |
9aa8af1a06a07bace254fe504ac61f2df3ed8e53 | b7c24dc504a1807b046065a08e3248cb6a26ba48 | /examples/examples.R | d3dd0f02f80fafd4fbd7c519469b2bdbd08ef57a | [] | no_license | csv/ddr | 0b9a4404198812b8fc9e7e4b6fc0301bdd925dd7 | 94e13b4e1cad30b198936d6eae1f30244fbd9bca | refs/heads/master | 2020-12-24T13:53:26.841085 | 2013-06-12T15:57:27 | 2013-06-12T15:57:27 | 9,332,032 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,891 | r | examples.R | library("ddr")
ddr_init()
#==================================================================================#
# basics
play(piano$C3)
play(chop(piano$C3, bpm=100, count=1/8))
play(reverse(piano$C3))
play(pitch(piano$C3, -36))
play(loop(chop(piano$C3, bpm=100, count=1/8), 16))
play(chord(C3, piano, "maj", bpm=100, co... |
3da9271f8d7975663fc263092cae5c360392d3f1 | d3c7ad01ca0a6461c2520babbebcd562f49c49bf | /plot3.R | 89fc3587f6f05943881b3527482719b51dfb1a7f | [] | no_license | gancedo/ExData_Plotting1 | 6f4e2f329a9df06c0f8490431fd1874b7bd3638a | aa8e2b020c28ce1796a2c82ed195dfde1c436f39 | refs/heads/master | 2021-01-16T00:47:44.438107 | 2015-02-08T12:28:34 | 2015-02-08T12:28:35 | 30,202,285 | 0 | 0 | null | 2015-02-02T18:48:36 | 2015-02-02T18:48:36 | null | UTF-8 | R | false | false | 1,617 | r | plot3.R |
# Type this if you need to clear your workspace.
# rm(list=ls())
# Read the data; the file 'household_power_consumption.txt'
# should be in your working directory.
data <- read.table(file= "household_power_consumption.txt", header=TRUE,
colClasses=c("character","character",
... |
d01ad6aee2ee4f6b11e1f75f1da674ccb33aee2e | 86997936c51093b9b7e39d52e83b11accd03c1f8 | /Week10/Homework 5 Solutions-2.R | e7917d9eb7213e7caacfe451e3077063e57861cf | [] | no_license | kempernb/Data-Mining | ad2815e3d9f3fd701f4883b9e86c06de2bc07959 | 013abc8e0b841749b9e795b9ec962a5a73b5e881 | refs/heads/main | 2023-02-13T06:14:49.488635 | 2021-01-03T02:27:44 | 2021-01-03T02:27:44 | 326,308,711 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,266 | r | Homework 5 Solutions-2.R | spam.df <- read.csv("spambase.csv", header = TRUE, stringsAsFactors = TRUE)
par(mfcol = c(1,1))
# convert Spam to a factor
spam.df$Spam <- as.factor(spam.df$Spam)
summary(spam.df)
# rename variables
library(dplyr)
spam.df <- rename(spam.df, "re" = re., "C_semicolon" = C., "C_parenthesis" = C..1, "C_bracket" = C..2, ... |
2fd137f4a9058b7a2cdf79e146bf834c8fe4fb1a | acdb497aa8a47599d3b7bd9438be2101b6ef415a | /man/APPENC12.Rd | fdbededd4fdd608f36985215c535e8060090cdd6 | [] | no_license | bryangoodrich/ALSM | 106ce1ab43806ec7c74fc72f9a26a094bf1f61d1 | 6fe1a413f996d26755638e9b2c81ae0aafd1a509 | refs/heads/main | 2022-07-15T15:55:23.708741 | 2022-07-03T19:55:04 | 2022-07-03T19:55:04 | 39,878,127 | 16 | 9 | null | null | null | null | UTF-8 | R | false | false | 567 | rd | APPENC12.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{APPENC12}
\alias{APPENC12}
\title{APPENC12}
\format{\preformatted{'data.frame': 192 obs. of 7 variables:
$ V1: int 1 2 3 4 5 6 7 8 9 10 ...
$ V2: int 1 1 1 1 1 1 1 1 1 1 ...
$ V3: int 1 1 1 1 2 2 2 2... |
f7ef18299351ccc49f7321d13a40b82f2c98ae5a | c5d9392545f15a5bbd2c9b08c8c44fa6d98e6117 | /program/ui.R | e03a5139ad6df4f960818b91b910aebd79919201 | [] | no_license | dansum/delivery | 41088c5e1f48d4f7f69c9628fefd667ea59d377b | 9bdbd91b0e8b728d0b64676524134586645fcf36 | refs/heads/master | 2021-01-01T19:20:44.782407 | 2014-06-21T23:48:29 | 2014-06-21T23:48:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,926 | r | ui.R | library(shiny)
shinyUI(pageWithSidebar(
headerPanel("Please input a YoutubeId from our pre-selection to see viewing data about that video."),
sidebarPanel(
h4("The videos are from Khan Academy's translation in Bulgarian and this analysis will help you gauge interest in different videos, as measured by how often... |
d44205044a1e6b0034153f72846417bee95467b9 | d4bbec7817b1704c40de6aca499625cf9fa2cb04 | /src/lib/special/beta/__test__/fixture-generation/beta-postive-grid.R | 27bb1d48910c27115d33d69d1af1e41b9ed9b08f | [
"MIT"
] | permissive | R-js/libRmath.js | ac9f21c0a255271814bdc161b378aa07d14b2736 | 9462e581da4968938bf4bcea2c716eb372016450 | refs/heads/main | 2023-07-24T15:00:08.372576 | 2023-07-16T16:59:32 | 2023-07-16T16:59:32 | 79,675,609 | 108 | 15 | MIT | 2023-02-08T15:23:17 | 2017-01-21T22:01:44 | TypeScript | UTF-8 | R | false | false | 295 | r | beta-postive-grid.R |
#options(digits=20);
#df <- data.frame(x=c(1),y=c(1), z=c(1));
#b <- function(a, b) {
# a_1 <- gamma(a+b);
# a_2 <- gamma(a);
# a_3 <- gamma(b);
# a_2*a_3/a_1;
# }
#
#for (j in seq(0.1, 2, 0.1)) {
# for (i in seq(0.1,2,0.1)) {
# df[nrow(df)+1,] = c(i,j,b(i,j));
# }
#}
#df
|
7e27a27ebe3a407e1747a11fbc24d2952d5c874d | efaaaefd321d8a665bb131cb5bb04b85f0d382bc | /man/c_fun.Rd | d58db2743934e04031ca6dc22a977ab6d6bbea98 | [] | no_license | cgaillac/RationalExp | 23589beabb373b2fdbfac158de28c0119f687a14 | 2fe24006907c3782d6a75064cbde121f02bff246 | refs/heads/master | 2020-04-03T15:26:22.038906 | 2019-02-07T15:27:24 | 2019-02-07T15:27:24 | 155,362,447 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 510 | rd | c_fun.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/c_fun.R
\name{c_fun}
\alias{c_fun}
\title{Compute the difference between mean of subvectors of two vectors}
\usage{
c_fun(i, i_t, y, z)
}
\arguments{
\item{i}{starting index}
\item{i_t}{final index}
\item{y}{first vector of elements}
\item... |
e0773f74e91d4a47dc5d7713b1a6b5ca32c51526 | 04e794e6bdb8b3de778a338dff08fad061bd314b | /Shared/misc/cli/experiment-stats.R | 7b40aa14320e14286c352c186bc6eccd1373493b | [] | no_license | tectronics/socialgossip | b5404e56a7ea1d785cca90be82b371edb67a8a5c | d9575a1f097e02746e849a34557633061dfa3f61 | refs/heads/master | 2018-01-11T15:03:00.938360 | 2014-06-14T16:13:46 | 2014-06-14T16:13:46 | 46,855,976 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,883 | r | experiment-stats.R | #!/usr/bin/Rscript --vanilla
# Imports.
library(getopt)
# Sources in our common files.
rlibhome <- Sys.getenv("RLIB_HOME", unset=NA)
if (is.na(rlibhome)) {
stop("Environment variable RLIB_HOME was not set.")
} else {
source(file.path(rlibhome, "common.R"))
}
opt_spec <- matr... |
ed33e12bb3c98b2d535cef329a75d62bf9d387fb | 0be0c7d71fca454f77e59fae473330b2c157c653 | /README.rd | f41ab000afe0a327a414825af2eedc85c3fdc39e | [] | no_license | dipbd1/django_practice | 6dfdaee7c19e4310953afcd7385b8f61978ad436 | a7b0b15abbde383dac8365efd20ba86f74d83f4a | refs/heads/master | 2022-12-27T21:10:13.627827 | 2019-02-13T14:44:19 | 2019-02-13T14:44:19 | 170,489,978 | 0 | 1 | null | 2022-12-15T23:27:16 | 2019-02-13T10:40:22 | Python | UTF-8 | R | false | false | 68 | rd | README.rd | Initially, I was trying to test both Django and Git so I can learn.
|
962ba6071bb406c44cdaba9b0cec62cd96625e12 | 1f4366b5fa0da91bcc91518c87b81fd6818ea278 | /man/ffl_info.Rd | 9253d1e85e6f5704201fa00a0e4bf5ff979e1a79 | [
"MIT"
] | permissive | kiernann/fflr | d9a98c4fee465e43c388d6a116393538ee7914c9 | b44d595d677c140ab388d3601be765034fc0ea4e | refs/heads/master | 2022-09-24T09:49:14.845411 | 2022-09-19T01:13:43 | 2022-09-19T01:13:43 | 209,177,645 | 18 | 5 | NOASSERTION | 2023-09-12T15:47:00 | 2019-09-17T23:53:07 | R | UTF-8 | R | false | true | 738 | rd | ffl_info.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/info.R
\name{ffl_info}
\alias{ffl_info}
\alias{ffl_year}
\alias{ffl_week}
\title{Get fantasy football information}
\usage{
ffl_info()
ffl_year(offset = 0)
ffl_week(offset = 0)
}
\arguments{
\item{offset}{Add negative or positive values.}
}
... |
5899df008ce49f34d4510ca7503570f22d8c4730 | a7d0294b1056888b29bf802dcc87411201947bd6 | /get_data_NCMS.R | 20d81619784c00fa5f1812bb54964545373da75a | [] | no_license | karafede/Masdar_Interactive_ts_daily_sat_PM | ddf1c3ce9b3853ea9db15e099a05651f4fab4a8e | 4204541f0e3289333fb23dbd6c8d5e0f61fc8f6f | refs/heads/master | 2021-01-20T11:05:33.940055 | 2017-03-05T07:00:31 | 2017-03-05T07:00:31 | 83,913,465 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,002 | r | get_data_NCMS.R |
library(readr)
library(dplyr)
library(threadr)
library(tidyr)
library(dygraphs)
# function to generate time-series based on data for each year in the UAE
#setwd("Z:/_SHARED_FOLDERS/Air Quality/Phase 1/Pathflow of Phase I_DG/Interactive_plots_R")
# setwd("Z:/_SHARED_FOLDERS/Air Quality/Phase 1/Pathflow of P... |
f1415139cb4a68aa68b56e9b3b61381692299e26 | 67615957a9f5d2f74817db4ce219fe10644c0ae0 | /courses/stat486/slides/10-control/10-control.R | 808252950be543093668e0313b3ac98479102ede | [] | no_license | jarad/jarad.github.com | 29ed8dc5583a52a57cd26bac252d071a0ff623a9 | 00a2bada3de6d6aa89b4795f52d5b134dd3edfe7 | refs/heads/master | 2023-08-09T10:30:19.203097 | 2023-07-30T14:54:31 | 2023-07-30T14:54:31 | 6,108,556 | 9 | 21 | null | null | null | null | UTF-8 | R | false | false | 5,138 | r | 10-control.R | ## -------------------------------------------------------------------------------------
library("tidyverse")
## -------------------------------------------------------------------------------------
# First expression
1+2
# Second expression
a <- 1; b <- 2; a+b
# Third expression
{
a <- 1
b <- 2
a + b
}
## ... |
eb0859c578a4be7c805c0c600bbda4c112941f32 | 0d38cc682ba9aab8eff18b0862bdde0fc266e8e5 | /r4ds_chp16_vectors.R | 884430f48968381371319f2bed0b161e6f3c598a | [] | no_license | ShadeWilson/r4ds_notes | 5888b974ebe1db9737bb68959f525209b93cdba1 | 3ec75146ba26664643fa1c8a6144632caf4dc126 | refs/heads/master | 2021-07-18T17:43:10.540724 | 2017-10-27T05:40:54 | 2017-10-27T05:40:54 | 108,501,051 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,863 | r | r4ds_chp16_vectors.R | # Notes from R FOR DATA SCIENCE,
# an O'Reilly guide by Hadley Wickham and Garrett Grolemund
# Availible online at http://r4ds.had.co.nz/
# PART THREE: Program
# Chapter 16: Vectors
library(tidyverse)
# Two types of vectors:
# ATOMIC vectors (six): logical, integer, double, character, complex, raw
# int and dbl are k... |
254cfd997f189b9f525a14cc8ff67f68c8e00769 | 093dacede7c431ab1cbef672830f76920942b801 | /man/MDA4.Rd | 8fc4897e3ac3af0a49deb42d107afbca16dfe591 | [
"Apache-2.0"
] | permissive | bhklab/MetaGxBreast | a30cee29007ededf0fbeb64524f18b3a3b8128b8 | 3ba8f39928a20dffb799c338622a1461d2e9ef98 | refs/heads/master | 2021-06-03T09:54:44.555453 | 2021-04-23T18:54:53 | 2021-04-23T18:54:53 | 100,535,452 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,169 | rd | MDA4.Rd | \name{ MDA4 }
\alias{ MDA4 }
\docType{data}
\title{ MDA4 }
\description{ ExpressionSet for the MDA4 Dataset}
\format{
\preformatted{
experimentData(eset):
Experiment data
Experimenter name:
Laboratory:
Contact information: http://www.ncbi.nlm.nih.gov/pubmed/?term=16896004
Title:
URL: http://bioinform... |
23089d5000dbc49768e5bf41dbfce3c35071c4b8 | 0ea14eab0e669da89b8ba2703b3cdca86f390ed4 | /eqtl_sentinel_snp/R/run_matrixEQTL.R | b3c679e8414d0057e339544d5d703f7f90e44325 | [] | no_license | heiniglab/hawe2021_meQTL_analyses | bb1a835baac74bcfd7c3a3c996feec12b59f9e4e | cb32d188a80c2a4fa55eafc6bd24a21a0bd4889a | refs/heads/main | 2023-04-18T16:28:39.623160 | 2022-01-14T08:21:08 | 2022-01-14T08:21:08 | 373,108,082 | 6 | 5 | null | null | null | null | UTF-8 | R | false | false | 5,058 | r | run_matrixEQTL.R | #' -----------------------------------------------------------------------------
#' Run matrix eQTL with no consideration for cis/trans or covariates.
#'
#' @author Johann Hawe <johann.hawe@helmholtz-muenchen.de>
#'
#' @date Tue Dec 10 16:52:45 2019
#' -------------------------------------------------------------------... |
79d53f8a57c5c990b34f1d6dc78833f22331aae7 | e1dd1d9eca961779828f9f3be289ba78785b15da | /Code.R | 820ec02245d8cb7e80aaa444452bdb44a014adf0 | [] | no_license | emieldelange/Social-Influence-Information-flow | a2a1217b1bc7966e3030684eafe438d032f7fb88 | 6bf67294687622cc2f186877b15748a6ef5bb50a | refs/heads/main | 2023-03-20T06:08:10.990990 | 2021-03-08T08:32:14 | 2021-03-08T08:32:14 | 337,731,725 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 105,411 | r | Code.R | ### Linear modelling of raw data ###
library(car)
library(lme4)
library(ggplot2)
library(tidyverse)
totaldata <- read.csv("Raw behavior data for linear modelling.csv")
totaldata <- as_tibble(totaldata, rownames = "ID") %>%
pivot_longer(cols = matches("attitudes|control|dnorms|innorms|intent... |
0d5e0079fc7dfa0b5044393838b297232c994099 | fd9b6834fc9574f2329bbe73a3d743940d60ff18 | /Combine_results.R | 266458d3049f1182a56d541c021d557ca43b565c | [] | no_license | egalimov/C.elegans_length_measurements | 7365555f9a5da601c5f6b7d165df46beaeba4d1e | 06a5698d21e2d589050da0922e554cc106534a0c | refs/heads/master | 2020-03-22T15:46:50.669160 | 2018-07-09T11:50:21 | 2018-07-09T11:50:21 | 140,277,820 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,748 | r | Combine_results.R | ###R script to combine results of analyses into a table
graphics.off()
colors <- c("brown","black","black","black","black","black","black",
"green","green","green","green",
"red","red","red","red",
"blue","blue","blue","blue","blue","blue"
)
bf<-data.frame(V1=seq(-29.9,130.1, by =... |
dab3f4fc1738fb1081ce85520dada33b4e428593 | 200463671864174ede1ca8c55e2cfae8f4e4b2f9 | /基本数据管理.R | f9a01765d21804c6f81da0a52080691a5e03aaff | [] | no_license | ChiJiuJiu/R | 6420404002a1c5eb9400fdfb3f2923fa865f1039 | bc648c6410a92a74f5231f076b17c2656b7b62d2 | refs/heads/master | 2020-05-31T14:59:59.871791 | 2019-06-08T12:22:30 | 2019-06-08T12:22:30 | 190,345,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,985 | r | 基本数据管理.R | #创建新变量
mydata <- data.frame(x1 = c(2, 2, 6, 4), x2 = c(3, 4, 2, 8))
mydata
sumx = mydata$x1 + mydata$x2
#给数据框中添加新变量
#方法一
mydata$sumx = mydata$x1 + mydata$x2
mydata$meanx = (mydata$x1 + mydata$x2) / 2
mydata
#方法二
attach(mydata)
mydata$sumx = x1 + x2
mydata$meanx = (x1 + x2) / 2
detach(mydata)
mydata
rm(mydata)
#方法三
... |
8f94bcb313091fea12c3ec25fd85a92350c767f7 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Amendola-Ricca-Truszczynski/selection-hard/ctrl.e#1.a#3.E#118.A#48.c#.w#9.s#41.asp/ctrl.e#1.a#3.E#118.A#48.c#.w#9.s#41.asp.R | facde5940b30e98f221d1d3440ae92e6a18ef7e9 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 91 | r | ctrl.e#1.a#3.E#118.A#48.c#.w#9.s#41.asp.R | c9a42cce73612673bce4c6aaa5b9ee09 ctrl.e#1.a#3.E#118.A#48.c#.w#9.s#41.asp.qdimacs 8661 25486 |
53c7c4077e5686ea42346e7a9a34fcbc670c1683 | ca93f195a1bc06f75c2bf9a40fc5490261f20870 | /ui.R | f44ea9764e17563e4f11364bfe00c1c586e71306 | [] | no_license | vanderq/CourseraDevelopingDataProducts | 04d1ebb57d977c226a7a1aea58d6749e8aa0b85f | 91154c1526169bfae6720872f2f86445a68f60a8 | refs/heads/master | 2020-04-17T09:21:38.383895 | 2019-01-18T18:49:40 | 2019-01-18T18:49:40 | 166,451,693 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,697 | r | ui.R | #
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
nchsData2 <- read.csv("NCHS_-_Leading_Causes_of_Death__United_States.csv")
... |
4cd9b6644d2f3952e1ca518e4a071b309020eede | b61c793564f2197ea1f076cabc990f81baccec8f | /man/grepf.Rd | a6cf2b32b9579d51e9ceedf2b16d2f5e6597d9cc | [
"MIT"
] | permissive | tkonopka/shrt | 46fabfcbfd3819a9016b412f1a7b91f4ba88c28b | eeef8bf50aee0412b5feff427c12ba2eec17332d | refs/heads/master | 2020-05-21T17:48:37.016989 | 2020-02-28T06:26:33 | 2020-02-28T06:26:33 | 60,825,097 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 581 | rd | grepf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{grepf}
\alias{grepf}
\title{Pattern matching inside text files}
\usage{
grepf(pattern, path = ".", file.pattern = NULL, ...)
}
\arguments{
\item{pattern}{character, pattern to look for}
\item{path}{directory to look in}
\item{... |
41a998b06180b1e32d3ce65a5a10cf8713afcff7 | 5c7616c0498df84d91c80ff41a01865c4abb8eaa | /R_Dates.r | 56d15a1768848ef368eec8f476a10fad2f8d945c | [] | no_license | nkuhta/R-Basics | f68e8e131b4caf1d4c4c75e4865859dc61ed7898 | 0d4209193972db6e930fdc21ca831dea03ca7681 | refs/heads/master | 2020-05-21T20:13:11.273532 | 2017-07-08T00:45:46 | 2017-07-08T00:45:46 | 64,035,089 | 0 | 0 | null | 2016-10-14T03:36:15 | 2016-07-23T20:34:03 | R | UTF-8 | R | false | false | 2,586 | r | R_Dates.r | ## Dates in R
## Refer to Coursera R Programming Course from John Hopkins
###############################################
############### Dates in R #################
###############################################
# R caculates days and seconds since 1970-01-01
x <- as.Date("1970-01-01")
# outp... |
e0e742b2594a1fdd3488e7d0ad48c5518de96393 | e47dedfe6e24ec0302bc0465c01d0999f439770f | /coursera3/run_analysis.R | 85cb731264a8b4be1861ee253f7f2d01d3a4d2bd | [] | no_license | ryentes/dscoursework | a871b3f793451c5253a92165b28067445b8ece25 | 69b9a7e37e246619c9e04a813da5674e39393eef | refs/heads/master | 2021-01-10T03:54:22.832545 | 2015-12-04T15:41:14 | 2015-12-04T15:41:14 | 44,930,096 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,686 | r | run_analysis.R | library("plyr")
library("dplyr")
library("Hmisc")
# Load Helper function for preparing the datasets
source("getData.R")
# Get Activity labels
y <- read.table("activity_labels.txt", header=FALSE)
activity_labels <- tolower(as.vector(y[,2]))
# Get column labels
x <- read.table("features.txt", header=FALSE)
features <... |
251a92ae89af0d425e782675ac025f52fe9b67fb | 2f789a7d8f28fe6be900ad6d18cc7ca3de18fd51 | /seq_analysis/utils/common_aesthetics.R | bc20c823d1811aac106ce2a18a283a8bad4d38a7 | [
"MIT"
] | permissive | bradleycolquitt/deaf_gex | da2c951a30e40237ce1dc8d2809d59b11e193d81 | 6ab0f9bc8317191cb78852bf40212e51e2027ae0 | refs/heads/main | 2023-05-25T01:03:51.119168 | 2023-05-01T20:31:20 | 2023-05-01T20:31:20 | 478,714,099 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,154 | r | common_aesthetics.R | library(ggsci)
position_levels = c("ra", "arco", "hvc", "ncl", "lman", "nido", "x", "stri", "fieldl", "ov", "meso")
position_pretty_levels = c("RA", "Arco", "HVC", "NCL", "LMAN", "Nido", "Area X", "Striatum", "Field L", "Ovoid", "Meso")
position_colors = c('#a6cee3','#1f78b4','#b2df8a','#33a02c','#fb9a99','#e31a1c','... |
63ad0974c42d3a6befe7a84d79829a4fa33703ce | 052f14fcd54d3674073a7a0aff2e012b15b0f395 | /immuno_graphical/code/covid_corr_plot_functions.R | 27a3a64c2dd9c0b1f3444a9481f1a90067c91b5c | [] | no_license | brborate/correlates_covpn_bb_archived | e98a4b5317a6fd10949518e15ac7a5ff214ab12b | 79b1a9e5bbd5c4857ab39f381350e8f23cf7da72 | refs/heads/main | 2023-03-12T18:30:24.026841 | 2021-03-01T21:54:26 | 2021-03-01T21:54:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,080 | r | covid_corr_plot_functions.R | #' Pairplots of assay readouts
#'
#' Produce the pairplots of assay readouts. The correlation is calculated by
#' the resampling-based strata adjusted Spearman rank correlation
#'
#' @param plot_dat: data frame: data for plotting.
#' @param time: string: one of "D1", "D29", "D57", "Delta29overB" or
#' "Delta57overB".
... |
a3a03b1e183ac8422ad1711ec45cad32f4387d99 | 56bdfca7f784ba7c0ec9c4f493d8f9ea821b36de | /man/setOMLConfig.Rd | 91c7da037c0708f813299cb15aa9ad7b3daad7bd | [] | no_license | cran/OpenML | d3980a158f8f6e941567b0eed91bbaf3c6c684f9 | 376ad995b891a6be3ce723d24c03bba99b0a27df | refs/heads/master | 2022-11-13T05:55:02.983709 | 2022-10-19T19:27:50 | 2022-10-19T19:27:50 | 73,572,297 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,354 | rd | setOMLConfig.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/setOMLConfig.R
\name{setOMLConfig}
\alias{setOMLConfig}
\title{Settter for configuration settings.}
\usage{
setOMLConfig(
server = NULL,
verbosity = NULL,
apikey = NULL,
cachedir = NULL,
arff.reader = NULL,
confirm.upl... |
132f63f4680174cb464105dbd9a8c408fb9a6ce4 | 76e47464f4313b79f95fecf01067aa3a6b713d8b | /man/landseamask_generic.Rd | 5a6ba51b287a6e222686126179947aa28ceb797f | [
"MIT"
] | permissive | zejiang-unsw/rISIMIP | 460116d1f6e23826bb9de57e8ee731d29f379730 | 9f9af06dd51d936932795c4cf2a99216fbfcea23 | refs/heads/master | 2021-01-04T09:46:43.105805 | 2019-12-20T11:36:35 | 2019-12-20T11:36:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 415 | rd | landseamask_generic.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rISIMIP-package.R
\docType{data}
\name{landseamask_generic}
\alias{landseamask_generic}
\title{Land sea mask of ISIMIP data}
\format{\code{RasterLayer}}
\description{
RasterLayer with land sea mask of ISIMIP data
}
\details{
This RasterLayer ... |
9f56e1ba6b0f41cf30c5e73686b66136ec87b9bd | 88ff3a5e9f9d7f5355d80741d621bbd99f9232a9 | /3.R | 2b5c352d391bd9d2c0419416107600ba0ace6fe5 | [] | no_license | hlc123xyz/2014-_R_Practice | 0218e562aff1d24596c1eada6c7c1860127e3669 | d165fd5f0a82ae350cb01c1625bfec94f5f40035 | refs/heads/master | 2021-01-20T22:59:18.940786 | 2015-01-21T02:20:12 | 2015-01-21T02:20:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,668 | r | 3.R | install.packages("dplyr")
library(dplyr)
??intesect
mtcars$model <- rownames(mtcars)
first <- mtcars[1:20, ]
first
second <- mtcars[10:32, ]
second
intersect(first, second)
union(first, second)
setdiff(first, second)
setdiff(second, first)
setequal(mtcars, mtcars[32:1, ])
mtcars
slice(mtcars, 1L)
?slice
??slice
??... |
928a9d8badabe80c7638d8ab510c07a8edf2d1da | 48705854e259262e4860d36f9ec805044641ca0a | /fun/initParamList.r | f9f48456d080df7f1b19645c2e186f4963ac27fb | [] | no_license | fxi/LebaMod | 9042b37a1c8762f21a5b3860c19ec05aae533c0d | c7933bb6b83b6c1f6b5c649ca95583404e4dbf0d | refs/heads/master | 2021-01-01T18:37:27.540506 | 2014-07-29T08:59:33 | 2014-07-29T08:59:33 | 22,042,033 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,018 | r | initParamList.r |
initParamList <- function(varSelect=NULL,
groupSelect=NULL,
speciesSelect=NULL,
methodSelect=NULL,
corrCutoff=NULL,
#corrAutoRemove=NULL,
hexProbExtract=NULL,
probHexRadius=NULL,
pseudoAbsType=NULL,
pseudoAbsNum=NULL,
pseudoAbsMult=... |
641139996ea208e049dc9b7b940585f65d3a096c | 9fde6a8ae668629dc497d9dca947f58ab46cb843 | /dynamic_stats_dependencies/unit2perc.R | d0328e9abb0dceb088feb8c2460d327b3f8f7a7e | [] | no_license | BenjaminVigreux/BECCA | 532613297deabc64d033ef02b0d3a8f0f86e5778 | f067bcd1aa034b93430f269b04e0452032b7dc66 | refs/heads/master | 2021-01-01T19:17:10.155506 | 2017-08-02T19:53:29 | 2017-08-02T19:53:29 | 98,553,644 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,530 | r | unit2perc.R | unit2perc <- function(x,y){
## Arguments
# x <- Dataframe from which variables contained in 'y' were originally drawn.
# y <- Descriptive Statistics matrix to be converted to proportional values.
## Dependencies
source("namegetter.R")
## Identify rows relating to single factor
... |
7c25ba6e5e0e4008fd90730fa0f3c85b5398e32e | d4b9eb3ab2c23e4cb10719190516f23eea4afe95 | /R/processFile.R | 82235d40e84f52f4cb7636ea3a6af85f1fa274df | [] | no_license | SHoeks/BandcampR | 7cc16be98e308a947bcfaadf421c7b374a7fa7b2 | 19bcaa89a02941ef32074799bdf5c767d5251039 | refs/heads/master | 2020-12-10T12:45:26.742690 | 2020-02-05T15:06:20 | 2020-02-05T15:06:20 | 233,598,332 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 333 | r | processFile.R | # read html correctly
processFile = function(filepath) {
options(warn=-1)
lines = c()
con = file(filepath, "r")
while ( TRUE ) {
line = readLines(con, n = 1,encoding = "UTF-8")
if ( length(line) == 0 ) {
break
}
lines = c(lines,line)
}
close(con)
options(warn=0)
retur... |
74a93d6cf176aa490cc60185e0e51389120c4281 | 29585dff702209dd446c0ab52ceea046c58e384e | /bdots/R/findBase2.r | 8d5855fcc1b37b0d0ffbe89a14e09af91bfbf4eb | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 183 | r | findBase2.r | find.base2 <- function(time, fixations, conc) {
if(conc) {
min(fixations[time > find.mu(time, fixations, conc)])
} else max(fixations[time > find.mu(time, fixations, conc)])
} |
a5d5118999e130d54896c1e953728bb7d03f9748 | 628f7369f75ddfad3437ac7c0fc253d77813aebf | /plot1.R | 2b049d0b3536e02441f24947eb3eaae7bf6af259 | [] | no_license | dalexander61/ExData_Plotting1 | 43219633e7f9ee96c981adb48bb8f370b53ee6b1 | b382955e7b246a6bb5403c3474d2e5e49dec5cf9 | refs/heads/master | 2021-07-11T12:30:42.223819 | 2017-10-14T18:20:07 | 2017-10-14T18:20:07 | 106,827,008 | 0 | 0 | null | 2017-10-13T13:20:17 | 2017-10-13T13:20:17 | null | UTF-8 | R | false | false | 624 | r | plot1.R | ## assumes you've downloaded and unzipped the file in your working directory.
## read, subset and clean data
pdata <- read.table("household_power_consumption.txt", header=TRUE, sep=";")
pdata$powerDate <- as.Date(pdata$powerDate, format="%d/%m/%Y") ## convert dates
pdata <- subset(pdata, powerDate=="2007-02-01" | pow... |
db4529cda803575a6af41bbdc8906d456649d02c | d64bdea79f597e0b64c918864a252cd05e99abeb | /ui.R | bf34bb71fde195f8566d917dc9b448b10a08aa5a | [] | no_license | kdobrien/shinyproject | 89cff553750a86459b64ce268805abd372906ae5 | ba238db3a70c450e45c44ceb98d439670a2250b3 | refs/heads/master | 2021-01-10T08:53:21.406273 | 2015-10-25T05:07:30 | 2015-10-25T05:07:30 | 44,897,430 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,589 | r | ui.R | #setwd("/Users/kobrien/DataScientist/DataProducts/shinyproject")
library(shiny)
shinyUI(fluidPage(
fluidRow(
tags$style(type="text/css","h2 { color: darkblue; }"),
tags$style(type="text/css",".divspace { margin-top: 80px; }"),
tags$style(type="text/css",".col1 { width: 150px; font-size: 90%;}"),
tags$... |
e30d12800d59d09cf30ebcf6a71e580202c95c92 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/extraTrees/examples/prepareForSave.Rd.R | 70d427f72abb326dd5eabd1272e8f4103c5ad5c8 | [] | 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 | 424 | r | prepareForSave.Rd.R | library(extraTrees)
### Name: prepareForSave
### Title: Prepares ExtraTrees object for save() function
### Aliases: prepareForSave
### Keywords: save,load,extraTrees
### ** Examples
et <- extraTrees(iris[,1:4], iris$Species)
prepareForSave(et)
## saving to a file
save(et, file="temp.Rdata")
## testing: r... |
81f5809fc04da723fe4b46406bcb89a7825a7eda | 58ed380e48045a368c06701b61aac8fac41419e7 | /man/predict_goalmodel.Rd | ec4bb81a62529e0de6fa863945156f6a3397c3f8 | [
"MIT"
] | permissive | systats/deeplyr | 5c6419316ce23eb1569b0189a18816f81bb91b94 | 3248e73a24527a7717a01e0e5c8e3021d5b8b823 | refs/heads/master | 2021-07-05T04:40:23.502291 | 2020-10-02T14:49:12 | 2020-10-02T14:49:12 | 185,884,771 | 11 | 0 | null | null | null | null | UTF-8 | R | false | true | 249 | rd | predict_goalmodel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/api_goalmodel.R
\name{predict_goalmodel}
\alias{predict_goalmodel}
\title{predict_goalmodel}
\usage{
predict_goalmodel(self, new_data)
}
\description{
predict_goalmodel
}
|
5c89e39efdbe740f7feb8e3299b37cdffe525576 | 00daf46a1286c20caa103a95b111a815ea539d73 | /explorations/OpaquePointers/opaqueExplore.R | 04dc87e8cc9fd515764716bcb137de1de3ddff00 | [] | no_license | duncantl/Rllvm | 5e24ec5ef50641535895de4464252d6b8430e191 | 27ae840015619c03b2cc6713bde71367edb1486d | refs/heads/master | 2023-01-10T15:12:40.759998 | 2023-01-02T18:05:26 | 2023-01-02T18:05:26 | 3,893,906 | 65 | 14 | null | 2017-03-09T07:59:25 | 2012-04-01T16:57:16 | R | UTF-8 | R | false | false | 358 | r | opaqueExplore.R | library(Rllvm)
ctxt = getGlobalContext(TRUE)
m = parseIR("dnormLoop.ir", context = ctxt)
p = getParameters(m$v_dnorm)[[1]]
u = getAllUsers(p)
# Seg fault if u[[1]][[1]]
#ty = .Call("R_Value_getLoadStoreType", u[[1]][[2]]) # HalfTyID ??
gep = getAllUsers(getAllUsers(u[[1]][[2]])[[2]])[[1]]
ty = .Call("R_GetElementPt... |
ea420b3b2def37eaddfd3db53bfdb003afbba868 | f5a2fad8fc599c24c83ca2d44147a50ab962f18e | /R/dbxml_handle.R | baa7bed07b24d8026dfa6e87d0ac005a3457c66b | [] | no_license | Shicheng-Guo/drugbankR | 8b0ed6eccba3720f72121ec4a280208a261c519e | 000a84db4c9b491e49c3b34dd7f4ae22a0a157c6 | refs/heads/master | 2023-06-26T20:15:14.375107 | 2021-07-30T21:54:10 | 2021-07-30T21:54:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,128 | r | dbxml_handle.R | ########################################
## Import of DrugBank Annotation Data ##
########################################
## Function to import DrugBank xml to data.frame and store in SQLite database.
## Note, this functions needs some major speed improvements. Ideally,
## (1) Download
## - download DrugBank xml f... |
a9f3dff28ecd8c9c6f67652bb030f7f78ab38bb3 | deadec09c49c903bb7721a36d39ae5552167cbd0 | /R/BTp.R | 14eed6aca9697b38e9d913c85a26904602f6f62c | [
"MIT"
] | permissive | csoneson/ccostr | 916b8d2fc255a8bdb12fa05050ab839a4733f8fa | c71433513ed207c98dd70bd84b37a74a050f9492 | refs/heads/master | 2020-07-18T00:48:08.437632 | 2019-09-03T17:53:46 | 2019-09-03T17:53:46 | 206,137,326 | 0 | 0 | null | 2019-09-03T17:44:35 | 2019-09-03T17:44:34 | null | UTF-8 | R | false | false | 1,118 | r | BTp.R | #' @description Not ready for use... still experimental
#' @details Not ready for use... still experimental
#'
#' @param x A dataframe with columns: id, cost, delta and surv. If Cost history is available it can be specified by: start and stop,
#' @param n number of observations
#'
#' @return An score.
#'
#' @example... |
c24dd5cddc08f18d473cf1d48ed6f1a2f8625d8f | 92830b47e3806f2cf65e77c49a95458b1df2aaf5 | /scripts/data_for_even.R | 09c55269e5d8c46fe9e9ad250a22841bcb509933 | [] | no_license | Helen-R/get_ga_data | 0919d98c9e9b0bdc91ff54d08098b53e28ea291b | 9146ff32bc6328cd8b9acacf45530263cedeb8f4 | refs/heads/master | 2021-09-07T01:44:45.479403 | 2018-02-15T11:09:35 | 2018-02-15T11:09:35 | 121,612,756 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,133 | r | data_for_even.R | if (!"slackme" %in% ls()) source("../auxiliary/slackme.R")
if (!"mylib" %in% ls()) source("../auxiliary/mylib.R")
mylib(c("googlesheets", "googleAuthR", "RGoogleAnalytics", "RJSONIO", "data.table", "dplyr", "RODBC"))
# # [ref] http://thinktostart.com/using-google-analytics-r/
# 1 token & authentification
token <- gar... |
c6324b0cc1ab1cd0bbca44809a2e7bcfc7282837 | 14826cb84f7e5e39d7f68e09be173ffbdbda78ba | /Season watch/Ma saison en anime.R | dae953f040e1e22765d5a4c7c8c8549cd257594a | [] | no_license | Reinaldodos/Anime | b1503667ee125610f33379da4aa4991ea8d328f7 | 9a342cf57fe3172b8e0ebdb72820545eaf210cde | refs/heads/master | 2023-04-16T23:43:50.441313 | 2023-04-06T09:03:16 | 2023-04-06T09:03:16 | 81,234,924 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,592 | r | Ma saison en anime.R | pacman::p_load(rvest, tidyverse, data.table)
Liste_Anime =
"https://myanimelist.net/anime/season" %>%
read_html()
source("Season watch/FONCTIONS.R")
safe_read = safely(read_html)
# SCRIPT ------------------------------------------------------------------
print("FETCHEZ LA VACHE!")
ANIME =
Liste_Anime %>%
ANI... |
33e52093a8b08473b40cd971f5c45600edcfbf6b | 41e2fe7a1402664daf67f19a7ab9ea539a97fa8e | /Apriori.R | 0274a8380edcfa4ddcda302dae3bba7d252688ac | [] | no_license | limetestlife/R | 4f544422266d3f2f9bca55adab707fb0abfc5ff1 | 2218d8ad3775b4c81d88e0dd6458b6562fd4722b | refs/heads/master | 2021-01-22T04:28:51.973688 | 2017-06-22T13:42:46 | 2017-06-22T13:42:46 | 92,468,815 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 177 | r | Apriori.R | library(arules)
groceries <- read.transactions("E:/0-R与数据挖掘/Machine-Learning-with-R-datasets-master/groceries.csv",sep=",")
summary(groceries)
inspect(groceries[1:5])
|
e3826eb32361ec781c2ce2c519db2485e6a72966 | 6a74a4e677fa5bdd2a1536b5b383fc8aef4465df | /R/createDiffSummary.r | 0861cd0488101c11a361605d8875c137727a2c46 | [
"Apache-2.0"
] | permissive | OHDSI/Tantalus | c7187a2a8d5572de84f8a61ca04326d083c0f094 | aad9dc93779be31cd85746df5ff67b32ece3a2cd | refs/heads/master | 2020-03-18T19:49:32.597757 | 2018-12-04T19:59:24 | 2018-12-04T19:59:24 | 135,179,897 | 3 | 3 | null | 2018-06-24T17:40:10 | 2018-05-28T15:37:33 | R | UTF-8 | R | false | false | 5,711 | r | createDiffSummary.r | # Copyright 2018 Observational Health Data Sciences and Informatics
#
# This file is part of Tantalus
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LI... |
d782a5bcdf926aaf0f14753f132fc20ee67f77e5 | eb8a0799d3db66039912288b7fa7de0a9c81ad1d | /R/RcppExports.R | 03c06573200a3fe325a7cff8acfc76263d578edf | [] | no_license | cran/ibs | 124fd1b2163dd721ea68277b292a61544333d6cc | b65eac79c8e1d93320eeb6de6d568b6df524c985 | refs/heads/master | 2021-05-04T11:49:42.506210 | 2018-11-09T14:10:03 | 2018-11-09T14:10:03 | 18,805,162 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,150 | r | RcppExports.R | bsbases <-
function(x,knots,ord){
ord <- as.integer(ord)
if(length(knots)<=ord)stop("length of knots <= ord!\n")
if(length(as.double(x))==0){
return(matrix(nrow=0,ncol=length(knots)-ord))
}
tmp <- .Call("_ibs_bsbasesCpp",as.double(x),as.double(knots),as.integer(ord),PACKAGE="ibs")
matrix(tmp,nrow=length... |
3c6862bd4e5cb073c1b36c459a39b695fa433dc0 | 31d2d467030565c44f4d28d42c0e4d225dececaa | /R/vcov.rasch.R | dfd963dc0e218dd12dd971aff8e72670860d8108 | [] | no_license | cran/ltm | 84fd858915db9fe1506a40628f61e6500a21ed1c | dbbabfa99fa09ad94113856a6a5ae1535e7b817f | refs/heads/master | 2022-02-25T01:10:01.747125 | 2022-02-18T08:40:02 | 2022-02-18T08:40:02 | 17,697,218 | 2 | 4 | null | null | null | null | UTF-8 | R | false | false | 1,680 | r | vcov.rasch.R | vcov.rasch <-
function (object, robust = FALSE, ...) {
if (!inherits(object, "rasch"))
stop("Use only with 'rasch' objects.\n")
inv.hes <- if (robust) {
score.vec <- function (betas, X, constraint, GH) {
p <- nrow(betas)
pr <- probs(GH$Z %*% t(betas))
... |
aa76e87f737f8fdcc2d8b0f2ce18e3266c397a83 | ed98cb0cd2f0f2ec8df466e9f24579920a2e8ae4 | /cachematrix.R | d1dddb69faa18b83d659480f799499ddb654e9ac | [] | no_license | aishwarya1802/ProgrammingAssignment2-1 | ffd76292112e6c8edde57aa6abf246bc4906c9bc | 4f250df7381e869a15748ff920655342a48e8f15 | refs/heads/master | 2021-01-18T07:32:56.572690 | 2016-03-15T06:12:39 | 2016-03-15T06:12:39 | 53,918,398 | 0 | 0 | null | 2016-03-15T05:49:16 | 2016-03-15T05:49:15 | null | UTF-8 | R | false | false | 1,073 | r | cachematrix.R | ## makeCacheMatrix function is defined initially.
## This function is defined to take the value of a matrix and compute it's Inverse using 'Solve'.
## setmatrix is used to set the Inverse
## getmatrix is used to get the Inverse. It can be used by the user to check the computed Inverse of the matrix.
makeCacheMatrix <-... |
e718c0d001a39832586a84f95fd6bab90324e6e2 | 9c5a7859c5d73cbadf6582ca7262e05d91faf145 | /Labs/Lab 4/Lab 4.R | 1f8fc7da1ab37167f5593fed398ee5a43a9cb799 | [] | no_license | wesleywchang/STAT-147 | 077a961e65151e330dcd7c31789305a8f2c67a0a | 30379aac9fc1bed16ade940127fe1c9866e44b9d | refs/heads/master | 2022-11-30T05:43:39.789606 | 2020-08-15T06:33:30 | 2020-08-15T06:33:30 | 287,691,034 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,839 | r | Lab 4.R | # Statistics 147 Lab #4 Summer 2020
# Wesley Chang
# read file plant.dat in to variable plant_data
plant_data = read.table(file = "C:/Users/wesle/iCloudDrive/Summer 2020 (UCR)/STAT 147 (Session A)/Labs/Lab 4/plant.dat",header = TRUE)
plant_data
# use attach() function to make each column individually accessibl... |
0be258c74198e1c5787755bf623272050d4fb72b | 994915cd470f20cc042d272182cd72433711a142 | /Scripts/Analysis_IN_maturation.R | 2ef61463a30e0532c00f83b769dd4c81b7ab7dc7 | [
"MIT"
] | permissive | OliverEichmueller/TSC_Science2021 | d3802561211c9aa578cc703fcd20dd7672cd6b14 | 02ac11d15c74a6cea8af2b8fe57b9668149bcdc8 | refs/heads/main | 2023-04-13T14:24:37.291447 | 2021-11-30T08:07:18 | 2021-11-30T08:07:18 | 412,109,853 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,121 | r | Analysis_IN_maturation.R | ## Analysis of interneuron maturation
##------ Tue Sep 28 18:43:43 2021 ------##
## Oliver Eichmueller
library(zoo)
library(dplyr)
library(monocle3)
library(ggplot2)
library(ggpubr)
library(pheatmap)
library(grid)
# wrapper for heatmap plotting ----------
add.flag <- function(pheatmap,
kept.label... |
80edf7944a46d0eac0237198af265d860330c5f1 | c81e596c811e31acae9fed5e48971d331b202afd | /man/LaplaceConvolution.Rd | 854129b9afe1bf58730cd17b2c774118623dd932 | [] | no_license | cran/LaplaceDeconv | bd5fd1cc53a606de6b4df3974f6e96e89dae88f6 | 8bc0c564c2d8ed4eddfadb79d8c18a156bb7d048 | refs/heads/master | 2021-01-10T13:14:51.931387 | 2016-01-27T20:39:49 | 2016-01-27T20:39:49 | 48,082,452 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,129 | rd | LaplaceConvolution.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/LagLaplaceDeconvolution.R
\name{LaplaceConvolution}
\alias{LaplaceConvolution}
\title{function LaplaceConvolution}
\usage{
LaplaceConvolution(t, g, f)
}
\arguments{
\item{t,}{numeric vector, the observation times}
\item{g,}{numeric v... |
897685f46768c09e303d4ede6ae62bda64c73f11 | 2f74b6fa3057fcb98ad562247ea055ea63446146 | /man/g.rank.Rd | 7b5cb4c37edf000e077fb5b5d1fb97e36c9efd05 | [] | no_license | strayMat/warpDE | 977e0f0b2d99d3ef1e7bdef9e2cad1a3ff6d8275 | 92e50beba7c54581173925aeff14ab02233980b5 | refs/heads/master | 2021-01-01T16:38:04.340919 | 2017-12-07T13:41:45 | 2017-12-07T13:41:45 | 97,879,353 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 319 | rd | g.rank.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllGenerics.R
\name{g.rank}
\alias{g.rank}
\title{Returns the rank and distance of some genes}
\usage{
g.rank(x, g.list)
}
\arguments{
\item{x}{a \code{rankingDE} object.}
}
\value{
the ranks and criteria values for the genes of interest.
}
|
f2eeb99cc282610476ddd3d0bae8c4ef817be114 | d481adea8b5f993c766a7842c2cb9babcef3deef | /UI/03_compare.R | e82f83daea0e3c1da0fcf3034707514fc92cc644 | [] | no_license | AurelieFrechet/world_happiness | 991e1be543a2789267fc9a35685a957ab5e960ff | 7ae1bd22325b2c21815ff30eac08b351b79be1cf | refs/heads/master | 2021-06-24T04:27:50.677840 | 2021-01-19T16:08:01 | 2021-01-19T16:08:01 | 192,379,296 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 785 | r | 03_compare.R | body_content[[length(body_content) + 1]] <-
tabItem(
"compare",
pickerInput(
inputId = "compare_select",
label = "",
choices = countries_list,
multiple = TRUE,
width = "100%",
options = list(
title = "Select multiple countries",
`live-search` = TRUE)
),
br(),
column(widt... |
b17a212b751dc3246f3d7909f576846d1e308333 | fca7d4c6ca3ff0ce8a6f5ed717d642c163b1e0ec | /Scripts/R Scripts/1.R | fb9ee0976d3a2963284b79a79e7ec06b6e99eb38 | [] | no_license | gustavo95/vulnerability-detection-tool | 41776763203798ae5bd0bcf64e5670ffd5580330 | e285afa69e7ac841314e9874f6cea925e5da1fd1 | refs/heads/master | 2021-01-20T20:15:32.460512 | 2016-08-11T03:21:56 | 2016-08-11T03:21:56 | 65,434,617 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,356 | r | 1.R | library(DBI)
library(lattice)
library(Hmisc)
library(dplyr)
library(RMySQL)
library(plotrix)
library(reshape2)
library(graphics)
con <- dbConnect(MySQL(), user = 'root', password = 'admin', host = 'localhost', dbname='changehistory')
#vetorPaths <- c("dom","javascript","javascript_extras","javascript_xpconnect","layout... |
ebbe1b9241b38cd02126c2d47d2a1c08f3a7fabb | 6a6ec6c149757b7addb61c82df2a175bb4448e00 | /plot4.R | 041cd11b4e393697ff78844a0adeab60eb937319 | [] | no_license | tawabd/Exploratory_data_analysis-coursera--Project1 | 1da773fa8d9c0931cd2c1e36702e6d7391be6450 | d8be4c8cfaee0d2db2c021adfbc17f4938ac746b | refs/heads/master | 2021-05-04T08:53:44.088070 | 2016-10-09T04:53:56 | 2016-10-09T04:53:56 | 70,377,250 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,121 | r | plot4.R | > proj<-read.table("C:\\Coursera_exploratory\\household_power_consumption.txt", header=T, sep=";", stringsAsFactors=FALSE, dec=".")
> powerdata <- proj[proj$Date %in% c("1/2/2007","2/2/2007"),]
> time <- strptime(paste(powerdata$Date, powerdata$Time, sep=" "), "%d/%m/%Y %H:%M:%S")
> subMetering1 <- as.numeric(power... |
7bc89e136de9436c9f85a65112986f7d39f78d49 | 5c21757fb60ca9fa2232f87cc05ade4e34de6466 | /man/rand.Rd | d08f60b4a4e16faa4b449537e4b7e855f31698a2 | [] | no_license | cran/DBGSA | d2f0c59b50ce4568d98c8acb6aeff7542ed8d5b0 | 5ca177761739df5c3910876059d1b4a7f8fb1183 | refs/heads/master | 2016-09-06T20:06:04.407631 | 2011-12-29T00:00:00 | 2011-12-29T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 581 | rd | rand.Rd | \name{rand}
\alias{rand}
\docType{data}
\title{distances of gene expression obtained by gene resampling}
\description{
An array of data specifying for distances of the gene set expression profile by gene resampling, each row presents a expression profile of a specific gene label, each column represents a sample.
... |
c10aaf6fd68ade22fa6cff08dd71660434fd3596 | e219e19cd3bef5cd39551fe8c03f8f5e371b029c | /plot2.R | 8215ad385ea2acd0133a488bffd50ef5d2978ed7 | [] | no_license | manni-truong/ExData_Plotting1 | 39d80ab19209a22a4a0fe149f7bd7c9805efb5bb | 82ee73078577ada52601fc83639a8a888b66ddb1 | refs/heads/master | 2021-01-15T11:23:55.564758 | 2015-10-10T15:13:54 | 2015-10-10T15:13:54 | 44,004,297 | 0 | 0 | null | 2015-10-10T09:31:17 | 2015-10-10T09:31:16 | null | UTF-8 | R | false | false | 1,169 | r | plot2.R |
# Manni Truong, 2015
# Exploratory Data
library(data.table)
library(dplyr)
# set current working dir to where script lives
current_dir <- dirname(parent.frame(2)$ofile)
setwd(current_dir)
# get data
if (!file.exists("household_power_consumption.txt")) {
tmp <- tempfile()
fileUrl <- "https://d396qusza40orc.c... |
22df246d34ff0f2cf01c35235fbfc186d75c846d | 70774dcbaa6219464131aaf9f0d5b3628c9dcaf8 | /assignment.r | 3dffa7ae908a5ba9f1c92c62bfbaa813e80130b8 | [] | no_license | BabisK/M36102P-Assignment2-8 | 20c2c7cbb5988ededca3b350ffd546efaa212eb2 | 9f2df3966a4f12b159d63b6366fc3383867125bc | refs/heads/master | 2021-01-13T00:56:40.961331 | 2016-02-07T15:51:32 | 2016-02-07T15:51:32 | 51,107,882 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,937 | r | assignment.r | library(moments)
my_column <- 5 + 1
W <- read.csv(file = "w.csv")[[my_column]]
X <- read.csv(file = "x.csv")[[my_column]]
Y <- read.csv(file = "y.csv")[[my_column]]
Z <- read.csv(file = "z.csv")[[my_column]]
par(mfrow = c(2,2))
plot(sort(W), main = "W", ylab = "W")
plot(sort(X), main = "X", ylab = "X")
plot(sort(Y)... |
f1c52d624f9c1e68d7d794337db0f068362abc18 | 5ddab239d1f5727351e43f10fd37024259038179 | /overview_function.R | 0f25faab67bce6b8bfbf955a431bda0ed2279bf8 | [] | no_license | supersambo/r_functions | 9c79c6d8d193d40c716a77226c8405e3461989c1 | 82db13e85f6de84150c5f6076c3645c899d5bf56 | refs/heads/master | 2021-01-10T21:52:02.783602 | 2015-07-02T07:56:39 | 2015-07-02T07:56:39 | 14,520,392 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,330 | r | overview_function.R | overview <- function(input){ #defining domain-function
library(plyr)
input <- as.data.frame(gsub("^https*://","",input,perl=TRUE),stringsAsFactors=FALSE) #delete https:// or http:// an convert to data frame
names(input) <- "url"
input$overview <- TRUE
#initialize progress bar
print("Trying to ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.