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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d8bea0d483ba3bcf5980c2a54ccead68feaa8548 | 55e042f05ee3da0db86ecfb806c0e695382a843d | /tests/testthat/test-parse-remotes.R | 5caef05f2883a5220ee7f9d63b3d9b10e0b3bd60 | [
"MIT"
] | permissive | r-lib/pkgdepends | f507dfe031e34c994311ca9a139dda9a6d7e016a | a0f5132320498780c8b87ce8eb4f66e754906376 | refs/heads/main | 2023-08-03T15:56:48.339228 | 2023-07-19T09:13:42 | 2023-07-19T09:13:42 | 102,942,545 | 86 | 23 | NOASSERTION | 2023-09-11T20:44:59 | 2017-09-09T09:17:38 | R | UTF-8 | R | false | false | 8,613 | r | test-parse-remotes.R |
test_that("package_name_rx", {
good <- c("A1", "a1", "Z1", "z1", "foo.bar", "foo.bar.baz", "a1.b2")
for (t in good) expect_true(is_valid_package_name(t), info = t)
bad <- list(
c("pkg", "forbidden"),
c("pak\u00e1ge", "ASCII"),
c("good-package", "letters, numbers and dot"),
c("x", "two character... |
1e08cf174881de1cfb1d8aaf3e75ef38883c7af9 | b374790d0cb13fa5ac55decb7b5316a70a98125e | /Part 2/Part 2 - A/A2.R | 8a6cfac785db310839bddcd630f3f467359e85ed | [] | no_license | pathaksid03/Machine-Learning-Project | fdeb70d0af4e0bdcd15ca13891b4c9f4fa5787fd | d41be7bfaa214e812e889e3908a530cba7ae91eb | refs/heads/master | 2021-01-21T21:32:45.416764 | 2016-07-20T16:33:46 | 2016-07-20T16:33:46 | 55,130,288 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 197 | r | A2.R | # code to show most popular name
df= out[,1:5]
# data frame carrying sums of frequencies
df1 =data.frame(summarize(group_by(df,Name), sum(Fr)))
popu <- df1[which.max(df1$sum.Fr.), ]
print(popu)
|
941a868f723d463c0be1e386087bae47298efb24 | 4c9d2d93b2fa8661cc959320bef1d31384f9e89a | /R/kaggle-datasets.R | 8fd61a403078c9f6974ecedd9631b322614f5e5a | [
"MIT"
] | permissive | abdala9512/dareML | 5a0d602fc28821e7f024543f4291bd172838ef16 | 9473f1eb81e277419e42cd1fdfef72b259c19c08 | refs/heads/main | 2023-06-20T08:22:04.492566 | 2021-07-09T02:49:12 | 2021-07-09T02:49:12 | 324,870,579 | 0 | 0 | null | 2020-12-28T00:43:49 | 2020-12-27T23:47:25 | null | UTF-8 | R | false | false | 95 | r | kaggle-datasets.R | # https://gist.github.com/nonsleepr/146e247f40ffb0ce3281
# https://github.com/mkearney/kaggler
|
32095221e45faa8ed91d59b01a1686a8beaebe44 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/imbalance/examples/trainWrapper.Rd.R | 63270394924871690a857d9d5120ed313ee9b530 | [] | 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 | 288 | r | trainWrapper.Rd.R | library(imbalance)
### Name: trainWrapper
### Title: Generic methods to train classifiers
### Aliases: trainWrapper
### ** Examples
myWrapper <- structure(list(), class="C50Wrapper")
trainWrapper.C50Wrapper <- function(wrapper, train, trainClass){
C50::C5.0(train, trainClass)
}
|
31268614c33d696e026dc11ade0c4a580853494e | 29585dff702209dd446c0ab52ceea046c58e384e | /meta/R/rmSpace.R | 5456f250f4915e98bfa8138f9fde70c31f4be8b5 | [] | 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 | 439 | r | rmSpace.R | rmSpace <- function(x, end=FALSE, pat=" "){
if ( !end ){
while ( any(substring(x, 1, 1) == pat, na.rm=TRUE) ){
sel <- substring(x, 1, 1) == pat
x[sel] <- substring(x[sel], 2)
}
}
else{
last <- nchar(x)
while ( any(substring(x, last, last) == pat, na.rm=TRUE) ){
sel <- subst... |
08c9acca676b0f440df6ed126a924b0f627077d0 | 0dc54e49ef44041a15817fa0a44585edc3416790 | /Project4/Main.R | f65328a8c671f9b18009672f286ba32025be4061 | [] | no_license | danmandel/MachineLearning | b088e99f04013f3722ed2424c504d8a53ff084b3 | 4e1f0d12a0e7d5b6607d103e62240de057727802 | refs/heads/master | 2020-04-14T03:05:35.592369 | 2015-04-26T05:35:17 | 2015-04-26T05:35:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 162 | r | Main.R | library(caret)
library(ggplot)
library(e1071)
library(rpart)
getSymbols("UUP")
daily <- dailyReturn(UUP)
daily <- na.omit(daily)
t <- 10
k <- length(daily[,1])
|
c8b5d80a37b2555c8fc631d8a1d2c68dce0fadf7 | faeb705a3e879b5d4341a840e09a7c3e9edfb7ea | /ProgrammingAssignment2/cachematrix.R | 9b5f3f4ecef2df91f2cb2b8312137b653da61da2 | [] | no_license | Dzirik/Recent_Projects | 472630b2f252fdfdb064a506595ae5f3e0fc2bf3 | 515de13a5a109e0217fed85a54a42f2c7fd81189 | refs/heads/master | 2020-06-05T13:52:16.326821 | 2015-09-20T13:01:21 | 2015-09-20T13:01:21 | 42,812,998 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,758 | r | cachematrix.R | ##19.06.2014
##functions for caching matrix and its inversion
## function "makeCacheMatrix" creates an object for storing matrix and its inversion
## usage and test of function "makeCacheMatrix"
## M<-makeCacheMatrix() #creating an object
## M$set(matrix(1:4,nrow=2,ncol=2)) #iserting a matrix into it
#... |
12f6f2d981ae4aa0e89b526538acc54a534d5543 | faf1f580595ad6912c1184858792870d88b965ff | /tablas/estadisticas01.R | cbca2ed0b5745a35635cb84a2b186ab3d29a226c | [] | no_license | EncisoAlvaJC/TESIS | 732cb07f5488a388ad4b6f2417717a6262817c0d | c2bad0f255e7d5795d2ac63c80e65e3d752ea5f8 | refs/heads/master | 2021-01-09T05:34:36.738141 | 2018-08-08T20:46:52 | 2018-08-08T20:46:52 | 80,755,604 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,045 | r | estadisticas01.R | # leer las variables
if(TRUE){
edad.ctrl = scan()
edad.pdcl = scan()
escol.ctrl = scan()
escol.pdcl = scan()
neuropsi.ctrl = scan()
neuropsi.pdcl = scan()
mmse.ctrl = scan()
mmse.pdcl = scan()
sast.ctrl = scan()
sast.pdcl = scan()
gds.ctrl = scan()
gds.pdcl = scan()
total.ct... |
48c4cecf5e23be3278a2e21d19c656404e100352 | 2bd3e91fc6be90f3e25c4c9f28846cf6e144686e | /Sampling/ECO6416_OLS_On_Repeat.R | 9fa7eb66013e51e0f2088bdf21cea36dadabcdd4 | [] | no_license | LeeMorinUCF/ECO6416 | 5b809b79ce5ce2d34bad4995fe2b449bf3f9ad7e | 7b411261bb722fa2044b51b23ab49ba30abb9232 | refs/heads/master | 2022-12-10T13:45:08.760651 | 2020-09-12T02:46:56 | 2020-09-12T02:46:56 | 291,760,781 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,377 | r | ECO6416_OLS_On_Repeat.R | ##################################################
#
# ECO 6416.0028 Applied Business Research Tools
#
# OLS Regression Demo
# Simulation with repeated estimation
#
# Lealand Morin, Ph.D.
# Assistant Professor
# Department of Economics
# College of Business Administration
# University of Central Florida
#
# September 9... |
fa8f28f8d7be65355ec66c9bd5eca14bd2805d01 | 98d1a4a349a2a916cca89ba8eb3e20b3ee68c84b | /R/protect_smooth.R | 03bcb483bec0b908dd8d81d7892fcbd44a345804 | [] | no_license | edwindj/sdcSpatial | 31b23f1c47dd2e90fd40fc822047e4c4d5358069 | 750d8ff7da14499a79ba9465e8e3ce7b92370aff | refs/heads/master | 2023-08-02T19:24:56.369292 | 2023-07-28T13:43:44 | 2023-07-28T13:43:44 | 135,307,240 | 11 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,840 | r | protect_smooth.R | #' Protect a sdc_raster by smoothing
#'
#' `protect_smooth` reduces the sensitivity by applying a Gaussian smoother,
#' making the values less localized.
#'
#' The sensitivity of a raster can be decreased by applying a kernel density smoother as
#' argued by de Jonge et al. (2016) and de Wolf et al. (2018). Smoothing s... |
6a695cb2aa779033bf63177a2dde60aa34da2c1d | c3f6f9c917eb7c56780c162f164f0b7e5a88d099 | /cachematrix.R | a7ca996adda32517888649867212f611e6963888 | [] | no_license | matt-d-walker/ProgrammingAssignment2 | ffee3c5dd3e2e23d2d9b9649d0b0d024748a7180 | 02a765e8da11b9c487b8bf4de79e2374e293ecff | refs/heads/master | 2021-01-21T16:28:22.557804 | 2016-08-22T01:59:29 | 2016-08-22T01:59:29 | 66,121,998 | 0 | 0 | null | 2016-08-20T01:27:19 | 2016-08-20T01:27:18 | null | UTF-8 | R | false | false | 1,134 | r | cachematrix.R | ## makeCacheMatrix retuns a list of functions. The functions set and get matrix values. There is another set of fucntions that get
## and set the inverse of the matrix. cacheSolve uses the list from makeCacheMatrix and checks to see if a inverse of the matrix
## has already be calculated. If not, the matrix inverse... |
16e9215b6e5ad6b29b005fe31d690b337ed93066 | c12d5e3b1930f53a65931ae1e844382b9e44b163 | /old_isac/agingstutdy/analysis/methylation/190905_aging_bsseq.R | 7326f74b4a2f3fcb0af43135fcc766d0273ebcea | [
"MIT"
] | permissive | timplab/ambic-epigenome | 021318542060b15b71849ced9f68bd2cd2734b06 | bc0abe4e5c075906f42f1208a6992ac8497f9b44 | refs/heads/master | 2023-04-19T01:51:04.649296 | 2020-10-22T17:32:16 | 2020-10-22T17:32:16 | 120,519,523 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,244 | r | 190905_aging_bsseq.R | rm(list=ls());gc()
source("/home/isac/Code/ilee/plot/ggplot_theme.R")
library(bsseq)
# data info ----
root <- "/home/isac/Data/ambic/pooled_rep/mfreq"
regpath <- "/mithril/Data/NGS/Reference/cho/picr_ensembl/annotation/cho_picr_genes.bed"
days <- factor(c(0,30,60,90))
reps <- factor(c(1,2,3))
samples <- c("Host","Stab... |
8b63f7ae44e72abfcd644e0d24ae49901fabcc66 | d8b76f60b1a9dc4823bdad3d2ff7908a841a2bba | /Accuracy_Assessment/server.R | 19fdd4679f44e39584a6963cc8fdcc08e9d17da5 | [
"CC-BY-3.0",
"MIT"
] | permissive | DrRoad/TreeFindr | fabaa06faeee6e734c27d110b7bc01a7f217dad8 | 02aa5c0f35e19c636fd20f6caff180739eed0f5d | refs/heads/master | 2021-06-12T19:51:27.388479 | 2017-03-26T22:11:05 | 2017-03-26T22:11:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,985 | r | server.R | #server.R
library(shiny)
#source('Stem_Accuracy_Assessment.R')
shinyServer(function(input, output) {
output$contents <- renderTable({
#output raw distance matrix table
inFile = input$file
#check file is uploaded
if (is.null(inFile))
return(NULL)
filePath = inFile$datapath
... |
812902f642873b476103b9d98f05dd5ca8bd04fb | ad48fb6f81fa7baa0d923292574205bed92a39f9 | /man/rra.sgrna_summary.Rd | f70a3bc8019bfaf2011acaf0afe2e245274f23a4 | [] | no_license | jiayi-s/MAGeCKFlute | 1356ec05b5cb00fe1b043599c899646024a6b1ea | 09305825fb8bb76d41036f91e3ede3fea651f191 | refs/heads/master | 2020-05-05T11:20:06.402856 | 2019-03-26T12:30:28 | 2019-03-26T12:30:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 489 | rd | rra.sgrna_summary.Rd | \name{rra.sgrna_summary}
\alias{rra.sgrna_summary}
\docType{data}
\title{
sgRNA summary data generated by running MAGeCK RRA
}
\description{
The sgRNA summary results generated by running `mageck test` on CRISPR screens.
}
\usage{data("rra.sgrna_summary")}
\format{
A data frame.
}
\references{
\url{https://www.... |
73829df479f3848e8986d3dfc6412fb432dff042 | 8d64b5877b001fb938bfaba4b60bb92fac91b346 | /_source/a-correlation-significance-curve/a-correlation-significance-curve.R | e3cd7f8c1fa64419552eef8cdfb244f6063e4286 | [
"MIT"
] | permissive | scholargj/bradleyboehmke.github.io | c092f0d2ce350e99efd8071c4e0f05aadb69d7ba | fd24375d27d4779d3c7d2e0d978a1e6ca730d0a5 | refs/heads/master | 2023-03-03T11:40:00.906704 | 2021-02-11T16:33:22 | 2021-02-11T16:33:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | a-correlation-significance-curve.R | # This R file accomanies the .Rmd blog post
# _source/a-correlation-significance-curve/2016-05-20-a-correlation-significance-curve.Rmd
|
d60516e17653e30e0298e68341580b8339bfdf88 | fe477bab27aa3bba4b27dd6a7acfd25bb1e14ce4 | /R/MissingDataGUI-package.r | 1cd5b9ef2ec9841d2b7fe2a4b332cb09fac8db8f | [] | no_license | chxy/MissingDataGUI | b4f265b59222989c9fa1d9d9dbdc1a469d84e777 | 87f85ccc65bbe4ed62c2fbdf98a51e6061e30f38 | refs/heads/master | 2021-01-21T12:53:00.528901 | 2016-04-29T04:53:40 | 2016-04-29T04:53:40 | 1,214,952 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,193 | r | MissingDataGUI-package.r | ##' A Graphical User Interface for Exploring Missing Values in Data
##'
##' This package was designed mainly for the exploration of
##' missing values structure, and results of imputation, using static
##' graphics and numerical summaries. A graphical user interface (GUI)
##' makes it accessible to novice users.
##'
##... |
d8e42f517b8b9ec4bdc7db8ec653fe05c51cd2f1 | 18461dbdf8dd94182fba5c56845fd67baf371d69 | /man/pack.Rd | 597b54ee65af6a1366cc40cfd0899235702f94ad | [
"Apache-2.0"
] | permissive | nuest/r | 7399b5b92e4a8f2448222464b7a3630f2eae160a | 27be28837427b5e58e90c697eba581d9c6e15457 | refs/heads/master | 2020-03-16T22:03:19.423599 | 2018-05-11T10:18:41 | 2018-05-11T10:18:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 312 | rd | pack.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/value.R
\name{pack}
\alias{pack}
\title{Pack a R value into a package}
\usage{
pack(value)
}
\arguments{
\item{value}{The R value to be packaged}
}
\value{
A package as an R \code{list}
}
\description{
Pack a R value into a package
}
|
40c5d62c573f116273ff3972dac30b1050c31411 | 03fd892a9c0d9b64973af09ff96d6bdb235d2fe5 | /man/get_model.Rd | 76cba1069e309804bcef0374ddf1bac3210dbf76 | [] | no_license | duke00x-junyuangao/GA | 7d94c4d3baa5a79f62dab6e6452d5faadb28e620 | 46fedd7073278e7526a9ebd81540b3273b9cb7e2 | refs/heads/master | 2021-04-27T00:08:22.650218 | 2017-12-14T23:51:18 | 2017-12-14T23:51:18 | 111,476,886 | 0 | 0 | null | 2017-11-21T00:10:12 | 2017-11-21T00:10:12 | null | UTF-8 | R | false | true | 554 | rd | get_model.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{get_model}
\alias{get_model}
\title{get_model}
\usage{
get_model(candidate, fitness_values, method_text, X)
}
\arguments{
\item{candidate}{(binary vector length c): on or off for each columns of X
method: method for fitting}
\i... |
525f6a30c007a67b8cf153ecaf53202fea7d5894 | 6add714b854dc1f4a4d58fced9184d8334103b2a | /run_analysis.R | 4267125e3bb080935023927c24cc1f8c7e852ec3 | [] | no_license | shaharpit/getdata-012 | 87ac026b61bc2161b267d995e46b06e2e095fb8e | 039f9b5d75f58e612151c8ef211fe63d2bbb66f2 | refs/heads/master | 2021-01-21T21:49:00.796714 | 2015-03-22T23:50:26 | 2015-03-22T23:50:26 | 32,700,112 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,279 | r | run_analysis.R | ## INITIALIZE ENVIRONMENT. CHECK IF "dplyr" PACKAGE IS ALREADY INSTALLED. IF NOT, INSTALL IT.
if (!"dplyr" %in% installed.packages()) install.packages("dplyr")
library(dplyr)
## STEP 0: READ IN ALL DATA
## a) Read in feature names
features <- read.table("features.txt",stringsAsFactors=FALSE,col.names=c("Num","Feature... |
360feed165121042d1db930d01121c0d8c116769 | bca194c55442436b19599cb90989c3b9d02083d4 | /R/generate.adhb.revision.recalculated.one.event.op.patient.dt.R | a7ca06800214da36e4feeed0d470f0fc10879621 | [] | no_license | mattmoo/checkwho_analysis | 7a9d50ab202e7ac96b417c11227f9db429007c48 | 3474382423aad80b8061bfdf0a32c7632215640a | refs/heads/main | 2023-07-14T22:33:54.320577 | 2021-08-24T23:27:37 | 2021-08-24T23:27:37 | 311,141,531 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,818 | r | generate.adhb.revision.recalculated.one.event.op.patient.dt.R | ##' .. content for \description{} (no empty lines) ..
##'
##' .. content for \details{} ..
##'
##' @title
##' @param adhb.event.op.patient.dt
generate.adhb.revision.one.recalculated.event.op.patient.dt <-
function(adhb.event.op.patient.dt,
pre.period.start,
pre.period.end,
post.period... |
53da59f5aa49d44018b75c670879aaa81d1f4693 | c7a902cf2e9201641d1dd1b2aea02eec39c70efe | /man/calculate_centralities.Rd | 8506849763fa4910d4dcdc663a22bb6ff9ccaf7a | [] | no_license | cran/CINNA | cc4cc8e41eae0a93ee49078f960f3ecbcb97954e | 2323440667c6908ca7aa93cbb84574186c9e8992 | refs/heads/master | 2023-08-18T21:07:44.684850 | 2023-08-08T16:40:02 | 2023-08-08T17:30:25 | 97,342,206 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 13,272 | rd | calculate_centralities.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CINNA.R
\name{calculate_centralities}
\alias{calculate_centralities}
\title{Centrality measure calculation}
\usage{
calculate_centralities(x, except = NULL, include = NULL, weights = NULL)
}
\arguments{
\item{x}{the component of a network as ... |
25b229848e90756e6b5838f72d65860c07a67a36 | 7a44d412eedf8df51d0d11c721fdf8916d177c4a | /HW07_BhavishKumar.R | 1d55787c9a30b19e12ad73a76ff1d02cfddae46a | [] | no_license | bhavish2207/Intro-to-Data-Science-Lab | 673e6845a86eb67f1c57c57670db41a0d8739a1a | 98acf2bc18f8580f7db0b8ddf852ba270f46e249 | refs/heads/master | 2020-11-24T16:51:24.112852 | 2019-12-15T21:46:39 | 2019-12-15T21:46:39 | 228,257,347 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,702 | r | HW07_BhavishKumar.R | # IST 687
#
# Student name: BHAVISH KUMAR
# Homework number: 06
# Date due: 7th OCTOBER 2019
#
# Attribution statement: (choose the statements that are true)
# 1. I did this homework by myself, with help from the book and the professor
# Run these three functions to get a clean test of homework code
dev.off(... |
0f735331bf80fd7977e05b100bb6910df21ead71 | 8af5c25d759ee81073ad5f01b1dfcc6b18f401cb | /Assingment1.R | 3078f1495f2a8887236c03f6b96facf19ffb2ea0 | [] | no_license | Phienho/RLearning | c0c2c212071bc571ddc77e748159fa29d9bbdf9e | 1601d06d3386e4e6fadece36dd311176b73820f3 | refs/heads/master | 2020-04-27T04:35:54.974865 | 2015-10-04T07:05:09 | 2015-10-04T07:05:09 | 35,818,264 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,119 | r | Assingment1.R | pollutantmean <- function(directory, pollutant, id) {
## 'directory' is a character vector of length 1 indicating
## the location of the CSV files
## 'pollutant' is a character vector of length 1 indicating
## the name of the pollutant for which we will calculate the
## mean; either "sulfate" o... |
18ec3d4c149046c9cef169f8693c5c8c286ff45b | 4eee83253767b218d0348898633f2e3680d25ffb | /code/figures/figure_1.R | 74dae6493fb238e971df36c868350c2478e270d0 | [
"MIT"
] | permissive | Faculty-Job-Market-Collab/COVID_Job_Market_19-20 | 9a2a4c4fc904d7284d869a6990db526625428ccd | 3f74f607245b9ae348d95f6221c0e36b117230b8 | refs/heads/master | 2023-07-08T07:18:20.031093 | 2021-08-11T05:35:33 | 2021-08-11T05:35:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,629 | r | figure_1.R | #Figure 1. The Pandemic begins, mid-interview portion of the Faculty Job Search
# A/B. Offers Rescinded by field and gender----
# requires get_offers_data
fig1A <- get_plot_summary(res_demo_data, "gender", "covid_offers_rescinded") %>%
ggplot(aes(x = gender, y=percent_res))+
geom_col()+
geom_text(aes(label = r... |
def3d0fc912dbf759abafee816132b73e16fdae7 | e286830b40628a7b920c9977f1995a340e48ea46 | /R/remove_articulation_duplicates.R | 5a355182f108799a8ce99c57084ad7863a7f4d43 | [] | no_license | cran/rsetse | 48871acf46ef37e53bf5741dcd73bc467fefe7b3 | 7e412f53e2e2ca38871ec476424a32aafa0075b7 | refs/heads/master | 2023-05-25T16:50:57.098677 | 2021-06-11T09:00:02 | 2021-06-11T09:00:02 | 315,994,456 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,516 | r | remove_articulation_duplicates.R | #' remove articulation duplicates
#'
#' This is a helper function that is used to efficiently aggregate the articulation nodes after embedding
#'
#' This function uses vectors to be as fast as possible and use as little memory as possible
#'
#' @param node_embeddings A dataframe, produced after running fix_z_to_orig... |
61e232fc7fdd645f81194d63563d7eea72378eaf | 6be759453ef1cf8a1d74752f4b04652c5c19281e | /src/get_interesting_users.R | 8e1bcc4729f7f33070b06d2b3d8112872db4be2c | [] | no_license | zakroiteduet/vk_music_preference_analysis | 3f480537a4e05ade9d5944168398d301b9624842 | 9192a7398e782c65f35ad843cd49f5170ca9d150 | refs/heads/master | 2021-01-10T01:40:55.902633 | 2016-01-12T20:10:19 | 2016-01-12T20:10:19 | 49,527,047 | 0 | 0 | null | null | null | null | WINDOWS-1251 | R | false | false | 4,160 | r | get_interesting_users.R | special_artists <- c("coil",
"popol vuh",
"oneohtrix point never",
"colin stetson",
"robert wyatt",
"soft machine",
"psychic tv",
"embryo",
"glenn branc... |
a353e834fbc96646f7c403836b70b223f1459023 | c1a4c35179dd8862fbc40b09eea92e3f491a81e3 | /R/functions.R | eab65f294966439212ffb8322ed1474ae6e0347b | [
"MIT"
] | permissive | sdhutchins/documenteR | 3a5f16dbcbdb2b0369572d459e40fa28abb5e74d | 461d25295ec2bb58a4e7ad95311d4b53a07c670d | refs/heads/master | 2020-03-27T17:11:12.483900 | 2019-05-07T19:02:09 | 2019-05-07T19:02:09 | 146,833,831 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,387 | r | functions.R | #' @title Document an R object
#'
#' @description This function takes the name of an object (either an R function or an R
#' data.frame) and replaces it with skeleton roxygen2 documentation. It is used in the \code{documenter_addin()} function which is the installed R addin.
#'
#' For \strong{functions}, an empty \code... |
70a5f79d2d486df3a0c02595e0b496634ed30b4a | cca9eadf050f17e2e9775cdf3e7c00dbc0a5ecd4 | /plot3.R | 5c219ff6f61c7fcb81c3e7bf2478cf9f1193b07f | [] | no_license | venkyp8/ExData_Plotting1 | 873f8d83fe2bab2822a25dea0fafa900b1df72a4 | 260a7bd2362c58af67b7dd99b0edfaa0f32cbe85 | refs/heads/master | 2021-05-23T15:58:51.095411 | 2020-04-05T01:27:28 | 2020-04-05T01:27:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 871 | r | plot3.R | setwd("~/Desktop/Exercises/Course4")
Data<-read.table("household_power_consumption.txt",
header=TRUE, sep=";",
na.strings = "?",
colClasses = c('character','character','numeric','numeric','numeric','numeric','numeric','numeric','numeric'))
Data<-Data[Data$Date %in% c... |
951986ee8b1d612997e6e3cc34725540e1147187 | bdd21aaffe29f6e9790f98e1b90207bc1b0776f3 | /PCA.R | f4177e60edd2c2e58d2a355378b4fd753bdd1797 | [] | no_license | Green-Guo/World-of-2050 | 4f946a8c303c7b72c6bdfa766aa2b8d75d94f542 | 0f3272f1cb1ea42405246e810a2aaa2ab1abe761 | refs/heads/master | 2020-06-10T07:59:43.230789 | 2016-12-08T23:43:20 | 2016-12-08T23:43:20 | 75,984,310 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,122 | r | PCA.R | ys<-read.csv("C:/Users/Sugar/Documents/MSBA/ADV/Modeling Project/Y.csv")
xs<-read.csv('C:/Users/Sugar/Documents/MSBA/ADV/Modeling Project/result.csv')
library(xtable)
list<-list()
rmse_list<-list()
library(fpp)
for (i in unique(xs$Country.Name)){
features<-list()
print (i)
xx<-subset.data.frame(xs, Cou... |
aea519a3f9d10189bdff5f7620334f89f024476f | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/8484_0/rinput.R | a1c55854f0aaed55d9d932221d6ac58e845b8b7a | [] | 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("8484_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="8484_0_unrooted.txt") |
7a86c25b91b28cf375cc5753caf5e184882ff700 | 02b79365ee1bd0b04a866f07ca387c2454f4031f | /sb/global.R | cd2853821d6bccb900069fdee46a429c89764806 | [] | no_license | MikeMorris89/sbdr | 5e8b66d2b2bd613256a66c8533d68941e1f979e4 | 06a5aa4c39c714a35f1b5539f71b0986d824abe3 | refs/heads/master | 2020-07-03T05:15:17.558898 | 2016-11-30T07:01:58 | 2016-11-30T07:01:58 | 74,194,794 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 933 | r | global.R | # Copyright (c) 2014 Clear Channel Broadcasting, Inc.
# https://github.com/iheartradio/ShinyBuilder
# Licensed under the MIT License (MIT)
#install.packages('shinybootstrap2')
#install.packages('googleVis')
#remove.packages('googleVis')
#remove.packages('rJava')
options(shiny.fullstacktrace = TRUE)
#---------
... |
b7627080794ebe83d2cea1db19796c6a84494d67 | e5e29b60f2111cf6998b46a80cb5e034962b2cc5 | /rstuff/rmongodb/rmongodb/man/mongo.bson.buffer.append.object.Rd | 109929473542c384e8e543f06bbd13d9e0269f74 | [
"Apache-2.0"
] | permissive | BigBlueBox/GoodAndBad | 24e326862a5456b673b1928ffbb14bc1c47a4d4b | 4d2b8d3de523c3595fc21aa062eddf739f6c3a20 | refs/heads/master | 2021-01-01T20:35:55.494474 | 2014-08-24T17:56:29 | 2014-08-24T17:56:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,800 | rd | mongo.bson.buffer.append.object.Rd | % File rmongodb/man/mongo.bson.buffer.append.object.Rd
\name{mongo.bson.buffer.append.object}
\alias{mongo.bson.buffer.append.object}
\title{Append an R object onto a mongo.bson.buffer}
\description{
Append an R object onto a \link{mongo.bson.buffer}.
This function allows you to store higher level R objects in the dat... |
209cc59d8658ac5115e480dae566b5cca745b002 | 6c302a2c19baeb2c08994cd79ebdac75344395f4 | /xkcd-plots-setup.R | 342c1fa138bd4d6e1ac6653a0f411f8da719dd1a | [
"MIT"
] | permissive | damonzon/xkcd-plots | 940519e6c66fd2726cb4f32704be1d6182012abf | b61775c762c1ebbbe7f151c1a85e279fcd0f2212 | refs/heads/master | 2021-01-11T10:48:56.959074 | 2015-01-08T03:32:38 | 2015-01-08T03:32:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 998 | r | xkcd-plots-setup.R | # Setup instructions follow http://cran.r-project.org/web/packages/xkcd/vignettes/xkcd-intro.pdf
# Torres-Manzanera, Emilio. "xkcd: An R Package for Plotting XKCD Graphs."
# Libraries ####
library(ggplot2)
library(extrafont)
library(xkcd)
# xkcd font install ####
# Checking if xkcd fonts is installed
# From page 3 o... |
46c2cc0595743668175f396d1f1dd8b515ea1bbe | 98bce48ca65adc0f08ad399d107b82a29cccff4f | /scripts/simulation_sensM.R | 1724bb487a97868f185a1632de1348ff307bc81d | [] | no_license | skdeshpande91/VCBART | 9c0aa7aa03e6d63d9ac883868407d7ed109e22a0 | 7c9b95aa157882ef9cc66370e03f87db733e74f1 | refs/heads/master | 2023-08-24T11:18:45.482808 | 2021-06-28T21:38:41 | 2021-06-28T21:38:41 | 246,921,783 | 15 | 2 | null | 2021-04-26T14:10:50 | 2020-03-12T20:08:13 | C++ | UTF-8 | R | false | false | 2,045 | r | simulation_sensM.R | # Simulation study to assess sensitivity to number of trees
load("data/p5R20_data.RData")
source("scripts/vcbart_wrapper.R")
source("scripts/assess_support_recovery.R")
args <- commandArgs(TRUE)
M <- as.numeric(args[1])
sim_number <- as.numeric(args[2])
load(paste0("data/sim_p5R20/data_p5R20_", sim_number, "_sigma1.... |
6c8f16a2206d8c0ee00b7bd91e1dcb6b7721abb8 | 01fba87f693c47a73f4b2330556f898cd3d3689a | /CalculoEntropia.R | d500b563014f8e28519b0bbf9f003f6b06ba1dd1 | [] | no_license | otluiz/R-twitters | 0b793a60c13ff97a9f057a91428481d2062512c0 | e54c12f2203372c6b4b6b267dff0b00ec5ee8308 | refs/heads/master | 2021-01-22T20:25:23.671448 | 2017-05-18T00:23:02 | 2017-05-18T00:23:02 | 85,318,170 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,936 | r | CalculoEntropia.R | setwd("~/workspace/R/")
# free memory
rm(list = ls())
gc()
library("entropy")
y=c(4,2,3,0,2,4,0,0,2,1,1)
entropy(y, method = "ML")
entropy(y, method = "MM")
entropy(y, method = "Jeffreys")
entropy(y, method = "Laplace")
entropy(y, method = "minimax")
entropy(y, method = "CS")
#-------[ TODO o dataset para ser separ... |
cd895149c520179dbe8d4cf1600a795523d3105b | 28fdf64a287393ed4f550f8fc7b8634dc5c28e4d | /R/nctools-transform_internal.R | 541cf983952c2c59c1a7e5711309781d9974db28 | [] | no_license | roliveros-ramos/nctools | 73aad10b6bf85dfc13e5c345cb66072579446dec | 65fd79270f855ac064386708d226ab1ba2c055a9 | refs/heads/master | 2022-08-18T17:05:25.460725 | 2022-08-07T19:22:54 | 2022-08-07T19:22:54 | 98,751,700 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,437 | r | nctools-transform_internal.R |
#' @export
nc_loc = function(filename, varid, MARGIN, loc, output=NULL, drop=TRUE,
newdim = NULL, name=NULL, longname=NULL, units=NULL,
compression=NA, verbose=FALSE, force_v4=TRUE,
ignore.case=FALSE) {
if(is.null(output)) stop("You must specify an 'output'file... |
696fb5598a762f8c3ab4992b7663c3637ac410cd | 836809ad92a6e14e7387ee82c64ff2b58c7c1ccf | /Q1-Q4 Combined.R | 4eeae14ffee359f437d2c377e18d50d509cae9b1 | [] | no_license | kdhst905/R-Final-Project | bdd0db292ee93440bd33525eb1dc747e0a9b8df6 | f67507ed724d617741d552734fcb608093e237ef | refs/heads/main | 2023-01-27T22:03:58.655367 | 2020-12-07T05:20:32 | 2020-12-07T05:20:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,170 | r | Q1-Q4 Combined.R | #Load library
library(readr)
library(dplyr)
#Load column/Remove column
my_col_types <- cols(
ProductName= col_character(),
CompanyName= col_character(),
BrandName= col_character(),
PrimaryCategory= col_factor(),
SubCategory= col_character(),
CasId = col_double(),
CasNumber = col_character(),
... |
7d207427808b4bcb0b292d26117a3149403fcd66 | 55e51b89b134522678d1f58d3006a5e37d1e7462 | /man/information.Rd | 7e8d8d60a8196eea2237dbf6a1440c3fab3afadf | [] | no_license | cran/IRTpp | 49da8ebb3f62625634aee44e3b0d4568b9d250a0 | 3cdd14c81e00802d2f1bcd022eebcc403c636798 | refs/heads/master | 2021-01-15T15:25:21.955389 | 2016-07-05T14:02:36 | 2016-07-05T14:02:36 | 54,411,939 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,394 | rd | information.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/exploratory.R
\name{information}
\alias{information}
\title{Test or Item information}
\usage{
information(object, range, items = NULL)
}
\arguments{
\item{object}{a matrix (con los coeficientes estimados)}
\item{range}{a interval... |
73eb76ef442cb6a3579a086557ac551848dd25b2 | 3e293bd4ce6ad2e248f5ce618b152445bf739d04 | /CFTP_open_ver2.R | 6dc908269a309591c3aaa44a4cb93382202e9104 | [] | no_license | kazuya65/CFTP_ozawa_open | cce0f7480956d6893cfbb01504fd8e984f20f995 | aa7345bf59ed45807408bb12d78bb99fefbd8e4a | refs/heads/master | 2021-04-26T22:54:43.901868 | 2018-03-05T09:22:43 | 2018-03-05T09:22:43 | 123,894,602 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,414 | r | CFTP_open_ver2.R |
choose_function <- function(){ #4が外部サーバー,1~3が内部サーバー
l <- which(rmultinom(1,1,q)==1)
if(l > 3){ #3以上であればサーバーからの離脱
m <- which(rmultinom(1,1,P[l-3,])==1)
}else{ #3以下であればサーバーへの到着
m <- l
}
return(c(l,m))
}
update_function <- function(x, L, a){
# cat("l=", a[[1]], "m=", a[[2]], "\n")
if (a[1] > 3) {
... |
d311e3093f097299940ea70ce356b16dc4363cef | 9a79c6d33fc2776d08c72e71c8ad91aa73df2e10 | /man/sum.Dataset.Rd | 8b051172c8b1a7d15c92798888aa19fd482db400 | [] | no_license | giupo/rdataset | 8e6d1d645e1806bed616f2c9d34fdeac3af65129 | 7786febfadb60bf37343976a0d0d2a0286cca259 | refs/heads/master | 2021-06-07T19:17:06.802211 | 2021-05-14T15:29:23 | 2021-05-14T15:29:23 | 67,530,543 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 390 | rd | sum.Dataset.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sum.r
\name{sum.Dataset}
\alias{sum.Dataset}
\title{Esegue il `sum` sul Dataset}
\usage{
\method{sum}{Dataset}(x, ..., na.rm = FALSE)
}
\arguments{
\item{x}{dataset da sommare}
\item{...}{other objects to add}
\item{na.rm}{Not used, just to... |
ff215e65c9d031cf5d8cb00ee4a55dfb7f25eee1 | db2b24f57af0e645ce9a38027e3b0d08ef71105b | /tracks.R | 4193431f163a20f5894664ee19ac866002bb6341 | [] | no_license | ThinkR-open/datasets | 3ccfeb3b9c8428006bb02d92f40b58f627719fa6 | 00d39f024c13f8877466018508fc9978508c3bb6 | refs/heads/master | 2021-04-27T08:39:54.175182 | 2020-12-09T09:19:17 | 2020-12-09T09:19:17 | 122,495,096 | 6 | 6 | null | null | null | null | UTF-8 | R | false | false | 2,769 | r | tracks.R | library(httr)
app_id <- "app_spotify"
client_id <- "***"
client_secret <- "***"
spoti_ep <- httr::oauth_endpoint(
authorize = "https://accounts.spotify.com/authorize",
access = "https://accounts.spotify.com/api/token")
spoti_app <- httr::oauth_app(app_id, client_id, client_secret)
access_token <- httr::oauth2.0... |
564540b94db6cff3db014995bc34bff3fbfb6368 | 166092ed16671797a6728866c3cfd0c7e5a47aef | /survival_prediction.R | 43804e4725ebc5b60ea7e8955d819825e00e47e9 | [] | no_license | unchowdhury/CRC_Survival | 00ecf8892b49a2bbb37fb34fae32d6e297cbf6a0 | d5aeb11ac4a8547586bd88ed401a0b94c7d5b5e6 | refs/heads/main | 2023-04-25T13:42:53.463751 | 2021-05-07T17:24:18 | 2021-05-07T17:24:18 | 365,009,368 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,761 | r | survival_prediction.R |
#Script one
#Survival function prediction for the common DEGs
# 1. Set your work folder
setwd(".../workfolder")
# 2. Load libraries for script one
library(dplyr)
library(plyr)
library(survival)
#3. Working with clinical data
dato<-read.csv("data_clinical_patient_CRC.csv",header = TRUE,stringsAsFactor... |
a2ae14193719ed5928e220274c8f38c9aee54747 | 344d1c620452d68805cabc7042dda37418346f55 | /analysis.R | add1b92c86bc6747897ab254fd9626ed8def3719 | [] | no_license | energyandcleanair/202009_uk_cities | c13a4438d8c6a44809e89d22c8fa3b68464c3bd8 | 62a3e8ac57d5182a030359a72258109b25e423a4 | refs/heads/master | 2023-01-29T10:28:00.295639 | 2020-12-10T01:37:08 | 2020-12-10T01:37:08 | 294,978,467 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,654 | r | analysis.R | source('./config.R')
source('./plots.R')
source('./utils.R')
source('./tables.R')
# Update measurements
# utils.upload.measurements()
date_from <- "2020-03-23"
date_to <- "2020-05-12"
source <- "defra"
polls <- c("no2","pm25","o3","pm10")
# Get stations
l <- rcrea::locations(country=country, city=city, source=sour... |
416940b3ec39f1f510e94f286fdda4a981a8d3e2 | ffaf8c0014b439ea501f57d03c2cd3ef3186360b | /R/findTrains.R | d2fa7a5b04c18e8dd55c768b74ce6b129f9f2a40 | [] | no_license | meredithcmiles/twitchtools | 67afe2813b3542c5c7950213115d7e0147a5987f | a41e7e3459117986c2ec23c477102f10e334f5ca | refs/heads/master | 2020-05-14T02:40:07.667702 | 2019-10-10T14:39:12 | 2019-10-10T14:39:12 | 181,691,083 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,710 | r | findTrains.R | findTrains<-function(wave, names=NULL, len=13000){
if (is.list(wave)==TRUE){
waves<-wave
for(i in 1:length(wave)){
wave<-waves[[i]]
twitch=wave@left
samp.rate<-wave@samp.rate
stim=wave@right
stim.smooth<-as.vector(env(stim, f = samp.rate, envt = "abs", msmooth=... |
67d75013243e69d46b1cc03e53ac39c0d36a54a8 | 4cbf6b22c0a043643afd35375645cd54fd4e0df9 | /Quiz2Question4.R | 50da9db8d2e2e2bf301f0430229ba09d666d92d4 | [] | no_license | srakas/gettingandcleaningdatarepo | 34c8e6681d7e96bfd09b25a2d396626f7a01cf3b | 268d49ba5ea6b5a717152d9868f9abc155cdf5a9 | refs/heads/master | 2021-01-18T17:17:35.803689 | 2015-01-13T10:45:27 | 2015-01-13T10:45:27 | 29,185,328 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 175 | r | Quiz2Question4.R | con = url("http://biostat.jhsph.edu/~jleek/contact.html")
htmlCode = readLines(con, 101)
close(con)
numOfCharsPerLine <- nchar(htmlCode)
numOfCharsPerLine[c(10, 20, 30, 100)]
|
695ff0f19d703682b330ed60820078fb04d3bb7b | 29585dff702209dd446c0ab52ceea046c58e384e | /pla/R/invalidLatinSquare.R | dbb713399a947e09c4fca77e4fd0719bf65b3d08 | [] | 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 | 4,013 | r | invalidLatinSquare.R | .invalidLatinSquare <- function(data,
response = "Response",
row = "Row",
column = "Column",
sample = "Sample",
step = "Dilution",
... |
5ed586058e69b9741b26176ecd6ce75f517d5ea9 | 10f047c7631b3aad90c7410c567c588993bfa647 | /EcuRCode/WeightVsNestSize/PaperCode/CurrentPaperCode_9Aug/FunctionOverdisperseTest.R | 7f8b1bfd8555f7d74362f158f882081a59d2e62e | [] | no_license | ruthubc/ruthubc | ee5bc4aa2b3509986e8471f049b320e1b93ce1d5 | efa8a29fcff863a2419319b3d156b293a398c3a9 | refs/heads/master | 2021-01-24T08:05:40.590243 | 2017-08-30T01:37:56 | 2017-08-30T01:37:56 | 34,295,740 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,493 | r | FunctionOverdisperseTest.R | # TODO: Add comment
#
# Author: Ruth
###############################################################################
# from http://ase.tufts.edu/gsc/gradresources/guidetomixedmodelsinr/mixed%20model%20guide.html
overdisp_fun <- function(model) {
## number of variance parameters in an n-by-n variance-covaria... |
eaec14d9d0f8808e1dcf5beadb0b2eb1289494f2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sjmisc/examples/is_crossed.Rd.R | 35cb328a5cc4978bcc15276d3ecc971da269dc93 | [] | 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 | 961 | r | is_crossed.Rd.R | library(sjmisc)
### Name: is_crossed
### Title: Check whether two factors are crossed or nested
### Aliases: is_crossed is_nested is_cross_classified
### ** Examples
# crossed factors, each category of
# x appears in each category of y
x <- c(1,4,3,2,3,2,1,4)
y <- c(1,1,1,2,2,1,2,2)
# show distribution
table(x, y)
... |
a4963b99d1ef1f7812f61c02efe0065537f49276 | 5201716c9c6ce47e90bda56c61ed7a17504b05cd | /run_analysis.R | 8fb91a057d4debcdd6491c5759f2bb3ef47bd3a9 | [] | no_license | Arpi15/Getting_and_Cleaning_Data_Peer_Assessment | 5734966a70a5785faf0902deb7b2e839dc49e03c | 907dc182ded5fde8e14375ed9d51b9b93857ab25 | refs/heads/master | 2022-07-28T23:01:17.532932 | 2020-05-21T14:46:40 | 2020-05-21T14:46:40 | 265,827,504 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,758 | r | run_analysis.R | # reading training data
x_train <- read.table("X_train.txt")
y_train <- read.table("y_train.txt")
subject_train <- read.table("subject_train.txt")
head(x_train)
names(x_train)
#reading test data
x_test <- read.table("X_test.txt")
y_test <- read.table("y_test.txt")
subject_test <- read.table("subject_test.txt")
#re... |
8743686de0e32b05fe5ffc24f69eaf1d7b757a4a | 58fbb09a48bcfbc878322f54d59b1c5e18d0ce47 | /R/function-mcpf.R | 7c8e1dcb7b11e4cb51846d7d437554d231736aad | [] | no_license | WangJJ-xrk/MCPF | c596f89221bf43322f6c0f8b322b3b35d4005fd3 | 2c8105e44a17592c2235b5ede26f52f87d6acaf0 | refs/heads/master | 2022-08-22T11:31:57.626740 | 2020-05-29T05:59:52 | 2020-05-29T05:59:52 | 266,784,022 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,901 | r | function-mcpf.R | #' Calculation of Pseudo F Statistic Matrix.
#'
#' \code{calct1t2} calculates the pseudo F statistics of the divided similarity matrixes
#' at given dividing point.
#'
#' @param Y the projection of pseudo outcome data.
#' @param point.seq a vector containing the dividing points.
#' @param H1 the difference between two ... |
83ca2bc42471c5cc46a63397b70251e6a76a2814 | 00d0db486665c80ab821cb77a1f41ed7874c591c | /Bioconductor for Genomic Analysis /lectures/R_S4 (1).R | 157be5518dfe69304d86addca9f8b418f939ec93 | [] | no_license | Mohnish7869/DATA_SCIENCE_IN_BIOLOGY | 37a6b2d3e05b0d62162f919fa06d22af620faada | 113165e0c1e9aee0c9b68ae93b1681ac068b6ae6 | refs/heads/master | 2023-01-02T01:56:29.475343 | 2020-09-30T12:37:05 | 2020-09-30T12:37:05 | 299,911,494 | 0 | 0 | null | 2020-09-30T12:27:57 | 2020-09-30T12:27:56 | null | UTF-8 | R | false | false | 3,137 | r | R_S4 (1).R | ## ----dependencies, warning=FALSE, message=FALSE--------------------------
library(ALL)
library(GenomicRanges)
## ----biocLite, eval=FALSE------------------------------------------------
## source("http://www.bioconductor.org/biocLite.R")
## biocLite(c("ALL" "GenomicRanges"))
## ----lm-------------------------------... |
b2fb9946ced73c6d72b3a3a1c1fe0a5ef7466130 | be15fb577e5d4f39e29fd647d7ffc9e44dfe44ac | /Model_Versions/Uncertainty_SLR_GEV/Sensitivity_Analysis/OAT/Scripts/exceedance_prob_OAT.R | eb4df3af6f9ab88702af37ecca25a6e92860f8ee | [] | no_license | scrim-network/VanDantzig | d2bfe66d90f6bc9aa8458443be9433d34ab520b6 | 9f1b876e3c8506262d6238d078b0f4d33efd702e | refs/heads/master | 2021-04-30T12:13:13.759818 | 2018-03-20T12:33:07 | 2018-03-20T12:33:07 | 121,269,677 | 0 | 1 | null | 2018-02-12T16:14:25 | 2018-02-12T16:14:25 | null | UTF-8 | R | false | false | 1,404 | r | exceedance_prob_OAT.R | ###################################
# file: exceedance_prob_OAT.R
###################################
# Author and copyright: Perry Oddo
# Pennsylvania State University
# poddo@psu.edu
###################################
# Generates survival function curves
# for exceedance probability estimations
# for use in OAT anal... |
af111c2fe9099374489bf6ae116b9c2eaa31ce2b | a25ac37ac0d9090020f0c7f32d9604cde793bdc6 | /01-Regression.R | 0a2bcd95ac91b1518ffa41a82a64c97efdeb4b9f | [] | no_license | faridskyman/RCourse | cafeed8ce722e7d4833eeb71145f6190a9aee972 | 967ed1502471c4965d4fdcc63a9090bec9fdd32e | refs/heads/master | 2021-01-20T18:44:52.062716 | 2016-07-02T02:27:06 | 2016-07-02T02:27:06 | 62,296,051 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,263 | r | 01-Regression.R | # tutorials from http://www.r-bloggers.com/simple-linear-regression/
"Suppose you want to obtain a linear relationship between weight (kg) and height (cm) of 10 subjects.
Height: 175, 168, 170, 171, 169, 165, 165, 160, 180, 186
Weight: 80, 68, 72, 75, 70, 65, 62, 60, 85, 90
The first problem is to decide what ... |
1c0d264eadfa52401b6ec274c107154e0115bffc | 11de9e10b0b9fa137bbf8607bfd321e9d5fede6e | /mPowerEI/man/recordMap.Rd | 334641b4ed31c288909ec086c43cddb5071bdf8e | [
"MIT"
] | permissive | MonteShaffer/mPowerEI | dbc906db491716f15295899f7e10efac6601531b | d587c4fda58a377b9bbfb3327411249a11049aa2 | refs/heads/master | 2021-05-16T08:48:51.456692 | 2017-10-05T11:03:30 | 2017-10-05T11:03:30 | 104,287,224 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 503 | rd | recordMap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/loadSetup.R
\name{recordMap}
\alias{recordMap}
\title{Map table data to Records (rv)}
\usage{
recordMap(mPower)
}
\arguments{
\item{mPower}{list of data objects}
}
\value{
lists 'recs' of data objects mapped on recordStringToVariable(RecordId... |
601ac01284e4a5064c31e5cc283d50613ded8959 | 162eb695c97820b7a85c458087553758fe73f7c5 | /Figure1_spectrumChart.R | 7732025631e2df9602fc92135cb156a077ab8c95 | [] | no_license | edwardHujber/ENUanalysis | d5742366d714a7a8fc95269c9a55b7f4acacb2db | 109279761db723ba732e6e57250f1bd0ee52491f | refs/heads/master | 2021-01-21T19:02:04.131878 | 2017-05-22T23:50:15 | 2017-05-22T23:50:15 | 92,109,014 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,356 | r | Figure1_spectrumChart.R | library("abind")
#### 'dat' should already have been defined by one of the import scripts.
SEM<-function(x,na.rm=FALSE){
if(na.rm){x<-x[!is.na(x)]}
sd(x)/sqrt(length(x))}
barPlotwSEM<-function(table, ylab=NULL, xlab=NULL){
if(length(dim(table))==0){meanCount<-table;SEMCount<-0}
else{meanCount<- ro... |
2d9d05c6f883a37756ad58fbe97019450b3ddef8 | 1dfec10ac8e51f63947f35ae42bbfead6ed8ce4c | /Walmart_Trip_Type_Classification/crossvalidation.R | 50120a42a71a7ba17a69fb22bdda6136f28d1b8f | [] | no_license | jothiprakash/Kaggle_Challenges | 6f84109e5523d2afbe7eca678565be80985fb8e1 | e5d5f815b0b52ecd5b3157596387d2184613dd8f | refs/heads/master | 2021-08-23T02:22:21.383158 | 2017-12-02T13:40:39 | 2017-12-02T13:40:39 | 110,996,753 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,525 | r | crossvalidation.R | # fine tuning
test = read.csv("testdataset_v8c.csv",header=TRUE, colClasses = "numeric")
train = read.csv("traindataset_v8c.csv",header=TRUE, colClasses = "numeric")
predictors = names(train)[c(-1,-2)]
train$TripType = as.numeric(as.character(train$TripType))
train = train[1:60000,]
set.seed(123)
x = sample(1:40000, ... |
ef649b07db133850f7daddefd9537ab51e055aa1 | 0844fb0e1f115bdacb56389b82f3346bd6903099 | /resourceefficiency_old.r | 56b80f4362e761bc540dad715acdadb1b841f6ed | [] | no_license | aleip/nutrientlca | 3bcde9d1109cf876c5e2899ff75ba5a8e7b06e88 | f72312b0c7fb8fa614fa4d95d869bfa94de9ca35 | refs/heads/master | 2021-01-11T23:01:53.707429 | 2017-01-29T18:43:40 | 2017-01-29T18:43:40 | 78,537,689 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,572 | r | resourceefficiency_old.r | processmatrix<-function(E,S){
# Recover system definition
# Combine Technology and Intervention matrices to Process matrix
A<-as.data.frame(E$A)
rownames(A)<-S$products
colnames(A)<-S$processes
B<-as.data.frame(E$B)
rownames(B)<-c(S$resources,S$losses)
colnames(B)<-S$processes
P<-rb... |
d4701cc7af515e66c519602d410d750c5f86670a | 22168141237225ccbcccbe4fe10fefc1c687ab96 | /inst.R | 7be5e985553cc2c5976311cf111493ea02f6aaf5 | [] | no_license | mamueller/R6Unit | 2c6932591c109e1dea6c892899c82e084820980b | 823092bc9d64b92e47197f67126b6f4df843c672 | refs/heads/master | 2020-01-23T21:34:17.461604 | 2019-10-07T16:49:49 | 2019-10-07T16:49:49 | 74,699,014 | 0 | 0 | null | 2016-11-24T20:00:49 | 2016-11-24T19:09:06 | null | UTF-8 | R | false | false | 376 | r | inst.R | #!/usr/bin/Rscript
if (!is.element('devtools',installed.packages())){
install.packages('devtools',repos='https://cran.uni-muenster.de')
}
install.packages('stringr')
install.packages('getopt')
require(getopt)
require(stringr)
require(devtools)
devtools::install_github('mamueller/debugHelpers',subdir='pkg')
devtools::i... |
414856bbe2a59e775094b1b9dd7122c7c28cc259 | 320ddefc84d992475db8b83befde46e2b780314f | /man/see.ancova.tck.rd | 49ea4dc59ad3dab3db85df1f31a44c9c8f6f29a0 | [] | no_license | cran/asbio | bca146e402058cd67ff5fc42423cb0c0544f942b | 3cb01b7cb1a8dec60a5f809f91bc460a6566954d | refs/heads/master | 2023-08-31T23:43:08.304864 | 2023-08-20T02:22:36 | 2023-08-20T04:30:48 | 17,694,492 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 365 | rd | see.ancova.tck.rd | \name{see.ancova.tck}
\alias{see.ancova.tck}
\title{
Visualize ANCOVA mechanics
}
\description{
An interactive GUI to view ANCOVA meachnics. Exp. power tries to simulate explanatory power in the concomitant variable. It simply results in (1 - Exp. power) \eqn{\times} Residual SE.
}
\usage{
see.ancova.tck... |
4cc6de2fde7ed5248cd15d93fb3a839538f976cc | a9fb5a228b2316e5b43f58e4b8d6c858cb7784f7 | /man/getMotifFootprints-DsATAC-method.Rd | fbceb6d5d24dfebf5bbcebcf650e30a2c9c1af12 | [] | no_license | GreenleafLab/ChrAccR | f94232d5ac15caff2c5b2c364090bfb30b63e61a | 43d010896dc95cedac3a8ea69aae3f67b2ced910 | refs/heads/master | 2023-06-24T05:29:29.804920 | 2023-03-17T13:01:49 | 2023-03-17T13:01:49 | 239,655,070 | 17 | 7 | null | 2023-05-05T09:51:23 | 2020-02-11T02:01:37 | R | UTF-8 | R | false | true | 1,978 | rd | getMotifFootprints-DsATAC-method.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DsATAC-class.R
\docType{methods}
\name{getMotifFootprints,DsATAC-method}
\alias{getMotifFootprints,DsATAC-method}
\alias{getMotifFootprints}
\title{getMotifFootprints-methods}
\usage{
\S4method{getMotifFootprints}{DsATAC}(
.object,
motifN... |
8e9bcec14196a4aa3f8cafac255f0cb84b30c65b | da38b99eb42630fe1bd3bc115ab40dbf00a018d1 | /plot4.R | 7422d1a2409ffa9f4792e58a3c76aa7482e58365 | [] | no_license | wnichola/ExData_Plotting1 | 7656c80c1eaad61f304b871281bfeb20f515df7b | 12c3e21274b63d6f1883d0998a34c8887195fd72 | refs/heads/master | 2020-12-24T15:59:16.798129 | 2015-03-17T05:22:34 | 2015-03-17T05:22:34 | 31,635,213 | 0 | 0 | null | 2015-03-04T03:08:05 | 2015-03-04T03:08:04 | null | UTF-8 | R | false | false | 2,668 | r | plot4.R | ## Use the data.table library to be used as it is very efficient in reading large files
library("data.table")
# Define the names (and location) of the files used and writed
srcfile <- "./data/household_power_consumption.txt"
plotfile <- "./figure/plot4.png"
# Use fread to read in the file into a data.table, handing ?... |
cf2bef8008a7de3fb2b248f5886d071917f02d9d | 1c8651c1d055acaada9e8db9d6fb6244e407f903 | /man/read_files.Rd | e0f4827ebd2f8f32dd3620c4cedd49c2f938985c | [
"MIT"
] | permissive | datalorax/sundry | b164a510e3bfd02b1b091753f0791ee970c39b1b | 8c180d16e47270759d93b0d440f42a8b4751d36a | refs/heads/master | 2023-04-03T06:11:34.194216 | 2021-04-06T23:13:37 | 2021-04-06T23:13:37 | 52,026,171 | 6 | 4 | NOASSERTION | 2021-04-06T23:12:38 | 2016-02-18T17:43:07 | R | UTF-8 | R | false | true | 707 | rd | read_files.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read_files.R
\name{read_files}
\alias{read_files}
\title{Read a batch of files}
\usage{
read_files(dir = ".", pat = "*.csv|*.sav|*.xls|*.xlsx|*.txt", df = TRUE, ...)
}
\arguments{
\item{dir}{Directory where files are stored. Defaults to the c... |
b7e64654a45a16af2594505befb84f3aa6d61d59 | 9f9c1c69adb6bc2ac097ae368c8ba2f293d01b64 | /R/combine_sources.R | 21ea28e2aa6011d811a385e12359a63e74be2794 | [] | no_license | izabelabujak/MixSIAR | a8be0e62a1299b6cd365ab0fa9ff315ad8c306f9 | 2b1b2545638fcfaacbcaaa695e2bec436a91806f | refs/heads/master | 2020-08-30T03:45:42.453711 | 2019-08-02T22:02:57 | 2019-08-02T22:02:57 | 218,252,966 | 1 | 0 | null | 2019-10-29T09:43:47 | 2019-10-29T09:43:47 | null | UTF-8 | R | false | false | 11,704 | r | combine_sources.R | #' Combine sources from a finished MixSIAR model (\emph{a posteriori})
#'
#' \code{combine_sources} aggregates the proportions from multiple sources.
#' Proportions are summed across posterior draws, since the source proportions
#' are correlated.
#'
#' \emph{Note: Aggregating sources after running the mixing model (a ... |
8b79049a12028762038b98d7e26f95672e04a15c | 75a981dbcb03a471ed72df9eee09604d84a3956a | /R/move.HMM.ACF.R | 331b85d86aa303fce70558783a21b081ccb43972 | [] | no_license | benaug/move.HMM | 7c1e897aa33a2aaa0564844d9e8ee20fbcf0d96a | 1095eedcc3c47976ea0d966131e5e1855eaaa9ef | refs/heads/master | 2022-02-11T01:31:16.309023 | 2022-01-22T19:41:44 | 2022-01-22T19:41:44 | 13,788,227 | 3 | 2 | null | 2014-10-01T17:46:47 | 2013-10-22T22:58:15 | R | UTF-8 | R | false | false | 2,344 | r | move.HMM.ACF.R | #'ACF plot
#'
#'This function compares the empirical ACFs to those simulated from the fitted HMM. Experimental.
#'@param move.HMM A move.HMM object containing a fitted HMM model.
#'@param simlength The number of observations to simulate. The ACF from the simulated data will
#'converge to the theoretical ACF as simle... |
583ca47b982415dba3171ac63527b9392c8b9f55 | d226838e64a1d55fdaf797893f7468651b725183 | /man/systemHTSeqCount.Rd | 6f12c1e7bf061d13f9e8c2e229a0803a93f71c10 | [] | no_license | HenrikBengtsson/aroma.seq | 5fd673cc449d9c3b89daf1125e8cc95556d0641d | 6464f1e5e929c423978cf7dcb11ac7018d179a6d | refs/heads/master | 2021-06-21T13:53:21.618898 | 2021-02-10T02:57:15 | 2021-02-10T02:57:15 | 20,848,327 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,211 | rd | systemHTSeqCount.Rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% systemHTSeqCount.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{systemHTSeqCount}... |
c30aedf7aac6f52b44be838cd5fe7035bcd44938 | 25e2c290ed0810bc5dc817d5391de246c9915660 | /cachematrix.R | ae0f93126fecb344eac9fac2aff55ea4c4be4551 | [] | no_license | agsalt/ProgrammingAssignment2 | 0c305b3efe2aa153b7c6d54a6e5f832a7261e537 | 92ad04593e6f9d876dfcfc749ec87d7030b3d6a6 | refs/heads/master | 2021-01-15T12:27:45.370971 | 2014-05-25T07:39:59 | 2014-05-25T07:39:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,864 | r | cachematrix.R | ## The following two functions assist with the potentially time consuming
## computation of finding the inverse of a matrix with the solve function.
## Instead of recalculating the inverse for the same matrix submitted more than once
## the original result is recalled from cache rather than recalculated.
## This first... |
10f4e693cfe00082cd14b5440096261606e5e74d | 5ac57449f8a0cfbc0e9c8f716ab0a578d8606806 | /man/fitplot.Rd | c7b372dcc34473a369a2d9409e9a90813193a9b6 | [] | no_license | hugaped/MBNMAtime | bfb6913e25cacd148ed82de5456eb9c5d4f93eab | 04de8baa16bf1be4ad7010787a1feb9c7f1b84fd | refs/heads/master | 2023-06-09T01:23:14.240105 | 2023-06-01T12:51:48 | 2023-06-01T12:51:48 | 213,945,629 | 5 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,097 | rd | fitplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.functions.R
\name{fitplot}
\alias{fitplot}
\title{Plot fitted values from MBNMA model}
\usage{
fitplot(
mbnma,
treat.labs = NULL,
disp.obs = TRUE,
n.iter = round(mbnma$BUGSoutput$n.iter/4),
n.thin = mbnma$BUGSoutput$... |
46f3225db6eeea8bdbf42d1baedf17df36beef04 | 7f9f945c8a02dfd5f38d30abfcbbfa20d24a4391 | /R/fixest_multi.R | 6185fb62dd2c41b7fbaa0abcd73a1b26cb79b7c3 | [] | no_license | lrberge/fixest | 96428663b68c3701f1063f0fb76a87b68333b7d4 | 6b852fa277b947cea0bad8630986225ddb2d6f1b | refs/heads/master | 2023-08-19T22:36:19.299625 | 2023-04-24T08:25:17 | 2023-04-24T08:25:17 | 200,205,405 | 309 | 64 | null | 2023-09-13T09:51:03 | 2019-08-02T09:19:18 | R | UTF-8 | R | false | false | 42,851 | r | fixest_multi.R | #----------------------------------------------#
# Author: Laurent Berge
# Date creation: Sat Nov 07 09:05:26 2020
# ~: fixest_multi
#----------------------------------------------#
setup_multi = function(data, values, var = NULL, tree = NULL){
# the incoming data is ALWAYS strongly structured
# => they all ha... |
f3fc50d4d78043669724a1ad14e2e8e310ec61b1 | 324eca83aa70857741464da7aadfe7e688e3f513 | /man/logfile_-.logger.Rd | d9bf5873f88d55571a3b6fda6d7f3c27c52c9e77 | [] | no_license | jcborras/log4r | 62aa2b07bda0307ec9a714f6b77f1e76b9917e8c | 7a1d0b8232f3bbb49723b4dbd4c919edb4efdb1b | refs/heads/master | 2020-12-25T02:59:52.966156 | 2011-05-23T08:19:04 | 2011-05-23T08:19:04 | 1,759,788 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 501 | rd | logfile_-.logger.Rd | \name{logfile<-.logger}
\alias{logfile<-.logger}
\alias{logfile<-}
\title{
Set the logfile for a logger object.
}
\description{
Set the logfile for a logger object. Must be a valid path in an already existing directory.
}
\usage{
logfile(x) <- value
}
\arguments{
\item{x}{
An object of class logger.
}
\item{value}... |
374cd661b939d8df6e1d74032028a2de928690f7 | d07f0e82f7ec59f000ec2a9c78bbcbad27912d5c | /man/pairwiseCI.package.Rd | 8b9f669d1cd1d37501447c016ebd191fee8532a0 | [] | no_license | cran/pairwiseCI | e4d4bbfe27e3714ccc8118b70af5dced9b8040d4 | 600fb0d96cff9b1820a529bb605a822d3d6e1ef4 | refs/heads/master | 2021-01-20T11:59:53.231348 | 2019-03-11T10:20:03 | 2019-03-11T10:20:03 | 17,698,181 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,408 | rd | pairwiseCI.package.Rd | \name{pairwiseCI-package}
\alias{pairwiseCI-package}
\docType{package}
\title{
Wrapper functions for two-sample confidence intervals and tests.
}
\description{
A collection of wrapper functions for simple evaluation of factorial trials.
The function pairwiseCI allows to calculate 2-sample confidence inter... |
a1c5c1f75dbbb895a006b83ea6319d813aba79c8 | 10861c9bd3ee5bcc928edf42437b23e1cc29f01a | /man/qc_metrics.Rd | c592425e5c973359b21a91484470cffe53d7abc6 | [
"MIT"
] | permissive | huipan1973/ezscrnaseq | 545e3a305b62e119a672c273bd5d0204a1ab60a5 | 6e4a655b4b601ba0fc106f0856086a947f7392f9 | refs/heads/master | 2022-07-21T19:49:26.933389 | 2022-07-12T20:03:24 | 2022-07-12T20:03:24 | 243,549,643 | 0 | 0 | MIT | 2020-04-05T22:26:55 | 2020-02-27T15:27:07 | R | UTF-8 | R | false | true | 1,300 | rd | qc_metrics.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/qc_metrics.r
\name{qc_metrics}
\alias{qc_metrics}
\title{Quality control on the cells}
\usage{
qc_metrics(
sce,
sym_col = "symbol",
by_nmads = TRUE,
thresholds = c(3, 3, 3),
ncores = 1,
prefix = NULL,
plot = TRUE,
write = TRUE... |
fcaca09ded27a6b1214e5ab7e960c18733a30286 | 0df9cb1098e017d62bb97639d89a874714d3d29e | /AddSubDiv Matrices.R | 56babe482e5a9a0d356f20bf71456e94989add10 | [] | no_license | AkshataKumar/Projects | 2d693bf07709cc0b730036b0b4e472f27d2c8443 | fba06397669501d38f46715c1079634ab4a106aa | refs/heads/master | 2022-10-11T17:34:21.478973 | 2020-06-10T11:07:12 | 2020-06-10T11:07:12 | 271,250,586 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 370 | r | AddSubDiv Matrices.R | Games
rownames(Games)
colnames(Games)
Games[3,8]
Games[3,"2012"]
FieldGoals #divide one matrix by the other # needs to be of the same size though
FieldGoals / Games
round(FieldGoals / Games,1) #rounding to 1 dec
MinutesPlayed / Games
round(MinutesPlayed / Games) #rounding to whole numbers
Minute... |
e9ae081d10346951b4e690fa6ad3ccfecd7fa255 | 718677799c142034c141537b79182546f302acd2 | /inst/gridmap/ui.R | 37f3984acadcb7086ab50879f7c63ed574eb129b | [] | no_license | lecy/cartogram | d8d09e4a379ab67cf2a44bf88288896e38d9e3d6 | 265c24cad77d88f9024904bf2aefefaea6ce98d6 | refs/heads/master | 2021-01-25T04:34:38.583616 | 2016-06-01T14:46:22 | 2016-06-01T14:46:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 806 | r | ui.R | library(shiny)
shinyUI(pageWithSidebar(
headerPanel("Dorling Cartogram"),
sidebarPanel(
sliderInput("iteration",
"The number of iterations running with one click :",
min = 1,
max = 201,
value = 11,
... |
2cf549ed3338af71b3deab09e932a76a53743d97 | a3386aa4f794d2b8327e3d167f0ffd0d784ffc7e | /R/dodds_sentiment.R | b2f4a1a9b8899845b7d9e319bfb82a2687d2d94f | [] | no_license | systats/lexicon | 2ef43af84016968aff7fea63e0c332bcc734f5e6 | f42a10e9f0c3f830d28f0e50911acbad439ec682 | refs/heads/master | 2021-04-28T20:26:46.470503 | 2018-02-15T04:31:44 | 2018-02-15T04:31:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,224 | r | dodds_sentiment.R | #' Language Assessment by Mechanical Turk Sentiment Words
#'
#' A dataset containing words, average happiness score (polarity), standard
#' deviations, and rankings.
#'
#' @details
#' \itemize{
#' \item word. The word.
#' \item happiness_rank. Happiness ranking of words based on average happiness
#' scores.
#' ... |
9c6ae5548037b01b990ab8b6d65d89de78d97900 | fc7476839b870e69aae46279615684dd1f0e5e85 | /man/belong.Rd | 52567fdc5b509bb0d86562f6b6f2863e31dc70de | [] | no_license | vishkey/arqas | 194f472cc08fa21bdccde31ddf2639105eef995e | 85ec37540fd008229adb662e1a1b5adf4d48f212 | refs/heads/master | 2020-03-31T08:35:35.711433 | 2015-09-16T15:54:08 | 2015-09-16T15:54:08 | 14,345,407 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 459 | rd | belong.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/5_SimulateModels.R
\name{belong}
\alias{belong}
\title{Checks if a object belongs to a determinate package}
\usage{
belong(obj, packagename)
}
\arguments{
\item{obj}{Object to check}
\item{packagename}{Name of the package}
}
\value{
... |
ced17047812ab81e1ae15115fce7cfac849927bf | 1e867077be74f6385330f8032807ec2028823600 | /heatmap.R | 7820506e47937c440e77c947809a1ea41708539a | [] | no_license | jorgecruzn/Tareas_Curso_BioinfinvRepro | 70bdbdf33a863a3d3735c9777ecb7dbd637a3e82 | 8f87ad6482b348a0114475f6e4405e18633878bf | refs/heads/master | 2021-04-29T16:53:15.246253 | 2018-05-28T20:29:55 | 2018-05-28T20:29:55 | 121,658,267 | 0 | 0 | null | 2018-04-02T14:31:54 | 2018-02-15T17:22:05 | null | UTF-8 | R | false | false | 406 | r | heatmap.R | # Este Script genera 1 heatmaps uno con datos de oyamel
#Cargamos las librerias
#source("http://bioconductor.org/biocLite.R")
# biocLite("Heatplus") Solo la primera vez
library("Heatplus")
# Leer archivo
oyamel <- read.csv("../meta/3918_mybstr.csv")
# Quitamos la columna que no es numerica, de lo contrario... |
820cfacd76988867df7ffdf8db4516ad2ff867d1 | 557c317f924f94019e60b40cc2a0a6b713c80543 | /Set_ind.R | ad1da6ff3cc0756f57e6c8af921aa542a58fc132 | [] | no_license | bblakely/SapFlux | 23416d66479dc80cf420b1dbeabb6443976bac58 | 122973ab38ae07c20e7d80087ea67a5ab8694234 | refs/heads/master | 2021-01-10T13:25:32.786118 | 2020-05-06T19:31:37 | 2020-05-06T19:31:37 | 55,317,548 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 392 | r | Set_ind.R | #script for setting all indices; these lines are also in 'refine tower data'
gs<-c(150:250) #growing season days
dayhr<-c(8:20)
midday<-c(12:15)
dayind<-which(twrdat$HOUR%in%dayhr) #made earlier; daytime hours
daymid<-which(twrdat$HOUR%in%midday)
gsind<-which(twrdat$DOY%in%gs)
daygs<-which(twrdat$HOUR%in%dayhr & tw... |
55c4a87ac599973a5d7ffe14d210504715ce0dc9 | 98da3b7bf9459f9b9704d2bfaa3eee6d705a389d | /03-packages-and-help-pages/scatterplot.R | 852212d86fcd082c9601ecc8643000a7415189c9 | [
"BSD-3-Clause"
] | permissive | jrhrmsll/hands-on-programming-with-R | acf2b84dc895b03f22222407fec0bd458abf9a3f | 1fd89d9877a9fae41b8cce00de039bc90c2324ad | refs/heads/master | 2023-02-04T11:53:18.491838 | 2020-12-20T20:21:33 | 2020-12-20T20:21:33 | 297,152,309 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 92 | r | scatterplot.R | library("ggplot2")
numbers <- 1:25
squares <- numbers ^ 2
qplot(x = numbers, y = squares)
|
4513a1c5f1e902ee3868c104d0da8587533e31b7 | b7d94733c7b74ecad085e212fcc42fcfdb48932c | /fips_clean.R | 7f14597a0e76b47fa8229e726c1639ed8c4a9014 | [] | no_license | scworland/usgs-water-use | 1e42558899c75a900e7a927120ab36508c5a7ac6 | 90b1c62dd91d439b616f77c8078dd2e6de170fe3 | refs/heads/master | 2021-06-04T10:52:24.819626 | 2016-10-28T17:02:58 | 2016-10-28T17:02:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 674 | r | fips_clean.R |
# function to clean up FIPS
# county FIPS has to be the first column
fips.clean <- function(d){
## counties to be removed due to changing FIPS
remove <- c("08014","08001","08013","08059",
"08123","51560","51005","51780",
"51083","30113","30031","30067",
"24031","24031"... |
626f4bfc719c3489d8a4c21a2682ee87d1cf277b | 6a80156ec20fd85828571eb48b4fff9febc8e25c | /lab10/lab10_code.R | e9f865f060fad49b355a8127f73c2a898433d0d4 | [] | no_license | mmaruchin98/cbs | 51f43ad71bfd43838dd8881f5c3b1b31aded4761 | 7d224b10ec8488a31c61e56d6974c221b1317c9b | refs/heads/main | 2023-05-11T16:42:26.629856 | 2021-06-07T03:17:20 | 2021-06-07T03:17:20 | 354,831,663 | 0 | 0 | null | null | null | null | WINDOWS-1258 | R | false | false | 4,426 | r | lab10_code.R | library(Rtsne)
library(data.table)
library(ggplot2)
library(dplyr)
library(Seurat)
library(patchwork)
pbmc.data <- Read10X(data.dir = "/Users/Micha³/Desktop/filtered_matrices_mex/hg19/")
pbmc <- CreateSeuratObject(counts = pbmc.data, project = "pbmc68k", min.cells = 3, min.features = 200)
pbmc <- NormalizeD... |
351f546468f7da7774c6761d0bdc9244eeff0bab | 788d1c20affd0902af1d84a0b94279610486fd0d | /man/regex.Rd | 8902796433de22536b948a2e7a9685ff70e9d449 | [] | no_license | cran/rebus.base | c366d615642d019142b24c6096d7bc5572007eef | e7f2fd852ca5db0cb8a21fb6799b6e10738f0ab7 | refs/heads/master | 2021-01-10T13:12:30.812306 | 2017-04-25T20:45:26 | 2017-04-25T20:45:26 | 48,132,018 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 487 | rd | regex.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/regex-methods.R
\name{regex}
\alias{regex}
\title{Create a regex}
\usage{
regex(...)
}
\arguments{
\item{...}{Passed to \code{paste0}.}
}
\value{
An object of class \code{regex}.
}
\description{
Creates a regex object.
}
\note{
This works lik... |
5cbcae80b34f38893f8c0bf5c99c0c0e97aa138a | 62f1a9d2cf95915dd670f65ba4c550fa3da5561a | /run_analysis.R | 7667cdfd92b1bfd91a5ab1afbc605f41b4932f86 | [] | no_license | robertbenparkinson/getting-and-cleaning-data | 1b21cd8fd06e1ed31e0cb601f598fe337063410c | 60321723867836d211fab89f195f6bf70f3f35d1 | refs/heads/master | 2021-01-10T05:12:49.849374 | 2015-12-26T17:44:00 | 2015-12-26T17:44:00 | 48,617,905 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,072 | r | run_analysis.R | ##run_analysis.r
##Getting and Cleaning Data Assignment
##Robert Ben Parkinson
##23-Dec-2015
##various possible NA strings
na_strings <- c("NA", "<NA>", "Nan", " ")
##import the six primary data frames in the TRAIN and TEST files
t1 <- read.table("coursera/UCI/train/subject_train.txt", na.strings = na_strings)
t2 ... |
fafd6d6cf26a148933f3026c27d991f2b30d794b | 1e404990c848a549f2ad7f67c5d409be9e8b3b7b | /man/RGB_to_HSV.Rd | dd6d44f5756e7f50fd32c918f8af8e99e252f3b2 | [] | no_license | mlampros/OpenImageR | 4c13473eb5dad6701117344224b3517dbd11d577 | 59b3c72be79fcb38e8ce5cdd4678194fe8452ad6 | refs/heads/master | 2023-07-19T17:30:14.915296 | 2023-07-08T07:38:03 | 2023-07-08T07:38:03 | 62,885,650 | 61 | 8 | null | 2023-03-08T18:34:43 | 2016-07-08T12:01:42 | R | UTF-8 | R | false | true | 602 | rd | RGB_to_HSV.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/superpixels.R
\name{RGB_to_HSV}
\alias{RGB_to_HSV}
\title{Conversion of RGB to HSV colour type}
\usage{
RGB_to_HSV(input_data)
}
\arguments{
\item{input_data}{a 3-dimensional array (RGB image) where the third dimension is equal to 3}
}
\descr... |
d9fb4c70b6462ccd8395b20f92553930e8ffa615 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/TestCor/man/BootRWCor.Rd | 4e7e25df92fcaba343b0e4f9b17f4be6b5be4ce6 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,570 | rd | BootRWCor.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FwerMethods.R
\name{BootRWCor}
\alias{BootRWCor}
\title{Bootstrap multiple testing method of Romano & Wolf (2005) for correlations.}
\usage{
BootRWCor(
data,
alpha = 0.05,
stat_test = "empirical",
Nboot = 1000,
vect = FALSE,
logic... |
4a22fd7e9f76010c1dfa7cbb6cefc1eaf36e486f | f742e300d0d886a2093acc43a37dc0d65cf6e877 | /R/end_round.R | 0df957b8705d3e6e237ef53a0c387394796813f2 | [] | no_license | cran/whitechapelR | 347608622b3828dcade330f4cf25f7c3fe4cab9e | 35986d29898717d2cc5f7343d02584af9c2a1725 | refs/heads/master | 2020-03-27T04:02:00.429566 | 2018-10-02T16:40:03 | 2018-10-02T16:40:03 | 145,906,933 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,311 | r | end_round.R | #' @export
end_round = function(paths,hideouts=NULL){
#' @title Manage list of possible hideouts
#'
#' @description Create or update a list of possible hideouts based on final positions from the list of possible paths traveled.
#'
#' @param paths list of all possible paths already traveled
#' @para... |
d8d9ff9dcbf96efa10c1db41ac6173d6cd20975c | fe90a921df931bf1ee5def42bb1726b811beba6c | /R/verb.R | fa694e27055c16e2e06fcb20079a0b317a9943e4 | [] | no_license | josephwb/malign | ea2caf982cc6910d7fc6259a3e180cce91f81f34 | afd4517e19ff70f17cee4b97e4f415013ece5cd6 | refs/heads/master | 2023-02-26T01:01:42.282458 | 2021-02-01T17:11:20 | 2021-02-01T17:11:20 | 321,757,725 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,701 | r | verb.R |
created <- c(
"abused",
"assembled (without plan)",
"created (with poor knowledge)",
"befouled",
"botched",
"brewed",
"bungled",
"built (without cause)",
"composed (without skills)",
"constructed (for no readily apparent purpose)",
"designed (without style)",
"destroyed",
"devastated",
"dev... |
e5f21a3e906cc25dedf8df4b0c5f36aec64ebcb3 | 38214fe58616ef227e533967a0b4155b2edd64d6 | /RScriptsAsPerTask/1)C + 2) PREDICTION WITHOUT NEURAL NETWORKS.R | 7d59d5776ec921f5dd1947e1f156e957fa3e6803 | [] | no_license | SandeepBethi/Energy-Forecasting-for-Jeremiah-Burke-school | ea1ed3eda4d5c94fa1bfe803bb31734cb27343c3 | 3d3687dc9ee1ecb4fc386ed638055b4b30b4b76c | refs/heads/master | 2021-05-04T08:11:23.610904 | 2016-09-24T23:21:30 | 2016-09-24T23:21:30 | 69,132,437 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,910 | r | 1)C + 2) PREDICTION WITHOUT NEURAL NETWORKS.R | #NOTE: uncomment the lines from 6 to 12 if the packages are not installed and loaded
# in your system. Installing and loading the libraries everytime you run the
# program makes the execution time longer. Hence commented those parts.
#installing and importing the library
#removing the unecessary columns
ra... |
572e6522008fc4210f7a25dd0a10f6e92e14681d | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/stepR/man/contMC.Rd | 32afd9516c32539a203d11eea25c9468faeaea85 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,752 | rd | contMC.Rd | \name{contMC}
\alias{contMC}
\title{Continuous time Markov chain}
\description{
Simulate a continuous time Markov chain.
\bold{Deprecation warning:} This function is mainly used for patchlamp recordings and may be transferred to a specialised package.
}
\usage{
contMC(n, values, rates, start = 1, sampling = 1, fami... |
8f87caf22efab9f71d6035c99ffa698db88c467f | 2416c46f6af4733c9141d65d93692401d649b065 | /praca_domowa_R_1/wojciech_aRtichowicz_homewoRk.R | fef72a2ff5801eb3cb3379aeb6f55d2b251303e0 | [] | no_license | infoshareacademy/jdsz1-sqluci | 28e76dfd3ddedae6b1546cb46c4d1fcaadaefd08 | 350936615de02fa3d4c206d872eca446135c6a4b | refs/heads/master | 2021-03-27T14:59:33.820037 | 2018-07-27T06:12:56 | 2018-07-27T06:12:56 | 119,201,335 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,438 | r | wojciech_aRtichowicz_homewoRk.R | # devel history:
# https://github.com/WojciechArtichowicz/jdsz1_wojciech_artichowicz/blob/master/R/snippets/stuff/homework.R
rm(list=ls())
# 1) load packages devtools, openxlsx, RPostgreSQL, dplyr
{
install.packages("devtools")
library(devtools)
install.packages("openxlsx")
library(openxlsx)
insta... |
78eb6f822994bd02d3c316d2e4e7b0917a38e8ca | 27f53c5a9aa2d0962b5cd74efd373d5e9d9e0a99 | /R/setHyperPars.R | 98ac5f2257f39b0aa34c069b01755bc1fd1b8282 | [] | no_license | dickoa/mlr | aaa2c27e20ae9fd95a0b63fc5215ee373fa88420 | 4e3db7eb3f60c15ce2dfa43098abc0ed84767b2d | refs/heads/master | 2020-12-24T13:44:59.269011 | 2015-04-18T19:57:42 | 2015-04-18T19:57:42 | 31,710,800 | 2 | 0 | null | 2015-04-18T19:57:43 | 2015-03-05T11:29:18 | R | UTF-8 | R | false | false | 2,675 | r | setHyperPars.R | #' Set the hyperparameters of a learner object.
#'
#' @template arg_learner
#' @param ... [any]\cr
#' Named (hyper)parameters with new setting. Alternatively these can be passed
#' using the \code{par.vals} argument.
#' @param par.vals [\code{list}]\cr
#' Optional list of named (hyper)parameter settings. The argu... |
ece216884aa7f0475712c4b468aac49281655bac | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/genotypeR/examples/sort_sequenom_df.Rd.R | de7b143138362d96cb49ca8d1bea98f0a90a798e | [] | 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 | 219 | r | sort_sequenom_df.Rd.R | library(genotypeR)
### Name: sort_sequenom_df
### Title: Sequenom Data frame Sort
### Aliases: sort_sequenom_df
### Keywords: sequenom sort
### ** Examples
data(genotypes_data)
sort_sequenom_df(genotypes_data)
|
0821ca3cec37273fe290cb5a018e6334024294b3 | 8cb0c44a74f7a61f06d41e18ff8c222cc5f28826 | /R/DocumentationLink.r | 8d3d453d1d710cfc2d54b6f61ee50d8ece6e0e14 | [] | no_license | OpenSILEX/opensilexClientToolsR | cb33ddbb69c7596d944dcf1585a840b2018ee66c | 856a6a1d5be49437997a41587d0c87594b0c6a36 | refs/heads/master | 2023-05-31T14:26:19.983758 | 2022-01-26T17:51:51 | 2022-01-26T17:51:51 | 360,246,589 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,324 | r | DocumentationLink.r | # OpenSilex API
#
# No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
#
# OpenAPI spec version: 1.0.0-rc+2
#
# Generated by: https://github.com/swagger-api/swagger-codegen.git
#' DocumentationLink Class
#'
#' @field type
#' @field url
#'
#' @importFrom R6 R6Class... |
e8373d8d90141ad6c4a14cc19088fa0481e52707 | 8a9d70289006cc10c59917f5447b4c51650e0b8a | /03 historic.R | 7ff143739fb627b9c603b22b3c931335dc9fdb02 | [] | no_license | fabiolexcastro/aclimatar_v1 | 47a34c6c344f2b6f6b7bd716e171d0cdbb026ca5 | 23cfe58d81ab3e629a0a5256cd1cfa7bc1f46874 | refs/heads/master | 2023-06-15T09:30:04.653236 | 2021-07-07T01:45:53 | 2021-07-07T01:45:53 | 383,642,907 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,917 | r | 03 historic.R |
# Load libraries -----------------------------------------------------------
require(pacman)
pacman::p_load(raster, rgdal, rgeos, terra, stringr, glue, sf, tidyverse, gtools, foreach, doSNOW)
g <- gc(reset = TRUE)
rm(list = ls())
# Functions to use --------------------------------------------------------
extMskNC <... |
8b9984cbaa50a4f755ce6b22e91c848f2ed94478 | 319c8effd49600b5796cd1759063b0b8f10aeac1 | /workspace/CRISPR/wntscreen/gfp+_seq/pval_distribution.r.2018090617 | 7f9582c67175f1365004081a18b10476a9fb2e3f | [] | no_license | ijayden-lung/hpc | 94ff6b8e30049b1246b1381638a39f4f46df655c | 6e8efdebc6a070f761547b0af888780bdd7a761d | refs/heads/master | 2021-06-16T14:58:51.056045 | 2021-01-27T02:51:12 | 2021-01-27T02:51:12 | 132,264,399 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 369 | 2018090617 | pval_distribution.r.2018090617 | #!/usr/bin/env Rscript
library(ggplot2)
args<-commandArgs(T)
data = read.table(args[1],header=TRUE,sep="\t")
pdf(args[2])
subdata = subset(data,data$tag != "other")
nrow(subdata)
ggplot(data=data,aes(x=pval_rank,y=-log10(pval)))+geom_line()+
geom_point(data=subdata,aes(color=tag))+
#scale_color_manual(values=c(others=... |
be1476c7ea19e16f2d9dab3670dae645d1a16993 | 740d61a6181e12753c10a83bf7c6ee13541744ac | /Сбор данных в интернете/12/04-gapminder_xlsx.R | 935292ebe7b5a07875d99dd5948b17cee8c7eb4e | [] | no_license | kn7072/R | d566efd2410421b4333b8666bfc99ce90c2cbec7 | 142f3d51d2beff767896c43307881be6f9a64fee | refs/heads/master | 2021-01-11T11:07:02.972657 | 2017-02-05T16:59:29 | 2017-02-05T16:59:29 | 72,877,223 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 667 | r | 04-gapminder_xlsx.R | # Скачаем данные о заболеваемости ВИЧ из хранилища Gapminder
# (https://www.gapminder.org/data/) и сохраним в таблице R.
suppressPackageStartupMessages(library('XLConnect'))
url_base <- "http://spreadsheets.google.com/pub"
key <- "pyj6tScZqmEfbZyl0qjbiRQ"
url <- paste0(url_base,"?key=",key,"&output=xls")
# Сохран... |
3720df0806e67fa2b4e76f4002e00e4d0a4b94ca | b8e2e581169e27b538cc1fa5e7cfb5830316c693 | /man/testPlotMap.CSV.Rd | c07aa48af535683661ede2afafdc85145183a387 | [
"MIT"
] | permissive | Libardo1/wtsGMT | 051aaf67fb89856176abafd18ec09bf634ed3506 | 232bb70963ac83d09f6ced10c946031c37d3542d | refs/heads/master | 2021-01-15T20:04:14.296141 | 2014-07-16T18:49:47 | 2014-07-16T18:49:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 112 | rd | testPlotMap.CSV.Rd | \name{testPlotMap.CSV}
\alias{testPlotMap.CSV}
\title{Run tests.}
\usage{
testPlotMap.CSV()
}
\description{
}
|
9a85c44e78d1a3a30080f505135569413e5cc179 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sboost/examples/validate.Rd.R | d01ddb697e3f16c3dc69fb4c9a303bc3ca8e57af | [] | 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 | 299 | r | validate.Rd.R | library(sboost)
### Name: validate
### Title: sboost Validation Function
### Aliases: validate
### ** Examples
# malware
validate(malware[-1], malware[1], iterations = 5, k_fold = 3, positive = 1)
# mushrooms
validate(mushrooms[-1], mushrooms[1], iterations = 5, k_fold = 3, positive = "p")
|
9903920d850add54b3a0774be1b4c573f4edbe72 | 25755fbf197933d6e0112f55dcb989959e3b29d5 | /201105.R | 6905547eaa356e40145ac37c2220263511e7bda5 | [] | no_license | BGJeong/R_test | c2c989bae0f7a8c32dd3715bcf27a3db5d89da31 | 55ea421519b499caee2e5261693c6ab48a3c8023 | refs/heads/main | 2023-01-08T15:31:47.923637 | 2020-11-06T00:14:15 | 2020-11-06T00:14:15 | 307,956,115 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 582 | r | 201105.R | # 의존성 패키지 설치
install.packages(c('stringr', 'hash', 'tau', 'Sejong', 'RSQLite', 'devtools'), type = "binary")
# github 버전 설치
install.packages("remotes")
# 64bit 에서만 동작합니다.
remotes::install_github('haven-jeon/KoNLP', upgrade = "never", INSTALL_opts=c("--no-multiarch"))
library("rJava")
library("memoise")
li... |
f1df5da315213fdf7d710d97ffef3594fdbd60c7 | 4d0c5b2ffe0a23e40c65ddb240a89bc9e465a06c | /WebContent/WEB-INF/scriptR.R | bb61c50c3038005be769215e0a6fb358887259ba | [] | no_license | Pitchounette/Back2Back-proj | 79bafca8a2a206d7a04e524c78cfdb246531ec2f | a3af13cbfd160903028fd152133f2747c320c27d | refs/heads/master | 2021-05-13T16:27:30.720246 | 2018-03-29T09:52:03 | 2018-03-29T09:52:03 | 116,792,768 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,859 | r | scriptR.R | library(rpart)
library(randomForest)
arbre_classification = function(repertoireTrain, repertoireTest, indY, minbucket, transform){
train.fichier = read.csv(repertoireTrain, header=TRUE)
test.fichier = read.csv(repertoireTest, header=TRUE)
if (!is.factor(train.fichier[,indY]) & transform){
train.fichier[,ind... |
9d1298b596523266e499638cbd4b99b6051899a7 | b79af28f8a3a769a52a9c2d6bdc2ee543a7ea82c | /R/forecast.R | f8b83bbfae145a5281dff90d14637b561f91872b | [] | no_license | cewm/Habitat_for_humanity | 8e2fe10ecf209ea38f932495d2c4b9ac37128dd6 | f6dfb4d5011203fd8930f5cd8a1cb14781af18f5 | refs/heads/master | 2020-05-19T04:25:45.751647 | 2019-08-08T20:27:50 | 2019-08-08T20:27:50 | 184,825,733 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,320 | r | forecast.R | rm(list=ls())
setwd('C:/Users/white/Documents/Practicum/R/ZIP')
####load data
data=read.csv("30363.csv",header=T)
head(data)
#create time series
temp = ts(data, start = 2007)
#plot time series
ts.plot(temp, ylab = 'Total Assessment', main = '30363')
#####plot acf and pacf
acf(temp)
pacf(temp)
#Order sel... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.