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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8093e5e6e0b9f4261210bd8c6cf3aca3e398dec9 | b8499353fc43469a1bf137d13a7302e95ea10847 | /man/Gumbel-distribution.Rd | f0e0e55203c4e5f1a33f4bfae6591a51c8a69d7e | [] | no_license | ilapros/ilaprosUtils | 68f52bfd5ade384b72728bd8918e96a0ae3a00e7 | 9f0201f3ad82a1b0b38e48954917eabb59d32317 | refs/heads/master | 2023-04-09T12:48:26.958111 | 2023-03-27T15:59:47 | 2023-03-27T16:05:44 | 19,574,187 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,820 | rd | Gumbel-distribution.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gevglo.R
\name{Gumbel distribution}
\alias{Gumbel distribution}
\alias{dgum}
\alias{pgum}
\alias{rgum}
\alias{qggum}
\alias{qgum}
\title{The Gumbel distribution}
\usage{
dgum(x, loc, scale, log = FALSE)
pgum(q, loc, scale, lower.tail = TRUE,... |
8e90f2f2786abb6b2be36cd6d71cc7e2b167b955 | a62d607da56af93749f27d7327d560204743a744 | /man/summarySeg.Rd | 5e5532de02fc7139f916a740dfb75d3cb91b6290 | [] | no_license | ubcxzhang/PICS | 3c98704af3a7756c8f53b445fcbe638103472d00 | 87122d2a141908013034ed4c945c1e136ffbc2e6 | refs/heads/master | 2020-08-09T13:50:20.197693 | 2019-10-10T06:39:53 | 2019-10-10T06:39:53 | 214,100,291 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 625 | rd | summarySeg.Rd | \name{summarySeg}
\Rdversion{1.1}
\alias{summarySeg}
\title{
Summarize a segReadsList object.
}
\description{
Returns info about a segReadsList object in a \code{data.frame}
containing the following informations:
chr : chromosome id
NF : number of forward reads
NR : number of reverse reads
L : length of segme... |
ab9b244c25aa84a33670579ad1e5cc078580f5f4 | df487d3a3d9978ba4aff6ab6684468bbd1d59d1a | /rproject1/rproject1/script.R | 6d106c5be6f5b8ff68976d426388aa887d475431 | [] | no_license | ene1801/demo-repo | d9b374645370a263053d55a48a91ef29b2096ffc | 55da7585b084122d1e63880246d63e710134e6c7 | refs/heads/master | 2021-09-01T05:59:25.356507 | 2017-12-25T07:23:08 | 2017-12-25T07:23:08 | 115,313,047 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23 | r | script.R |
### Here is some text |
55169c8fe67ccf9b41d17572f06b6f18f353537f | d5d1df70749f408d4e6f1635632587eccc2b725f | /run_analysis.R | bc7450f57b149da81ea0e28f30b7531f9f25782b | [] | no_license | dellins/Getting-and-Cleaning-Data-Project | e8b7102f98bd67bd9abea5b1d851d4117f2c29d6 | 49ac429a4843dd32e41c819188ab4c1fe5515b2f | refs/heads/master | 2021-01-19T12:37:34.021510 | 2015-01-24T18:39:31 | 2015-01-24T18:39:31 | 29,777,701 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,283 | r | run_analysis.R | library(data.table)
#Read the raw files into memory
testData = read.table("UCI HAR Dataset/test/X_test.txt",header=FALSE)
testData_activity = read.table("UCI HAR Dataset/test/y_test.txt",header=FALSE)
testData_subject = read.table("UCI HAR Dataset/test/subject_test.txt",header=FALSE)
trainData = read.table("UCI HAR ... |
3ec7d111907c602c9fd6c37e11f693313082a2e0 | f6874dd8703801c5e925653f406f18bc758117e5 | /r/tutorials/.archive/DataMining.R | a30fefdacbd1368c703b6472d2dd0f777783ceed | [] | no_license | bu-rcs/examples | b532d4cb57dd02a1c377b0c24910f882e8b1da7a | d793d1a6d21459f142423ab06cb948e8a35ac0ac | refs/heads/master | 2021-07-15T12:48:53.678296 | 2020-06-15T20:30:20 | 2020-06-15T20:30:20 | 175,437,550 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 9,437 | r | DataMining.R | # ---------------------------------------#
# #
# R script for SCV tutorial #
# Katia Oleinik #
# ---------------------------------------#
# lm() - Lenear regression
# glm() - generalised linear model
# coxph() - Cox model (survival package)
... |
a034d7affb7903357885dcff5f1b796683dbeff0 | ebd85fbe4e39d629ab67e87e937ddf9df5d7453d | /man/manage_dir.Rd | afdcf06671a00258f9e961542ade6a8ca95534ca | [] | no_license | frank0434/MVItools | 4275f2228bcfe877781ca459cd849e2696d7d9bf | 52b03918353aa183b960e64cdd047562974e40e9 | refs/heads/master | 2020-05-23T12:06:08.381065 | 2019-05-22T02:13:53 | 2019-05-22T02:13:53 | 186,750,870 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 711 | rd | manage_dir.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/manage_dir.R
\name{manage_dir}
\alias{manage_dir}
\title{manage_dir}
\usage{
manage_dir(data_source = "./", output_loc = "markered")
}
\arguments{
\item{data_source}{source of data}
\item{output_loc}{output location}
}
\value{
logic vector. ... |
5e17e7bcf4f6bda4592e64eb48a9bdc5662d0c2f | 94259f4e3fffd791110cd9d0353ff90fe868df32 | /R/obis_helpers.R | 2d763f262a6202fa7c997e2d2cb3f8b86d248989 | [
"MIT"
] | permissive | neiljun/spocc | 23ba8d1ff717b90141df212020433984f3a42c38 | bd97f73c3527d14e1ff26cb431f7b45523789f25 | refs/heads/master | 2020-04-08T11:32:55.846427 | 2018-11-16T17:59:45 | 2018-11-16T17:59:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,266 | r | obis_helpers.R | obis_base <- function() "http://api.iobis.org/occurrence"
obis_search <- function(scientificName = NULL, limit = 500, offset = 0,
obisid = NULL, aphiaid = NULL, resourceid = NULL, year = NULL,
startdate = NULL, enddate = NULL, startdepth = NULL,
enddepth = NULL, geometry = NULL, qc = NULL, ...) {
args <- s... |
d5413bc4dbf0a3d8717ec3519e777fcead76a675 | ea6805ab565962fadced65cadb3a57f88984caf2 | /plotting-galaxies.R | a52381dd949ff90b86d9c9296c5a4e674c096eef | [] | no_license | jacobbieker/Galaxy_Cluster_Project_Scripts | 3d3a2f7059834354ae153def4ea3ab3790471bdb | 7ce2f59f5ef7310d5339580e83be63915b36f370 | refs/heads/master | 2021-01-22T11:04:59.086427 | 2016-05-05T22:40:06 | 2016-05-05T22:40:06 | 45,498,526 | 0 | 0 | null | 2016-05-05T22:40:06 | 2015-11-03T22:01:56 | R | UTF-8 | R | false | false | 41,637 | r | plotting-galaxies.R | #########################################################
#
# Install the needed dependancies
#
#########################################################
if(require("XLConnect") && require("ggplot2") && require(gtable) && require("quantreg") && require("scatterplot3d") && require("scales")){
print("XLConnect ... |
c7c27191232a30613a7cfacb0715fa7314bef3fe | ef4666f58726e29ea59786b4aa5969d7beecf479 | /man/plot.competing.risk.Rd | 1f69772c6a72f7551ad430c958722abc41c33911 | [] | no_license | ehrlinger/randomForestSRC | 042e523d05bbba4acdb31aa17a17f9506f5a2533 | dc22cd40d062ee2fce6b0135a46b933b3469033a | refs/heads/master | 2020-04-15T16:32:29.281631 | 2016-11-28T20:29:22 | 2016-11-28T20:29:22 | 26,964,626 | 3 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,820 | rd | plot.competing.risk.Rd | \name{plot.competing.risk}
\alias{plot.competing.risk}
\alias{plot.competing.risk.rfsrc}
\title{Plots for Competing Risks}
\description{
Plot the ensemble cumulative incidence function (CIF) and
cause-specific cumulative hazard function (CSCHF) from a competing risk
analysis.
}
\usage{\method{plot.competing.risk}... |
4e327ccda91a7d0320ffae7553dc116bf18110db | 907fc6b13490775612fcd2c45d4f566cd260f592 | /backup/data/tv.R | 44f40618a1569819dc014f328fa1ae3e415d2a44 | [] | no_license | franziloew/market_definition_2sm | dbeefbbb14085c736381c3f87d5ffe982972e3ac | f213a00ffd71716c5b39f0d7032f6afad9a70e20 | refs/heads/master | 2022-05-04T18:38:26.564337 | 2022-04-15T19:22:30 | 2022-04-15T19:22:30 | 126,069,811 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,016 | r | tv.R | rm(list = ls())
library("urca")
library("tseries")
library("seasonal")
library("lmtest")
library("vars")
library("forecast")
library("graphics")
library("Hmisc")
library("xtable")
library("tikzDevice")
library("stargazer")
library("plotrix")
# Included Magazines: TVMovie, TVSpielfilm, TVDigital
tv <- read.csv("/Us... |
a88e4dfdf78f4b07eb4baec0e934f15606f11749 | e0024ae63e5769377dd1bb64e5e3fbc818faa118 | /code/scripts/eda-images.R | e8d1e00e25366887dcfa3e1aca893fd999130221 | [
"MIT",
"CC-BY-4.0"
] | permissive | ss-chang/stat159-project02 | a44638e394757cbda10a57f3afe0701a4248e7fd | 1120493cd60626e2b5f4ec86aa5397c1abee0bdb | refs/heads/master | 2021-01-11T03:44:19.966596 | 2016-11-05T01:43:49 | 2016-11-05T01:43:49 | 71,296,660 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,211 | r | eda-images.R | #====================================================================================
# title: eda-images.R
# author: Shannon Chang and Nura Kawa
#
# description:
# + generates histograms of quantitative predictors
# + generates boxplots of quantitative predictors
# + generates scatterplot matrix of quantitative predic... |
c369db2b2e2b7140db7bdaa611d68621cdf1f0da | 5cb215dd1d269b4471b91efea988d842bf55de40 | /man/synGetMembershipStatus.Rd | d99d45b82b3630fba2c4af4ba9b0f4e827f97ce0 | [
"Apache-2.0"
] | permissive | Sage-Bionetworks/synapser | 0d308dba0a4a993a1e8f609c25c75b072de78cdc | c9ed6ca9fb5247d56167ff8812ddc780de013127 | refs/heads/master | 2023-06-24T23:10:43.914336 | 2023-06-14T22:33:35 | 2023-06-14T22:33:35 | 34,292,371 | 31 | 16 | Apache-2.0 | 2023-09-10T04:16:43 | 2015-04-20T23:33:04 | R | UTF-8 | R | false | false | 587 | rd | synGetMembershipStatus.Rd | \name{synGetMembershipStatus}
\alias{synGetMembershipStatus}
\docType{methods}
\title{
synGetMembershipStatus
}
\description{
Retrieve a user's Team Membership Status bundle.
https://docs.synapse.org/rest/GET/team/id/member/principalId/membershipStatus.html
}
\usage{
synGetMembershipStatus(userid, team, user=NULL)
}
\a... |
8f28d8bd00993efc3bddd7cf1c3262caaf1a88cc | ed2530b7c73ad80b86a0e60db075aaacdf53dbea | /missense_for_provean.R | a556b75364d52a1d001fbe5d66edc59023f8bff5 | [] | no_license | BrianRitchey/qtl | 7444a409d4d07abda3f13b5cfa2794113f93c0e9 | 9792fef3dfa7ecdd62857d58ca3f9966456ae6b8 | refs/heads/master | 2023-07-08T01:38:25.485945 | 2017-09-11T18:44:29 | 2017-09-11T18:44:29 | 98,877,595 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,969 | r | missense_for_provean.R | # missense_for_provean function
#
# written by Brian Ritchey
#
function(rs_list= rs_list, gene_table = gene_table){
require(rentrez)
final <- vector("list")
no_match <- vector("list")
genes <- names(rs_list)
for(rs_i in 1:length(rs_list)){
missense_SNPs <- rs_list[[rs_i]]
for(i in 1:length(misse... |
cfef9e41d3f7766f330fa658a1bc14ec23727362 | 736d35dfbe750b872865ff123a863529b07ccf98 | /R/plot.R | c9fe740fca1a4f7c8311ec60dcc88bfe15e1f4b7 | [] | no_license | seananderson/glmmfields | 27e9dc767c8fd128ec986e52007b49e73defa501 | 92b44f1499834e5815823bde243183967990f1c1 | refs/heads/master | 2023-03-21T23:27:11.484397 | 2023-03-10T19:43:54 | 2023-03-10T19:43:54 | 73,511,815 | 42 | 10 | null | 2023-09-08T21:53:53 | 2016-11-11T21:12:07 | R | UTF-8 | R | false | false | 1,992 | r | plot.R | #' Plot predictions from an glmmfields model
#'
#' @param x An object returned by \code{\link{glmmfields}}
#' @param type Type of plot
#' @param link Logical: should the plots be made on the link scale
#' or on the natural scale?
#' @param ... Other arguments passed to \code{\link{predict.glmmfields}}
#'
#' @importFro... |
1ef471813ecfa734b2a64b4197f5f2a72bc2d60c | 8782c1d5956c6c2fe181cd59abf845adf763ee1f | /man/printResiduals.Rd | bbca8677991d02e300ea6574dc994413898c762f | [] | no_license | cran/featurefinder | 842e04793156acab3e06ef497f08ab31436d3450 | 808414cdabb6417c8c3e3ad309aa170002286651 | refs/heads/master | 2020-03-08T20:49:14.806784 | 2018-12-03T04:20:03 | 2018-12-03T04:20:03 | 128,392,367 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,216 | rd | printResiduals.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/featurefinder.r
\name{printResiduals}
\alias{printResiduals}
\title{printResiduals}
\usage{
printResiduals(fileConn, all, dat, runname, levelname,
treeSummaryResidualThreshold, treeSummaryMinBucket,
treeSummaryResidualMagnitudeThreshold, ... |
9f7d88ca3eb093bb7572f5b0fcf926becc2dd6a2 | 0c1892c4e0747936e662efb472257409b5985130 | /CKD Code.R | 512bbd59c914a3db6c20874952dfb7ac9b61e3e1 | [] | no_license | suriya3193/Prediction-of-the-presence-of-CKD- | ae63cee52d4c9183f0ba6f2ddab5b08b80ac3b2b | 550cf00fddb6ef91c0e1331dc7842bc2b21b8e38 | refs/heads/master | 2020-12-13T16:38:28.907775 | 2020-01-17T05:04:36 | 2020-01-17T05:04:36 | 234,474,339 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,526 | r | CKD Code.R | library(ROSE)
library(caTools)
library(corrplot)
#loading the data
CKD_data<-read.csv("E:/Healthcare project/Chronic Kidney Disease Dataset.csv", header = TRUE,sep = ",")
View (CKD_data)
CKD_data<-subset(CKD_data, CKD_data$ID >=1)
#converting the variables to factors
CKD_data$Female<-as.factor(CKD_dat... |
bdeaecde7de10c2b3bbc9a62d0c6025530131573 | 2e194fc4b9d9d43b57f6697aea6229e9cc652cf7 | /cachematrix.R | c21f9f9e7baeb003b88f5d500e3cf97b73d4def8 | [] | no_license | lingani/ProgrammingAssignment2 | 9bbfa7779deec73ee5ebdf80bdaee2946a6f2164 | 58b4faa281c08519ac1e740f225493a093ec5111 | refs/heads/master | 2021-01-15T18:09:54.602477 | 2014-08-12T17:21:03 | 2014-08-12T17:21:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,984 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
##This function creates a special "matrix" object that can cache its inverse.
makeCacheMatrix <- function(x = matrix()) {
m <- NULL
#Creation a function that cache initializes 'x' and 'm'
#so any time makeCacheMatrix is cal... |
3ab5c45cf61b630143f0d14a41df10f72baab5fa | f6badfd96b3c593b1e08179846ecce25dd7d73b9 | /Scripts/Final_Project.R | a317d37d496211a21a27a2d95b01a01b242c9915 | [] | no_license | kkdobbin/SGMA_DACparticipation | 488509f9d060e7531b835aac8dd9044da6150f80 | d3b67bfe0dc743fb40eb2f9a43e1bf40baa59f3c | refs/heads/master | 2022-02-24T01:16:07.156687 | 2022-01-20T17:45:18 | 2022-01-20T17:45:18 | 124,990,554 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,024 | r | Final_Project.R | # Final Project Process
#Set up
library(dplyr)
library(tidyverse)
library(foreign)
library(car)
library(MASS)
library(lmtest)
library(tseries)
library(broom)
# Creating master data ------------------------------------------------
# Load data
DACP <- read_csv("Data/DACP_GSApostings_3.16.18.csv")
IRWM <- read_csv("Out... |
1e5a5d85b1b69e0d3edfd89b8da993dabc41f0a5 | 42ac78fed8e8494cc54a533e6cb9b4c18ca51369 | /branches/Matrix-mer2/R/Auxiliaries.R | 6dfca2b93991b86445230a08d050f9f50f30ebfe | [] | no_license | LTLA/Matrix | 8a79cac905cdb820f95190e99352cd9d8f267558 | 2b80087cfebc9f673e345000aeaf2170fc15b506 | refs/heads/master | 2020-08-07T20:22:12.075155 | 2019-09-28T21:21:10 | 2019-09-28T21:21:10 | 213,576,484 | 0 | 1 | null | 2019-10-13T00:56:38 | 2019-10-08T07:30:49 | C | UTF-8 | R | false | false | 7,442 | r | Auxiliaries.R | #### "Namespace private" Auxiliaries such as method functions
#### (called from more than one place --> need to be defined early)
## For %*% (M = Matrix; v = vector (double or integer {complex maybe?}):
.M.v <- function(x, y) callGeneric(x, as.matrix(y))
.v.M <- function(x, y) callGeneric(rbind(x), y)
.has.DN <- ## ... |
bfe183693edc6b94fc96ae4f8ee30b6be8f084b4 | fa90f1a971b81858e12529de41a3566cbbc79b47 | /shinyApp/ui.R | ba337961b966490473bde99715f76685fb53dbe0 | [] | no_license | SBIMB/AWIGEN-1-Post-QC | de5b8875e86a8ee072fd98fe2b1d22cbbb2bc37c | 00c1c04ba6f0b107e3622832af96a40340f432d1 | refs/heads/master | 2020-08-31T19:08:13.476188 | 2020-03-16T10:13:25 | 2020-03-16T10:13:25 | 218,762,592 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,390 | r | ui.R | library(shiny)
library(shinydashboard)
library(plotly)
library(shinyalert)
source('data.R')
source('tab-modules.R')
shinyUI(
dashboardPage(
# header
dashboardHeader(title = "AWI-Gen 1 QC"),
# side bar
dashboardSidebar(
# importing dataset
helpText("Import dataset her... |
5a20a78a39321d77c24419238cc6501e2e023d72 | 5f754675e68444db1fa7f077eff5dc6ee622a0be | /R/indicators.R | 50349701633ab31ea3a302f6cec2f70c406208e1 | [] | no_license | flr/mydas | 893c3e8f93957109377329682fc99eee4518cbc0 | 726126972e5bca4d6a99ba774f05ea63d60f7b87 | refs/heads/master | 2023-06-22T22:43:10.246612 | 2023-06-16T05:07:31 | 2023-06-16T05:07:31 | 221,472,392 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,028 | r | indicators.R | #' @export indicators
#'
indicators<-function(params,
m ="gislason",
f =1,
srDev=FLQuant(rep(1,121)),
fbar =srDev%=%1){
##set up equilibrium object
if ("numeric"%in%is(f))
f=FLPar(f=array(f,c(1,length(f))))
## ne... |
33dfee038cd1836d383f584d9e4f1792868a912b | 8c266b8d14fc5ee1aead7e69d6cf3bb7f5d84ccf | /rfile.R | 0d3f90c97805360e7177caf2b6a8c5f4895ddfa7 | [] | no_license | krinya/corona_simulation | 1536b6440afe110533f60d1f777c90b425fd398d | dd6dfeb322fc77912686b0fa4ca16bb945bd8a33 | refs/heads/master | 2022-04-27T01:40:31.661332 | 2020-04-24T13:50:49 | 2020-04-24T13:50:49 | 257,967,430 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,469 | r | rfile.R | library(data.table)
library(tidyr)
library(ggplot2)
library(gganimate)
library(ggrepel)
theme_set(theme_bw())
#initial parameters
# Number of days
t_max <- 100
# To create 1000 steps? So 10 for each day? To make the curve more smooth?
dt <- 0.1
#
t <- seq(from = 0, to = t_max, by = dt)
#alpha: infection rate (0-1)
#... |
ced375987fea71ad7b0d25639963f652c6da6c3c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/GSAQ/examples/totqtlhit.Rd.R | 6f54a2ea2e1811fd8843e0445cecf119c967e193 | [] | 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 | 317 | r | totqtlhit.Rd.R | library(GSAQ)
### Name: totqtlhit
### Title: Computation of total number of qtl-hits found in the whole gene
### space
### Aliases: totqtlhit
### Keywords: genelist qtl qtlhit
### ** Examples
data(genelist)
data(qtl_salt)
genelist=as.data.frame(genelist)
qtl=as.data.frame(qtl_salt)
totqtlhit(genelist, qtl)
|
3a7adfad8ca22395e7553501ff14aa91a4c81337 | dcd35737536a86172791f29ff762c965af6a5262 | /helper-functions/Scatterplot_Function.R | 3d6ee5f0827a23a4b8c02a849c9609a2e16889bb | [] | no_license | jakepscott/Monash_Spotify_Dashboard | 6e119a42862646e4acf2fb3b426b5f055b392179 | 886d2f13f7a609ec47b326989fa3577e64babc71 | refs/heads/master | 2023-07-30T21:43:38.741580 | 2021-09-23T02:16:52 | 2021-09-23T02:16:52 | 373,667,176 | 0 | 0 | null | 2021-06-12T01:34:07 | 2021-06-03T23:23:15 | R | UTF-8 | R | false | false | 10,548 | r | Scatterplot_Function.R | scatterplot_function <- function(main_variable, comparison_variable, playlist_or_track, data){
if (playlist_or_track=="playlist") {
# Set labels --------------------------------------------------------------
#If variable=="minutes", use the custom made "duration_label", otherwise use a generic label
data_... |
1492805c372c63dba9c074f5a6f30267cdd017d4 | 07c6be5bb6a2cfa8f5736c74d62d3e32f2231207 | /1. Basic syntax R/string.R | c5a90158ba9e7fbf5862be6bd8f66f527c628482 | [] | no_license | samurainote/R-Basics | 5e34486f4ba5676517dd8a69e8b26d2101fa8d13 | 3f2ab15e2a1081efa030f6fd11eaef4693a8fb30 | refs/heads/master | 2020-04-21T20:38:02.596505 | 2019-02-09T09:52:14 | 2019-02-09T09:52:14 | 169,852,099 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 540 | r | string.R | #text data
a<-"Batman"
b<-"Bat-man"
c<-"Bat/man"
substr(a,start=2,stop=5)
nchar()
tolower()
toupper()
strsplit(c,split="/")
paste(b,split=c)
grep("-",b)
grepl()
sub()
gsub()
datay<-mtcars
names(datay)
head(datay)
mfc=rownames(mtcars)
head(mfc)
sapply(mname,"[",1)
#test
reve=c("M 3.2","B 2.6","M 6.7","B 2.4")
clas... |
739714feafa0b0c22b278ba0d0da815a0d7a8379 | dbfe5ce272e204a8e1663ced35c9d48ef4870496 | /man/str_to_han.Rd | a0a364391cb52e9737d1a38a559cb31130771a38 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hmito/hmRLib | fac91a4e2ddfcd899283ec0b63c87c31965fb17f | f2cfd54ea491ee79d64f7dd976a94086092b8ef5 | refs/heads/master | 2023-08-31T07:21:31.825394 | 2023-08-28T10:02:07 | 2023-08-28T10:02:07 | 41,907,654 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 357 | rd | str_to_han.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/character.R
\name{str_to_han}
\alias{str_to_han}
\title{Replace zenkaku alphabet, number and symbols by hankaku}
\usage{
str_to_han(x)
}
\arguments{
\item{x}{target character}
}
\value{
replaced character
}
\description{
Replace zenkaku alpha... |
58ab8e46d341f2f10189936fb6e84306ad66ed3c | eedeaa3b876cf388f027f727a900346da1b52d34 | /man/col_hasHistogramValue.Rd | 1d9d8a0ec31fdbc51370b1bbda9a90612030ab0f | [
"MIT"
] | permissive | EvgenyPetrovsky/deeque | e59b32a2fc0ea89f235976e337e564be566b4f60 | 8c0efdb102169abf4004e104ba4977ef735bbdc3 | refs/heads/master | 2020-08-26T15:53:38.697404 | 2020-01-21T18:43:56 | 2020-01-21T18:43:56 | 217,062,624 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 566 | rd | col_hasHistogramValue.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/validation-functions-column.R
\name{col_hasHistogramValue}
\alias{col_hasHistogramValue}
\title{Has histogram value}
\usage{
col_hasHistogramValue(data, column, udf, ...)
}
\arguments{
\item{data}{dataframe to check}
\item{column}{column nam... |
09472ced4e04775f99a46a281fc7eee63eb48865 | d5a2871028d84a02de0271633c7b0997ab8541fb | /man/get_social.Rd | 372b8e8d31d305bbb15cb072a0baef6e802cfc5f | [
"MIT"
] | permissive | ThomasPepperz/cryptor | 5954e411b5cdbab34be75b1021df20f50495de85 | 3331f57e761825948dbaf80b9ec13d4b04fdf147 | refs/heads/master | 2020-07-31T17:06:20.689582 | 2019-09-24T19:55:48 | 2019-09-24T19:55:48 | 210,685,889 | 0 | 0 | null | 2019-09-24T19:52:26 | 2019-09-24T19:52:26 | null | UTF-8 | R | false | true | 1,427 | rd | get_social.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/public_api.R
\name{get_social}
\alias{get_social}
\title{Gets social data for a given coin id.}
\usage{
get_social(id)
}
\arguments{
\item{id}{integer. Coin id. Can be retreived using \code{\link{get_coins}}.}
}
\value{
A list with the follow... |
6eae6262e54548c6e0187d492ed4e647e02623bb | 79b935ef556d5b9748b69690275d929503a90cf6 | /man/Penttinen.Rd | a41ad34e6b799dc0cfdc0ff9f5f2fc449f2824c6 | [] | no_license | spatstat/spatstat.core | d0b94ed4f86a10fb0c9893b2d6d497183ece5708 | 6c80ceb9572d03f9046bc95c02d0ad53b6ff7f70 | refs/heads/master | 2022-06-26T21:58:46.194519 | 2022-05-24T05:37:16 | 2022-05-24T05:37:16 | 77,811,657 | 6 | 10 | null | 2022-03-09T02:53:21 | 2017-01-02T04:54:22 | R | UTF-8 | R | false | false | 2,688 | rd | Penttinen.Rd | \name{Penttinen}
\alias{Penttinen}
\title{Penttinen Interaction}
\description{
Creates an instance of the Penttinen pairwise interaction
point process model, which can then be fitted to point pattern data.
}
\usage{
Penttinen(r)
}
\arguments{
\item{r}{circle radius}
}
\value{
An object of class \code{"interac... |
4499f64b7d386d72be87e170c0556433d320db4b | 6e64a7abaec7bb14df5cd61b3700bfe070929535 | /Project/Dashboard_Trail_Connection.R | c79ba7f8581f01102125a0092ff6228d24876221 | [
"MIT"
] | permissive | Ellie190/Database_Systems_Tutor | 2748b9dfb88807b2793d780c94fa47ab498d3c28 | 66194a7b9c1cb1b4c1e0369dad02436a90f829d3 | refs/heads/master | 2023-01-08T00:14:32.964396 | 2020-11-05T16:43:55 | 2020-11-05T16:43:55 | 297,327,190 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 266 | r | Dashboard_Trail_Connection.R | ## Database Server connection
library(RMySQL)
con <- dbConnect(RMySQL::MySQL(),
dbname = "employees",
host = "localhost",
port = 3306,
user = "CTO",
password = "PiE2mo@RdressZ99")
|
a6313e572689097d147c986e45b9f05a7ab44d2b | a0f1ae3847220088493821bf7eaf71aeb95e6453 | /man/rankingPlot.Rd | 60e78e3ecdf416189ae93960cd5e3b96a4d6533a | [
"BSD-3-Clause"
] | permissive | kuhsibiris/MIDEPlots | c93e1b3e9bd1c0673f77fdd60177843d14eb4cb4 | e3fa587fe064c017958b6ba501c6f644686d7ef4 | refs/heads/master | 2021-01-19T22:15:25.293591 | 2017-04-20T16:02:33 | 2017-04-20T16:02:33 | 88,784,253 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,043 | rd | rankingPlot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/horizontal plot.R
\name{rankingPlot}
\alias{rankingPlot}
\title{Ranking Plot}
\usage{
rankingPlot(data, name, num, limits, colores, n, paleta)
}
\arguments{
\item{data}{a dataframe with the info}
\item{name}{the name of a column to be used a... |
1883d8e0bd6316ab970d09e1a27b90ca1b675596 | ea49e39c5ab2913fc372e3d0bc3292e4ae235d69 | /R/utils.R | 959a7b38f52f9f854eb3b0b3dbaf6d5dcb49f32a | [] | no_license | zerononee/flexdashboard | 5ba1af4fce665ede679e0b463406dbde7059d328 | bb9bd147faa94022cfee1aa07cf7abc7f56922fa | refs/heads/master | 2023-08-13T04:44:07.692026 | 2021-10-14T14:27:59 | 2021-10-14T14:27:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,307 | r | utils.R | # return a string as a tempfile
as_tmpfile <- function(str) {
if (length(str) > 0) {
str <- enc2utf8(str)
str_tmpfile <- tempfile("rmarkdown-str", fileext = ".html")
con <- file(str_tmpfile, open = "w+", encoding = "native.enc")
writeLines(str, con = con, useBytes = TRUE)
close(con)
str_tmpfil... |
096a206fbb324f8995b1fb8d7f0f0129441704ef | 92f1abd9a4a7383ddf41b089f5aea6b8caf43b03 | /man/propr.Rd | d19774c8c38eba80d31e14cf7a9688f368dcfdef | [] | no_license | samleenz/propr | 29cdf5cd5b9da62416206b3d6605d392e1df695e | 922b8a01bc009aa1f469138e9c72d79033ddb443 | refs/heads/master | 2021-08-23T13:35:29.566988 | 2017-11-29T08:06:01 | 2017-11-29T08:06:01 | 111,872,374 | 0 | 0 | null | 2017-11-24T03:34:21 | 2017-11-24T03:34:21 | null | UTF-8 | R | false | true | 3,164 | rd | propr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/methods.R
\docType{class}
\name{propr}
\alias{propr}
\alias{propr-class}
\alias{show,propr-method}
\alias{subset,propr-method}
\alias{[,propr,ANY,ANY,ANY-method}
\alias{[,propr-method}
\alias{plot,propr,missing-method}
\alias{simplify}
\alias... |
7a4d8373a777658eb11dd29b5ce733832fad2a54 | 66d51b94552394adc66c9b07bac89eb90eed5e03 | /ic.R | 10aed9968f8a27c46b9456b347bfd800ab9763b9 | [] | no_license | gomesfellipe/functions | 4f83083c4b97ae5c638e2b68f773bb8e6f9f96b8 | 656b167ce08d67bdb572f063bda9e1814e6988e3 | refs/heads/master | 2021-05-05T21:39:05.277794 | 2021-01-15T03:21:53 | 2021-01-15T03:21:53 | 115,950,878 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 317 | r | ic.R | # Fonte: http://www.leg.ufpr.br/Rpira/Rpira/node11.html
# Calcula o interalo de confianca para a média
ic.m <- function(x, conf = 0.95){
n <- length(x)
media <- mean(x)
variancia <- var(x)
quantis <- qt(c((1-conf)/2, 1 - (1-conf)/2), df = n-1)
ic <- media + quantis * sqrt(variancia/n)
return(ic)
|
aedec1449df205222a0d092aaedde94ce5502c63 | 5aa23d590a93494d76b1267e7c15457fb76be061 | /scripts/data_analysis/append_stats_dfrm.r | 3369a870369e1b592ec98134ad47d233b500d069 | [] | no_license | palakpsheth/Trovagene | 4d3625ede95e887c83591480bd1c9d46c25658f8 | bcc19e325283a5b429f74df4467b5570d1e67e97 | refs/heads/master | 2021-01-22T20:26:26.877313 | 2017-04-05T04:29:41 | 2017-04-05T04:29:41 | 85,323,181 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 535 | r | append_stats_dfrm.r | # appends a row to stats_dfrm
append_stats_dfrm <- function(stats_dfrm,runid,flag,assay,input,source,std_group,type,metric,comments,status=NA) {
stats_dfrm <- rbind(stats_dfrm,
data.frame( RunId=runid,
Tool=unique(stats_dfrm$Tool), # NOTE: the field 'Tool' needs to be unique!
FLAG=flag,
... |
2e53f4b51b66067da9a27f25e7c56368f6afe82d | 6f339891e5f97af487b2dbde35e8b79699d831ac | /man/Loc.Rd | ae359711dc87d620ee608644abd06c45297388e8 | [] | no_license | cran/gstar | 74558eadaf182aadbf2b806630a0a24641815877 | 1b368845090cbcc2be906f30569409e3bf77b887 | refs/heads/master | 2020-12-22T00:05:46.420741 | 2019-06-28T14:10:06 | 2019-06-28T14:10:06 | 236,609,217 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 560 | rd | Loc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{Loc}
\alias{Loc}
\title{Coordinate of several region In Indonesia}
\format{A data frame with 4 rows and 3 variables:
\describe{
\item{City}{Name of region/city}
\item{latitude}{The latitude coordinate of each l... |
1a76118dbb7bdc72176eadb4b5c6286cdaa9507e | fced4b5a08001c0a186c49a1bcc60031349521a1 | /vignettes/figure1.R | a6340f699b7b1a77ee6857d9dc6a6370bdf38763 | [] | no_license | adimajo/scoringTools | 470577a9adafced24fc364264bb298c31d49a49e | 2bc2c29b0ecebecaf1b5a69f4a515d0e833111a7 | refs/heads/master | 2023-02-13T03:37:41.735293 | 2021-01-10T14:42:41 | 2021-01-10T14:42:41 | 84,586,749 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,586 | r | figure1.R | ## ----libraries----------------------------------------------------------------
library(MASS)
library(scoringTools)
# library(tikzDevice)
## ----mean_vectors-------------------------------------------------------------
mu0 <- array(0, c(1, 1))
mu1 <- array(1, c(1, 1))
sigma0 <- diag(1)
sigma1 <- diag(1)
## ----data_... |
8480939a0d9578379ffa8ac4ad25a22d2a89957b | b85da7484aa060f8a58e2370add65150464bf3bb | /ui.R | 22963a87909e246925df8707b10fe74008785241 | [
"Apache-2.0"
] | permissive | jbpost2/DeltaMethod | 53a18877ee1ff5f6146e331811ae832ec5132c54 | 81188360817f6d0f7a11748e4d4ccc98999ddbd9 | refs/heads/master | 2021-01-17T22:57:43.473447 | 2017-03-24T04:18:51 | 2017-03-24T04:18:51 | 84,207,386 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,505 | r | ui.R | ###########################################################################
##R Shiny App to investigate the Delta method
##Justin Post - 2017
###########################################################################
#Load package
library(shiny)
library(shinydashboard)
dashboardPage(skin="red",
dashbo... |
5ce5a2d9ca6ff6e3be3070f620647779a52387c3 | 3f40b243e5cdd0936e6371389a61ed8f08f75a2b | /Script_TFG_V2.R | c0357b217cf6a1b9bed478318ec9b8e89e532eca | [] | no_license | sote131295/Script_TFG | 4f86842b4732d4190b4bec8ab142e0e1f53d9025 | 5658f0b35a0f8ad5ef077526d80afc30cecb921b | refs/heads/master | 2020-05-06T13:22:00.310277 | 2019-04-08T11:22:59 | 2019-04-08T11:22:59 | 180,131,814 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 14,509 | r | Script_TFG_V2.R | rm(list=ls())
cat("\014")
#vamos a cambiar de directorio de trabajo
setwd("C:/Users/MSI/Documents/TFG")
source('C:/Users/MSI/Documents/TFG/ur.test.R')
library(urca)
library(zoo)
library(tseries)
library(readxl)
library(normtest)
library(DistributionUtils)
library(forecast)
library(ggplot2)
library(ggfo... |
f56120b6d7f38e0e52c41d32150b0e28d210fa1c | d93c4c0ab2fc54b7da002a788f96a0e8a70a0ada | /man/eline.Rd | 49c8952528aa5378dd0bb35e7c80ccce9f8549cf | [] | no_license | JohnCoene/echarts | 08dd5cb6d9d053d7eff1214da415dc4d38893f7b | ce98035230dfe5d9a497db2d7e303e623a69cf24 | refs/heads/master | 2021-06-12T11:30:36.952046 | 2021-05-16T15:32:01 | 2021-05-16T15:32:01 | 83,905,099 | 48 | 2 | null | null | null | null | UTF-8 | R | false | true | 3,288 | rd | eline.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/add.R, R/add_.R
\name{eline}
\alias{eline}
\alias{eline}
\alias{eline_}
\title{Add lines}
\usage{
eline(p, serie, name = NULL, stack = NULL, clickable = TRUE,
xAxisIndex = 0, yAxisIndex = 0, symbol = NULL, symbolSize = "2 | 4",
symbolRota... |
31c89cfb263fbac6e6b7078034d49b2e00c192f9 | fa633a6294d56b6a788996dabb8c1d4d21ab8c95 | /R/app.R | 4a75d841b181211a0bb2f9732df5750c354339dc | [
"MIT"
] | permissive | pr2database/metapr2-shiny | 08432e2dbc0b56fe30875ace4ee1724bc015f6fe | 65d3f17aeac9745de2ff1ab4a536e424bf39a4f6 | refs/heads/main | 2023-06-08T13:07:36.740518 | 2023-06-04T10:30:33 | 2023-06-04T10:30:33 | 410,160,328 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,769 | r | app.R | #metapr2App -------------------------------------------------------
#' @title Launch metapr2 shiny app
#' @examples
#' # Starts shiny application
#'
#' \dontrun{
#' metapr2::run_app()
#' }
#'
#' @export
run_app <- function() {
# Build the whole dataset ---------------------------------------------------------
... |
57844d039789e5c02356b84b11237f1bdd0d390e | 6f21d1b8365183e5708be7e71c003a0d2fc0d3b8 | /R/create_bins.R | 0ffc7bc18dde8d376ead82938654b15baf2bd65c | [] | no_license | cran/Distance | d2700127a013bf8bc5b0d362f6c2f04aacf22020 | 4755df1c9a2ae2e7225b140097449f2db5ccb554 | refs/heads/master | 2023-07-24T23:16:56.004912 | 2023-07-17T11:30:02 | 2023-07-17T12:56:55 | 17,678,843 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,447 | r | create_bins.R | #' Create bins from a set of binned distances and a set of cutpoints.
#'
#' This is an internal routine and shouldn't be necessary in normal analyses.
#'
#' @param data `data.frame` with at least the column `distance`.
#' @param cutpoints vector of cutpoints for the bins
#'
#' @return argument `data` with two ex... |
8f925d61fb30df6b9fb88f82985e301c3c8d0197 | b520550c46c76ba7855b7f651d1cdaa9596bdd5a | /man/ODBCConnect.Rd | 4a85c2b17706014fdc348cede10ee62c0d7649ad | [] | no_license | Tom-Reilly/FSS | 76fb0a8e35bcc2ee035b1b598bd8500cab05e0ef | eeaacd442f84d428ec65c81b3f371f0ca4842473 | refs/heads/master | 2023-07-08T22:22:48.721264 | 2023-06-29T14:03:22 | 2023-06-29T14:03:22 | 220,976,725 | 0 | 0 | null | 2023-06-29T14:02:37 | 2019-11-11T12:28:56 | R | UTF-8 | R | false | false | 1,118 | rd | ODBCConnect.Rd | \name{ODBCConnect}
\alias{ODBCConnect}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Create Connection to FSS
}
\description{
Create an Online Database Connection (ODBC) to the Fisheries Survey System (FSS) Database. It is necessary to run this function prior to any further attempts to q... |
9172970d460715f8be4995766c1201a1ebf94845 | dd12bef775f15cba4a23a80d6ce9405a719cf0f2 | /1 Developing the SIR Model/solving ODE.ipynb.r | 0c45aa4f430b9280d50996c57d3c8e3891eec45c | [] | no_license | antoniovitorvb/ICL-Infectious-Disease-Modelling | 674d37bbcc3d3bfd0b445ec2d3c612c655094aaf | e03f8749ab0063527ba401591eea832c7391cc05 | refs/heads/main | 2023-02-27T05:57:34.534055 | 2021-02-05T01:08:05 | 2021-02-05T01:08:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,537 | r | solving ODE.ipynb.r |
# If you are working in RStudio, you will need to install if you haven't already:
# install.packages("ggplot2")
# install.packages("deSolve")
# Run the library() function to load these packages
library(ggplot2)
library(deSolve)
require(deSolve)
result <- ode( y = state_vars # initial state variables: state v... |
4b2208bb11cfae7a89ba31aed6b0d6c012632494 | bd4d459aca02be3900cbccd5f1f8a4abe1d30314 | /man/filter_2pts_gaps.Rd | 170aaf06f32623684cc6e6f0918868cdbe0eb697 | [] | no_license | augusto-garcia/onemap | 98ff53e2825c8cf626cff6c433acd78311ac5fa3 | d71d3c4800ddb00848a15a8635e08f8f1428bd1d | refs/heads/master | 2023-07-07T02:23:26.351957 | 2022-11-25T19:27:50 | 2022-11-25T19:27:50 | 31,918,564 | 35 | 27 | null | 2023-06-28T16:57:49 | 2015-03-09T19:37:05 | R | UTF-8 | R | false | true | 1,397 | rd | filter_2pts_gaps.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{filter_2pts_gaps}
\alias{filter_2pts_gaps}
\title{Filter markers based on 2pts distance}
\usage{
filter_2pts_gaps(input.seq, max.gap = 10)
}
\arguments{
\item{input.seq}{object of class sequence with ordered markers}
\item{max.... |
76a555ee1ee421c62523f320d1dd23ceceefedcd | f313cd982f70daffa643a2f2b1147d284607d613 | /install_packages.R | 0b371d943090b98cfbe6008c3eb314e2d6070645 | [
"Apache-2.0"
] | permissive | xuzhenwu/PML-shiny | a0cc59f55c51edc8fb6f278029db038d11faf2b4 | 6d22b310cc264690cff5894b7fc763593540f20f | refs/heads/master | 2023-02-17T17:46:52.206485 | 2021-01-20T09:55:30 | 2021-01-20T09:55:30 | 284,678,124 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 683 | r | install_packages.R | slibrary <- function(fun){
fun_name <- as.character(substitute(fun))
if(is.element(fun_name, installed.packages()[,1]) == FALSE)
install.packages(fun_name)
COMMAND <- paste("library(", fun_name, ")", sep = "")
eval(parse(text = COMMAND))
}
# dependences
slibrary(shiny)
slibrary(raster)
slibrary(rgdal)
sl... |
90c37b22e5c4c0d43b6e6c894ba61d69723cb764 | e31c1eac8e57a4f51879f4d19935ad6eee25946d | /man/ec_timeline.Rd | 0326622b9ce350465d1839c1c4842381b9b6ffc6 | [] | no_license | jeevanyue/echarter | 29a482c595a45bf659cb41e94b7212a1bb4b7d0b | ab80bda2c1f3aa24f32ff0b5325b04e481e6cd31 | refs/heads/master | 2021-06-29T13:11:08.646249 | 2020-10-12T16:08:22 | 2020-10-12T16:08:22 | 155,544,727 | 19 | 4 | null | null | null | null | UTF-8 | R | false | true | 501 | rd | ec_timeline.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/api-ec.R
\name{ec_timeline}
\alias{ec_timeline}
\title{timeline}
\usage{
ec_timeline(ec, ..., baseoption = TRUE, add = FALSE)
}
\arguments{
\item{ec}{An \code{echarter} object as returned by \code{\link{echart}}.}
\item{...}{Additional argum... |
123c8564dde42ba9eb2ceccaa7c1b5cfa245e9cf | 988f267e20a965a9a9983f5d2b2dbaafe62f0845 | /R/ble-attr.R | eccd1ba7813af76a966495cd3d98483bc1738f77 | [
"MIT"
] | permissive | bjcairns/stubble | 245d3f01c85fee7439a701c8815f436311155b2d | d082e1516236afeed1e5c83ece537be17fae8e8e | refs/heads/master | 2023-04-01T14:23:48.497769 | 2021-02-01T11:15:19 | 2021-02-01T11:15:19 | 214,469,085 | 0 | 0 | NOASSERTION | 2021-02-03T13:42:33 | 2019-10-11T15:20:54 | R | UTF-8 | R | false | false | 1,124 | r | ble-attr.R | #' @title
#' Decode vector attributes
#'
#' @description
#' Internal function to decode list attributes into a vector.
#'
#' @concept empirical
#' @concept ecdf
#' @concept sample
#' @concept simulate
#' @concept simulated
#' @concept simulation
#'
#' @keywords datagen
### ble_attr() ###
#' @noRd
ble_attr <- funct... |
7fbb73105cbbad2f0fe9a6c2565ac9f47777bf4d | 3b5dc61bb3e3245adf6c5f7b5b2c787348582ec3 | /R/4_misc_dopplershift.R | 82cd4431c9bcef680efcd1931409797d8f7e474f | [] | no_license | jzeyl/AcousticCalcs | c2e321aa6a6c1233db22135b0593c020d3f20401 | baa2d87a02e831f614fc634d8221641422114e98 | refs/heads/master | 2023-02-08T14:39:12.505689 | 2023-01-21T22:18:29 | 2023-01-21T22:18:29 | 204,171,734 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,419 | r | 4_misc_dopplershift.R | #'dopplershift
#'
#'Calculates the doppler shift. Input velocity, frequency. The output gives the new frequency and
#'the frequency shift
#'S2 (time shifted sound), Tadd (time added), Time (time)
#' @param v1 speed of first one
#' @param v2 speed of second one
#' @param direction specify the direction as towards or awa... |
8fc31328395910a1f45b65a4941a09269b1ffb66 | 41f3601582fb30846d564c60975f7771c5181a1e | /codes/Mental_Accounting_Initial_Data_Cleaning.R | 2263d6671a3d5732c3944ca1871deca2ce05d350 | [] | no_license | edikaQT/Mental-Accounting | c69b74a3a28dc4094aee82bf0bc51dcb477a32bc | 0e836fb761dfc1f4790ce265dc6966c27e5debb5 | refs/heads/master | 2021-07-18T00:28:05.018709 | 2020-05-16T22:12:07 | 2020-05-16T22:12:07 | 264,536,992 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,291 | r | Mental_Accounting_Initial_Data_Cleaning.R |
rm(list = ls(all=TRUE))
library(data.table)
wd <- as.character("C:/credit_card/")
setwd(wd)
memory.limit(size=10000)
memory.limit()
data <- fread("complete_20160408.csv")
data[, Cyc_Xxx_PaymentMinimumDueAmount:=as.numeric(Cyc_Xxx_PaymentMinimumDueAmount)]
data[, Cyc_Xxx_BalanceBeginning:=as.numeric(Cyc_Xxx_BalanceB... |
424d17fd26a98bfbc83f0bda1ae1ca5e19206f6f | c8f5a54afc75dc2a628c7a784703211b7d2b424e | /clustering/uprefs-dt.R | 94243242d2378cdcf86ebedddfc9fb1d97a35086 | [] | no_license | pearsonca/montreal-digest | 8b4391b252d871c5ec5dcdccc1185c22243ff9c4 | 692274dafa28e514999afe4f314822a462b69385 | refs/heads/master | 2020-12-14T14:41:00.263537 | 2016-08-07T14:23:02 | 2016-08-07T14:23:02 | 51,030,681 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 887 | r | uprefs-dt.R | ## take clustering computations and make a user preferences dt
rm(list=ls())
args <- commandArgs(trailingOnly = T)
# args <- c("input/digest/filter/detail_input.rds", "input/digest/clustering/locrefs.rds", "input/digest/clustering/userrefs.rds")
require(data.table)
srcs <- lapply(args, readRDS)
names(srcs) <- c("c... |
f471d8d589b045ecb5fe3b22b01d43938b42fdd0 | a8e88daba53369ffd3acb502fd71cd38a4eaf5ca | /src/RScript/hw5.r | 17715df28685041842f1919816d3345919a850ba | [] | no_license | Younhong/DataScience | dce1e271539605924fdd236cfc23abbcbaac9108 | 6ee05128b23c3253e5a05d25ffac0d7a4ea3874c | refs/heads/master | 2023-01-29T20:38:09.480954 | 2020-12-11T10:54:03 | 2020-12-11T10:54:03 | 258,997,531 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,389 | r | hw5.r | load('hw5_student.RData')
library(ROCR)
calcRMSE <- function(label, estimation){
return(sqrt(mean((label - estimation) ** 2)))
}
calcR2 <- function(label, estimation){
RSS = sum((label - estimation) ** 2)
SStot = sum((label - mean(label)) ** 2)
return(1-RSS/SStot)
}
getRecall <- function(i) {
conf.credit.tra... |
ff8d8c07aba3eedde3dfa983d750f706218acf35 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ecoval/examples/msk.hydrol.2011.create.Rd.R | 4bd26548234aaa5ed3912e741742ab6fe47e6b3a | [] | 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 | 283 | r | msk.hydrol.2011.create.Rd.R | library(ecoval)
### Name: msk.hydrol.2011.create
### Title: Creates a Value Function for River Hydrology
### Aliases: msk.hydrol.2011.create
### ** Examples
hydrol <- msk.hydrol.2011.create()
plot(hydrol)
hydrol.german <- msk.hydrol.2011.create("Deutsch")
plot(hydrol.german)
|
3fa203792e918e0b97f5469b8dfe5e7a63d03719 | f5071dae06aa2e84a6514b3642b6890405bdf38c | /Code/Ejercicio6/Tukey.R | c60f6c6e7defd47e68081885559d1c1d876f3343 | [] | no_license | CristianPachacama/DisenioExperimental | 2be6075550474a39eea9a24898672912fe45a706 | 9b4b937a4234c1b46ba2f1e844342b3e69feda70 | refs/heads/master | 2020-04-12T09:16:52.522685 | 2018-12-19T07:36:18 | 2018-12-19T07:36:18 | 162,397,365 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 285 | r | Tukey.R | source("Code/Ejercicio6/Anovas.R",local = TRUE)
p_valor=Anv$`Pr(>F)`[1]
if(p_valor<0.05){
verif = "rechaza"
tuk = TukeyHSD(x=aov(modelo), 'Parte')
tuk2 = TukeyHSD(x=aov(modelo), 'Operador')
tuk3 = TukeyHSD(x=aov(modelo), 'Ensayo')
}else{
verif = "no_rechaza"
}
# return(tuk) |
4bf48eb648ccf8d008a6e8e10fb761ff94e94f2f | 6f3c9d73dc7bb0e22a702cd6856dc550c105998e | /hybrid_paper/illustration_params.R | ee0e734bb0bc7585e86015ec4bd2cdf4ed49bb91 | [] | no_license | kapelner/GreedyExperimentalDesign | 00862ce598d6b5676fc8c88dbbeeb8b214394751 | 565db6345e18d29c228a1ae5ec66abf7241b8581 | refs/heads/master | 2023-07-25T01:48:05.242114 | 2023-07-11T04:46:36 | 2023-07-11T04:46:36 | 29,105,366 | 1 | 2 | null | 2020-03-13T18:55:02 | 2015-01-11T20:42:45 | R | UTF-8 | R | false | false | 225 | r | illustration_params.R | model_codes_properly_ordered = c("Z", "L", "LsNL", "LNL", "NL", "HL", "HLNL", "HNL")
design_levels_properly_ordered = c("BCRD", "R", "G", "M", "MR", "MG")
manual_colors = c("black", "purple", "red", "green", "blue", "orange") |
b807c0530ce7ea09b4ac2cd032cb6274dbb93e94 | 99f23e5d2f7fdff9e80f0ad774d835b4b6d0ce53 | /ThesisScriptNouse.R | ce57db7f328761adb1a2c539298e1c731ad9f164 | [] | no_license | krishzinx/MastersThesis | da1577ca4b9f288b294dc7b760c0f345851109d0 | aba0f840ee1aa910939031a8d639726fca3fc382 | refs/heads/master | 2020-07-03T17:42:38.673114 | 2019-08-12T19:04:23 | 2019-08-12T19:04:23 | 201,991,172 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 883 | r | ThesisScriptNouse.R | MyData <- read.csv(file="C:/Users/krish/Downloads/DataCollection1.csv", header=TRUE, sep=",")
MyData
MyData1 <- read.csv(file="C:/Users/krish/Downloads/DataCollection2.csv", header=TRUE, sep=",")
polite.data <- politeness::politeness(MyData1$Comment, parser="spacy")
polite.holdout<- politeness::politeness(MyData1$R... |
c16109a2129752cf75985cce98e670edda86b774 | 7797ee6832f469768dfaffbf63d7dae6bf3426ae | /R/EUAC.R | 33454b7d35332c0422dfe58461247f24c58fd2d9 | [] | no_license | AmateurECE/economics | 27dd67e0a04bdfd999d5e124d2114230ab518358 | 37109c8a8376627e840dc061b6fc802a64e8ff30 | refs/heads/master | 2020-05-02T23:39:26.440627 | 2020-02-04T19:02:35 | 2020-02-04T19:02:35 | 178,286,376 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 209 | r | EUAC.R | EUAC <-
function(ic, sv, ac, i, yr) {
initialCost <- ic / annuityPByA(interestRate=i, maturity=yr)
salvageValue <- sv / annuityFByA(interestRate=i, maturity=yr)
(initialCost - salvageValue) + ac
}
|
76e9ce83ea3e235d4df61eabb615631072e1745f | d801bed8afe736bd3f8f616dc3043fbee58df1e7 | /GOVHACK/Shiny Apps/disease/server.R | e36034e733477d7ebd29d51f61d1f29ac58789a7 | [] | no_license | cyckuan/2gather | bba3018c0c8e8091c40fb8d6007779faf0931980 | 8735dadbf908bd1c805e81bdbba7451e75b01069 | refs/heads/master | 2021-01-01T20:08:39.688478 | 2017-07-30T07:11:48 | 2017-07-30T07:11:48 | 98,775,479 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 494 | r | server.R | library(shiny)
library(ggplot2)
# Define server logic required to draw a histogram
disease <- read.csv("data/disease.csv")
shinyServer(function(input, output) {
output$distPlot <- renderPlot({
disease$date <- as.Date(disease$date)
ggplot(data=disease, aes(x=date, y=disease_score, group=1)) +
... |
4ead94ddd306115509bf9c94ae2d352b7b175cce | d237c1376cf0e418d9fe73506c8952460fe9d214 | /Data/Tidying_Case_Study_1.R | 78d473fcf92846277e312cbfb5560441952bb013 | [] | no_license | pefthimion/Case-Study-1 | b9b9690feebf2c2489ce2cb2f56f7862c632916f | d2e42209aa54bfe9071d5039ba4dbb5ea3a05a10 | refs/heads/master | 2021-05-02T18:07:48.206553 | 2016-11-03T03:41:50 | 2016-11-03T03:41:50 | 72,381,808 | 0 | 0 | null | 2016-11-01T23:05:45 | 2016-10-30T23:25:11 | R | UTF-8 | R | false | false | 1,680 | r | Tidying_Case_Study_1.R | # Phillip Efthimion
# Intro to Data Science
# Case Study 1
# We will be cleaning data with this code
# First we will be making copies of the original downloaded files
# This is so we do not change the originals. We will not be using the originals anymore after this
GDP2 <- GDP
Edu2 <- Edu
# Remove blank rows and c... |
d190ccfca275c1a0bb0ed35e91ae1283522fa8b9 | cbf97af589ec6bd7f342442e49bf54cf35294d01 | /plot2.R | 6458ab8776432b180a2c8506369cfdf0ff026578 | [] | no_license | Reynel6891/ExData_Plotting1 | 84cbfe6750cbc112370277e4dd84d27fc7446229 | 8539afce2ad975fe14e49c1e02dd0b4e61960d8b | refs/heads/master | 2021-01-12T10:45:43.573337 | 2016-11-06T18:52:03 | 2016-11-06T18:52:03 | 72,680,310 | 0 | 0 | null | 2016-11-02T20:51:46 | 2016-11-02T20:51:45 | null | UTF-8 | R | false | false | 436 | r | plot2.R | ## Script for Plot2
## in the working directory
> table1 <- read.table("household_power_consumption.txt", sep = ";", header = TRUE)
## code for plot2
> table_times <- strptime(paste(table_dates$Date,table_dates$Time,sep = " "), "%d/%m/%Y %H:%M:%S")
> png("Plot2.png",width= 480, height = 480, units= "px")
> plot(x = t... |
75074f4d9c8b2c0c8071af14c952c158edc5721f | 4babea068edd360a3b71cceca213e4322de9ecec | /pollutantmean.R | 34c54ddeda9a819265bd5605c7a1c63b4746755d | [] | no_license | joancardonasa/rprog-project-1 | b4adfd9d06ab5bbb7429f5021cb0299e939e244d | f9e01e83264e799dfc0d3453185d690a487cd088 | refs/heads/master | 2016-09-10T11:08:05.294225 | 2015-09-04T15:36:09 | 2015-09-04T15:36:09 | 41,922,961 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 515 | r | pollutantmean.R | pollutantmean <- function(directory, pollutant, id = 1:332)
{
files <- list.files(path = directory, full.names = T) #puts all files in a vector
df <- data.frame() #generates empty dataframe
for (i in id) #only grabs chosen id's: the files are in order
{
df <- rbind(df, read.csv(files[i]))
}
if (p... |
a9e92b212158b412bd2efe31b0fca2cb766d2596 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1+A1/Database/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/query58_query27_1344/query58_query27_1344.R | 9c929b91305f6ac50b8a64b5e47efae00e03aeed | [] | 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 | 71 | r | query58_query27_1344.R | 7e5db1db8531c5ba2a8c2a4fbcb9c09c query58_query27_1344.qdimacs 1805 3981 |
4c35100a3ad5240892f13d5ea8fdb60a911b7497 | 4ecc3c39c7c5b4d7d72c881381b3b2af6da50edb | /R/sintegral.R | 5f89e1dc52eefb21b73f82db2c7ce1614dabc8c5 | [] | no_license | cran/Bolstad2 | e1a089ef39275817172e106e80efb2dd913d6b1f | 34d0854c3b8af01aac374d6911975ebecdb293b1 | refs/heads/master | 2022-04-30T06:26:54.804699 | 2022-04-11T08:22:32 | 2022-04-11T08:22:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,809 | r | sintegral.R | #' Numerical integration using Simpson's Rule
#'
#' Takes a vector of \eqn{x} values and a corresponding set of postive
#' \eqn{f(x)=y} values and evaluates the area under the curve: \deqn{
#' \int{f(x)dx} }.
#'
#'
#' @param x a sequence of \eqn{x} values.
#' @param fx the value of the function to be integra... |
45b09500b4b075787ef2896b63c8acbfe4dfe4ce | f701867ae202db12d82e82083303ff3f926516ab | /server.R | 7c2cbd31206996fab7ceaf38ec91c54f41724711 | [] | no_license | yuejuny/DataProduct | c78def60f4818118c3788b8cea71bc7ea0efff34 | 2d21766f4eec329a423280776d39cf27ba126e3d | refs/heads/master | 2021-01-19T09:37:50.231212 | 2017-04-10T07:08:42 | 2017-04-10T07:08:42 | 87,774,356 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 663 | r | server.R | shinyServer(function(input,output){
load("HeightWeight.Rdata")
library(ggplot2)
output$scatterPlot <- renderPlot({
id <- sample(DT$Index,size=input$percentage/100*25000,replace=FALSE)
df <- DT[id,]
ggplot(data=df,aes(Height,Weight))+geom_point(alpha=0.1,colour='blue')+
labs(x="Height, inch",y="... |
60162aabf492ab9814342f367ec3c3b871378086 | 40ca43dd95d960135f518185dbc81a6afa997a68 | /MachineLearning.R | 11b53e9c11b1fb216f1ad69108f18fd01f3d8ee3 | [] | no_license | steph-d/Machine_Learning | a89319658b94e8b708ac1e893b683a2c71604051 | 49e31da6e14671fa52b7797f2f1f1c2f5359bcca | refs/heads/master | 2021-01-10T03:46:05.103374 | 2015-09-27T23:32:59 | 2015-09-27T23:32:59 | 43,268,114 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,329 | r | MachineLearning.R | setwd("D:/R/R-travail/MOOC R programming march2015/8-Machine Learning")
getwd()
library(caret)
library(kernlab)
data(spam)
inTrain <- createDataPartition(y=spam$type, p=0.75, list=FALSE) # to create a training and test dataset
training <- spam[inTrain,]
testing <- spam[-inTrain,]
dim(training)
# K-folds
set.seed(32323... |
4f55c1c64805e107e89411a7d7ed8af19b181142 | 6a8d92fd37f50e71f0067cc04b7aa1620f152305 | /R/filterOut.R | f3a8f4c01401b3f9ba3311a79e3cfbed1a90fc01 | [
"MIT"
] | permissive | jtheorell/flowSpecs | 81c119cc345fe35d7ef46a2f154f6945e2a941b4 | d18e16b3e48f705cc895b3a56ca1ba0bff0b7749 | refs/heads/master | 2023-04-13T18:03:59.902738 | 2023-04-05T14:05:59 | 2023-04-05T14:05:59 | 208,816,662 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,051 | r | filterOut.R | # Select events based on filter
#
#
# @param flowObj The fcs object to be subsetted. Both flowFrames and flowSets
# are accepted.
# @param filterName The name of the filter variable in the flow object to be
# used for the subsetting.
# @param withinFilter Should the events within or outsitde of the filter be
# selected... |
8531fac716088264d86e4ec75bbad9fef13ed01a | 7d9e74e8449aa58a1ea9c06f77e075748b1a6d98 | /R/pal_lancet_custom.R | f7f7878aa7926b594ad5a171273f5a24ea502d93 | [] | no_license | kuppal2/xmsPANDA | 7bb7ca6f7aacb7d95a559fdabef12690189c6e47 | 3f90abe24892e82f99dcc290b41e860f3354ca1a | refs/heads/master | 2023-05-05T21:01:38.557988 | 2021-05-14T22:17:15 | 2021-05-14T22:17:15 | 268,897,144 | 1 | 9 | null | 2021-03-02T07:24:22 | 2020-06-02T20:04:48 | R | UTF-8 | R | false | false | 679 | r | pal_lancet_custom.R | pal_lancet_custom <-
function (palette = c("lanonc"), alpha = 1)
{
palette = match.arg(palette)
if (alpha > 1L | alpha <= 0L)
stop("alpha must be in (0, 1]")
raw_cols = c(
"CongressBlue" = "#00468B", "Red" = "#ED0000",
"Apple" = "#42B540", "BondiBlue" = "#0099B4",
"TrendyPink" = "#925E9F", "Mona... |
c61faf12cdd91ae5ce680eabbb54b27dd8ed791f | 2bb7ad3c5739373511421b4476eb2b0955e73b85 | /plot4.R | e87749c409289faf8246d54223ab325b857b19cd | [] | no_license | ShannonHolgate/ExData_Plotting1 | 267071ad866abbe95cda848659faa91759ab2eef | 59a4359d4591006abfde9eee366f074004afa0b4 | refs/heads/master | 2021-01-19T23:41:33.885246 | 2015-04-09T20:31:31 | 2015-04-09T20:31:31 | 33,690,317 | 0 | 0 | null | 2015-04-09T20:12:55 | 2015-04-09T20:12:55 | null | UTF-8 | R | false | false | 945 | r | plot4.R | ## Retreive data setup functions
source('plot_data_setup.R')
## Setup the initial data
setup_files()
chart_data <- setup_data()
## Build up the final set of plots to show relationship
png(filename="plot4.png", width = 480, height = 480)
par(mfrow=c(2,2))
plot(Global_active_power ~ Date_time, chart_data, type="l", yla... |
5b8da558b982beb37659503e07bf3bb694edee9d | f81ac43a1d02013a9cb9eebc2a7d92da4cae9169 | /man/criteria.Rd | acc87d16a5de4949c530172cb081e83e4de9c8e2 | [] | no_license | gdemin/expss | 67d7df59bd4dad2287f49403741840598e01f4a6 | 668d7bace676b555cb34d5e0d633fad516c0f19b | refs/heads/master | 2023-08-31T03:27:40.220828 | 2023-07-16T21:41:53 | 2023-07-16T21:41:53 | 31,271,628 | 83 | 15 | null | 2022-11-02T18:53:17 | 2015-02-24T17:16:42 | R | UTF-8 | R | false | true | 6,908 | rd | criteria.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/criteria_functions.R
\name{criteria}
\alias{criteria}
\alias{as.criterion}
\alias{is.criterion}
\alias{equals}
\alias{eq}
\alias{not_equals}
\alias{ne}
\alias{neq}
\alias{less}
\alias{lt}
\alias{less_or_equal}
\alias{le}
\alias{lte}
\alias{gr... |
89b4f298fa1fa27fd18e6ed1f0248f612f94d94c | ee35c0bffcbf2a03b16bf6de8b144e8a60e0fba4 | /parser.R | 0fd1a6edf5f35c6ae0b6dbb06fa6e9d8a7cb848a | [] | no_license | panios/VR_BPM | 8be3c2ac47255c27602604b8788287d7d233fabd | 060d88601e7b4bbc5648829b0a2df2bbc16778a5 | refs/heads/master | 2022-11-11T16:20:17.577815 | 2020-07-01T20:33:31 | 2020-07-01T20:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,908 | r | parser.R | library(plyr)
library(readr)
library(dplyr)
library(tidyverse)
files <- list.files("data_BMP/raw",full.names=TRUE)
tbl <- sapply(files, read_csv,col_name =c("time", "value"), simplify=FALSE) %>%
bind_rows(.id = "id")
tbl$id<-stringr::str_replace(tbl$id, "data_BMP/raw/", "")
#Conver timezone
attr(tbl$time, "tzone"... |
57f2c0d5b522e4c77c6ca04d729f9657f77e1192 | bfdd25aee18dd0d22fce534c29217aae5111553a | /10_Capstone_Project_Next_Word_Prediction/Language Model/model.R | 468b82dbe9106dcc777ca15ebaeb1c24e8ca13a7 | [] | no_license | nasimulhasan/Coursera_Data_Science_Specialization | 508ae912b1de710ba0be9ecd598bc78cd955f702 | 7d89e770ea724a58c3e3852c8329bfd9da68e2b4 | refs/heads/master | 2020-03-18T08:43:51.630036 | 2016-09-25T15:14:13 | 2016-09-25T15:14:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,455 | r | model.R | setwd("F:/Taufeeq/ML/Data Science/10. Capstone/Task0")
getwd()
# required library
library(data.table)
library(parallel)
library(tm)
library(stringr)
library(SnowballC) # Provides wordStem() for stemming
library(RWeka)
library(stylo)
library(markovchain)
dir()
options(mc.cores = 2)
# ********************************... |
fce6fe42782c992bce90a193be2070bd3169d29a | 77626deb51b6785f43241084a7c77aa158c00298 | /R/prepareJSON.r | 13afc28818deaaa3379208c41920e3aea2c9690e | [] | no_license | cran/filterviewR | 49b56f84ea69b0418eaf40c3178fa5dc1d2846c9 | 3cd48114b33d2400eb3b861f94e57a13f1da860d | refs/heads/master | 2016-09-05T15:45:47.218523 | 2012-02-28T00:00:00 | 2012-02-28T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 561 | r | prepareJSON.r | #' Returns a JSON object from a data frame.
#'
#' @param df input dataframe
#' @param cols numeric vector of columns to use
#' @param cnames string vector of column names
#' @export
#' @examples
#' library(rjson)
#' three_cluster <- data.frame(fromJSON(file = system.file("data2", "three_cluster.json", package="filtervi... |
3fecf6a4f4a9066b901e6d107c6c418ef3e54bd2 | adc6d6ee825cbc93f0573d88c5222c2fffb6fa3f | /serend_pipeline.R | 3ae8e343a4a43bc75e24dd2a7e4c6a4cd7b4b529 | [] | no_license | dschlauch/workspace | 53dc2021ca8cd2fa59e7cbf6e3dfbf36175ae048 | 4788a672e50b02d701b6a2e73aae4a73f48c7133 | refs/heads/master | 2020-05-21T04:25:09.113078 | 2017-04-28T00:38:28 | 2017-04-28T00:38:28 | 43,386,682 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 782 | r | serend_pipeline.R | yeastDir <- "~/gd/Harvard/Research/data/YeastData/"
motifs <- read.table(file.path(yeastDir,"YeastData_Motif.txt"), stringsAsFactors=F)
transFactors <- as.character(unique(motifs[,1]))
lapply(transFactors, function(tf){
write.table(cbind(motifs[motifs[,1]==tf,2:3], 100, 1000, "forward"), file=file.path("~/gd/Harva... |
5cd9f1358ca17981c085a6c99f07b42f651a90bc | a69d03eb40a4b015eceb68fe173968006681c5ca | /cachematrix.R | 16e29ca1dfab82c2d0bb289220b0f063d09f6897 | [] | no_license | dfelker11/ProgrammingAssignment2 | ea97247fc1af7a0972c1bc0afcf4b1614ecdf1e6 | 7c37d3f30e4e2c22dd595a8f76b3924cf90a7832 | refs/heads/master | 2020-12-03T05:28:01.685901 | 2015-10-19T20:42:14 | 2015-10-19T20:42:14 | 44,559,472 | 0 | 0 | null | 2015-10-19T19:47:04 | 2015-10-19T19:47:03 | null | UTF-8 | R | false | false | 1,141 | r | cachematrix.R | ## This code creates a function to calculate and cache the inverses of a matrix
## Creates a special matrix objset that can cache its inverse
makeCacheMatrix <- function(x = matrix()) {
inv <- NULL # initialize
set <- function(y) { # new function where value is cached
x <<- y
inv <<- NULL
... |
52afdbb0c74fdc765c8880234d177751325379d6 | 513e99e0b775fbe404234c15c06f01a61b5beca8 | /man/encoding.Rd | 80061a771c0cb7396c31b90e25e360003c1aac59 | [] | no_license | cran/tau | 726f57c1ef88ec69674ae47a781edfbc5bd95768 | 9c6888a56d01979348e4228742ffaa0278362a5c | refs/heads/master | 2021-08-04T05:58:45.982510 | 2021-07-21T10:07:16 | 2021-07-21T10:07:16 | 17,700,370 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,556 | rd | encoding.Rd | \name{encoding}
\alias{is.utf8}
\alias{is.ascii}
\alias{is.locale}
\alias{translate}
\alias{fixEncoding}
\title{Adapt the (Declared) Encoding of a Character Vector}
\description{
Functions for testing and adapting the (declared) encoding
of the components of a vector of mode \code{character}.
}
\usage{
is.utf8(x)
i... |
c131955fe3a234dbbb2631f6ffdc594f34c97607 | 08dd50d111221d8be31c9331812b41006b2e2e16 | /Actividad.R | 3ec94cb741f70629648d7cd236647d74b4a93d2f | [] | no_license | gerardolml/Piramide- | e6f9d5c2eef7b41c7a0a7592af29d2adeaaff581 | 5bc788bbfa6a3306fbe680208558b894677dacb7 | refs/heads/master | 2023-01-27T20:39:49.871277 | 2020-12-09T00:56:17 | 2020-12-09T00:56:17 | 319,801,379 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,228 | r | Actividad.R | library(readxl)
library(tidyverse)
library(magrittr)
Tasas<-function(estados,anio){
indicadores<-read_xlsx("Indicadores demográficos (1).xlsx")
edad<-c("00-05 años","06-11 años","12-14 años","15-17 años",
"17-19 años","20-24 años","25-29 años","30-49 años",
"50-64 años","64 años y mas")... |
97ea44c080d5a29007658c1dbef98e75edd12cee | 304e5b878bbe66d6bc44738ef96123eef9ae052f | /plot2.R | 38c6247d6abdba4807f75bf471aad82d718d5729 | [] | no_license | P-Chevalier/ExData_Plotting1 | 699836b1a8d12bb307a094d6f5e474d5985a2113 | 6bb7eb2a7e49ecb792d0a3fa069109b551c34d4d | refs/heads/master | 2020-12-02T15:04:52.704018 | 2015-07-10T15:52:10 | 2015-07-10T15:52:10 | 38,649,273 | 0 | 0 | null | 2015-07-06T22:13:21 | 2015-07-06T22:13:21 | null | UTF-8 | R | false | false | 1,244 | r | plot2.R | # plot2.R
# Usage: source plot2.R
# This script expects the data file household_power_consumption.txt to be in the
# current working directory.
# This script requires the data.table library.
# The data file should downloaded and then unzip'ed from the following location:
# https://d396qusza40orc.cloudfront.net/exda... |
a5599580adbd1dc546d90840c4d639cb6bfb510f | 4324922f5ff6c667e912f42170a7a71ed448c6f8 | /R/recommend.R | 23ad97b98e53887c27f65523322df36855a93bcb | [] | no_license | tera-insights/gtStats | 6db22e2847bc723fb3d30e688921e3b26683c016 | 7b5ebcd74cb32abc9a2803d17dad5077de07af3a | refs/heads/master | 2020-04-04T10:39:07.429581 | 2017-06-06T14:42:55 | 2017-06-06T14:42:55 | 25,887,912 | 1 | 1 | null | 2016-07-01T20:58:39 | 2014-10-28T20:08:22 | R | UTF-8 | R | false | false | 1,349 | r | recommend.R | Recommend <- function(data, ..., outputs = error) {
gby1 <- eval(call("GroupBy", Read(gs_streams), groupAtts = as.symbol("songid"),
substitute(Count(inputs = tsadded, outputs = Count1))))
gby2 <- eval(call("GroupBy", Read(gs_streams), groupAtts = as.symbol("userid"),
substitu... |
06c118e3ed11cde0c6b4c6bf606fc9789fd9ff56 | c26ebaab8d53325944046390c71905752ad71a48 | /R_codes_and_data_sets/BLMM_Peak_Licks.R | c1c63dda82867f4c2620135e74de37b4f554aa60 | [] | no_license | GELopezTolsa/Timing_and_SIB | 4f131cd7070e5455b78b10b84e0aff413c041046 | be567365cf3171a6f0e2ed1c40a514cd775061da | refs/heads/main | 2023-05-04T04:19:46.566005 | 2021-05-27T21:18:17 | 2021-05-27T21:18:17 | 356,766,651 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,166 | r | BLMM_Peak_Licks.R | rm(list=ls())
library(brms)
setwd("~/Dropbox/Doctorado UNED/PhD Thesis/FI+SID/R_FI_SID")
data <- read.csv("data_peak.csv")
m0 = brm(formula = Peak ~ (1|Subject),
data = data, chains = 4, iter = 2000,
cores = getOption("mc.cores", 2L),
control = list(adapt_delta=0.99, max_treedepth = 12),... |
5cb206f5ae777c36ca03dab663827525093e68e3 | 7ae196f6cf7a7f859eaa3cb75ac4662a323382db | /aquarius DA/lab4_boosting1.R | 2e7a6534f86bc7e255aa7d5c91573eb3343ef5e3 | [] | no_license | priteshmaheshwari/DataAnalytics2021_Pritesh_Maheshwari | dda90b2cda7b5a14609aa449ff493408a3e0d91d | 7e3d9587cc3bbd8acfe6dbc17ac467ba44b78c58 | refs/heads/master | 2023-03-28T20:17:03.759601 | 2021-03-29T02:06:35 | 2021-03-29T02:06:35 | 335,808,943 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 932 | r | lab4_boosting1.R | require(ggplot2) # or load package first
data(diamonds)
head(diamonds) # look at the data!
#
ggplot(diamonds, aes(clarity, fill=cut)) + geom_bar()
ggplot(diamonds, aes(clarity)) + geom_bar() + facet_wrap(~ cut)
ggplot(diamonds) + geom_histogram(aes(x=price)) + geom_vline(xintercept=12000)
ggplot(diamond... |
1d7745855d01b8f299a965e789e00e077dab8a26 | c1109441c484b2526232ece4c63aea9c9e7fa7f4 | /MaFMethodology/R/prune/HV/15/kruskaloutput.R | 1bdda3d50be96711b3df1e98cf9859c5fbc01664 | [] | no_license | fritsche/hhcopreliminaryresults | b8779e22ae7464afad6ee9d44654a0e4c829df92 | f63bca8cc4d55b9ce1eeb6f36fae25b771dc1790 | refs/heads/master | 2022-03-27T02:13:44.500907 | 2019-12-09T12:04:10 | 2019-12-09T12:04:10 | 224,172,874 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 634 | r | kruskaloutput.R |
Kruskal-Wallis rank sum test
data: ARRAY and categs
Kruskal-Wallis chi-squared = NaN, df = 5, p-value = NA
HHCOR2LPNORM HHCOR2MINMAX HHCOR2SDE HHCORandomLPNORM HHCORandomMINMAX
HHCOR2MINMAX 1 - - - -
HHCOR2SDE 1 1 ... |
a93757a447448478ac0594e66f2f6f9bac5d983c | 9a4d33b3aa79c9684867c8e038659573932cb429 | /man/predict_knn.Rd | 18671fe0e8985421f7e3b5fedcd6565f3120ff48 | [
"MIT"
] | permissive | joshloyal/STAT542 | 795fd29cdfff4628b28dc4b72739a86bbfc647bf | 4659eb828047f6fbaca386e687cd67ed0c988b16 | refs/heads/master | 2021-07-09T05:16:33.612467 | 2017-10-07T00:45:44 | 2017-10-07T00:45:44 | 102,968,018 | 5 | 1 | null | null | null | null | UTF-8 | R | false | true | 874 | rd | predict_knn.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/neighbors.R
\name{predict_knn}
\alias{predict_knn}
\title{K-Nearest Neighbor Predictions}
\usage{
predict_knn(X, Y, x_query, k, dist_func = mydist, ...)
}
\arguments{
\item{X}{dataset of shape [n_samples, n_features]}
\item{Y}{target vector ... |
3bf558817c38cc83376ba38d11d2ee7083d6f163 | 927e74b280556daae5b90929a1586aec858dbdb7 | /R/zzz.r | 4b8b566b0d8061a6d0a2a0591fcde19595e21667 | [] | no_license | alfcrisci/rWeatherITA | 37ff6ebcb2842e680d3419abdae3f270a771980d | 8f4c39438894e2d6f94402c799392c0ce56c34c0 | refs/heads/master | 2020-12-24T06:42:21.603561 | 2016-11-28T15:39:39 | 2016-11-28T15:39:39 | 52,808,245 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 279 | r | zzz.r |
.onAttach <- function(libname, pkgname) {
packageStartupMessage("Welcome to rWeatherITA package.")
}
.onLoad <- function(libname, pkgname) {
if(!require(GSODTools)) {devtools::install_github("environmentalinformatics-marburg/GSODTools","develop")}
library(GSODTools)
}
|
6060dff7d0d33d4b391cfa1a845d7dcad3d612b4 | 79afffae6d108b1a93aea7c72a55cf1fc7247498 | /man/nnr.rd | 5dce58c59680dc281fa1b40f0d04b1cf747c45b8 | [] | no_license | cran/assist | efbbad8da52741412f5dc933457774672de90b12 | 866a22f739a0e84d8631044225e3676651c987f2 | refs/heads/master | 2023-09-01T13:13:28.031385 | 2023-08-22T07:00:02 | 2023-08-22T07:30:44 | 17,718,448 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,248 | rd | nnr.rd | \name{nnr}
\alias{nnr}
\title{
Nonlinear Non-parametric Regression
}
\description{
Fit a nonlinear nonparametric regression models with spline smoothing based on extended Gauss-Newton/Newton-Raphson and backfitting.
}
\usage{
nnr(formula, func, spar="v", data=list(),
start=list(),verbose=FALSE, control=l... |
d09877291585415a1b92919b1c4deaed8f4743b9 | cc4232590de5ed93b4606581bb96b38e207e88ea | /man/exprSet2cellcycle.Rd | 041f0528b94b3ad4edd332b0d980ad9353943e87 | [] | no_license | faker1c/BPscRNAseq | 47d3a690f1427810738f2049008e7849ed12adc6 | d1948ba690583be0890cc6ce42ba5f12bd1ffe42 | refs/heads/master | 2020-05-04T20:29:07.402323 | 2018-08-22T03:53:52 | 2018-08-22T03:53:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 832 | rd | exprSet2cellcycle.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/exprSet2cellcycle.R
\name{exprSet2cellcycle}
\alias{exprSet2cellcycle}
\title{Assign cell cycle status based on expression matrix}
\usage{
exprSet2cellcycle(exprSet, geneType = "ensembl", species = "human")
}
\arguments{
\item{exprSet}{The ex... |
ec8108bab1820752d1cc53a0523851eb3159e0c9 | 9571a2c8c77a96dcc90fc54112c97b0926f0e3cf | /workshop/R_course/linear.R | ec88f4a3816d8707a619a7478683e76cbcff8136 | [] | no_license | wnarifin/wnarifin.github.io | 58ce0b6e777cbccd2f7d806c9dabbb5fb8f1ad22 | 141a021293d9eed7fdedde5857dac00ba4dfc656 | refs/heads/master | 2023-09-04T12:05:53.696075 | 2023-08-28T06:17:32 | 2023-08-28T06:17:32 | 96,778,033 | 3 | 5 | null | null | null | null | UTF-8 | R | false | false | 5,421 | r | linear.R | #--------------------------------------------------------
# A Short Course on Data Analysis Using R Software (2017)
#--------------------------------------------------------
# Wan Nor Arifin
#--------------------------------------------------------
# Linear regression
#--------------------------------------------------... |
f9fdfa7092fd394f83f27b3712327a261d9c54c2 | 172c131b7456c76b300d5c7213528b281617db8d | /man/print-methods.Rd | 2bb7e2ade86a0f9971cc2faf9b3aacc46d5ad2cd | [] | no_license | cran/momentfit | 7b23f8d5ed63e32cc4ba368277a106acc4dc8618 | b7c29f7d8b6f4c3fa0ea5356409b654ede8c8df7 | refs/heads/master | 2023-06-08T23:42:57.900725 | 2023-06-05T14:20:02 | 2023-06-05T14:20:02 | 237,930,018 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,057 | rd | print-methods.Rd | \name{print-methods}
\docType{methods}
\alias{print-methods}
\alias{print,confint-method}
\alias{print,mconfint-method}
\alias{print,ANY-method}
\alias{print,momentModel-method}
\alias{print,gmmfit-method}
\alias{print,gelfit-method}
\alias{print,sgmmfit-method}
\alias{print,rlinearModel-method}
\alias{print,rslinearMo... |
9c916375e56150ab82e31825820b9788c0a4e4aa | b80560f563cfd9a6a5e25c98dd1221e1161ffa0a | /R/segmentation.R | 6b948105d4b0a9c9a44ec9d221e8006cf03d418e | [] | no_license | tridentasf/segmentation | ed129e68751638051c509d4f72e8a1ab0674e74f | 127118dc15e973ed6ab52a85c4d3838c6d8e416c | refs/heads/master | 2021-01-15T11:46:33.175777 | 2015-05-14T12:52:33 | 2015-05-14T12:52:33 | 35,567,452 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 147 | r | segmentation.R | getSegment <- function(answers) {
#load("data/segment_fit.rda")
pred <- predict(segment_fit, newdata=answers, type="class")
return(pred)
} |
9f102bfe58f4279ce5b9369d1b8c1a3a015f09a2 | cd812e9a7d34e00a26ce8bdcf81b5eb2d43a4a66 | /t=0.R | c22af6d3173c27b61eca3f7c0956d8a8321dc451 | [] | no_license | anniekellner/ch1_landing | e0644f8b97578dbae499530e20658691b100f99b | f71c76e0e40761cc0b6606bacedf560119b2d1da | refs/heads/master | 2022-12-07T22:50:23.557591 | 2022-12-02T22:31:48 | 2022-12-02T22:31:48 | 140,736,188 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,223 | r | t=0.R | #########################################################
### DETERMINING TIME OF ORIGIN FOR TTE MODEL ##########
#########################################################
# Calling t= 0 on average date when SIC is ~ 50% over the shelf and falls shortly thereafter.
# 50% is considered the lower threshold for suitabl... |
5737ff02458b434d2aa074faec0230e9a7b7257f | 0e26112fdff7dd8beacd4a51e38014833a5ebdf7 | /src/41_fullPT_summaries.R | 2b113ffd3dc57d4fc249e62e413e95a917ef5c48 | [] | no_license | jkbest2/tunabayes | 278fd782d92c60432c01fcf125e48e6ad489a3b6 | 4911af91a7b8d614392b3039dd86026c341a2982 | refs/heads/master | 2020-07-15T02:57:17.951095 | 2019-11-14T04:04:12 | 2019-11-14T04:06:57 | 205,463,789 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 308 | r | 41_fullPT_summaries.R | source("src/40_postprocess.R")
fullPT_fits <- readRDS("results/fullPT_fits.Rds")
fullPT_summaries <- summarize_posteriors(fullPT_fits)
saveRDS(fullPT_summaries, "results/fullPT_summaries.Rds")
fullPT_diagnostics <- diagnose_fits(fullPT_fits)
saveRDS(fullPT_diagnostics, "results/fullPT_diagnostics.Rds")
|
c08a66fa0367d4f48dc375e00742f765e0424efe | ad21d3e027aa8d6b23f4ffa91c811bf686d77a9d | /done-r/seouldongMap.r | 137e999fa4b94165cde103b6041f2937ddbf987c | [] | no_license | i-hs/R-project1 | 834462e81815ebeb70830bcb7bf0cac5760dfa90 | dde28b1e722acf4ce2b5d5587e7141dc9367b9be | refs/heads/master | 2022-11-18T14:10:41.379385 | 2019-12-12T01:54:28 | 2019-12-12T01:54:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,086 | r | seouldongMap.r | #서울 지도 시각화
rm(list=ls())
install.packages('ggmap')
install.packages('ggplot2')
install.packages('raster')
install.packages('rgeos')
install.packages('maptools')
install.packages('rgdal')
library(ggmap)
library(ggplot2)
library(raster)
library(rgeos)
library(maptools)
library(rgdal)
setwd ('C:/dev/R-project1') # 프로젝트 폴더... |
f66f2dc62f9959d065ccd198ebe94426f91e9f37 | 4c92bcc96d9f86da59f05367cf3293c688e0732e | /Baby Names Analysis/Baby Names Script.R | e3abbd6b13f5ac69ac2bc5f5f873d0f4ff736658 | [] | no_license | karlgourgue/R-Projects | 0406693c9d05aac7a4a0cd0ebdae88176afdc03d | a3d7bb416662e537992f2e36b18d350c8557568a | refs/heads/master | 2020-05-27T21:21:04.967779 | 2017-03-02T19:43:50 | 2017-03-02T19:43:50 | 83,666,984 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,026 | r | Baby Names Script.R | # Part 1, Loading Files Into R
a = seq(1880,2014)
babynames = NULL
#Files are in a folder with csv files, each labeled "yob1880.txt" -> "yob2014.txt"
for (i in a) { #a loop that loads each file into a df "babynams"
temp = read.csv(paste("yob", toString(i), ".txt", sep=''), header=FALSE)
b = c(rep(i, nrow(temp)))
... |
3d630c08ed6c533efedcf6362872785e4a5113e2 | 3c38d8cbe00ffb6d1150682ea1f3c79acfc33d96 | /timings/7a8a49d0b763c0abed4eae1c1e08bbeb3c2c928d/grattan/tests/testthat/test_lf_inflator.R | 0393170f9162c649d30e09ded3eee60fe7c489a8 | [] | no_license | HughParsonage/grattan | c0dddf3253fc91511d122870a65e65cc918db910 | cc3e37e1377ace729f73eb1c93df307a58c9f162 | refs/heads/master | 2023-08-28T00:12:35.729050 | 2023-08-25T08:02:25 | 2023-08-25T08:02:25 | 30,398,321 | 26 | 11 | null | 2022-06-26T15:44:27 | 2015-02-06T06:18:13 | R | UTF-8 | R | false | false | 2,666 | r | test_lf_inflator.R | context("lf inflator")
test_that("Error handling", {
expect_error(lf_inflator_fy(from_fy = "2012-13", to_fy = "2099-00", allow.projection = FALSE), regexp = "to_fy are in labour force data")
})
test_that("upper and lower series produce higher and lower forecasts", {
expect_gte(lf_inflator_fy(labour_force = 1,
... |
cbdd5c1a5b9d0c22cc2e75a1ba7145cc0bab4814 | 7714f332a98addb262171d2cf9aeda7f049d455d | /scripts/merge_pig_contig_bin_species_clusters.R | 2e5c7e61e614b049cb8e7e5141012749fdc9658a | [] | no_license | GaioTransposon/metapigs_wars | a6a56f77a476e0915fa82fc7b6b4b20aa8a53a75 | 115dd80ad8efff023bd0a93740c711320570eebe | refs/heads/main | 2023-05-11T05:39:25.662662 | 2023-04-28T13:18:38 | 2023-04-28T13:18:38 | 316,386,023 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,338 | r | merge_pig_contig_bin_species_clusters.R | # /shared/homes/12705859/contig_abundances/no_reps_contigs_PigBinContig.csv 1762877983
# pig,bin,contigName
# 29667,bins.13.fa,k141_100
# 29778,bins.130.fa,k141_100
# head no_reps_contigs_PigBinContig.csv -n 1000 > test1
#
# /shared/homes/12705859/cdhit_work/cd_hit_onMacrel/contigs_all_clusters 5964739
# pig,contig,OR... |
77b3c7e8c5632d3bb4124f4483241ac416fc45d5 | 688152e35866f78a078a078fb9a679c16979535f | /soogeunz/data_gen_sparse_ortho_eigenvectors.R | 57fb2b8904e81730e4cd3a25da4999d324224a3a | [] | no_license | davidevdt/sparsePCAproject | b134aea9c2a8a421e98b6f7573a45da5d3178fa1 | 245debf534e82ffe9289a87299520358ba3c16e1 | refs/heads/master | 2020-03-21T00:29:26.245232 | 2019-03-25T13:05:01 | 2019-03-25T13:05:01 | 137,896,218 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,571 | r | data_gen_sparse_ortho_eigenvectors.R | # data generation through sparse and orthogonal eigenvectors = right singular vectors #
# this is a trick that allows specification of sparse and column-orthogonal matrix #
# (original) PCA always has column-orthogonal W and P which are equal to each other.
# with this trick we can make sparse W and P which fulfill t... |
e2443de7db6fd35a9fe7bdf3dbd1f49643d56fed | 770629c2b2a09f0c2fda4e80bd1f66a2af8a16bb | /R/event.convert.r | 5f748db55ae16f97a996f9b612310f8b27053a99 | [] | no_license | cran/event.chart | ca731bbe21920da8d1d8e4559c1f188747845782 | 2ee6d0a7fb57ac7d2ac93bc11fa92f2ce92fe1f7 | refs/heads/master | 2021-01-20T15:42:38.622206 | 2001-09-22T00:00:00 | 2001-09-22T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,362 | r | event.convert.r | # event.convert.r
# convert 2-column coded events to multiple event time for event.chart()
# input: a matrix or dataframe with at least 2 columns
# by default, the first column contains the event time and
# the second column contains the k event codes (e.g. 1=dead, 0=censord)
# ouput: a m... |
6a495a36e795bf48441eb7b1321c69fb8968c03f | 5f179d46db7e5e6c93e8d54b29170e55d57f6513 | /tests/testthat/test_04_Utility.R | 900e841d1cbb5e8610b911a20e57c1db6dea6058 | [] | no_license | BenEngbers/RBaseX | 727538fab9a10ad72496c2e2eb1d3d6fe81f8be0 | 64a3de8bd3d0e31cb9789a8bf30fa89a50f4729c | refs/heads/master | 2022-11-09T03:55:29.343796 | 2022-11-05T00:25:37 | 2022-11-05T00:25:37 | 243,994,987 | 8 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,413 | r | test_04_Utility.R | test_that("Sequence result is converted to frame", {
skip_unless_socket_available()
Session <- BasexClient$new("localhost", 1984L, username = "Test", password = "testBaseX")
Query_1 <- Session$Query(paste("declare variable $name external;",
"for $i in 1 to 3 return ( element { $... |
666718f5895a2385e1f163354b402a02ff1e07d7 | 27beee90fec3e1279a18ec239db1bb37329773fe | /man/reexports.Rd | b480e7fe908ca122f9eb78eaf2d681294810d46e | [] | no_license | KlausVigo/treeio | 1fc9256c013081272ba11b799a95bb944814a4be | 7930e284ad9f5eddaf9bee9c7d7a7117fbee3dde | refs/heads/master | 2021-08-29T08:01:06.835100 | 2017-12-13T13:42:48 | 2017-12-13T13:42:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 879 | rd | reexports.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ape.R, R/method-as-phylo.R, R/reexport.R
\docType{import}
\name{reexports}
\alias{reexports}
\alias{read.tree}
\alias{reexports}
\alias{read.nexus}
\alias{reexports}
\alias{rtree}
\alias{reexports}
\alias{write.tree}
\alias{reexports}
\alias{... |
e65097cf196ace85462fea73c8b5c84b144e2324 | 090d33f72f95302d1488d1388499b53ecc919901 | /R/summaries/psrf.R | 8307c43573f1e1b3312ba82d56b6fe08a0521167 | [] | no_license | wlandau/normalization | f598d7418e24b14835323166bf327714b25ff947 | e34b13f05e86f2ded3fdff90dcedf2a31b21fde1 | refs/heads/main | 2021-01-20T20:11:01.737905 | 2016-06-21T01:04:23 | 2016-06-21T01:04:23 | 61,324,378 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 298 | r | psrf.R | # Compute Gelman-Rubin potential scale reduction factors.
# Only keep the important ones above 1.1.
#' @param obj list of fbseq::Chain objects
summary_psrf = function(obj){
p = psrf(obj)
p = p[is.finite(p)]
p = p[p > 1.1]
p = sort(p, decreasing = T)
p = p[!grepl("epsilon", names(p))]
}
|
4234d46a5e67fb71608065d118a8938490a0379f | 49c6a26bf15df25ed7b3099e214cf50875b106dd | /01.categorical_analysis/00.data/Chapter6/MP5.1.R | aaac55aecba81aa746f7470852f9d8d6c162d162 | [] | no_license | yerimlim/2018Spring | 2331d72153c8520664367698c1996bd13d71572f | d05131effd2051f703baa2967521d9708ce0551c | refs/heads/master | 2021-09-10T10:02:47.741598 | 2018-03-24T08:29:18 | 2018-03-24T08:29:18 | 126,101,542 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,522 | r | MP5.1.R | #####################################################################
# NAME: Chris Bilder #
# DATE: 5-17-13 #
# PURPOSE: Example 5.1 of Mehta and Patel (1995) #
# ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.