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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d571753bca092f40ace60045f386ec199d2bc249 | b30a6a9d69305509e197bd36d5307578a05ad46f | /PARMskew.R | 0ec47826450515b54e229258e6aa781e3c57dc98 | [] | no_license | amwootte/analysisscripts | 49b4d6736d1701805a960425f96d01e7397ef852 | 9ab5dd1a7659664daf652c0138510e5a3644ee62 | refs/heads/master | 2022-07-20T05:09:10.418987 | 2022-07-06T15:02:10 | 2022-07-06T15:02:10 | 116,304,534 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,778 | r | PARMskew.R | source("/data2/3to5/I35/scripts/analysisfunctions.R")
library(ncdf4)
library(maps)
library(fields)
library(sp)
setwd("/home/woot0002/")
PARMdtrfile = "dtr_day_I35dtrdetrp1-PARM-B10P01K00_historical_r6i1p1_I35Land_19810101-20051231.nc"
PARMtmaxfile = "tasmax_day_I35txdetrp1-PARM-B10P01K00_historical_r6i1p1_I35Land_198... |
1f6f5edf7ceec1be4fe6f0738bc132c2a319ed29 | c33b1ac130ab154cc300800fe6bbd887328f3c50 | /man/lm_each_subsample.Rd | 389527841af8d2659da19cad3f43bf5843a16670 | [
"MIT"
] | permissive | zheng003/blblm | a71d244fbff63997ae60be6cf7c68668846685bd | 24485772f7e0e16915538279a9069843546a21ce | refs/heads/master | 2022-11-02T03:15:32.818662 | 2020-06-11T11:39:45 | 2020-06-11T11:39:45 | 270,378,179 | 0 | 0 | null | 2020-06-07T17:19:36 | 2020-06-07T17:19:36 | null | UTF-8 | R | false | true | 409 | rd | lm_each_subsample.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/blblm.R
\name{lm_each_subsample}
\alias{lm_each_subsample}
\title{compute the estimates}
\usage{
lm_each_subsample(formula, data, n, B)
}
\arguments{
\item{formula}{fomula: V1~V2}
\item{data}{dataframe}
\item{n}{total number of rows in data... |
fde09347272fc8cc54dc6c88d02c85d35168f31f | fd1019e277941bf5ddb0c193c4a7c844eb3e9baf | /man/CCMouse.Rd | 000ccf7c5df6c1c17c3449b91da4b7300cac14aa | [] | no_license | cran/gontr | 0bfbe5de33fe4cc41195863ee99183b7dda25466 | bb027d123d8d28fe4082b7c6155d6a07feb21406 | refs/heads/master | 2023-01-05T23:14:06.832606 | 2020-11-05T08:30:02 | 2020-11-05T08:30:02 | 310,512,523 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 600 | rd | CCMouse.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/doc.R
\docType{data}
\name{CCMouse}
\alias{CCMouse}
\title{CC GO-terms reduced GO-DAG for Mouse}
\format{
A list with 3 objects:
\describe{
\item{v}{GO-terms in the respective nodes.}
\item{dat.d}{Data frame object that shows how the resp... |
33925bb68f9b3452eafa4ad8c11922833caf6e16 | b6541fbb8c42e341c91e8c89006fe61236d1e99d | /plot1.R | 6b588fc13dff8f480c64ec6632243b09175e7cc7 | [] | no_license | jfausto/ExData_Plotting1 | fcb715eabd932613ca981d84d79d954f705ce77b | 0011331876072679860914f2c8101aa993d7f75e | refs/heads/master | 2021-01-21T16:00:32.652048 | 2016-04-18T09:51:12 | 2016-04-18T09:51:12 | 56,434,390 | 0 | 0 | null | 2016-04-17T12:08:08 | 2016-04-17T12:08:08 | null | UTF-8 | R | false | false | 465 | r | plot1.R | ## Coursera - JHU - Exploratory Graphs
## Week 1. Assignment
## Date: 4/17/2016
## IMPORTANT NOTE #####
## DataSetLoad.R must be executed before to get the pwcFeb07 data frame
source('DataSetLoad.R')
## Draw the first Plot
hist(pwcFeb07$Global_active_power, main="Global Active Power",
xlab="Global ... |
22cf6c222f9d62a05e5c53e764e106c0bad49629 | 44fb6d163b5c56abfdf1500e27a2efec03fcc1db | /02 Shiny/server.R | 6e03d751510fef9166c7ea48615bd9f126b2d6f0 | [] | no_license | rmelendez94/DV_SProject | 10e5d37eb4071ff9830a98fe970cc26d0767bbef | 03ffac3dcb814b51809a0af87456dc8339ce88e8 | refs/heads/master | 2021-01-10T05:14:47.471972 | 2015-11-21T20:30:38 | 2015-11-21T20:30:38 | 46,313,173 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,308 | r | server.R | # server.R
require(jsonlite)
require(RCurl)
require(ggplot2)
require(dplyr)
require(tidyr)
require(shiny)
require(leaflet)
require(shinydashboard)
require(DT)
shinyServer(function(input, output) {
df <- data.frame(fromJSON(getURL(URLencode('skipper.cs.utexas.edu:5001/rest/native/?query="select * from BNKMKTG"'),h... |
a40b75bec2d727fbe641e5cdd324ffcbe35f1fca | 61e4c8a154719f5f85f8220cbb2a50a4d756b97b | /R_basic/reveiw_day3.R | 5caa29f82b899d090a4a3a2eb679ae21789bc1bf | [] | no_license | HeekyungKim6424/study_R | d1b152ffccc31633d11d6e3a5e74eb3f170323e6 | 20fff8cf34a8890fbe3b1e54a81ceed52aa8ea2b | refs/heads/main | 2023-02-24T08:28:35.111068 | 2021-01-25T19:43:00 | 2021-01-25T19:43:00 | 328,738,209 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 413 | r | reveiw_day3.R | #세번째날 복습!!
#좀 늦은감이 없지않아 있지만....일단 그래도 해봐야지!!
news=read.csv("news_ecommerce_lda_k10.csv")
head(news, 2)
# Q1. news객체는 몇개의 언론사 뉴스 기사가 있는가?
length(unique(news$press))
nrow(news)
# Q2. 연도별 월별 뉴스기사 개수를 확인하시오.
for num in unique(news$year){
count=nrow(news$year==num)
paste(num,count)
}
|
d495bdb653a8b738403dff15a8532be51b59302f | ddd877e4cf2df00596dbcd4c01411b48ebf6da3c | /1_data_and_scripts/Fig3_data_and_code/Fig3F/0_code_Fig4C.R | 8a20f25f6c46d2cc0496b3bbbecb1084582a9d1d | [
"MIT"
] | permissive | PLeeLab/methane_oxidation_genetic_trait | 5b5ee719d82df2316de0fdfdfca6281094748fd4 | 0d76cf1276d6a26f95ce930dad1cb2955bacc976 | refs/heads/master | 2020-04-10T20:42:34.643222 | 2019-07-25T07:59:57 | 2019-07-25T07:59:57 | 161,276,280 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,261 | r | 0_code_Fig4C.R | #install.packages('seqinr')
#install.packages("robustbase")
#install.packages("gplots")
#install.packages("reshape")
#install.packages("ggplot2")
#install.packages("ggpubr")
#install.packages("RColorBrewer")
#install.packages("ggrepel")
library('seqinr')
library("robustbase")
library("gplots")
library("reshape")
librar... |
d432829fcb57340def919d51a065d398fb67feb7 | e05e6718bdc2c25571e54670405cb1fae39dc2f9 | /R code/Modular Structure.R | f42bc88aaeef20461111fec07459e3f2f0be31f0 | [] | no_license | angelayuan/Development-Emotion-Connectome | 49fcd01e3c6edc2614ac52256c18d884bfa9325d | 9d25fcc08c1a8728b016088f036d2f52f308fcac | refs/heads/master | 2020-03-22T16:29:22.347836 | 2018-07-18T00:23:52 | 2018-07-18T00:23:52 | 140,330,358 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,466 | r | Modular Structure.R | setwd('/Users/zhangyuan/Google Drive/Files_PNC_Analysis')
sub <- read.table('SubInfo_2018.txt',header = TRUE, sep = '\t',
colClasses=c("Subj"="character"),stringsAsFactors=FALSE)
library(corrplot)
library(R.matlab)
library(ade4)
cons = c('fear','anger','sad','happy')
age <- data.frame(coef=numeric(... |
449d176fa053fbdd00129682d4eb9360c7085d91 | db1e3f2b4e55ad254acfe196f82c963e1b13fbb7 | /train_two_online.R | 3bd5cd435154fa0b49e53528d5be77c570a0d983 | [] | no_license | willtom0334/-o2o- | a4dca28d50ecf8d3867ca22a79c72134bd9c8520 | 3d521bb69a3d5d55f2fd94d8144fba0df2da5cab | refs/heads/master | 2020-04-17T16:22:54.623207 | 2019-02-06T06:40:59 | 2019-02-06T06:40:59 | 166,737,871 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,055 | r | train_two_online.R | ###############线上集的处理######## Train & Revised ####################################
rm(list = ls())
require(dplyr)
require(reshape)
require(tidyr)
require(sqldf)
require(snowfall)
require(smbinning)
setwd('C:/Users/Administrator/Desktop/tc')
Sys.setenv(JAVA_HOME='C:\\Program Files\\Java\\jdk1.7.0_79\\jre')
mem... |
0bd15638bc3225068b89db58b78dea0eeddcd312 | 798ccd069fc99bb33a0e476d6f8043659c319c3b | /man/sampleDirs.Rd | bfe12bdfb549532574d3763d661e5913b1b1e4b6 | [
"MIT"
] | permissive | microsud/bcbioRNASeq | 076beefe9a928f7ac17ca785f23e060a0a181f58 | ebccb143522938ad87388e1f1d734862b1d81d6d | refs/heads/master | 2021-07-07T06:51:34.259240 | 2017-09-28T14:28:28 | 2017-09-28T14:28:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 599 | rd | sampleDirs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllGenerics.R, R/methods-sampleDirs.R
\docType{methods}
\name{sampleDirs}
\alias{sampleDirs}
\alias{sampleDirs,bcbioRNADataSet-method}
\title{Sample Directories}
\usage{
sampleDirs(object)
\S4method{sampleDirs}{bcbioRNADataSet}(object)
}
\ar... |
206997c8c869b2bf1e07359ae7544cc1504136ba | 0416dd359c092e40d6a8e625810f058bff1adf78 | /R/mod_progression.R | cc6052188777cc6c7b6a681503dbba7ad56ab7b6 | [
"MIT"
] | permissive | ericvenot/suivicovid | d8bd28626380c44f915053b844ff9c4c3dbe3b4d | 33639e28056eeee28c87f91226defaa9588e6820 | refs/heads/master | 2022-07-04T16:49:01.258843 | 2020-05-14T07:43:14 | 2020-05-14T07:43:14 | 253,522,243 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,614 | r | mod_progression.R | #' progression UI Function
#'
#' @description A shiny Module.
#'
#' @param id,input,output,session Internal parameters for {shiny}.
#'
#' @noRd
#'
#' @importFrom shiny NS tagList
#' @importFrom lubridate date
mod_progression_ui <- function(id){
ns <- NS(id)
tagList(
fluidRow(
h2("Progression du nombre d... |
66a7b65af535be00cd17b58b4421693a9a6c482e | 6e2b27cd75e5e76022510b1682c9d888c9fb646d | /man/ocrpng.Rd | 401689527682b0c00e9d87365fe1372cc077e39b | [
"MIT"
] | permissive | nrode/CORproject | 3a57cabaafe0062483450af140fea2edaf8d938f | 49e1b2b77296ba36608962a97cee3fc805ffc981 | refs/heads/main | 2023-01-08T09:35:53.002989 | 2020-11-06T16:50:15 | 2020-11-06T16:50:15 | 310,327,274 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 366 | rd | ocrpng.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ocrpng.R
\name{ocrpng}
\alias{ocrpng}
\title{Title}
\usage{
ocrpng(
impagepath = "data/test.png",
n.col = NULL,
lang = "eng",
header = TRUE,
cleaning = FALSE,
outcsv = "/output/fitnessOCR.csv"
)
}
\arguments{
\item{cleaning}{}
}
\... |
0d8e1048e088869f54da90896614351b640e125c | 6ca362731c11fc3c6db6ff2bb0852be4c3f9fba3 | /code/spare_R_codes.R | 21246bbab1028ca68ac0bcf91c603569f12841f7 | [] | no_license | willofbigdata/real_estate | 50d817b2e85cbc3a80edfb3f0f25bcde7d93877e | 47ee4c967bc25bf8ea650b36560dcef163799347 | refs/heads/master | 2021-01-22T03:49:19.779268 | 2017-07-30T23:18:56 | 2017-07-30T23:18:56 | 92,406,083 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,847 | r | spare_R_codes.R |
# The center-and-spread data frame used for model-building
# ***** This approach requires all categories to have at least 2 observations
# since ths approach uses the standard deviation.
# Obtain the mean and stdev values of lat and lng from each category
cns <- data.frame(uniq_cat_id=sort(unique(source$cat_id)),
... |
eaceac1f0ae4ca2456957a201511540345e3f913 | e9cdaf3e58814c042f94059614fa91c63d6d1ca9 | /R/transpose_df.R | 63a3ada4aff049462683b9fa71acc7bab7680ab5 | [
"MIT"
] | permissive | trendlock/brush | 45f3337d2cbf90a2a244ecf6ce1491aa351d46fe | dd32a4785f6add08d3370283fd5abe93a0132e17 | refs/heads/master | 2021-09-04T20:24:36.511755 | 2018-01-10T22:28:14 | 2018-01-10T22:28:14 | 115,588,529 | 0 | 0 | MIT | 2018-01-10T22:13:27 | 2017-12-28T05:31:33 | R | UTF-8 | R | false | false | 87 | r | transpose_df.R |
#' @export
transpose_df <- function(df) {
df %>%
t() %>%
as_tibble()
}
|
c43b1c0cb9c32aa44eb533841c435d5ef42f9e21 | a3b8be8f07b3f32002e7a6433e3da61f6f55f512 | /man/spatial_rj_neighborhoods.Rd | 254a84d9bd4c025cda6e2bf7bfb0fbea45429b72 | [
"MIT"
] | permissive | mralbu/coronavirusbrazil | 20e077a22e0df40397f93a845d2c41d9aebc0bf1 | 9e0eeaf848d2a31370b5deff48a6e363cc19c54c | refs/heads/master | 2021-05-21T23:07:12.653930 | 2021-03-21T02:36:17 | 2021-03-21T02:36:17 | 252,846,329 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 941 | rd | spatial_rj_neighborhoods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datasets.R
\docType{data}
\name{spatial_rj_neighborhoods}
\alias{spatial_rj_neighborhoods}
\title{Spatial Dataset of Rio de Janeiro cases by neighborhood}
\format{A spatial data.frame object (sf)
\describe{
\item{neighborhood}{Rio de Janeir... |
ae451dcfec47f140b2c56c6ea6e391ccf06b10ed | 2b0e7454e2c87076f4f97d35000bf3426b7d9aaa | /man/TS_split.Rd | 33cb216a6100fe8c72ba434ee99a3363dc5f2dfe | [] | no_license | raphael210/QDataGet | 52df9d791d7d1d8933555dbdfa9d81e42558a5ee | 83531020e180fe8d07fdfa4a75413fd2b95cd6b4 | refs/heads/master | 2020-04-12T06:29:33.198718 | 2019-02-01T07:50:14 | 2019-02-01T07:50:14 | 64,194,185 | 0 | 5 | null | 2017-03-16T03:29:45 | 2016-07-26T06:00:12 | R | UTF-8 | R | false | true | 560 | rd | TS_split.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fct01_frameBuildingFuncs.R
\name{TS_split}
\alias{TS_split}
\title{TS_split}
\usage{
TS_split(TS, by)
}
\arguments{
\item{by}{a vector, with the same length of TS}
}
\value{
a list is TS
}
\description{
split TS to lists, which are usually TS... |
9a44607336c10ac19c675b5835cc203bc649beb5 | 45965a51c28dca7ca4ec5a8205b8d11fc6de8e6b | /DT_C5.R | 9a8108acd03cfe262739f358c77dbf4745af2cb4 | [] | no_license | Dhrupad101/Data | 955be72b195c0a25167a395778d9b5d66e2a60f5 | 58687de5fbe9d0a19c759397694d1b19d38006bb | refs/heads/master | 2020-12-09T16:18:46.087646 | 2020-08-23T23:19:55 | 2020-08-23T23:19:55 | 233,357,472 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 485 | r | DT_C5.R | data("iris")
install.packages("C50")
library(C50)
library(caret)
#create partitions
inTraining<-createDataPartition(iris$Species,p=0.65,list = F)
training <-iris[inTraining,]
testing <-iris[-inTraining,]
#model
model<-C5.0(training$Species~.,data = training) #species is the dependent variable
summary(model... |
a82bc1a676cf66d27d85ec7c3244ccc6b9041c99 | 5788fc4ed667bcbb31cf6a47cec65d0e62db367f | /server.R | 42b6efc63b27f48bd4c593d048dadf7e380a1cb7 | [] | no_license | zhoutongfu/DevelopingDataProject | 0650a591f83343b468dbb6a60236ff84d503a0a4 | 04048d5431d6a09919fdaaa6b2842f425dc23c37 | refs/heads/master | 2016-09-01T22:56:09.005178 | 2015-06-19T00:31:53 | 2015-06-19T00:31:53 | 37,634,710 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,076 | r | server.R | library(shiny)
library(png)
source("dataFile.R")
showPic <- function(pic){
# rotate the picture because image function in R has weild angle for veiwing
# cat(dim(pic),file=stderr())
rotated_pic <- t(pic[nrow(pic):1,])
image(rotated_pic,col = gray((0:32)/32),asp=1,xlim=c(0,1),ylim=c(0,1) )
}
compressedPic <- f... |
6a2a6e6cb23014ebfa868d55f38f76dbd263d295 | 4201e9b754760dc35fc0aeef9df5a8b9d801c47f | /bin/R-3.5.1/src/library/base/man/formatc.Rd | a29ae4240296e6063da32f7679275d78584f2330 | [
"MIT",
"GPL-1.0-or-later",
"GPL-2.0-or-later",
"GPL-2.0-only",
"LGPL-2.1-only",
"LGPL-3.0-only",
"GPL-3.0-only",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lifebit-ai/exomedepth | cbe59cb7fcf2f9183d187f8d466c6620fb1a0c2e | 5a775ae5e2a247aeadc5208a34e8717c7855d080 | refs/heads/master | 2020-03-27T12:55:56.400581 | 2018-10-11T10:00:07 | 2018-10-11T10:00:07 | 146,578,924 | 0 | 0 | MIT | 2018-08-29T09:43:52 | 2018-08-29T09:43:51 | null | UTF-8 | R | false | false | 11,704 | rd | formatc.Rd | % File src/library/base/man/formatc.Rd
% Part of the R package, https://www.R-project.org
% Copyright 1995-2017 R Core Team
% Distributed under GPL 2 or later
\name{formatC}
\title{Formatting Using C-style Formats}
\alias{formatC}
\alias{prettyNum}
\alias{.format.zeros}
\description{
Formatting numbers individually ... |
448e317b4421526cee482c4fa2b8021494dae716 | 29585dff702209dd446c0ab52ceea046c58e384e | /TreePar/R/pnshift.R | e3ffcb672cfc5fd7691fced14f693a2906d37705 | [] | 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 | 273 | r | pnshift.R | pnshift<-function(n,time,t,lambda,mu,rho=1){
i <- inter(time,t)
rho1<-rho
rho<-lambda*0+1
rho[1]<-rho1
probext<-q2(i,time,t,lambda,mu,rho)
if (n==0){res<-probext} else {
res<-1-probext
Finv<- 1/Ffuncshift(time,t,lambda,mu,rho1)
res<-res*Finv*(1-Finv)^(n-1)}
res
} |
32a17f31acb096020d6d42cfffc9cac9b629dd1c | 4a73e641f5fa27ad41bd07d4be32d2f01b1c9983 | /grafico_temperatura_tiempo2.R | 76c06b9138b54ef36aea5b3a38c8b807b8cf6e98 | [] | no_license | smansilla16/PROYECTO_STAT_NT_2019 | b4869672fef5f1d6f2671223fc915dda266a096d | e9db1671577f741e1b22f5dcbc29efdbfd5dbb15 | refs/heads/master | 2020-05-29T15:29:37.019709 | 2019-07-02T00:11:21 | 2019-07-02T00:11:21 | 189,223,206 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,569 | r | grafico_temperatura_tiempo2.R | source("carga_datos_clima_consumo.R", encoding = "UTF-8")
grafico.titulo <- "¿Hay alguna tendencia de la temperatura con el paso de los años?"
grafico.descripcion <- paste("Grafico de caja para la temperatura respecto al tiempo",
"para el período comprendido entre el", ajustes$rango[1],
... |
ff0c02ecd636f7ee24ff77db4c73f186b72ab4a6 | 15f6d542ed3978587d34dc6c77100b26eb492fea | /R/access.R | 06ce0c08d6592663413db4c63cba7f6f1b92f9b6 | [] | no_license | statnet/networkDynamic | a1d508f120bd8c19092e451c85f957e23125cb3d | 2ec10feff699bcf8a9471e689bb48587742eec01 | refs/heads/master | 2023-02-21T14:44:07.474175 | 2023-02-16T07:52:48 | 2023-02-16T07:52:48 | 95,258,091 | 10 | 3 | null | 2023-02-05T15:38:00 | 2017-06-23T21:34:18 | R | UTF-8 | R | false | false | 41,866 | r | access.R | # File networkDynamic/R/access.R
# Part of the statnet package, http://statnetproject.org
#
# This software is distributed under the GPL-3 license. It is free,
# open source, and has the attribution requirements (GPL Section 7) in
# http://statnetproject.org/attribution
#
# Copyright 2012 the statnet developme... |
6755b002831bffe4089f144b10a8c4485b1007a3 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/gamlss/examples/Rsq.Rd.R | 5044c13a41ab8ad6cbf5c79321aa1c991dab85a3 | [] | 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 | 247 | r | Rsq.Rd.R | library(gamlss)
### Name: Rsq
### Title: Generalised (Pseudo) R-squared for GAMLSS models
### Aliases: Rsq
### Keywords: regression
### ** Examples
data(aids)
m1 <- gamlss(y~x+qrt, data=aids, family=NBI)
Rsq(m1)
Rsq(m1, type="both")
rm(m1)
|
da8998d3f549019da40b5d75e575a715b8b294cf | c87a3703d379a70af9082758d70beebb7a51d6c6 | /cachematrix.R | 3fefa9cb450251e986b9c0c576c820711fdc7110 | [] | no_license | StewartJepson/ProgrammingAssignment2 | 59aadcf2e212e49c861691c94c6f5de14fc3cb29 | 27b27fdb39a29b9aa0128d0e962f9bcdb2db28e3 | refs/heads/master | 2020-04-10T23:45:09.566674 | 2018-12-13T17:30:55 | 2018-12-13T17:30:55 | 161,363,655 | 0 | 0 | null | 2018-12-11T16:37:33 | 2018-12-11T16:37:32 | null | UTF-8 | R | false | false | 1,621 | r | cachematrix.R | ## The following functions cache inverse of a matrix
## makeCacheMatrix stores a matrix and its inverse
makeCacheMatrix <- function(x = matrix()) { # x is initialized as a function argument
I <- NULL # I is initialized as a NULL object so it can be used later in the function
set <- function(y) {
... |
cc7e96a084f424e2b815d3b76de200789dbde733 | 5996e5ed35ef4e0cf75774c2ec837fb757462a48 | /man/meanByClassHelper1.Rd | b6762382f931cc3eb39f097c2bbb32046bc7fe30 | [] | no_license | interconnectDiabetes/dsBaseClient | 26045ac34ef4140e92b94bad5de77b726fafc67f | dfc52f174a8387a59aa4002b52b120186647867a | refs/heads/master | 2021-01-21T16:10:22.057430 | 2015-05-01T12:56:06 | 2015-05-01T12:56:06 | 34,659,157 | 0 | 0 | null | 2015-04-27T10:00:32 | 2015-04-27T10:00:31 | null | UTF-8 | R | false | false | 837 | rd | meanByClassHelper1.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/meanByClassHelper1.R
\name{meanByClassHelper1}
\alias{meanByClassHelper1}
\title{Generates subset tables}
\usage{
meanByClassHelper1(dtsource, tables, variable, categories)
}
\arguments{
\item{dtsource}{an opal object(s) obtained afte... |
38ba59dcc8aa5fe87758142d721c9f3ff244c4fe | 657a828bb718736bdeaf56aa29b636f8e55ff743 | /man/LogLoss.Rd | 4f13ff021321b8275a711f00f057c6b450c0c213 | [] | no_license | Then-Terence/LXR | c8e53ed336cb850e1a9f68999af6493603e62f64 | 10d740c2b76a7f306359a34ccefda1a163c7e66d | refs/heads/master | 2023-04-04T17:03:13.198230 | 2021-03-11T19:23:03 | 2021-03-11T19:23:03 | 177,258,586 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 440 | rd | LogLoss.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/LogLoss.R
\name{LogLoss}
\alias{LogLoss}
\title{Logarithmic Loss}
\usage{
LogLoss(Target, Prediction)
}
\arguments{
\item{Target}{A vector of the binary dependent variable.}
\item{Prediction}{A vector of the predictions.}
}
\description{
Thi... |
82d3388f20c1b02557483d6f7844e4ff81c48c1d | d7ff71e8ffb07419aad458fb2114a752c5bf562c | /man/alignment_col1_all_named.Rd | ba03141f173ff53cebb74900a58a3bd791b381ef | [
"MIT"
] | permissive | r-lib/styler | 50dcfe2a0039bae686518959d14fa2d8a3c2a50b | ca400ad869c6bc69aacb2f18ec0ffae8a195f811 | refs/heads/main | 2023-08-24T20:27:37.511727 | 2023-08-22T13:27:51 | 2023-08-22T13:27:51 | 81,366,413 | 634 | 79 | NOASSERTION | 2023-09-11T08:24:43 | 2017-02-08T19:16:37 | R | UTF-8 | R | false | true | 481 | rd | alignment_col1_all_named.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/detect-alignment-utils.R
\name{alignment_col1_all_named}
\alias{alignment_col1_all_named}
\title{Checks if all arguments of column 1 are named}
\usage{
alignment_col1_all_named(relevant_pd_by_line)
}
\arguments{
\item{relevant_pd_by_line}{A l... |
dc482dba2eca672990a541a49d1a1317be29aa57 | 5cb215dd1d269b4471b91efea988d842bf55de40 | /auto-man/synSetProvenance.Rd | 3080c678a7b7375415e21c14c01dda7d0f2500b1 | [
"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 | 584 | rd | synSetProvenance.Rd | %
% Auto-generated file, do not modify.
% Instead, copy this file to the man/ folder, remove this warning, and edit freely.
% Use Git to identify changes in this file which suggest where to change your edited copy.
%
\name{synSetProvenance}
\alias{synSetProvenance}
\docType{methods}
\title{
synSetProvenance
}
\descr... |
e92b1c086af9107df5c527a27b57b922ee47f72f | 8cbf3effff17bb3d7b71f61d825c5396287aa97b | /R/miscellany.R | 016dc31bbbfa5163ee01e7ae06e8151a3316b279 | [] | no_license | hamedbh/HBHtools | a8df8c5efd3a4df005380a2982bf2acea53be869 | a6d55ed3d04210d858a486be030c98a80528e8eb | refs/heads/master | 2021-05-15T15:34:24.625179 | 2017-10-20T06:53:44 | 2017-10-20T06:53:44 | 107,390,117 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,681 | r | miscellany.R | #' A Function to Convert Decimal Time to Days, Hours, Minutes
#'
#' This function allows for easy conversion of time give as decimals to days,
#' minutes, and hours. Useful for switching between different modes of tracking
#' time.
#'
#' @param days Number of days, must be numeric and non-negative
#' @param hours Numbe... |
f99181e9a31adc118e3f382f3b65c0eda64bcf7a | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/gtkStatusIconSetFromIconName.Rd | 1ac424ace52e0ea6e00eba3b06c9478430f615ce | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 531 | rd | gtkStatusIconSetFromIconName.Rd | \alias{gtkStatusIconSetFromIconName}
\name{gtkStatusIconSetFromIconName}
\title{gtkStatusIconSetFromIconName}
\description{Makes \code{status.icon} display the icon named \code{icon.name} from the
current icon theme.
See \code{\link{gtkStatusIconNewFromIconName}} for details.}
\usage{gtkStatusIconSetFromIconName(objec... |
df6a90cf981a5b076962caab7d78514310f908e8 | d8fe878b71c231644cb5e364f94fa5efb3b68df2 | /plot.R | 734a0ced7acbf63872896ae8986618d7f7543f10 | [] | no_license | alanct/ExData_Plotting1 | 3648d7a26cc84a8260467d243c71d45fe8115586 | d8c4918327567bf489db64305390871cc3d38fcc | refs/heads/master | 2020-04-06T04:19:03.491370 | 2014-09-07T23:25:13 | 2014-09-07T23:25:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,225 | r | plot.R | data = read.csv("household_power_consumption.txt", header = T")
data$DateTime <- paste(data$Date, data$Time)
data$DateTime <- as.Date(data$DateTime, format = "%d/%m/%Y %H:%M:%S")
library(dplyr)
subsetted <- filter(data, DateTime >= as.Date("2007-02-01 00:00:00"), DateTime <= as.Date("2007-02-02 00:00:00"))
png(filename... |
bc6ecd742851b8554ad70df08295fa5a7700a0ed | f786383d6162f8fa082a83b03633dc6a0d64fb26 | /plot2.r | 85041b4486e9bfba66b48bfdf2196368ceb01780 | [] | no_license | macmcadams/ExData_Plotting1 | e54449d072a94cf77c0f4d675c7eba7144600d95 | 5ea68897ef261e66099ec8c6088e803fbd01cc26 | refs/heads/master | 2021-01-21T00:22:23.157166 | 2016-02-27T00:33:56 | 2016-02-27T00:33:56 | 52,625,904 | 0 | 0 | null | 2016-02-26T18:58:42 | 2016-02-26T18:58:41 | null | UTF-8 | R | false | false | 771 | r | plot2.r | ####Load necessary library
library(data.table)
####Make sure to have the household_power_consumption.txt file in your working directory
###Load and Transform data
powerdata <- fread("household_power_consumption.txt", header = TRUE, sep = ";", na.strings="?")
powerdata$Date2 <- as.Date(powerdata$Date, "%d/%m/%Y")... |
33978f63cd60c61f75012f82b0bd3a25bf06e1be | 9c83ac4aaa39d6a9431907b43ecd44ca43aadd82 | /R/GMM.R | 32adf909b4b35c6d24ea70f8b6ae1d1492a09b37 | [] | no_license | jkaufy/rpackage | 20a722749b8b773754f0d09c00da96f226a5952e | ae3a1c09380028e6995984465ad5dab6a3e435b1 | refs/heads/main | 2023-08-11T02:12:11.856164 | 2021-10-03T20:41:42 | 2021-10-03T20:41:42 | 411,527,129 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,829 | r | GMM.R | #' Perform Gaussian Mixture Model on a data matrix.
#'
#' This function computes the negative log likely on a data matrix using the
#' Gaussian Mixture Model
#'
#' @param data.mat A numeric data matrix (nxp)
#' @param K The number of clusters
#'
#' @return A numeric value of log.likely error
#'
#' @export
#'
#' @exampl... |
7fe5ff931fdf0d50527d29a22e67aa10186ae55b | 2a7862d20fc9a6819e849907bf0e76733ac270ef | /7.Check.clf.test.apcluster.ordered.by.names.R | 5f62ebc9b7329cce8417e9557e2e2ee91a516a28 | [] | no_license | LucasMS/HMA-LMA-SMP2017 | da5090cd82ba2372b505d56232b6ae0ab90d159d | 12fe422eda6244ecc065831a09bf6dfba4178913 | refs/heads/master | 2020-04-07T08:56:21.509665 | 2018-11-23T13:31:44 | 2018-11-23T13:31:44 | 158,233,921 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,189 | r | 7.Check.clf.test.apcluster.ordered.by.names.R | library('pheatmap')
ncol=7#11
add.alpha <- function(col, alpha=1){
if(missing(col))
stop("Please provide a vector of colours.")
apply(sapply(col, col2rgb)/255, 2,
function(x)
rgb(x[1], x[2], x[3], alpha=alpha))
}
cols <-c(add.alpha("dark red", alpha=0.7),"white", add.alpha("dark blue", 0.7))... |
48213941fff672b32c1448b30c22e117a89023a5 | 27f3313a686b12e132502c6781d376f24d278595 | /ARIMA.r | cb02a66f7debe06704ca1fac72247495de89a33c | [
"MIT"
] | permissive | mstrickland256/Basics | d30f0059d208ceec09a29e4b317e952bb9d2515a | 7025e8bc03c40d65e71bcab783d2162be828ace7 | refs/heads/master | 2021-08-23T04:00:03.932561 | 2017-12-03T04:23:15 | 2017-12-03T04:23:15 | 112,898,566 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,484 | r | ARIMA.r | library(stats)
library(forecast)
library(ggplot2)
#Strip data down to a single column, no label.
snap <- read.csv("xxx.csv")
crackle <- findfrequency(snap)
#used to determine the frequency/period for seasonality.
pop <- ts(crackle, frequency=30)
#frequency here marks the period. 12 for months in a year, 4 for qua... |
16b21dd4fc14500d2563119edac0973df4c3246c | 29585dff702209dd446c0ab52ceea046c58e384e | /snn/R/mybnn.R | 12ff723ef4d39cde1cf1b71cedfabec8f8195750 | [] | 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 | 781 | r | mybnn.R | mybnn <-
function(train,test,ratio){
#implement Bagged NN with given re-sampling ratio for new tests. test can be matrix or a vector
# Reference: Hall and Samworth (2005)
n = dim(train)[1]
weight = rep(0,n)
for(i in 1:n){
weight[i] = ratio*(1-ratio)^(i-1)/(1-(1-ratio)^n)
}
if(is.vector(test) == TRUE){
... |
8930c3ebc799fd78544a477299bc6a08dae64840 | 948c597c35bafb944d142eecc039885e759eab7c | /101519TA/p42a.R | 33c23aade4051a92ad5897eda5f389bd3e535ab3 | [] | no_license | ding05/time_series | 3e216ee8531f1349412b4e683b7af6f859d77c1d | 1b6b7cddc467564b8601e818378730b5d594c809 | refs/heads/master | 2022-08-19T05:30:18.485788 | 2019-11-01T00:44:12 | 2019-11-01T00:44:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 164 | r | p42a.R | co2_t = co2[7: 462]
co2_t = co2_t - ts1 - ts2
plot(co2_t, main = 'Residuals after Removing the Estimated Trend
and Seasonal Components', ylab = 'Residuals') |
e8d7bb35fa6a5e3062f9b1ad2ab6502b672f32be | 8d024367b4c01d59f965e4db7249328e686680f2 | /R/Storm.data.R | 73c5bee2def434f52a834c9ccea070b281df257e | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nicholasjclark/BBS.occurrences | 78b972101488d3f365f03a5f0756d1c0e1216f2d | e6dc0eb6ec73b9f6b458a64990a9b249c1dddaaf | refs/heads/master | 2021-05-25T11:10:32.808761 | 2020-07-14T07:02:52 | 2020-07-14T07:02:52 | 127,217,351 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 660 | r | Storm.data.R | #' Descriptions and locations of damaging storms in the USA
#'
#' A dataset on storm events was accessed from NOAA and processed using regex
#' to categorise storms into categories. The entire workflow is shown in the \code{Appendix 6} script.
#' @format A \code{data.frame} containing 15 variables describing
#' locatio... |
1bdfbcfc83b3b58a965ded1ca1cb0a6442b1ea95 | 2ff4101baa9f59309035bc319d3582e776e33633 | /uvoz/iso_kratice.R | 5ba11c9c751f0caf08ba45cc5254816d43287707 | [
"MIT"
] | permissive | Charisa/APPR-2015-16 | deba4c05a361e60dbcdf5630ad57fe42f008d5fd | 04256b447f9cdcc1cfe97391c006c6a34a4a1a05 | refs/heads/master | 2021-01-18T18:14:07.588532 | 2016-03-01T22:51:45 | 2016-03-01T22:51:45 | 45,528,619 | 0 | 0 | null | 2015-11-04T09:30:32 | 2015-11-04T09:30:32 | null | UTF-8 | R | false | false | 825 | r | iso_kratice.R | # Uvožena tabela z ISO kraticami.
ISO <- read.csv("https://raw.githubusercontent.com/umpirsky/country-list/master/data/en_US/country.csv", encoding = "UTF-8")
colnames(ISO)[2] <- "Country" # Preimenujemo stolpec "value" v
colnames(ISO)[1] <- "CODE" ... |
e3a2713feb7736f7379c4b324ac22957393b49c2 | 79373c11ae265c87f917203fecdd974b1eca95a7 | /man/immgenAnno.Rd | 0c4c18b4a30470e744d068c35fabbb40a8f28061 | [] | no_license | vjcitn/pcmp | 274c8311db39894698cbfbf16604c42674212215 | 9ce0c6647f2811b6a9ae1223082ac294865d487d | refs/heads/master | 2020-04-02T05:16:50.097591 | 2019-01-28T15:25:14 | 2019-01-28T15:25:14 | 154,063,364 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 418 | rd | immgenAnno.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{immgenAnno}
\alias{immgenAnno}
\title{annotation of immgen mouse immune cell resource}
\format{data.frame}
\source{
\url{https://gist.github.com/nachocab/3d9f374e0ade031c475a}
}
\usage{
immgenAnno
}
\description{
a... |
b5a5154ec0dabc98dfe7c26433d8462527d3bab1 | 5a5bc9e1b0d59859b4e213b092e19afe232819e1 | /R/test.dates.R | 231f9d573d7642d54992bd3a6ae47045ec782a3c | [] | no_license | jrmosedale/microclimates | bf469e07b688e9342c0a8d767db84ee428e778f3 | ae2e61969631506c523bd618c9106a61b00355dd | refs/heads/master | 2021-04-30T15:18:19.091728 | 2018-02-12T11:31:16 | 2018-02-12T11:31:16 | 121,236,443 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,802 | r | test.dates.R |
# Create arrays of two years including a leap year for testing JD functions etc
days<-c(1:31,1:29,1:31,1:30,1:31,1:30,1:31,1:31,1:30,1:31,1:30,1:31,1:31,1:28,1:31,1:30,1:31,1:30,1:31,1:31,1:30,1:31,1:30,1:31)
months<-c(rep(1,31),rep(2,29),rep(3,31),rep(4,30),rep(5,31),rep(6,30),rep(7,31),rep(8,31),rep(9,30),rep(10,3... |
abf1536944e3d44289731e66b1bccd4cb6b0a461 | 140ea3cff1547e58e831d929992621344449c126 | /man/imaks.Rd | 3a9f6d52cc1c7948dd7ecefee33003f0851debeb | [] | no_license | cran/hdeco | 59dbd54e7b428c3636bdb1b085c6bc3d964a59b7 | 527f9fda0e104d3aca08e719414998e1dfcc5384 | refs/heads/master | 2021-01-19T07:47:26.585594 | 2009-02-25T00:00:00 | 2009-02-25T00:00:00 | 17,672,567 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 979 | rd | imaks.Rd | \name{imaks}
\alias{imaks}
\title{Categorical map drawing tool with set colour scheme}
\description{A tool for drawing categorical data (matrices) in their proper orientation and with a set colour palette. This is especially useful for drawing multiple images that requrie identical palettes even though some classes ma... |
537caa6dd708bb17af96db9c9cf73b4181835ecd | f518e9ef5191d05805e272d1ddf6b6add056022f | /code/build-jupyter-notebook.R | 79e516f0e21facdb32f4e95f7fd1e2d132787339 | [] | no_license | MingHacker/leetcode-cookbook | 186a7ceee8348e3d664ab8ed20a25d7c19502d18 | 272e08e8b362b3c4853c048fb53412f2db95b9b0 | refs/heads/master | 2023-07-31T15:57:34.422059 | 2021-09-16T14:39:26 | 2021-09-16T14:39:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 223 | r | build-jupyter-notebook.R | library(tidyverse)
# read_lines("notebook.md") %>%
# str_replace("^## \\d+\\. ", "### ") %>%
# write_lines("notebook.md")
# read_lines("Ex50.md") %>%
# str_replace("^## ", "# ") %>%
# write_lines("Ex50.md")
|
846a790eea58a4605401eae90873fc03ccbab57b | aa08000402f12817a0bba300e654c6e2c6136404 | /man/isotopic_information.Rd | 20dd85c092d27c50c3dae80787c26b201815f773 | [] | no_license | judechang/IsotopicLabelling | c6e413db5a61819233885fb0d6c5d7aa4291d9da | ddd5803d8d3902ee8c99bb49324bfeabf8930008 | refs/heads/master | 2021-12-10T05:12:18.607497 | 2016-07-22T09:30:28 | 2016-07-22T09:30:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,397 | rd | isotopic_information.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/isotopic_information.R
\name{isotopic_information}
\alias{isotopic_information}
\title{Get useful isotopic information}
\usage{
isotopic_information(compound, charge = 1, labelling)
}
\arguments{
\item{compound}{Character vector specifying th... |
017db50d21bcfd6cca604a028aac7e8ac32f764f | 9995a101f4ed015258c3b2dc2044e7ff31e321e0 | /src/conditions.R | 544a6606aec675dad30a365a9e07e6e9e45a017c | [] | no_license | tvsiddhu/R_Code | fb1b9a3546f92af3f902e8bddfc181d6882a3340 | dcc7153cba94b67ec6baacbaa007c4409a3e6977 | refs/heads/master | 2022-11-11T12:07:45.138395 | 2020-07-06T07:21:00 | 2020-07-06T07:21:00 | 272,169,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 560 | r | conditions.R | # Title : conditional statement execution
# Objective : learning if and other conditional statements
# Created by: sid
# Created on: 14/Jun/20
#resetting the variable value
rm(random_variable)
#creating the random variable
random_variable <- rnorm(1)
if (random_variable < 0) {
print(random_variable)
print(... |
8aff68d200624a2e4efb9bcbd0f17cefeaf3d92b | 2db887f51a48018a48ce823cc6a9aa6dac44a439 | /tests/testthat.R | a510ba8fa6ce858f258d1c97b7a7f3990922e950 | [
"MIT"
] | permissive | bertcarnell/impact | 99c682d749e86ae1e7433aeeeff28a725e792893 | 55d501afeee24a87c3061391f207713eb3249f57 | refs/heads/master | 2020-05-09T18:57:00.188174 | 2019-09-03T17:01:32 | 2019-09-03T17:01:32 | 181,361,147 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 56 | r | testthat.R | library(testthat)
library(impact)
test_check("impact")
|
4182a12de05d6aa2f7c0bf11d82581ffb4d43328 | b2220ea82036616e44d6fcea4d0a4b401c729f1f | /plot3.R | 06bc19bdff9fe7b155fd0b557e0b626d3a5b1693 | [] | no_license | EngSarahHassan/ExData_Plotting1 | 858e21a3fab102193ddfc97091c06031e313c04d | 1b2b741d58a0f925ec4727b317570d2aad056c73 | refs/heads/master | 2022-11-06T12:48:19.981536 | 2020-06-21T05:27:02 | 2020-06-21T05:27:02 | 273,829,126 | 0 | 0 | null | 2020-06-21T03:45:49 | 2020-06-21T03:45:48 | null | UTF-8 | R | false | false | 1,023 | r | plot3.R | #Load the data
electricPowerConsumptionDF<-read.csv("data/household_power_consumption.txt",header = TRUE,sep = ";",na.strings = "?")
electricPowerConsumptionDF$Date<-as.Date(electricPowerConsumptionDF$Date,format="%d/%m/%Y")
electricPowerConsumptionDF<-subset(electricPowerConsumptionDF, Date==as.Date("2007-02-02")... |
86ce0bc596f2129291c0ba265b09fadaee0b0c68 | cd94ae361315380160c53aba76e55bad57c1ccdb | /man/theme_ojo.Rd | af6634e1c82b3e4c646c1c2f0462c6c90e925e90 | [] | no_license | rcgentzler/ojodb | c931836ff88b8ece481143c0752c16149d9851c1 | 7ba3700458023c8d8e39f6f6194692c277072df1 | refs/heads/master | 2023-01-20T20:48:12.975911 | 2020-11-20T19:48:53 | 2020-11-20T19:48:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 463 | rd | theme_ojo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/theme_ojo.R
\name{theme_ojo}
\alias{theme_ojo}
\title{Style a ggplot in the OJO style}
\usage{
theme_ojo()
}
\description{
Add OJO styling to a ggplot
}
\examples{
\dontrun{
ggplot(ojo_example, aes(file_year, n_cases, color = court)) +
geo... |
b30abd69e91a4fce9107c328631b3bf00d60c998 | 7705703255e840bda0e0b24d1f9fb64b00bc4bab | /Allard _ Spatial Analysis .R | 8d3b897273126b6e7fb25fe3798a95db1a17b1a5 | [
"MIT"
] | permissive | gallard28/SouthernSettlers | bdb782d9be9e81a15854c0bf6954effec70e5aa4 | 148055752a23eabe1a41187c82db56a0b828c4fd | refs/heads/master | 2020-03-20T15:39:39.885234 | 2018-11-06T13:48:48 | 2018-11-06T13:48:48 | 137,518,331 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 867 | r | Allard _ Spatial Analysis .R | ####Title: Spatial Analysis
####Author: Grant A. Allard and Marcos Segantini
####Date:
#Libraries
library(dplyr)
library(stringr)
library(readr)
require(tidyr)
require(ggplot2)
library(leaflet)
#Load Data
load('inventor_df.RData')
#subset data for NZ and UY
inventor_UY_NZ_df<-inventor_df[inventor_df$country=="U... |
2565f8574b9bb3ec5ec0c5849f494576cbfdce9d | 033c440e58943c1b4092eb30398ed50c839093f2 | /man/select_genes_with_l2fc.Rd | ca3e8e13c1f33afba1ba27b21214dc7c01e11a00 | [
"MIT"
] | permissive | Ylefol/TimeSeriesAnalysis | 462c9e0cf6f430ca2d92182a613e71768739453e | 2a612f23d451ec90dac354fd11a13b69ea680370 | refs/heads/master | 2023-07-06T10:05:29.277659 | 2023-06-29T07:50:57 | 2023-06-29T07:50:57 | 522,526,978 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 763 | rd | select_genes_with_l2fc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/differential_expression.R
\name{select_genes_with_l2fc}
\alias{select_genes_with_l2fc}
\title{Select genes based on L2FC/FC}
\usage{
select_genes_with_l2fc(time_object, custom_l2fc_thresh = NULL)
}
\arguments{
\item{time_object}{A timeseries ... |
0ab3a9349c5c39ffd2ebddc35363e126c7c6df81 | b253ea9ffd151dbfe884a01592d910d8244b3984 | /Scripts/clean_data/get_controls.R | 3581bf8d3ecfbdcb0e3d7dbea1331621db309494 | [] | no_license | benmbrew/LFS | 4d0bb1b6df268813b69c298cc310f1f3fc65a9b6 | 1384fc1e5a32e15853bfbbf3df62999fbe1b97de | refs/heads/master | 2021-03-12T19:08:05.281863 | 2019-10-03T15:09:48 | 2019-10-03T15:09:48 | 47,150,327 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,841 | r | get_controls.R | ########################################
# this script will read in and preprocess idat for controls
##########
# load libraries
##########
library(tidyverse)
library(data.table)
library(GenomicRanges)
library(biovizBase)
library(GEOquery)
library(IlluminaHumanMethylation450kmanifest)
library(preprocessCore)
library(I... |
dfbd78b8bdf688919e8c5b01c2510f02e9cb2117 | cd09ef10f84c7451b9ed6eedb0f754d06c1fd394 | /Image_segmentaion Rcode.R | b1a9d3af250534961420da8516532fdbb765d943 | [] | no_license | AVJdataminer/RFNC | a5262b259b514640ad61c88b053b3ee91888b6e9 | 12ca5e3a6edb6d1361f8e674bcb638e5d343ec8d | refs/heads/master | 2021-01-20T22:02:14.882718 | 2019-05-17T16:06:10 | 2019-05-17T16:06:10 | 101,795,957 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 381 | r | Image_segmentaion Rcode.R | ##build an image classification for cars
#source("http://bioconductor.org/biocLite.R")
#biocLite("EBImage")
require(EBImage)
setwd("C:/Users/")
imgcol = readImage("p90081936.jpg")
display(imgcol)
logo_label = watershed(imgcol)
display( colorLabels(logo_label) )
require(shiny)
setwd("C:/Users/cra987/Dropbo... |
0a0ce4827f48c97c1374fde2746e18b93f0c0e78 | 2d6f2dd52bfe260517aa56531a9523715232f451 | /R/rlmer.R | fad90092f26e40f7459cced0da1c5fd684fae1a0 | [] | no_license | kollerma/robustlmm | e0c795c47281d5a98022d49ba1aa61d1ad85bcb3 | 7f7f38c95a557a7f05b835c666c224838174cf99 | refs/heads/master | 2023-04-06T11:40:31.984963 | 2023-03-24T21:07:49 | 2023-03-24T21:07:49 | 8,647,011 | 23 | 10 | null | 2021-05-24T10:30:02 | 2013-03-08T08:38:54 | R | UTF-8 | R | false | false | 31,966 | r | rlmer.R | ##' Robust estimation of linear mixed effects models, for hierarchical nested
##' and non-nested, e.g., crossed, datasets.
##'
##' \describe{ \item{Overview:}{
##'
##' This function implements the Robust Scoring Equations estimator for linear
##' mixed effect models. It can be used much like the function
##' \code{\lin... |
1eca0040cb7e4f60f0631d5d8f6567772ecc45a4 | 608369a849cf5244ac51d9180d142bceeba0a7ba | /R/qs-package.R | 85a018320b40db072bbca7cac47730a3ac3039e1 | [] | no_license | traversc/qs | 437d72b46b184d99e01e90d7cd00f3e5aaa155e5 | 792ae169ba0959568c69c18598d90faba33be623 | refs/heads/master | 2023-04-11T14:53:37.867427 | 2023-03-31T18:00:55 | 2023-03-31T18:00:55 | 163,551,739 | 361 | 30 | null | 2021-11-12T17:30:47 | 2018-12-30T00:54:43 | C | UTF-8 | R | false | false | 147 | r | qs-package.R | #' @useDynLib qs, .registration = TRUE
#' @keywords internal
#' @import RApiSerialize
#' @import stringfish
#' @importFrom Rcpp evalCpp
"_PACKAGE"
|
77ef3026d277eacc7fd5cbdba0c0664dd0c8e67d | e04b27d7341137d7b98842a1448fa914d4bb9ecc | /analysis/eulangs.R | 9a362508d615fc1b4248d76b6611411114dcea18 | [] | no_license | hannes/whocareseu | 9ad88e7b72241d455d8f5ff166a17b580a772bb4 | 6cea28f8014ebbe54de4dae8455c9fffbf0fa629 | refs/heads/master | 2022-03-05T17:49:16.243806 | 2014-01-15T12:58:42 | 2014-01-15T12:58:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,869 | r | eulangs.R | # Geonames localized country name retrieval for Europe, <hannes@muehleisen.org>, 2014-01-13
gncountryInfoCSV <- "http://api.geonames.org/countryInfoCSV?username=demo&"
# get country data from geonames API
countries <- read.csv(url(paste0(gncountryInfoCSV,"lang=en")),sep="\t",stringsAsFactors=F)
# ISO country codes for... |
bbce107dac0084adc5e06b0beb9e0b7e9977e22a | 659ad54e6a8c297af8cce28eee53b175e21aef99 | /Sentiment Analysis (1).R | 466b72f7cc2a996ed1237d5c58ab107d32e8d749 | [
"MIT"
] | permissive | yashchoubey/BabyDestination | 425e1a11aa673efdfc4f2258e1813a551babe4ef | a5ef377850a4d6ead5b3bc18e81d2d85b70edf9e | refs/heads/master | 2020-03-20T15:11:01.693869 | 2018-07-27T05:48:31 | 2018-07-27T05:48:31 | 137,505,932 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,853 | r | Sentiment Analysis (1).R | ###for reading file
library(readtext)
conn = file("C:/Users/baby destination/Documents/R/win-library/3.4/WhatsApp Chat with BD Moms-To-Be(Pregnant).txt", 'r')
linn <-readLines(conn)
linesData <- ""
for (i in 1:length(linn)){
data <- linn[i]
dataProcessed <- gsub('(.* - .*: )(.*)', '\\1', data)
if(dataPr... |
dac796aab6b65c93634cf7b2e9c681d480d3b95e | 543449de92eb4aef5a2708b5426cae700ffd5f8a | /run_stan_models_wrapper_function.R | 65f6c860aea452b397a94ecf36d677049ede4d89 | [] | no_license | nacemikus/belief-volatility-da-trustgame | aa1f28c806e5e277258b680abe0f6dbec672b075 | 8208ec1ec9cca9f78688e31359479e475893c63e | refs/heads/master | 2023-04-15T03:03:31.684956 | 2022-12-02T09:33:46 | 2022-12-02T09:33:46 | 491,472,031 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,737 | r | run_stan_models_wrapper_function.R | # =============================================================================
#### Info ####
# =============================================================================
# hierarchical model
run_model_fit <- function(modelfile, savemodelname, nIter_set, nWarmup_set=0, simulate = 0) {
if (nIter_set< 3) {
... |
c44570ce7ff0ad8682ea8b1cb6a41a543c31eb9b | be47c4a60d441650573e845ed156a4f98a8755b8 | /ui.R | 3add6cc85230fdb8520b238d0d32ccf5dc71168f | [] | no_license | niconaut/NYC_Crime | cff62edab2d0b4a6e41fd78d55fb994e8d2b8091 | 4b129d50ff9c504cbcc1a771075bb41bd2d11bfd | refs/heads/master | 2021-08-09T01:16:41.453434 | 2020-04-30T20:15:19 | 2020-04-30T20:15:19 | 168,894,807 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,268 | r | ui.R | #Define UI for shiny app
shinyUI(fluidPage(
# Application title
titlePanel("DS Project Nico, Alex"),
titlePanel("Interactive Crime Statistics Visualization"),
# Sidebar with an example slider input for the number of bins
sidebarLayout(
sidebarPanel(
sliderInput("time",
"Time ... |
7f1ef982ad3ffc21e49b04145e66d60f48144df6 | b39388e64e16776fedc50e2455c9f42de86c5c07 | /prediction/linear_predictor_inventory.R | 8477c71d006c6e9c8647eba852fe6f0a5074c184 | [
"Apache-2.0"
] | permissive | wuyou33/FHC_Timeseries_Error | f419ab60f3af753a7a2a783f1c426edd1a6dc147 | 1931aa8b753c3ccb975b3c1dbe094b702b597772 | refs/heads/master | 2020-06-06T19:10:59.097920 | 2016-07-30T12:35:34 | 2016-07-30T12:35:34 | 192,831,034 | 1 | 0 | null | 2019-06-20T01:59:17 | 2019-06-20T01:59:17 | null | UTF-8 | R | false | false | 2,657 | r | linear_predictor_inventory.R | ################################################################################
# (c) Copyright 2015 Farzad Noorian.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apach... |
069673d15e9249d89aac1df83bc8ba94ef84e481 | ae410ff373dce6144eae2472a224abbc7703bfc3 | /plot3.R | 58f9b50815365dd44c22055bf981c2b5d89af5ca | [] | no_license | beatasone/ExData_Plotting1 | c496d924139a25b61eed2e16561ad661c46684bb | 7f84ba4031c27685ce405241adf3498d18bc7d31 | refs/heads/master | 2021-01-14T12:47:41.659255 | 2015-04-09T01:02:39 | 2015-04-09T01:02:39 | 33,640,193 | 0 | 0 | null | 2015-04-09T00:45:47 | 2015-04-09T00:45:47 | null | UTF-8 | R | false | false | 1,251 | r | plot3.R | #set classes for colunns for faster reading of large data set
tab5rows <- read.table("household_power_consumption.txt",sep = ";", header = TRUE, nrows = 5)
classes <- sapply(tab5rows, class)
#read in the table, use csv for speed
powertot <- read.csv("household_power_consumption.txt", sep = ";", header= TRUE, na.strin... |
cdf5b281a69b9eaeb4fa89241cfd01abd2b937b4 | b9db037ee7bc2ebf9c228ad1f66fecabccfa70be | /man/Penalty-class.Rd | 4d5ca9c9f3f07facee10cdf2652b0c753e716b92 | [] | no_license | IsaakBM/prioritizr | 924a6d8dcc7c8ff68cd7f5a2077de2fa1f300fe7 | 1488f8062d03e8736de74c9e7803ade57d6fcc29 | refs/heads/master | 2020-12-10T06:23:19.437647 | 2019-12-22T00:04:20 | 2019-12-22T00:04:20 | 233,524,401 | 1 | 0 | null | 2020-01-13T06:13:19 | 2020-01-13T06:13:18 | null | UTF-8 | R | false | true | 632 | rd | Penalty-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Penalty-proto.R
\name{Penalty-class}
\alias{Penalty-class}
\alias{Penalty}
\title{Penalty prototype}
\description{
This prototype is used to represent penalties that are added to the
objective function when making a conservation problem.
\str... |
4eea9d8c06bda732792bef5a5429c2bcb63cb46e | 29cce8539013835a5cadc57ac6309af7388d49cd | /sliceSampler.R | 23a738c42ee9171754dc99e4b7d2d6bdc89c9c95 | [] | no_license | gusl/SliceSamplingDemo | 171db639517f5e6266eff17d6d0ebc6053fb4043 | 4f35ac81b8d383b321221ad6c8ced42e23dda8b9 | refs/heads/master | 2021-01-15T14:46:37.536770 | 2014-05-12T15:08:19 | 2014-05-12T15:08:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,064 | r | sliceSampler.R | sliceSampler1D <- function(f, N=5000, rInitDistr=function() rnorm(1, mean=0, sd=10)){
while(TRUE){
currTheta <- rInitDistr()
if (f(currTheta)>0) break
}
s <- vector()
for (i in 1:N){
height <- f(currTheta)
sliceLevel <- runif(1,min=0,max=height)
halfWidth <- 0.01
##if either endpoint is ... |
444a502f1916122f015807e5936947a3bee1cd7f | 7e0e9e2f7f7dff7e8866369374515b8c4d68463f | /RProgramming/ProgrammingAssignment1/complete.R | d8c59f896c3c56f745f44eb43e5aa8b0c2379406 | [
"MIT"
] | permissive | ZedZedNova/datasciencecoursera | d60b979e975db3df4469d4122394bd1d795b0112 | f8185e1b2f5959eb53839a190700b3947ed6215b | refs/heads/master | 2021-01-23T11:20:00.187022 | 2016-03-06T20:16:05 | 2016-03-06T20:16:05 | 23,549,450 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,843 | r | complete.R | complete <- function(directory, id = 1:332) {
## 'directory' is a character vector of length 1 indicating
## the location of the CSV files
## 'id' is an integer vector indicating the monitor ID numbers
## to be used
## Return a data frame of the form:
## id nobs
## 1 117
## 2 104... |
f3b267412aa9f9e946496420e3e17199e9264643 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /Temporal/man/checkStatus.Rd | 83ca49f99bbf12d00459b608be9cf82bb38ca110 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 428 | rd | checkStatus.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Inputs.R
\name{checkStatus}
\alias{checkStatus}
\title{Status Check}
\usage{
checkStatus(n, status)
}
\arguments{
\item{n}{Integer, sample size.}
\item{status}{0/1 status indicator.}
}
\value{
Logical indicator of whether the status indicato... |
387ea743b4c2a2fbd7a92c506c82e089511a7470 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.analytics/man/gluedatabrew_update_recipe.Rd | 7fe751a10ac8b1f0f07ca41eefaded1d30e6640c | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 827 | rd | gluedatabrew_update_recipe.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gluedatabrew_operations.R
\name{gluedatabrew_update_recipe}
\alias{gluedatabrew_update_recipe}
\title{Modifies the definition of the LATEST_WORKING version of a DataBrew
recipe}
\usage{
gluedatabrew_update_recipe(Description = NULL, Name, Ste... |
bbf8470dd5251cb3c9efce025a711673653a9850 | fb157ec338c0cf5425ae7ccfa16173f2dfa341ec | /R/gee_func.R | 8b8f3fd092f63f5a51e96b2c8ab09659704f6cbe | [
"Apache-2.0"
] | permissive | weinbergerlab/carriage-simulation | 626bfc92ac8872fced16724bb02d656269edbbef | 0190bfe0921e5e9759ad926839e77bd9f6226b75 | refs/heads/master | 2022-06-20T02:51:14.232016 | 2022-05-31T21:17:48 | 2022-05-31T21:17:48 | 152,311,839 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 560 | r | gee_func.R |
gee_func<-function(ds,ses.key ){
ds<-merge(ds,ses.key, by='id')
#reg.data$col<-as.factor(reg.data$col)
ds$date<-as.Date('2019/9/30') + ds$sample.index
ds$quarter<-as.factor(quarter(ds$date))
mod1<-geeglm( col~ quarter+ ses.grp.vector , data=ds, family='binomial', id=id,corstr='independence')
est <- estic... |
4e62baf9ad18d675db53971045fa3720bfb4b85c | c931ab8ff778a3925ba51fc68728c759fecb934c | /man/run_shinymixr.Rd | 4c51b5e811006565c200f4837056107178262c5d | [
"MIT"
] | permissive | KyleBarrett/shinyMixR | be71597f00d10935d6470ecb4db4cbcd454b7a59 | d1bd1f617d4eeb51f5ae3a849b674a239e227092 | refs/heads/master | 2020-03-22T00:12:52.743235 | 2018-06-05T08:25:57 | 2018-06-05T08:25:57 | 139,231,198 | 1 | 0 | null | 2018-06-30T08:07:46 | 2018-06-30T08:07:45 | null | UTF-8 | R | false | true | 397 | rd | run_shinymixr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/run_shinymixr.r
\name{run_shinymixr}
\alias{run_shinymixr}
\title{Runs the shiny app for nlmixr}
\usage{
run_shinymixr(...)
}
\arguments{
\item{...}{arguments passed to the shiny runApp function}
}
\description{
Runs the shiny app for nlmixr
... |
abaf960d11186ea626447d88b2e214091e707f93 | 29585dff702209dd446c0ab52ceea046c58e384e | /npregfast/R/plotdiff.R | 2a766d9d850cdf06f8d3b513e39b959aa8355f45 | [] | 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 | 17,992 | r | plotdiff.R | #' Visualization of the differences between the estimated curves
#' for two factor's levels
#' @description Useful for drawing the differences between the estimation of
#' curves (initial estimate, first or second derivative) for two factor's levels.
#' Missing values of factor's levels is not allowed.
#'@param mod... |
8b41504f541c3493a3b998dd656673618d6ea1fc | d95dce973e531a6ed5a8f1db121641a2bd978ec3 | /R/readSitraObs.R | 4358de82505546246e891e4d886dbd297f562090 | [] | no_license | zhenglei-gao/pest.R | f6a7a2fe095170ae384e53d0890eb014b372dc6a | 260a9e35fd49f0fa483d6c7904f9d9a8aed4725d | refs/heads/master | 2020-12-03T05:26:13.556729 | 2014-04-15T09:37:45 | 2014-04-15T09:37:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,509 | r | readSitraObs.R | readSitraObs <-
function # ^ Read sitra-observations
(
file # ^ sitra-observation-file
)
{
readPointData <-
function(x, skip, pname, ptype)
{
d <-
read.table(text = x, skip = skip
, stringsAsFactor = F
... |
5604ea241fe8130f62bb015b1d95111b843468fd | 468be7517b2c5953c57ca0f620f811efac6c9f84 | /man/dhhs_purple3.Rd | 9fa466f9b8b4d5f0e8a5834dc3c83cd3d2c288e5 | [] | no_license | wfmackey/dhhstheme | a29fa354554f76bc8b33ab942c8f5b9350a3e101 | 13883b2680a9deb72c918b4ec27aeb5585915dec | refs/heads/master | 2023-03-09T05:08:42.626075 | 2020-10-18T05:24:28 | 2020-10-18T05:24:28 | 303,308,423 | 5 | 2 | null | 2020-10-18T03:45:12 | 2020-10-12T07:13:48 | HTML | UTF-8 | R | false | true | 316 | rd | dhhs_purple3.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/colours.R
\docType{data}
\name{dhhs_purple3}
\alias{dhhs_purple3}
\title{Hex code for the colour: DHHS Purple3}
\format{
An object of class \code{character} of length 1.
}
\usage{
dhhs_purple3
}
\description{
#DBBAE2
}
\keyword{datasets}
|
acf7a30f95e0755ba89db51256f24218502090db | c3826e89c7c78acdcc4596820d03fa96c8710b38 | /R/utils.R | da8072ff7c78d217cb850139446927a176116588 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | chen496/SomaDataIO | 7b393fad010774e17e086555a026c2a38de06415 | b8f00329aaa283f8243d1064a7bda19b873fdd67 | refs/heads/master | 2023-06-24T21:22:02.222540 | 2021-07-27T20:45:52 | 2021-07-27T20:45:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 363 | r | utils.R |
#' trim leading/trailing empty strings
#' @importFrom stringr str_trim str_c str_split
#' @noRd
trim_empty <- function(x, side) {
stringr::str_c(x, collapse = "\t") %>%
stringr::str_trim(side = side) %>%
stringr::str_split("\t") %>%
magrittr::extract2(1L)
}
# kinder version of identical
`%equals%` <- fu... |
c6694797d044df387b7f6bf17976fc5db5b0c3fe | 262a347beae2643b62367b59bc45d2a96aa7dbfc | /man/url.get.Rd | e5d7a3cb43f91c0919ac998659ebf5e6192174ac | [] | no_license | BenioffOceanInitiative/whalesafe4r | 18ab7e7875808f2db91f42b62dea7e9eefc2f8f8 | ef4341c0622c9e32ccdd1d45ca3f5ca76b15effb | refs/heads/master | 2022-11-28T02:20:43.257741 | 2020-08-07T01:08:12 | 2020-08-07T01:08:12 | 162,746,601 | 0 | 1 | null | 2020-06-18T19:26:37 | 2018-12-21T18:39:01 | HTML | UTF-8 | R | false | true | 231 | rd | url.get.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{url.get}
\alias{url.get}
\title{Extracts the url forcefully}
\usage{
url.get(x)
}
\description{
Need this to ensure a few steps later on
}
|
30fd0094fdace3dafba96c77281b7e78f69ab26d | b3e37756f5993112fabcec65dcfbb97f2d592798 | /RepData_PeerAssessment2.R | 70a3239c4d1ba8f947375605f015892312bfe370 | [] | no_license | jmcampbell2/RepData_PeerAssessment2 | f0f357ea94f5069fd5cf5350b968da4bba48537f | be60566b4969a7104a9e70238f7d541547916033 | refs/heads/master | 2021-01-22T22:33:59.388261 | 2017-06-12T03:23:46 | 2017-06-12T03:23:46 | 92,780,020 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,751 | r | RepData_PeerAssessment2.R | #repdata_peerassessment2
#code for reproducible data project 2
#author: Jennifer Campbell
#data: May 29, 2017-June 4, 2017
#system: Windows 10
##read in data
if(!file.exists("storm.csv.bz2")){
url <- "https://d396qusza40orc.cloudfront.net/repdata%2Fdata%2FStormData.csv.bz2"
download.file(url, destfile='st... |
f69e526968cc64b39f84113e0f5f6d273feae455 | 337bb7b2e0ca7416a17c1e1b48bf212f47ce402d | /man/panel_to_network.Rd | ffe58a5973f8667f2456d02940c54afd1dddd4db | [] | no_license | vincentarelbundock/SpatialHelper | 7a2459e855e99c654151b3a4052f7cd0aa7b98e3 | e8bacc811fd556b6549b6348f590d851fbbf2fb7 | refs/heads/master | 2023-08-31T01:21:01.570969 | 2023-08-14T14:16:52 | 2023-08-14T14:16:52 | 113,897,289 | 4 | 2 | null | null | null | null | UTF-8 | R | false | true | 788 | rd | panel_to_network.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/panel_to_network.R
\name{panel_to_network}
\alias{panel_to_network}
\title{Converts data.frames to objects amenable to network analysis using `btergm`}
\usage{
panel_to_network(unit_time, dyad_time, cores = 1, verbose = TRUE)
}
\arguments{
\i... |
47ff489ce9cb5e47aeb1a257461af884e78c2c92 | 94416a0cf94fc5eca3b2ee06c1d96ce5224a41b5 | /ProvisionalWindsorPlotCode.R | 7d7f8cb518520b4538727df540bb972a2e3028a4 | [] | no_license | Rivers-Project-2018/Sophie-River-Thames | 972b6c83d6516fc98020af6a2d0179d4f7b8fe5b | abb6b23469b97ccbaa075ef2111261186b0f2c5c | refs/heads/master | 2020-04-25T21:35:38.165142 | 2019-05-13T15:29:14 | 2019-05-13T15:29:14 | 159,342,789 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,409 | r | ProvisionalWindsorPlotCode.R | library(readxl)
Windsor <- read_excel("Desktop/University_of_Leeds/R/Windsor 2700TH flow and stage data 2013-14.xlsx",
sheet = "Sheet3") # Importing data set
DW=Windsor$Day # Setting data names
FlW=Windsor$Flow
StW=Windsor$Stage
minDW=1 # Setting min and max for Day data
maxDW=33
minFlW=30 # Se... |
8f6ab068c4ae33288fb0cddf13feb17ac51374ad | 87fd5edb936be0d400576497761f5e92b3954ebb | /filter_days.R | 8b6b6f4cf91799dbdf24649599f5b3f4759432e0 | [] | no_license | stineb/eval_pmodel | ae15c9bde9044b8313733110119622101ee061f8 | 9d590a4857385aadc3f1b3124488351f826d316b | refs/heads/master | 2022-10-04T17:45:58.770536 | 2022-09-24T08:24:35 | 2022-09-24T08:24:35 | 158,261,963 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,534 | r | filter_days.R | ##------------------------------------------------------------
## Filter days
##------------------------------------------------------------
filter_days <- function( ddf, filter_days_source, path_gepisat ){
require(purrr)
require(dplyr)
## send only one site's data to filter_days_bysite
ddf <- purrr::map( as.... |
95cb46af6f342c0ed4269ccd86c57c930519fa01 | 98c294d607fb9929e03a832f0ec858a9b40f2cfd | /man/pkgattrs.Rd | 2f2c4857fb4cc955604a2f4df559c6e14104bee0 | [
"MIT"
] | permissive | rich-iannone/pkgattrs | f2f48150cc81c64eee5922bde4115a607f0d7a8f | 9258ad8cd457137b3397451682c7898281f28c08 | refs/heads/main | 2021-07-13T18:39:36.630288 | 2020-07-24T17:53:26 | 2020-07-24T17:53:26 | 124,416,970 | 21 | 2 | null | null | null | null | UTF-8 | R | false | true | 785 | rd | pkgattrs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pkgattrs.R
\name{pkgattrs}
\alias{pkgattrs}
\title{Get a table of info functions inside one or more packages}
\usage{
pkgattrs(..., .make_clean = TRUE, .get_cyclocomp = FALSE)
}
\arguments{
\item{...}{A series of objects pointing to package l... |
a07b98dc488b08279467134f36814ae014e87beb | 028d02e227415930b1e42ac363a98e7ecba8a493 | /Letters_Workflow.R | 54a6a4ab9f7e811b956563b8e145433484aecf16 | [] | no_license | SaraJKerr/Letters_1916_Internship | 8dc3f7dba97013a4f916ab5eac4693e0ec12a52c | 90a6f1f70f13791154a76be7b6d4129a7999b672 | refs/heads/master | 2021-01-24T11:18:29.122999 | 2017-07-05T15:40:49 | 2017-07-05T15:40:49 | 70,236,628 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,237 | r | Letters_Workflow.R | ################################################################################
# File-Name: Letters_Workflow.R #
# Date: 27 March 2017 #
# Author: Sara J Kerr ... |
7784a59ae6adc1989c4d67e701016a0ba313769b | f0a4c280469b2074011c61ba2b32c8723317419a | /app.R | 4ac635a0a6dbdb3f301e99e08949ea5ded6d4a40 | [] | no_license | megwill09/inns | a6bb4a406208aac7314a9183b826cc413dece22e | 77e3270602d3be6f2239c1c39a9ddd6ddc9e8468 | refs/heads/master | 2023-05-25T13:03:58.222162 | 2021-04-20T09:54:44 | 2021-04-20T09:54:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,699 | r | app.R | # Source script for app
source('./app_fn.R')
# Source script for uploading to server
source('./jvb.R')
# Source the password for the server
source('./pwd.R')
# Address for devwarehouse
#https://devwarehouse.indicia.org.uk/index.php/survey/edit/500
# Set folder name for emails
folderName = "Inbox"
## cre... |
ef2771104e95b58eef17e675d9c149f39263002a | fa7f978201a7eed7001626f714cd9e89e8040c59 | /CFW_GWAS/code_dir/GWAS/effect_sizes/plot_af.R | 98975564ab5e22f291467c4ff6e9e10cd3960344 | [] | no_license | limix/SGE | 42a023286c863b7281033058edc93499439f9a53 | 50e690a163f24a185fbcef50f569912eededd3c6 | refs/heads/master | 2020-03-11T11:38:43.160238 | 2018-04-17T23:35:49 | 2018-04-17T23:35:49 | 129,974,768 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,037 | r | plot_af.R | load('output_dir/effect_sizes_additive_model/betas_conditioning/all_betas.RData')
#betas are additive betas^2
#colour for var_expl
N=4
hot=heat.colors(N)
hot=colorRampPalette(c('red','yellow'))(N)
hot=hot[seq(length(hot),1,by=(-1))]
plotted = indiv_DGE_QTLs_betas[,'var_expl']
r=range(plotted)
r = c(0, 3)
cutted=cut(pl... |
eed3715bcc5a3113992498102f6cf16c3e9e185a | 22e28998d73d1898500b71886e1963e11fdcc654 | /RCode/archetypalAnalysis.R | afe4d2d80b84c87b3898f4a184e292b478f0fc91 | [] | no_license | sefield/CodeEx | 9b15281731f2f6d79d5075299ef7715fef05954a | 2fb95baa1c3e6ad185037fc899b2e404511fbd59 | refs/heads/master | 2021-01-17T11:27:35.938700 | 2017-03-06T06:03:43 | 2017-03-06T06:03:43 | 84,036,024 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,876 | r | archetypalAnalysis.R | #Data loading and setup.
rawData <- read.csv('/Users/sradevski/Desktop/JSCode/StackOverflowCsvData.csv')
rawLibraryData <- read.csv('/Users/sradevski/Desktop/JSCode/librariesCsv.csv')
data <- rawData
libraryData <- rawLibraryData
rownames(data) = data$id #set what the rownames are (so they can be put back later)
rown... |
5c5ed071d6d1309392142dbcc45303a3570feff3 | 3e1f696029222b31796a5adef0afc272f6cc4c11 | /IAU_DeltaOnly_20190820.R | f97cf3240f61d94f143f1b33fc46d565b50f7e4c | [] | no_license | dehrlich014/DoriansStockDataCode | 82c890070bf66075b331cb80c056e24122a80ec5 | b64f6ee2d369d7c269efd266701065d15b3c5347 | refs/heads/master | 2023-02-03T13:52:58.288342 | 2020-12-22T20:08:55 | 2020-12-22T20:08:55 | 275,254,152 | 0 | 0 | null | 2020-07-16T22:55:35 | 2020-06-26T21:51:11 | R | UTF-8 | R | false | false | 1,964 | r | IAU_DeltaOnly_20190820.R | ####This document reads in the performance data of the ishares Gold ETF from a chosen time interval
####and computes two statistics, the change in value from a previous close to a current close, or the AbsChange,
####and the percentage change between a previous close and a current close, or Delta.
####Of equal signifi... |
789f8c475d19be8434f238fa61507de3233c063e | e7601987c26482a7ff596ed0008c903df8e29213 | /myutils.R | 65e124497f79c58023c88419b7dde358a5ed5443 | [] | no_license | mtafiti/rstuff-for-ser | 3dd2b030577de08f36082ede5e68bee6218e5499 | 28c94ae38f5d9ca325ff735a7c1a8d40b09b6746 | refs/heads/master | 2021-01-10T06:50:23.206510 | 2016-04-05T12:44:38 | 2016-04-05T12:44:38 | 53,937,138 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 188 | r | myutils.R |
showMyPackages <- function(){
ip <- as.data.frame(installed.packages()[,c(1,3:4)])
rownames(ip) <- NULL
ip <- ip[is.na(ip$Priority),1:2,drop=FALSE]
print(ip, row.names=FALSE)
} |
bff238f473786af99af55e872d611654c17217b8 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /diffrprojects/inst/testfiles/dist_mat_absolute/libFuzzer_dist_mat_absolute/dist_mat_absolute_valgrind_files/1609960521-test.R | 78c12ddac43a371a25cd56e476bf419706e9e214 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 555 | r | 1609960521-test.R | testlist <- list(x = integer(0), y = c(1869359146L, 1298231382L, 1768257321L, 676545880L, 1344299887L, 1853060137L, 1869573160L, 711158895L, 1944387584L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L... |
b5b62f958d5b4f501812dcdcaefa8453a7113bbb | 18e1744249ac1d85a1d884368d28515a077b487f | /R_Analysis/01_Demo/Module_15_notes.R | c19e1a28c93d337602086fa89af8cc3c8faf6aab | [] | no_license | Baylex/MechaCar_Statistical_Analysis | ac126e82c7b5c147ac9e9b3abc433cbbb0487e9d | 563842c5ef98bd3e2e3eef2cc9afe18a122d805a | refs/heads/main | 2023-08-10T18:54:36.082224 | 2021-09-25T03:58:21 | 2021-09-25T03:58:21 | 334,603,716 | 0 | 13 | null | null | null | null | UTF-8 | R | false | false | 12,958 | r | Module_15_notes.R | #15.1.5 install packages
install.packages("tidyverse")
install.packages("jsonlite")
#15.2.1 put stuff in the console
#15.2.2 c() fucntion
c()
#15.2.3 pull in files
?read.csv()
demo_table <- read.csv(file='demo.csv',check.names=F,stringsAsFactors = F)
library(jsonlite)
?fromJSON()
demo_table2 <- fromJSON(txt='demo.json'... |
057b6d364b5db197b1bff818879facd96a498838 | 1855cfeeb88680ebcad978f73ecf11aac5e37bf3 | /vmstools/man/VMShf.rd | dbc498f3c43dd10603c73351b95627a9f9db8b83 | [] | no_license | nielshintzen/vmstools | ddb996dd4d5b3b2504216911284d3dd872f81baa | 8bb3666d3778eac5b8be1c9454573a85157f11c3 | refs/heads/master | 2023-06-22T08:48:54.584274 | 2023-06-09T09:10:05 | 2023-06-09T09:10:05 | 37,326,848 | 16 | 13 | null | 2023-06-01T20:23:18 | 2015-06-12T14:35:02 | R | UTF-8 | R | false | true | 966 | rd | VMShf.rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vmstools-package.R
\docType{data}
\name{VMShf}
\alias{VMShf}
\title{Small high frequency test VMS dataset CANNOT BE DISTRIBUTED WITHOUT PRIOR
PERMISSION -> SEE Author}
\format{
A data frame with 702 observations on the following 6 variables.
... |
2fa9f17088357d97b8608c6b8d787bbd0d992855 | e15406b6e03914009289b663ffa67c8e635a6170 | /tests/testthat/test-bed.R | 4d255adeb35b7805960a7522a81e34ae952037a6 | [
"LicenseRef-scancode-warranty-disclaimer",
"GPL-3.0-or-later",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"LGPL-2.1-or-later",
"LicenseRef-scancode-other-copyleft",
"GPL-3.0-only"
] | permissive | theandyb/smaug | 8bce51094aa8bbb02244dff3f496907eecd9ec5e | 47959cfdb4fce389a5893080177cb84cd75c56bd | refs/heads/master | 2022-11-16T10:04:36.601358 | 2022-11-07T20:50:22 | 2022-11-07T20:50:22 | 143,783,962 | 0 | 0 | MIT | 2018-08-06T21:13:54 | 2018-08-06T21:13:54 | null | UTF-8 | R | false | false | 687 | r | test-bed.R | context("test-bed")
test_that("bed_granges works", {
testDat <- "chr1 0 249250621
chr2 0 243199373
chr3 0 198022430
chr4 0 191154276
chr5 0 180915260
chr6 0 171115067
chr7 0 159138663
chr8 0 146364022
chr9 0 141213431
chr10 0 135534747
chr11 0 135006516
chr12 0 ... |
cd4af58a01cc1f2362c58b7c6fc883120fe973c1 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/poisson.glm.mix/examples/init2.k.Rd.R | d06c89943dd853085bbfb740d06d6e4a74a6ee9e | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,338 | r | init2.k.Rd.R | library(poisson.glm.mix)
### Name: init2.k
### Title: Initialization 2 for the beta_k parameterization (m=3).
### Aliases: init2.k
### ** Examples
# this is to be used as an example with the simulated data
data("simulated_data_15_components_bjk")
x <- sim.data[,1]
x <- array(x,dim=c(length(x),1))
y <- sim.data[,-1... |
dfd322606a97b3c4aff935f8214b03da109e3f07 | 96d59e64e49050c1050212d3ddb312be95698387 | /updating_code/inclass_code/MLR1.R | 4512fa489116346ef6170938fc180e6afa91df44 | [] | no_license | lassiterdc/sys-4021-6021.github.io | d90e533b8c7b888417f8844303500ba3c049bf5f | 4755c848b9325af6280f0807489185fe3b0a555a | refs/heads/main | 2023-07-25T01:35:21.018597 | 2021-09-05T01:55:44 | 2021-09-05T01:55:44 | 403,077,696 | 0 | 0 | null | 2021-09-04T14:29:55 | 2021-09-04T14:29:54 | null | UTF-8 | R | false | false | 7,009 | r | MLR1.R | #
#
# Multiple Linear Regression 1
#
#******************************************************
##load data
setwd(sourcedir)
source("AccidentInput.R")
#load libraries
library(ggplot2)
library(GGally)
library(devtools) # for ggbiplot
library(ggbiplot)
acts <- file.inputl(traindir)
totacts <- combine.data(ac... |
1b8bd566616cc30d7641bf6e194828bcb9eca4b8 | e17c6aec7115cb53939b784a87f5909be5fff032 | /lmer testing.R | 01f986d32af1386b353f74952c0988dd031ffa59 | [] | no_license | fawnshao/rexamples | 801ca734159a46ac67ed03b578001529563d3142 | 8e61d423237da5cb409f032dd896903fe8ac68c4 | refs/heads/master | 2021-01-18T05:46:15.505501 | 2013-06-11T01:26:21 | 2013-06-11T01:26:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 698 | r | lmer testing.R | library(lme4)
(model1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy))
vc <- VarCorr( model1 )
varcomps <- c(unlist( lapply(vc, diag) ), # random intercept variances
attr(vc,"sc")^2) # residual variance
library(statmod)
library(MASS)
data(petrol)
out <- mixedModel2(Y~SG+VP+V10+EP... |
26885a38e8d17c3b24a70663ffd1e9ee37d943b4 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/LncFinder/examples/svm_cv.Rd.R | f272d6a828108f1560371fd4af4cb1a0e3d8a86e | [] | 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 | 425 | r | svm_cv.Rd.R | library(LncFinder)
### Name: svm_cv
### Title: _k_-fold Cross Validation for SVM
### Aliases: svm_cv
### ** Examples
## Not run:
##D data(demo_dataset)
##D my_dataset <- demo_dataset
##D
##D cv_res <- svm_cv(my_dataset, folds.num = 4, seed = 1,
##D parallel.core = 2, cost = 3, kernel = "radial", ... |
9920be98adaa1ecca077872cd0fa97faef7fc981 | 98e6299843c912e30cd82c48b8c7624e76bd0dee | /man/classify_occ.Rd | 4436d94670ccb6741ad20ea4756facb387c1e103 | [] | no_license | GabrielNakamura/naturaList-1 | 3365c819b7d353efa3a8a664e47f701f3d777b95 | 068372422c475bada0056b3482fd824eca09d2b2 | refs/heads/master | 2020-12-23T19:30:33.179233 | 2020-01-30T14:42:35 | 2020-01-30T14:42:35 | 237,250,055 | 1 | 0 | null | 2020-01-30T16:04:25 | 2020-01-30T16:04:24 | null | UTF-8 | R | false | true | 2,547 | rd | classify_occ.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/classify_occ.R
\name{classify_occ}
\alias{classify_occ}
\title{Classify occurrence records in levels of confidence in species determination}
\usage{
classify_occ(occ, spec = NULL, na.rm.coords = TRUE,
crit.levels = c("det_by_spec", "taxonom... |
e3d45b8234aeb80eba80b3bf159e0ec6629ab96c | ce24f86456f017bc1c0df7eb7bfb017dbce7a59e | /Channel Attribution Modeling/Channel_attribution.R | 6776dab4599fab7453df7c40524d27ed6284c321 | [] | no_license | nandeda89/Machine_Learning_Concepts | 47f064bc181811619e17cd4463c88edf33e6fc67 | ec979b698517b16d864a12ed0053c293eb3f6e72 | refs/heads/master | 2020-03-21T12:50:08.685806 | 2019-01-23T02:54:37 | 2019-01-23T02:54:37 | 138,574,271 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,925 | r | Channel_attribution.R | #Install the libraries
install.packages("ChannelAttribution")
install.packages("ggplot2")
install.packages("reshape")
install.packages("dplyr")
install.packages("plyr")
install.packages("reshape2")
install.packages("markovchain")
install.packages("plotly")
#Load the libraries
library("ChannelAttribution")
library("ggp... |
fdc24911de7b15a2cd4e104e2fcb94694405942e | 9a9224f60b124a5c117a3f51bfabf45c9d0a198e | /man/tidymodels_update.Rd | 27934540b82faac08acdfb16af73277e738bc843 | [
"MIT"
] | permissive | tidymodels/tidymodels | 536c37a24fbd9a983b9685108fe64cdd7718a72f | 4f77b2561e3911831d863d5a3e577bbcfdb07149 | refs/heads/main | 2023-08-31T11:41:41.634575 | 2023-08-24T21:17:54 | 2023-08-24T21:17:54 | 139,892,826 | 712 | 74 | NOASSERTION | 2023-08-24T21:17:29 | 2018-07-05T19:38:29 | R | UTF-8 | R | false | true | 877 | rd | tidymodels_update.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/update.R
\name{tidymodels_update}
\alias{tidymodels_update}
\title{Update tidymodels packages}
\usage{
tidymodels_update(pkg = "tidymodels", recursive = FALSE, ...)
}
\arguments{
\item{pkg}{A character string for the model being updated.}
\i... |
0db77f9de9065edff7e23a29fcd4801b497f411f | 477fae4aa62646c585ad1c8247120560a87500cc | /analysis/spline_additon_analysis.R | 18ca7786cc26c6d2f9918c6577785c0f349e13da | [] | no_license | jmargrove/DensityDependentProcessesInTropicalForests | 382335623e7bfdfa3a9aec2267de0b485f2ea6ac | f00ec5368f51529529f89f2c6dd303f1f7dce884 | refs/heads/master | 2022-01-14T19:45:55.496034 | 2019-04-05T14:44:30 | 2019-04-05T14:44:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,582 | r | spline_additon_analysis.R | ################################################################################
#' @author James Margrove
#' @title Fitting the spline models
# Clear workspace
rm(list=ls())
# Import packages
require(splines)
# Import data
data <- read.table("./data/data.txt", header = TRUE)
str(data)
# Calculate... |
36badc07ed99fb5599aa5ef832a0491d9cb44504 | 29585dff702209dd446c0ab52ceea046c58e384e | /localdepth/R/localdepth2Dsimplicial.R | 46669cad36dc99eb22b7d543fbe13c052f7a4b03 | [] | 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 | 3,110 | r | localdepth2Dsimplicial.R | #############################################################
#
# localdepth2Dsimplicial function
# Author: Claudio Agostinelli and Mario Romanazzi
# E-mail: claudio@unive.it
# Date: June, 15, 2008
# Version: 0.5
#
# Copyright (C) 2008 Claudio Agostinelli and Mario Romanazzi
#
##########################################... |
e2dbeac7402845b145d6397ba98d0a5bd8b844ee | 7e5e5139f817c4f4729c019b9270eb95978feb39 | /Cleaning data with R/cleaning Data in R/Chapter 3-Preparing data for analysis/3.R | 145ebf7aa103df2bd0156ac0f45309317bffd5be | [] | no_license | Pranav-Polavarapu/Datacamp-Data-Scientist-with-R-Track- | a45594a8a9078076fe90076f675ec509ae694761 | a50740cb3545c3d03f19fc79930cb895b33af7c4 | refs/heads/main | 2023-05-08T19:45:46.830676 | 2021-05-31T03:30:08 | 2021-05-31T03:30:08 | 366,929,815 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,932 | r | 3.R | # Working with dates
# Dates can be a challenge to work with in any programming language, but thanks to the lubridate package, working with dates in R isn't so bad. Since this course is about cleaning data, we only cover the most basic functions from lubridate to help us standardize the format of dates and times in our... |
0f61a11174106cd672cc88ffc3dfe7a3d62ce96e | b4b5a6c61e6500656f942cbc6bf1192d51524ec7 | /simulator_functions.R | 657eb5a1762ee578113465074bf3697e747c6d2c | [] | no_license | E-Durland/Genotype_simulator | c5912bbc3e7749cc2889a87b95886a2da19ef20a | 56070ce4356755ee544189a5940b02b49b86e2e2 | refs/heads/main | 2023-07-16T14:22:52.375490 | 2021-09-02T07:41:56 | 2021-09-02T07:41:56 | 314,291,370 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,346 | r | simulator_functions.R | #first, the function to make random parents from an MAF pool
parent_maker<-function(male_n, female_n, MAF){
n_par <- male_n + female_n
t_alleles <- n_par *2
p_MAF <- ceiling(MAF/100 * t_alleles)
p_genpool <- c( rep( "A" , t_alleles - p_MAF) , rep( "B" , p_MAF))
gen_indx <- c( 1:t_alleles )
male<-c()
femal... |
ecf0ec2a01921953b8ee11553bfb759ae92929c3 | 57c871c47dcfbf20f313d282f58ae2589558dbc6 | /cachematrix.R | c6d94dcd344a0fbf6df2edaf87e06a18e286b2ad | [] | no_license | mike0919/ProgrammingAssignment2 | bd8ff07de40c6aab9ba3f3bbad90eaaf659de0a3 | 4ecfcc6d470cd97295151cdc6933486d0bae97d8 | refs/heads/master | 2020-12-25T23:47:01.756800 | 2015-04-25T14:33:44 | 2015-04-25T14:33:44 | 34,382,781 | 0 | 0 | null | 2015-04-22T09:57:22 | 2015-04-22T09:57:22 | null | UTF-8 | R | false | false | 2,413 | r | cachematrix.R | ##*******************************************************************************
## This is the R programming Assignment #2.
## There are 2 functions:
## 1. makeCacheMatrix : to return a special matrix that has 4 functions in a list
## 2. cacheSolve: to return the inverse of the special matrix from either cache
## ... |
96c3c4320ab400397fc274c9345eacc5c7efe4da | 7ff0097bb8a28165ab2696c73dbcc8f34817064b | /plot6.R | 00e1e4adf7ed709a96cfda8fe044dbc39ce8cfad | [] | no_license | AlchemyGeek/ExData_Plotting2 | 1e80e7bdb73e1da5270d0e9b50a91b12abd87aa6 | cc83693c03658bc39a9980191f0ce2fef86251de | refs/heads/master | 2020-04-15T23:36:55.496009 | 2016-09-14T21:35:55 | 2016-09-14T21:35:55 | 68,239,271 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,979 | r | plot6.R | ##
## Coursera: Exploratory Data Analysis, Project 2
## Data
## - PM2.5 Emissions Data (summarySCC_PM25.rds) and
## - Source Classification Code Table (Source_Classification_Code.rds)
##
## Compare emissions from motor vehicle sources in Baltimore City
## from motor vehicle sources in Los Angeles County, CA. Which ci... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.