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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cb2c4621a550a564df0031ba29eddebf12f2c6dd | 774a6a6bf1fdde190e634fb9aefda06bff522a5a | /SampleProportionDifferenceConfidenceInterval.R | 333d138c58d455842e7acea93dae70be588412b5 | [] | no_license | david-kochar/SampleProportions | 2590b1f8b964b15c476656bbdc3e61696960882d | 406fe15dcb3eb818f8687f2e639e372a79519bd8 | refs/heads/master | 2021-08-23T05:48:19.953762 | 2017-12-03T18:33:59 | 2017-12-03T18:33:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,073 | r | SampleProportionDifferenceConfidenceInterval.R | #In early October 2013, a Gallup poll asked "Do you think
#there should or should not be a law that would ban the
#possession of handguns, except by the police and other
#authorized persons?" Also, Coursera students were polled
#and the results are as follows:
# Successes Sample Size P Hat
#US 257 ... |
a40737e14bd4de524c5d0bb068943541dc681600 | cdbb38bcc56f263b0b78111e8e685d2edfd23bbc | /server.R | 1451031846173e96c2dc69efd0e85ee40f8b7dc9 | [] | no_license | Phippsy/uk-property-sales | 3e61d25b417eb8dc10aba9bf6f37224e78b24a8f | 35badb97dec9b50ae1ebad5bf7718fca99f9f1d6 | refs/heads/master | 2021-01-10T16:02:25.022855 | 2016-02-07T14:54:02 | 2016-02-07T14:54:02 | 51,240,792 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,957 | r | server.R | library(shiny)
library(scales)
library(bigrquery)
library(ggplot2)
library(dplyr)
library(lubridate)
remove_outliers <- function(x, na.rm = TRUE, ...) {
qnt <- quantile(x, probs=c(.000001, 0.98), na.rm = na.rm, ...)
H <- 1.5 * IQR(x, na.rm = na.rm)
y <- x
y[x < (qnt[1] - H)] <- NA
y[x > (qnt[2] + H)] <- NA
... |
349db66941a52ed232620fb703600078dfaa581c | cb66ae3bf5bd2422e70df574340e0d5f5388eb8e | /jacknife_bootstrap_gini.R | e69c4bb301667b59d03f5302dc19822cccea10fb | [] | no_license | jvoorheis/MSA_Ineq | 779f28947f243495d4c28b6841b56d2c51dc97e6 | 3dbec52e82d0ae86d6d88c6550aadba4b43cb81a | refs/heads/master | 2016-08-02T22:44:29.331869 | 2013-12-28T07:50:20 | 2013-12-28T07:50:20 | 11,228,792 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,540 | r | jacknife_bootstrap_gini.R | #Testing script to generate Gini coefficients, Lorenz Curves, etc. using both Jackknife and bootstrapped standard errors
library(reldist)
library(boot)
library(ineq)
library(GB2)
library(doMC)
library(parallel)
source("/media/john/Shared Linux_Windows Files/MSA Level Inequality/Code/functions.r")
load("/media/john/Sha... |
e87496311b945495e19d9d6298491bfe4a9e6253 | 406813a89e145c36c73f7abb07957a7720dc8bed | /run_analysis.R | 8a1bc496a6a48952f851cda22401faf7a3cb3041 | [] | no_license | samu224/Getting_and_cleaning_data_course_project | d9fd1b800bf085a01b06f8642874506a516267cf | b915b1a29206e0479344a428226091eb47fc5256 | refs/heads/master | 2020-08-27T03:30:37.917969 | 2014-06-22T18:37:45 | 2014-06-22T18:37:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,753 | r | run_analysis.R |
directory <- "UCI HAR Dataset"
require(reshape2)
## 1 - merge the training and test set data to create on data set
## get the dataset in test and train sets
test_set <- read.table(paste("./", directory, "/test/X_test.txt", sep=""));
train_set <- read.table(paste("./", directory, "/train/X_train.txt", sep=""))
## re... |
f2ce57d4a43ec96af601e7b84257f6877198f99f | f3bec6b324c71301e3b51e029b14501d1d42982f | /lecture05/lecture05.1.R | c095add8a1c845e96893312dc57f061e612b23dd | [] | no_license | shabopbop/bggn213_WI19_classwork | a5c6d0c589a214e3a5680f62be0d8bfaf84e71aa | 83d1c863136e8d7a77c165b29104d3d3ad56f7db | refs/heads/master | 2020-04-22T18:51:13.362826 | 2019-03-13T22:05:37 | 2019-03-13T22:05:37 | 170,589,578 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 748 | r | lecture05.1.R | fc<- read.table("bimm143_05_rstats/feature_counts.txt", header=TRUE,
sep="\t")
par(mar= c(5.1, 11.0, 4.1, 2.1))
barplot(fc$Count, horiz = TRUE, ylab= "",
names.arg = fc$Feature, main= "babaganush", las=1, col=1:10)
mfc<- read.table("bimm143_05_rstats/male_female_counts.txt", header=TRUE,
... |
9d49d562f7cddb2907a6a7850babf04dba64bd32 | 2d057b0e0ac2b4bc04e9146a75d1b1048ec6ea89 | /Linear_IsoGP_functions.R | ad7ec031f384e9f79c3cf2f4c3d72d71761ab9fa | [
"MIT"
] | permissive | olga-egorova/CSP_multifidelity_modelling | a8bae95aa799d7d0d8fda2d2605aa7c0efb59348 | bfb5f9352fe1d177f5c7fb122cf086cffa1c56e0 | refs/heads/master | 2022-11-30T04:35:30.165586 | 2020-08-20T15:50:08 | 2020-08-20T15:50:08 | 289,027,630 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,700 | r | Linear_IsoGP_functions.R | ####################################################################################
### File containing functions for the Bayesian GP modelling for prediction: with a fixed part
####################################################################################
##### Functions for kernel and posteriors (marginal and... |
dfbe7e5fbcdecfefded0f84e575d82236b595f71 | 2d6bbc82fb96f81e6c836619814078538474aa09 | /inst/application/app.R | 5bc1aca5884fde21d59b615106d47fafe0ccad67 | [
"MIT"
] | permissive | rsquaredacademy/pkginfo | b3967a9993b0ee0383be1951413c5a3652373db5 | 8a716283eaf53b07130cc5a943cc048db3919ce6 | refs/heads/master | 2023-08-30T17:01:54.900072 | 2023-05-31T14:53:33 | 2023-05-31T14:53:33 | 150,448,657 | 5 | 2 | null | 2018-10-02T11:47:08 | 2018-09-26T15:28:03 | HTML | UTF-8 | R | false | false | 25,363 | r | app.R | library(magrittr)
ui <- shinydashboard::dashboardPage(skin = "blue",
shinydashboard::dashboardHeader(title = "pkginfo"),
shinydashboard::dashboardSidebar(
shinydashboard::sidebarMenu(
id = "tabs",
shinydashboard::menuItem("Welcome", tabName = "welcome", icon = shiny::icon("th")),
shinydashboard::menuItem(... |
998c4af8205b4cb2a4a79436d08a1e1b4e4d2d2f | 04419dc48831a321789f1ce169e5a983da4d4141 | /R/ResidualOutliers.R | 0632173defda2df438561a4bbddb807d34f35120 | [] | no_license | gwd999/RemixAutoML | fcfe309c845b6677c91dbf45c0f59ec2bf46a102 | 51130a874629d78b037f73eb01d3ec0b9cc8baa3 | refs/heads/master | 2020-06-23T02:41:48.446408 | 2019-07-23T17:25:20 | 2019-07-23T17:25:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,442 | r | ResidualOutliers.R | #' ResidualOutliers is an automated time series outlier detection function
#'
#' ResidualOutliers is an automated time series outlier detection function that utilizes tsoutliers and auto.arima. It looks for five types of outliers: "AO" Additive outliter - a singular extreme outlier that surrounding values aren't affe... |
e98ff1b43591634d67dd1da985b7cb156b703a5b | d21c2a13b845de156f1b63c2bc7070dd3cf08872 | /man/radioMatHeader.Rd | 6b23c28d8d1076e15b1105b048130c1b472f9c5a | [
"MIT"
] | permissive | nklepeis/shinysurveys | bdab20401cac7839f55984983705de6f060b6614 | 5706c798dd41e5eb6bd008639172faba211488a1 | refs/heads/main | 2023-07-09T15:43:49.789151 | 2021-08-20T01:25:20 | 2021-08-20T01:25:20 | 397,759,626 | 0 | 0 | NOASSERTION | 2021-08-18T23:26:06 | 2021-08-18T23:26:06 | null | UTF-8 | R | false | true | 508 | rd | radioMatHeader.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/input_radioMatrixInput.R
\name{radioMatHeader}
\alias{radioMatHeader}
\title{Create the radio matrix input's header}
\usage{
radioMatHeader(.choices, .required)
}
\arguments{
\item{.choices}{Possible choices}
\item{.required}{Logical: TRUE/F... |
bc2fc2b9ecf9a4bead787cd23b6fb7497a08e824 | a49c9e0fadc13481f4312a3f787b29cabbd8998f | /cachematrix.R | 32870167fab1cff7559abbd1cc153f6418436a07 | [] | no_license | Dooozy/test | 6560161b374d045690f1d135bbe3be5a8e633805 | 61a08db5473dae98b97aba34d4bbd207ec8988ec | refs/heads/main | 2023-03-01T23:15:04.580301 | 2021-02-10T01:38:10 | 2021-02-10T01:38:10 | 337,585,961 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,321 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
#Below are two functions that are used to create a special object that stores a
#"matrix" object and cache's its inverse matrix.
## Write a short comment describing this function
# This function creates a special "matrix" object ... |
b1d22525313b2b1345b69cfe0a26e48e07432f3c | b8bfe27d3c2ac7837c5d67ff09da9127ba8bbb0b | /mason_herit_sm.R | 68b27abd3eebe26a65add5e86977a5e039bd961f | [] | no_license | mason-kulbaba/geum-aster | 85d1ab1bb7bb90354f8c27c3656513f523d0097a | 87e052b3c1a5f231e863c2f4e24b4f272c938f71 | refs/heads/master | 2023-07-23T04:41:45.407318 | 2023-07-18T17:48:27 | 2023-07-18T17:48:27 | 183,484,654 | 0 | 3 | null | 2019-07-08T20:19:12 | 2019-04-25T17:58:11 | R | UTF-8 | R | false | false | 16,481 | r | mason_herit_sm.R | setwd("C:/Users/Mason Kulbaba/Dropbox/git/geum-aster/")
dat<- read.csv("C:/Users/Mason Kulbaba/Dropbox/git/geum-aster/final_data.csv")
library(MASS)
dat2<- subset(dat, Germination.Y.N== 1)
# combine 2016 + 2017 sm to reflect how fitness was estiamted in 2017
dat2$sm.2b<- dat2$sm + dat2$sm.2
dat2$tot.seeds<- dat2$s... |
6a34e278de0d3bb18482f190dc783352c09bcf8f | ad2d14020197b8979031e12e5a7dfb5a5a895a70 | /Loan_Case_Study.R | ec81e6b8d1266e854285a867daee7e14581d84a9 | [] | no_license | shankhadeep-ghosal/Risk-Analytics-Loan-Approval-EDA | 684fe986961dab3f6b76691783a604597f43b758 | 9d0b18a347c3e27902532f94553a934c988b4068 | refs/heads/master | 2020-03-22T17:51:35.938977 | 2018-07-10T11:18:59 | 2018-07-10T11:18:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,934 | r | Loan_Case_Study.R | # Load the data
loan_df <- read.csv('loan/loan.csv',stringsAsFactors = FALSE)
loan_df_copy <- read.csv('loan/loan.csv',stringsAsFactors = FALSE)
View(loan_df)
# Loading the required libraries
install.packages('tidyr')
library('tidyr')
install.packages('dplyr')
library("dplyr")
install.packages('stringr')... |
d10628fa1ed1091e591b2fe61774b888163d0922 | be2f7f17e0ec4f82fe63bb493ca8c4f5c108ed6c | /web_scraping.R | 0281f90ea1200cb9d7946453597c3ff27388587d | [] | no_license | Tantatorn-dev/r-practice | f2cd6e183e1bad62a2303285017ee8a8afde35f3 | 4508dc83742282f71476fdbb7f8bed63b7aed96f | refs/heads/master | 2023-01-21T08:56:45.908520 | 2020-11-15T06:58:48 | 2020-11-15T06:58:48 | 276,140,752 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 175 | r | web_scraping.R | url <- "http://biostat.jhsph.edu/~jleek/contact.html"
htmlCode = readLines(url)
close(url)
nchar(htmlCode[10])
nchar(htmlCode[20])
nchar(htmlCode[30])
nchar(htmlCode[100])
|
52852d20f426eecab59ee5d4b8c30ab6f167f756 | 1c6ae31af2699919446d7aa6cdaa4d177f30601b | /code/postprocess_monolix_bootstrap+PPC.R | 421b5b6f3cc5fa7ad51d9c3f61883f7b6cbf73f8 | [
"LicenseRef-scancode-warranty-disclaimer",
"CC-BY-4.0"
] | permissive | deanbot1/immunomem | 7946d53a1050c81c9426b5187ff4ef16a1ef74bd | b134a342f458a4b374bfd0bb54be4c50b802cafd | refs/heads/main | 2023-05-01T12:19:06.176332 | 2021-05-19T21:10:42 | 2021-05-19T21:10:42 | 368,999,975 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,077 | r | postprocess_monolix_bootstrap+PPC.R | # plot distribution of stuff with CI's
rm(list=ls())
library(ggplot2)
library(matrixStats)
library(survival)
library(data.table)
#library(survminer)
dinm <- 365.25/12 # number of days in a month
bootstrp <- function(projname,Mnum=1,LOS,endpoint,CIwidth = 0.95,Nboot=5000,tsim=seq(0,36,by=.1)){
#projn... |
9d7f8c5891acebc1cc576e64ac3c4c06f2795b17 | ad47b0bfeedc17e90297fe60f2b2cdc012dc045e | /breakpoint_graph/SV_local_CN_segment_wgs_raw_somatic.R | 92f10f89b8226c03962396734479fc999136b42b | [] | no_license | dmcblab/InfoGenomeR | 7acb2f5077ff3ec08a7da7fc25d51d720f1a97e3 | 86cc05bf731679b1c8e55becc16690ec8be8a204 | refs/heads/master | 2023-04-12T01:36:04.631965 | 2022-05-27T05:43:54 | 2022-05-27T05:43:54 | 269,232,281 | 13 | 6 | null | null | null | null | UTF-8 | R | false | false | 10,526 | r | SV_local_CN_segment_wgs_raw_somatic.R |
#germ=read.table("../CNV.output_germ", header=T,stringsAsFactors=F);
#germ_break=list();
#break_thres=10000;
#for(i in 1:23){
# if(i!=23){
# germ_prefix=i;
# }else{
# germ_prefix="X"
# }
# germ_break[[i]]=c(germ[germ$chrom==germ_prefix,2],germ[germ$chrom==germ_prefix,3]);
#}
args <- commandArgs(TRUE)
#args[7]="/DA... |
982da3981d08675eea5e67130a3f546462a0ebd1 | a22898091937663673802193cd64b938697e7e06 | /_Common/Attic/HAWG data overviews.r | af6f989b2c36cadf9bfcc538135e7a3dc8fe96f8 | [] | no_license | ices-eg/wg_HAWG | 3e6443ecf8b81d48be34a4199625032cd9731f34 | 0b78290317fa3a07ca0efaf66861870e6726ea60 | refs/heads/master | 2023-04-02T12:30:12.871750 | 2023-03-22T09:28:59 | 2023-03-22T09:28:59 | 37,528,676 | 0 | 6 | null | 2017-03-30T09:55:55 | 2015-06-16T12:27:56 | R | UTF-8 | R | false | false | 14,978 | r | HAWG data overviews.r | ################################################################################
# HAWG data overviews
#
# Generating overviews of several stocks assessed within HAWG
#
# 18/03/2018 coding during HAWG 2018
# 20/03/2018 added all weight in the catch; added the crayola plots; Note stock trends now
# via the S... |
c1a2edbfd3a18f2e34e8cd750d3a2cbdc50e42c3 | 0844c2cc35bfeec674c60a1507eb83c427310653 | /Programmes&algorithme/Data_cleaning.R | b580fe279c765b3ae4fa50285f7a64c2f644bcb3 | [] | no_license | pbazie/kaggle | 7751755fc5b00a91007c5a30fdc703c510a3048b | 8f350a8205996429ffc3b4307a244677cbf47966 | refs/heads/master | 2020-03-29T17:38:56.070834 | 2018-09-24T15:39:42 | 2018-09-24T15:39:42 | 150,174,782 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 317 | r | Data_cleaning.R | #############################################################
#
# Part : Data cleaning
#
# Autor : Yacouba.K
############################################################
exemple<-read.csv("F:/Semestre 3/Challenge Kaggle & Big Data/Projet_Kaggle/Data de base/RequetesGoogleParRegion/Alsace.csv",header = T, sep=",")
|
79f757a233fb1bb74a87df8e62ddc55b84ad9625 | 0569ada9d9b0149504affd9a4e4a803dc0d9e727 | /prep_data_profiles.R | e0b07869b53eeb6717907d92e2db6f42ea6f687a | [] | no_license | mrblasco/herox | 47230b31d5d91580e15248894af00d86b0a74044 | 304111729db0a9ccb8550c00ff8bd02cf4f04875 | refs/heads/master | 2021-01-22T19:26:09.984931 | 2017-05-12T00:26:55 | 2017-05-12T00:26:55 | 85,201,130 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,623 | r | prep_data_profiles.R | rm(list=ls())
# Load profiles data from Qualtrics
input <- list.files("Data/Profiles", full=T, pattern="HeroX")
read.csv(tail(input, 1), stringsAsFactors=FALSE) -> dat
questions <- unlist(droplevels(dat[1, ]))
questions.info <- dat[2, ]
dat <- subset(dat, Finished=='True')
# Extra data
graphics <- read.csv("Data/Prof... |
a3b266efadab20ec638e5a1f62117d41a9ee031a | 249f56515cf8686948e7cfdf65bc735c37ddea4f | /raw_data/Sandbox/hotMarkupSum.r | 5a2ea0cc9202ed5143f9408ca273048713be0ddd | [] | no_license | EconomiCurtis/hotellingMarkupsAnalysis | 54b2ae8025cedb07386bf51f18e89cb7c569dd20 | 720d57685b2d4c3395d1aee5dc1135eb78fdef5d | refs/heads/master | 2020-04-06T04:42:50.179751 | 2018-06-15T18:03:03 | 2018-06-15T18:03:03 | 82,885,579 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,781 | r | hotMarkupSum.r | # libraries
library(readr)
library(dplyr)
library(ggplot2)
# load data
hotMarkup_2p_01 <- read_csv("~/Dropbox/SSEL/hotelling_marketups/hotellingMarkupsAnalysis/raw_data/20170209 2p 01 hotellingmarkup stacked.csv")
hotMarkup_4p_01 <- read_csv("~/Dropbox/SSEL/hotelling_marketups/hotellingMarkupsAnalysis/raw_data/2017020... |
316cb0a230c3c09e89508462e54786a5e4069436 | 020c2ff9ba9e7b0e53826e10275b9ed161433561 | /man/data_genotype_count_compatibility.Rd | d96a8c5e2eb3aebd3710b2671ff26867f5568a69 | [] | no_license | aimeertaylor/FreqEstimationModel | 9d2e27eeba9adf8ecb719cfcccc72498a1ee864f | a0b48873752bd656d5ea838d45370e54a2782f76 | refs/heads/master | 2021-12-23T03:18:57.597770 | 2016-11-18T18:33:42 | 2016-11-18T18:33:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 390 | rd | data_genotype_count_compatibility.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_genotype_count_compatibility.R
\name{data_genotype_count_compatibility}
\alias{data_genotype_count_compatibility}
\title{Data genotype count compatibility}
\usage{
data_genotype_count_compatibility(comp_genotypes, genotype_counts, raw_da... |
db36713a46d1f2c6eed62947283a1daba6c71ef0 | 6c53e9e2b85206e9e8cf33f47b85cbc2c2e2139e | /cachematrix.R | dfb014a2b90236782f4b247a394bf209a4669e79 | [] | no_license | jijojosen/ProgrammingAssignment2 | 3c751f457dc47f13277375fa6089f1b60c694bad | afe9fcdbe821cb0a28a040cf5ac01275afef272f | refs/heads/master | 2021-01-15T22:47:14.930092 | 2017-08-14T09:38:31 | 2017-08-14T09:38:31 | 99,914,624 | 0 | 0 | null | 2017-08-10T11:11:56 | 2017-08-10T11:11:56 | null | UTF-8 | R | false | false | 1,528 | r | cachematrix.R | ## This file contains 2 functions
## The first function creates a special "matrix" object that can cache its inverse.
## The second function computes the inverse of the special "matrix" returned by
## makeCacheMatrix above. If the inverse has already been calculated
## then the cachesolve will retrieve the inverse ... |
7489247dcc9aee0b11b06e27db5b09a0682f0c01 | 300ffcf3c9426898771b5de769afdd9a1efcdc90 | /R/p0023.r | 9aaff5bfde18f6188edb9d99d273a7f1ce43b33d | [] | no_license | kohske/peuleR | bd684367a3f669b3df4002253e0936a1820b712f | e5226fc728132e8960854b8c85f56d0ef38bc767 | refs/heads/master | 2016-08-08T03:25:37.765414 | 2016-01-21T02:31:21 | 2016-01-21T02:31:29 | 3,796,316 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 390 | r | p0023.r | # http://projecteuler.net/problem=23
# should be optimized
library(pracma)
f <- function(n) {
z <- factorize(n)
r <- unique(apply(z * t(do.call("expand.grid", rep(list(0:1), length(z)))), 2, function(x) prod(x[x>0])))
sum(r[r!=n]) > n
}
b <- which(Vectorize(f)(seq(28123)))
a <- sum(seq(28123)[!seq(28123) %in%... |
db13a131c5de32071085bbc8343719fe256e4bb8 | a0aa511780814e67695203dec46022eda1c75467 | /man/mod.Rd | 182b102e7b8abd70083b0da0925686b0d74152bb | [] | no_license | leonpheng/xptdefine | ab031216806bbb22e8fbf7b5b56ac5fcfba726a3 | 62388d9927436fac5df9a05305bf6bffc2124e56 | refs/heads/master | 2020-04-05T02:29:19.060784 | 2019-11-19T15:39:29 | 2019-11-19T15:39:29 | 114,052,833 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 225 | rd | mod.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/package.R
\name{mod}
\alias{mod}
\title{mod}
\usage{
mod(filename, var)
}
\description{
internal used function.
}
\examples{
mod()
}
\keyword{mod}
|
01d9904262182a186036d2b17d22e137aca9c206 | c5baacf45414864179c18c4878af5464e103ece8 | /Lab17/Lab17_Keras_deep_learning.R | 675bdf1660726611d7d23c4ac2041dc4bbce6ded | [] | no_license | VladimirShleyev/Method_R_doc | ed1cbbd9b59cc1cec445e87a9e5696f665f83065 | 85aa7c64e3816108f0e84a0ff1efa11cc8e37d3b | refs/heads/master | 2023-07-16T00:29:57.871114 | 2021-09-03T12:13:19 | 2021-09-03T12:13:19 | 286,023,236 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,607 | r | Lab17_Keras_deep_learning.R | renv::init() # инициализация виртуального окружения
renv::install("class", "caret", "lattice", "e1071", "mailR") # установка библиотеки из CRAN
renv::snapshot() # делаем снимок версий библиотек в нашем виртуальном окружении
# фиксируем этот список в .lock-файле для возможности восстановления
# renv::restore() # команда... |
e64459b3155da331bd6967344b37b476d465b0bf | 251d09f73d7a10acbe02828b412566b4fd46d0d1 | /Hate_Crimes_in_US/ui.R | 0066ac82b25c8d86575f6c98a3c9c757633cb9d4 | [] | no_license | foyaza/Factors-Influence-Hate-Crimes | ad12455d8fd4840c031391917e6142f895fd063d | 733092d988b34df3c91c0bbd20ca0f4d21743248 | refs/heads/master | 2020-12-03T20:46:20.744730 | 2020-01-18T03:50:05 | 2020-01-18T03:50:05 | 231,481,868 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,322 | r | ui.R | shinyUI(
dashboardPage(
skin = "purple",
header = dashboardHeader(title = 'Hate Crimes in US'),
sidebar = dashboardSidebar(
sidebarMenu(
menuItem("Overview", tabName = "Overview", icon = icon("eye")),
menuItem("Trends", tabName = "Trends",... |
30d03dd7f34da05ea36bbfb702bdf52fce5828e1 | f1d778c92ada96287ea912028e118fcc24467038 | /man-roxygen/CohortStagingTable.R | a7e70b7f770e6f73eaf4f57520317e977772e1fc | [
"Apache-2.0"
] | permissive | ohdsi-studies/ScyllaCharacterization | 82a9d6811d2e03d439b7bf474916c55aa2c64428 | 42ccae88acb708ee345635f6db21e3bb6aab3e20 | refs/heads/master | 2023-04-18T12:28:47.201548 | 2021-04-22T15:09:20 | 2021-04-22T15:09:20 | 284,043,640 | 2 | 1 | Apache-2.0 | 2021-04-22T15:09:21 | 2020-07-31T13:31:28 | R | UTF-8 | R | false | false | 409 | r | CohortStagingTable.R | #' @param cohortDatabaseSchema Schema name where your cohort table resides. Note that for SQL Server,
#' this should include both the database and schema name, for example
#' 'scratch.dbo'.
#' @param cohortStagingTable Name of the staging cohort table co... |
1a834fe94a21fcff24f252defdb2cf09d0a6e964 | c3979af4d5e88510fc6bc204d15a89999173c78f | /man/infmort.Rd | de66aee471a49192c2269759e269f84a920482fa | [] | no_license | cran/faraway | a82ac66b6e3696ce4b3d3959c61e7136d2ef7aa9 | fd738166e58ee12f02afe35029b4e5e7ebff58d1 | refs/heads/master | 2022-08-31T20:44:43.259095 | 2022-08-23T13:50:02 | 2022-08-23T13:50:02 | 17,695,973 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 764 | rd | infmort.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/faraway-package.R
\docType{data}
\name{infmort}
\alias{infmort}
\title{Infant mortality according to income and region}
\format{
This data frame contains the following columns: \describe{
\item{region}{ Region of the world, Africa, Europe, A... |
9f1dc2284e24f0f10116799aab31a3aad33e406c | cbc50d31df806961b751467ed734debddb745e53 | /man/occitanie.Rd | db43d4743b49c36971cc7c9801a100e9e76d038e | [] | no_license | npp2016/linemap | 94d7e3b8a51c6a5129df82c27f5fede7389c9a43 | e814642237a70f93d2e166678b3818645e37013f | refs/heads/master | 2021-08-06T14:58:24.629909 | 2017-11-06T09:46:10 | 2017-11-06T09:46:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 348 | rd | occitanie.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/package.R
\docType{data}
\name{occitanie}
\alias{occitanie}
\title{Occitanie Region}
\format{sf}
\source{
Extract from GEOFLA® 2016 v2.2 Communes France Métropolitaine - \url{http://professionnels.ign.fr/geofla}
}
\description{
Delineations o... |
8cbf840550e16a3c8f945aa10a2f7aca630afb38 | c9bf542a7b473848a7b5106454194588044524b4 | /man/MEDIPS.plotSeqCoverage.Rd | 39d68a006ddbd189d106890f2dc864911aa4ff6c | [] | no_license | chavez-lab/MEDIPS | 0e2225510b2274eea0c47c1610db4382503fcd58 | d96d613fdc202af0abe95db9b1c07cbabd6bbc40 | refs/heads/master | 2021-06-16T12:33:12.729930 | 2021-02-17T00:32:22 | 2021-02-17T00:32:22 | 141,762,762 | 3 | 7 | null | 2021-02-16T18:55:26 | 2018-07-20T22:19:08 | R | UTF-8 | R | false | false | 1,641 | rd | MEDIPS.plotSeqCoverage.Rd | \name{MEDIPS.plotSeqCoverage}
\alias{MEDIPS.plotSeqCoverage}
\title{
Function plots the results of the MEDIPS.seqCoverage function.
}
\description{
The results of the sequence pattern coverage analysis will be visualized in two possible ways.
}
\usage{
MEDIPS.plotSeqCoverage(seqCoverageObj=NULL, main=NULL, type="pie", ... |
548d3d992f387be11e5759c76f3a6a86127af8d3 | 1af0dd9f58c2471088b14ffc9fac27769975345e | /man/compareClusterAbundancesPaired.Rd | 6199f643c69e220eceae771c9c60c6f3ef382dc2 | [] | no_license | dyohanne/RepAn | 6f65effee98aa83e02bf0bd14a1127ea3685ea16 | 4febd250282cb3ebdc2b006f09ad6427381f69a2 | refs/heads/master | 2023-01-22T19:55:54.793264 | 2023-01-09T09:12:51 | 2023-01-09T09:12:51 | 142,448,425 | 1 | 2 | null | null | null | null | UTF-8 | R | false | true | 388 | rd | compareClusterAbundancesPaired.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RepDaAnalysisFns.R
\name{compareClusterAbundancesPaired}
\alias{compareClusterAbundancesPaired}
\title{compare cluster abundances for paired cases}
\usage{
compareClusterAbundancesPaired(sam1, sam2, clusMatchTable, s1cls, s2cls)
}
\descriptio... |
edb0be692dec651f30d0df7bf86aacd4b4808281 | af76514bf6b025034f3eafd71726af293edd155e | /run_analysis.R | a4e08b132805c9981d194f45fb26a25cb2bdc6bb | [] | no_license | Palvin10/Week-4-Assignment | 6926755d5a272e6abdc71f4b4f7c3c7dba41c2dc | 315698bf5f5a4e3566fef5cf973a60ccf8b24aec | refs/heads/master | 2020-03-20T19:52:35.451504 | 2018-06-17T16:52:30 | 2018-06-17T16:52:30 | 137,658,468 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,874 | r | run_analysis.R |
## Here are the data for the project:
## https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
##You should create one R script called run_analysis.R that does the following.
## 1. Merge the training and the test sets to create one data set.
## 2. Extracts only the measureme... |
a50e8c46774bafe532e4e85e76a9ebf0d1cb0520 | de47db6a8a358c999904444361c8c10ce7a2aa45 | /scripts/workflow.treering.R | ed740974fcbe71280b8ddacd652267cda62d9974 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | davidjpmoore/pecan | 0d42d0983203ad0791ef4668862726a4fc47ec97 | 73ac58ad36764fbf8c44290bb8f2cd4b741e73b8 | refs/heads/master | 2021-01-15T17:56:19.229136 | 2015-09-01T15:11:40 | 2015-09-01T15:11:40 | 41,746,837 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,538 | r | workflow.treering.R | #--------------------------------------------------------------------------------#
# functions used to write STATUS used by history
#--------------------------------------------------------------------------------#
options(warn = 1, keep.source = TRUE, error = quote({
status.end("ERROR")
}))
status.start <- function... |
48471efdb9ef41fd0c2323db528e5408e754931a | 0c3e94ac074efbe60d2c14669d97fcb4fb1e506d | /data.scripts/transitSkimAnalysis/visualization/All accessible TAPS.R | 6b967e8bf121cda21a1401977bafe0850115982a | [] | no_license | nsriram13/travel-model-two | 04aa027924a385734303a6c76dc23940decf8b1c | e5812f2ab1278f85a10f3a92051cf0395a466738 | refs/heads/master | 2020-04-08T20:14:56.773420 | 2015-03-20T23:56:32 | 2015-03-20T23:56:32 | 32,354,779 | 1 | 0 | null | 2015-03-16T21:42:12 | 2015-03-16T21:42:12 | null | UTF-8 | R | false | false | 3,439 | r | All accessible TAPS.R | #' Script for visualizing set of accessible TAPs in MTC TM2 transit network
#'
#' The useR has to specify the following parameters
#' @param period Skim time period to use ['EA','AM','MD','PM','EV']
#' @param TAP_BEING_QUERIED tap id for which we want to plot the accessible set of taps
#' @param TAP_NAME name of... |
b97e219c32ecdd46a490e06b925ccb7024dbb7de | 573df0a5a6f7e36281085aa97e37cec0603ae2e6 | /R/fts2kmh.r | 296bc83f3162350472276a88d90f6502ab6f08c5 | [
"MIT"
] | permissive | alfcrisci/rBiometeo | 3fe1bc89bf76e8f24512bae5e21cdc5b5953bb53 | 1fe0113d017372393de2ced18b884f356c76049b | refs/heads/master | 2021-06-11T06:04:50.066548 | 2021-04-07T14:00:36 | 2021-04-07T14:00:36 | 65,311,485 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 630 | r | fts2kmh.r | #' fts2kmh
#'
#' Conversion speed in feet per second to kilometers per hour.
#'
#' @param fts numeric Speed in feets per second.
#' @return kilometers per hour
#'
#'
#' @author Istituto per la Bioeconomia CNR Firenze Italy Alfonso Crisci \email{alfonso.crisci@@ibe.cnr.it}
#' @keywords fts2kmh
#'
#' @export
#'
#'
... |
e30494d713eefa94acb53ec2a60de9d8b6852806 | c84f4694c07cd32674abee7235e1d31353e225a3 | /Distributions/eachGraphs/hyperbolicSecantDistribution.R | d33183eed2c5a13e1f6a1ed4af5d49c29fd57a74 | [] | no_license | praster1/Note_SurvivalAnalysis | c1e2fee2865432fa4be89a4000c20e38ef1bef3e | db50363874c69fea6d4d47a24409c387c5276f84 | refs/heads/master | 2020-03-26T23:00:24.345471 | 2018-12-04T10:34:49 | 2018-12-04T10:34:49 | 145,502,914 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,731 | r | hyperbolicSecantDistribution.R | # https://www.rdocumentation.org/packages/VaRES/versions/1.0/topics/secant
source("colorPalette.R")
require(pracma)
##### hyperbolicsecant Distribution
### parameter
alpha = c(-1, -0.75, -0.5, -0.25, 0, 0.25, 0.5, 0.75, 1)
beta = c(0.25, 0.5, 0.75, 1, 2, 4, 8)
### input varialbe
x = seq(-10, 10, length.out = 1000)... |
2a400ae92e0f324556b43e95623bce3c03b75643 | 8b7d2ca3ccd28b64ce9caef1dea281d2951004fb | /R/aveytoolkit_runLimma.R | ef77a94763f51cd7d8ce869ca3c9581203771d05 | [] | no_license | stefanavey/aveytoolkit | 4a1275e7071d2d7a4e836d3d94514b673cb92739 | 739f0016fbe868af9d11cc1200c20e2a12441db6 | refs/heads/master | 2021-02-13T17:59:46.686828 | 2020-03-04T19:09:37 | 2020-03-04T19:09:37 | 244,718,968 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,364 | r | aveytoolkit_runLimma.R | ##' runLimma
##'
##' A wrapper around limma functions to perform a basic analysis on the given expression matrix
##'
##' @param eset the expression matrix (not expression set object)
##' @param labels the labels for each column of the eset
##' @param contrasts Vector of contrasts to make
##' @param block vector or fact... |
c0a144ae00901090a74e2952cfdc82cdb0fe5e41 | 71bdb3ebd08a35492b3166ed5d06bd372aeea681 | /simulation.R | 414435ebb569a63e32ba1ea872988abe4bca8cc5 | [
"MIT"
] | permissive | dpopadic/learnResR | 8a365b013f5105020e4c4ad42dc01ed7624b9be7 | 739c125d2e7e534fe2dfea5bc52dd127d9e6680b | refs/heads/master | 2022-01-19T04:20:31.827642 | 2022-01-12T15:12:32 | 2022-01-12T15:12:32 | 191,589,277 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 622 | r | simulation.R | # SIMULATIONS IN R
# ----------------
# 1 SOLVING CALCULUS PROBLEMS
# ---------------------------
# Let's say we want to integrate x^2 over interval [0, 1]. Using monte-carlo simulation,
# one can throw darts at the curve to count the number falling below the curve. The challenge
# is to vectorise the simulation.
# ... |
909e3a8ad191299abd8d212442fc348ba9adb191 | f9055f2e316129ec21665a10200fda9ad856f975 | /man/tf_morlet.Rd | 68b04455186c9c18e1c8fd98bf8b92e9750ef4ec | [
"MIT"
] | permissive | bnicenboim/eegUtils | 879b4a8173acc29de17b1dc0ca7ec8453dbc2522 | 09eb5fcc983d24d058bfa4575d5e8a2537fcfe21 | refs/heads/master | 2020-03-11T03:16:30.714963 | 2018-05-03T18:53:24 | 2018-05-03T18:53:24 | 129,742,381 | 0 | 0 | null | 2018-04-16T12:47:20 | 2018-04-16T12:47:19 | null | UTF-8 | R | false | true | 801 | rd | tf_morlet.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/psd.R
\name{tf_morlet}
\alias{tf_morlet}
\alias{tf_morlet.eeg_epochs}
\title{Time-frequency analysis}
\usage{
tf_morlet(data, ...)
\method{tf_morlet}{eeg_epochs}(data, foi, n_freq, n_cycles, ...)
}
\arguments{
\item{data}{EEG data to be TF t... |
55c6a801c79bceff0af4e6defc722a4166b50db3 | 62d99d35137feaef5ac4bd44ee92007dfe4749b8 | /plot1.R | 992cf08a932b7c208dda0944c2d6d56ce7a640bf | [] | no_license | dcotes/ExData_Plotting1 | afa450bf3169cfbfa39c3c216d93616688602fc7 | c412d841b5688e16188d34e219fa8a5214633ec0 | refs/heads/master | 2021-01-18T08:57:14.240091 | 2015-01-11T19:14:14 | 2015-01-11T19:14:14 | 22,801,460 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 575 | r | plot1.R |
data <- read.table("power.txt", header = T, sep = ";", na.strings = "?") ##Reads in data
data$Date <- strptime(paste(data$Date,data$Time), "%d/%m/%Y %H:%M:%S") ##Combines date and time into a proper class
datasub <- data[66637:69516,] ##Subsets correct interval of time
png... |
7ddeffb19154670fe285b235e9f3217ec718c63e | 4476502e4fed662b9d761c83e352c4aed3f2a1c2 | /GIT_NOTE/02_Rscript_workplace/chap12/chap12_Regression from lecture.R | 993aaf0bfebf66871bc879619a1a9d9256c718a5 | [] | no_license | yeon4032/STUDY | 7772ef57ed7f1d5ccc13e0a679dbfab9589982f3 | d7ccfa509c68960f7b196705b172e267678ef593 | refs/heads/main | 2023-07-31T18:34:52.573979 | 2021-09-16T07:45:57 | 2021-09-16T07:45:57 | 407,009,836 | 0 | 0 | null | null | null | null | UHC | R | false | false | 10,369 | r | chap12_Regression from lecture.R | # chap12_Regression
######################################################
# 회귀분석(Regression Analysis)
######################################################
# - 특정 변수(독립변수:설명변수)가 다른 변수(종속변수:반응변수)에 어떠한 영향을 미치는가 분석
###################################
## 1. 단순회귀분석
###################################
# - 독립변수와 종속변수가 1개... |
e9e119cc24cc56f1ec44c4f9b6b65952e5b50d19 | 4f768967ddca2e6771d7790cc14fcf1fc276817e | /R/CalcRes.fun.R | ce7d02d6b9e2312f9502884e6255a90c72d65aac | [] | no_license | statwonk/NHPoisson | 34f7cb777d018c8fca470e34191bd8b6079e0275 | 438eafac6dc7f018d20eba4d96347cede87960e0 | refs/heads/master | 2021-01-14T10:27:10.345102 | 2016-04-13T02:45:29 | 2016-04-13T02:45:29 | 56,107,917 | 0 | 1 | null | 2016-04-13T02:22:57 | 2016-04-13T00:29:42 | R | UTF-8 | R | false | false | 1,976 | r | CalcRes.fun.R | CalcRes.fun <-
function(mlePP, lint, h=NULL, typeRes=NULL)
{
n<-length(mlePP@lambdafit)
t<-mlePP@t
tit<-mlePP@tit
if (is.null(h))
{
h<-1/mlePP@lambdafit**0.5
typeRes<-'Pearson'
}
if (is.null(typeRes)) stop('Please indicate argument typeRes')
inddat<-mlePP@inddat
ind... |
91be86154a5a824c7042fd0f4f7b860c84ebff1c | 63a737f2dbbf63b52759a6f3d7814b80330050f8 | /tests/testthat/test-mock-api.R | 2582281dca3345ecef195d14641d22e7f0db7422 | [] | no_license | byapparov/httptest | 19769ef336d2b1bb84f528d9f80c8c69902ecbd1 | ca07f470c4b2ee4c6d00693c991ea609e0570bf6 | refs/heads/master | 2021-01-09T06:52:29.236322 | 2017-03-15T07:53:14 | 2017-03-15T07:53:14 | 81,112,714 | 0 | 0 | null | 2017-03-16T00:04:27 | 2017-02-06T17:26:23 | R | UTF-8 | R | false | false | 3,528 | r | test-mock-api.R | context("Mock API")
public({
with_mock_API({
test_that("Can load an object and file extension is added", {
a <- GET("api/")
expect_identical(content(a), list(value="api/object1/"))
b <- GET(content(a)$value)
expect_identical(content(b), list(object=TRUE))
... |
af847a441ec3e6cb8849cf3a4bc7d70c6fe1cd10 | 7665057b28fb224108b09ce4231981c472de38e3 | /man/filter_signal.Rd | dd26554f8449d2de9b79231e6f25a900de954e11 | [] | no_license | cbroeckl/RAMClustR | e60e01a0764d9cb1b690a5f5f73f3ecc35c40a32 | e0ca67df1f993a89be825fcbf3bfa6eaabbadfef | refs/heads/master | 2023-08-03T10:26:16.494752 | 2023-06-21T14:24:06 | 2023-06-21T14:24:06 | 13,795,865 | 10 | 13 | null | 2023-08-01T01:42:17 | 2013-10-23T07:04:07 | R | UTF-8 | R | false | true | 601 | rd | filter_signal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rc.feature.filter.blanks.R
\name{filter_signal}
\alias{filter_signal}
\title{filter_signal}
\usage{
filter_signal(ms.qc.mean, ms.blank.mean, sn)
}
\arguments{
\item{ms.qc.mean}{ms qc mean signal intensities}
\item{ms.blank.mean}{ms blank mea... |
313a0e8a65773c714d333589021adbc2958e499b | 9db98428a50bdcaab6ad807c35f5a24963a9d82a | /R/packages.R | 52f28583d9788ee60ff11db38f0988cc6c4a1f73 | [] | no_license | simroy16/drakeProj | 08e0654b80433b37b9fdfb4bccf4a09955fb3754 | 97e09dfc00443f7983b495b7ad94fddc43a64bd5 | refs/heads/master | 2020-09-25T02:56:42.156678 | 2019-12-04T16:23:43 | 2019-12-04T16:23:43 | 225,902,140 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 165 | r | packages.R | library(drake)
library(ggplot2)
library(stringr)
library(fishualize)
library(dplyr)
library(taxize)
library(tidyr)
library(readr)
library(tidyverse)
library(forcats) |
9aa5a769be2e5c8eca95636166d23e5728c6aa7a | 6b534cd4d569376f82d042319950461363b0c509 | /man/plot-cfPressure-missing-method.Rd | 9e54540af31588d1b83842cc250f625e7bddbf5d | [] | no_license | ropensci/clifro | 65acc77df1921263345b2e612b2aaa9655dc2c0b | 46c72d399ee3d6069cfffa87a4452f85794bdef9 | refs/heads/master | 2023-05-23T18:35:17.839044 | 2023-03-09T06:42:07 | 2023-03-09T06:42:07 | 19,559,638 | 26 | 12 | null | 2018-06-28T08:52:29 | 2014-05-08T03:43:50 | R | UTF-8 | R | false | true | 2,159 | rd | plot-cfPressure-missing-method.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cfData-plotMethods.R
\name{plot,cfPressure,missing-method}
\alias{plot,cfPressure,missing-method}
\alias{plot.cfPressure}
\title{Plot Mean Sea Level Atmospheric Pressure}
\usage{
\S4method{plot}{cfPressure,missing}(
x,
y,
ggtheme = c("g... |
ee656a7e4bc7dc30c79e31a32f9288b3eea56ea6 | 2a7862d20fc9a6819e849907bf0e76733ac270ef | /1.processing.data.R | 30e235bb06c84a771f4ccaf4479bdd4f58310732 | [] | 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 | 1,781 | r | 1.processing.data.R |
load("../../../Data/v6/3.b.Make.final/hl.v6.r.taxa.RData")
datas=c("smp.r.p" ,"smp.r.c" ,"smp.r.o" ,"smp.r.f" ,"smp.r.g" ,"smp.r.s", "smp.r")
meta=hl.r.taxa$meta.r
meta=meta[, c("sample_name", "host_scientific_name", "Status", "Region")]
#rename to fit on the old code
colnames(meta)= c("SampleID","Species","MicAbu... |
9e504ef6ec2a6b291c01c5e7f833d0d924a042cf | c90dac176024e17fc2f984c2e5bf3390ee08235b | /Chapter 5/5.4.6.r | 2eb249e28c15907cdcbc7b1365515b3bb4e1468b | [] | no_license | HariharasudhanAS/ISLR-Exercises | 4317851a5c6fafe0f63f4f0be3b6363ea5bb9593 | 0b6066ce81c19cefeb582703f3b3a7f3148d5af3 | refs/heads/master | 2020-03-31T00:26:17.718212 | 2018-12-11T11:05:53 | 2018-12-11T11:05:53 | 151,739,548 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 279 | r | 5.4.6.r | set.seed(1)
glm.fit = glm(default~income+balance, data=Default, family=binomial)
summary(glm.fit)
boot.fn = function(data, index){
coefficients(glm(default~income+balance, data=data, family=binomial, subset=index))
}
boot(Default,boot.fn,1000)
# The results are very similar |
704d7ec4447e7920cbe5e6610f1fc888d0e25519 | 89d219d3dfa744543c6ba1c1b3a99e4dcabb1442 | /man/op-disjunction-functional.Rd | 249f69c7f6a14e856290cda81d77bd7c052f2d41 | [] | no_license | pteetor/tutils | e2eb5d2fba238cbfe37bf3c16b90df9fa76004bb | fe9b936d8981f5cb9b275850908ef08adeffef4e | refs/heads/master | 2022-06-17T11:34:30.590173 | 2022-06-14T02:02:15 | 2022-06-14T02:02:15 | 77,761,145 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 682 | rd | op-disjunction-functional.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/operators.R
\name{op-disjunction-functional}
\alias{op-disjunction-functional}
\alias{\%or\%}
\title{Combine two predicates}
\usage{
p1 \%or\% p2
}
\arguments{
\item{p1}{A predicate of one argument}
\item{p2}{A predicate of one argument}
}
\... |
33b1c0cafbe6b59f02d457fb69485b2cb5248f44 | 29585dff702209dd446c0ab52ceea046c58e384e | /DJL/R/dm.sf.R | f6e4d802d9e7639c8bae0c9a4b826fde0a729c93 | [] | 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,675 | r | dm.sf.R | dm.sf <-
function(xdata,ydata,rts,g,w=NULL,se=0,sg="ssm",date=NULL){
# Initial checks
if(is.na(match(rts,c("crs","vrs","irs","drs")))){stop('rts must be "crs", "vrs", "irs", or "drs".')}
if(is.na(match(se,c(0,1)))){stop('se must be either 0 or 1.')}
if(is.na(match(sg,c("ssm","max","min")))){stop('sg must... |
17dfc3e3fd8568ad7fa911642fc525071e110834 | 60a568d1a18f5a71f1b0e82425ffdeee35da3024 | /man/getAssetClasses.Rd | cfc543491c510c1eecb9442cccbed495b93f2e4f | [] | no_license | beatnaut/remaputils | 9a7d035c58d91e9f241e7ac2aa92c6d5868f46f3 | 58d68ba45ff3a1a00f3ca15a343f5e26302b13d8 | refs/heads/master | 2023-09-04T06:50:17.069462 | 2023-09-01T07:30:18 | 2023-09-01T07:30:18 | 145,116,777 | 0 | 1 | null | 2023-09-07T19:17:40 | 2018-08-17T12:16:23 | R | UTF-8 | R | false | true | 374 | rd | getAssetClasses.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/import.R
\name{getAssetClasses}
\alias{getAssetClasses}
\title{Get the asset class data frame with the full names appended}
\usage{
getAssetClasses(session)
}
\arguments{
\item{session}{The rdecaf session.}
}
\value{
A data frame with the ass... |
4ea0f04e0085926abc562a54a6927e152f0c9309 | c009f093f7e5c0f164061a29841d35dbcd313a74 | /man/print.CustomLayout.Rd | 7275ea289a45ebac789dbdc6f364a6987748a7ae | [] | no_license | davidgohel/customLayout | 5ccb2ebe34358346428000af56f6b4f5a35a9877 | a680d677c0728af538247aa9525082090770b124 | refs/heads/master | 2020-09-03T14:08:51.631710 | 2019-11-23T17:42:40 | 2019-11-23T17:42:40 | 219,481,116 | 1 | 0 | null | 2019-11-04T11:03:00 | 2019-11-04T11:03:00 | null | UTF-8 | R | false | true | 682 | rd | print.CustomLayout.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Layout.R
\name{print.CustomLayout}
\alias{print.CustomLayout}
\title{Print a CustomLayout object.}
\usage{
\method{print}{CustomLayout}(x, ...)
}
\arguments{
\item{x}{object of class CustomLayout.}
\item{...}{optional arguments to print or p... |
1fc3c86f05999156e17771b5fd63972d003b9cfd | 2e8e31440e761ca5643ec924ff36c487c1add164 | /R/functions_for_processing.R | 6092cb0ffe29d33ff3e8d3831484448152555eaa | [] | no_license | guhjy/optweight | f57fd5cc10f78ed27c2941c1bb19a7637f2186fb | dac2223e86213de169629a9631d80ff59587b73f | refs/heads/master | 2020-04-09T10:59:27.808261 | 2018-11-06T20:13:39 | 2018-11-06T20:13:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,616 | r | functions_for_processing.R | get.covs.and.treat.from.formula <- function(f, data = NULL, env = .GlobalEnv, ...) {
A <- list(...)
tt <- terms(f, data = data)
#Check if data exists
if (is_not_null(data) && is.data.frame(data)) {
data.specified <- TRUE
}
else data.specified <- FALSE
#Check if response exists
if (is.formula(tt, ... |
5220ed70fd653f74fb58f571656604ede3ae5a53 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/BayesVarSel/examples/plot.Bvs.Rd.R | ad36f3e99630c44395d9b45690ab5e6cfed825ac | [] | 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 | 822 | r | plot.Bvs.Rd.R | library(BayesVarSel)
### Name: plot.Bvs
### Title: A function for plotting summaries of an object of class 'Bvs'
### Aliases: plot.Bvs
### ** Examples
#Analysis of Crime Data
#load data
data(UScrime)
#Default arguments are Robust prior for the regression parameters
#and constant prior over the model space
#Here ... |
1f984d2e74b948f069703ebfa2d352c28cdd2333 | b39174e13af676055c2cdf3ce8429beeb4c4498d | /MOFAtools/man/loadModel.Rd | 8a3adbb971b20ba990a1e2288ddd3e7015d89191 | [] | no_license | vd4mmind/MOFA | fec5fe2157211d46e02df37c7407648c44dd9901 | 5b2a4e535aa400856d758142e27406508f915cb2 | refs/heads/master | 2020-03-21T03:55:06.513807 | 2018-06-18T15:37:26 | 2018-06-18T15:37:26 | 138,080,898 | 1 | 0 | null | 2018-06-20T20:10:41 | 2018-06-20T20:10:40 | null | UTF-8 | R | false | true | 826 | rd | loadModel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/loadModel.R
\name{loadModel}
\alias{loadModel}
\title{loading a trained MOFA model}
\usage{
loadModel(file, object = NULL, sortFactors = T, r2_threshold = NULL)
}
\arguments{
\item{file}{an hdf5 file saved by the MOFA python framework.}
\ite... |
dd5be82a2aa5498f5e0210baf1f7537a7b73dbec | 4b6e4a6a79c8a0e673d522164589d48d128859e4 | /SourceData.R | b81914ae40452e8d00b012bd71b178c7b172bb05 | [] | no_license | gankahub/ExploratoryDataAnalysisAssignment2 | d365cbae7d71ec45b4378c150f44e9683641e41c | 8b9eac7065ef1bcf81168b0c5934cbaecdb9fb2d | refs/heads/master | 2016-09-05T14:27:57.001828 | 2015-06-21T22:00:36 | 2015-06-21T22:00:36 | 37,791,201 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 464 | r | SourceData.R | #creating data directory
if(!file.exists("data")){
dir.create("data")
}
##downloading file
fileurl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip"
download.file(fileurl,destfile = "./exdata.zip",method="curl")
##unzipping file
unzip("./exdata.zip",exdir = "./data")
#Importing SCC PM25 file
... |
853a0af6f6093ce144921f87c75e040fe25a34b4 | 6e2decc6ba4c804cd5e93416bbc4e43fdf00fef1 | /R_code/semiparam_transform_model_rp_noadj.R | 11269dc41934260d5ffe2f24f6d3fa671a26e99a | [] | no_license | didiwu345/WV-IC | 42688a1dd66944d15f654de4488a77bcf01c675a | 8fd2e8c87c275176015d2b6040588684a5dcb4f6 | refs/heads/main | 2023-04-01T01:16:11.867484 | 2021-04-12T15:31:58 | 2021-04-12T15:31:58 | 352,167,354 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,964 | r | semiparam_transform_model_rp_noadj.R |
suppressMessages(library(MASS))
suppressMessages(library(statmod))
suppressMessages(library(nlme))
#suppressMessages(library(survival))
#suppressMessages(library(Rcpp))
#suppressMessages(library(RcppArmadillo))
Gfunc = function(x, r){
if(r==0){ x }
else if(r>0){ log(1+r*x)/r }
}
###################### Function f... |
03f2437a7273d11afcaacab609cf36a5a0fad905 | 35b6b7ce84d38d33cc326cf0fcd791bba63d47be | /man/publish_mimebundle.Rd | 499c684c242b00961e466a06586f01688557e15d | [] | no_license | ramnathv/IRdisplay | d71bef2e45b3a3978573e6df7b659b1ac375292f | 6565f7460ea6da27e84460ed92abb32c8796f60f | refs/heads/master | 2020-03-31T05:14:15.181841 | 2018-09-24T08:22:34 | 2018-09-24T08:22:34 | 151,938,420 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 985 | rd | publish_mimebundle.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/display.r
\name{publish_mimebundle}
\alias{publish_mimebundle}
\title{Display data by mimetype, with optional alternative representations.}
\usage{
publish_mimebundle(data, metadata = NULL)
}
\arguments{
\item{data}{A named list mapping mimet... |
9e70ad1cc44c021bdaa7e270d058a8160cec3463 | ee8dd63922e47711a5911d282472e6784c5d67c0 | /R/find-centers-kpp.R | 2c5601cc35163b132ab1561b52fde68b441ee403 | [
"MIT"
] | permissive | atusy/qntmap | 07ff96149b4d8fb5ee2386b0892d524d1f55aa34 | 5b6a349ac12b600daad7e806e22982e514150b86 | refs/heads/master | 2021-06-04T06:01:19.809161 | 2021-04-06T13:54:15 | 2021-04-06T13:54:15 | 97,662,265 | 2 | 0 | MIT | 2021-04-06T13:54:15 | 2017-07-19T02:07:09 | R | UTF-8 | R | false | false | 1,316 | r | find-centers-kpp.R | #' Generate initial centroids for clustering randomly
#'
#' @param x
#' An object which can be coerced to [`matrix`],
#' typically [`matrix`] itself or [`data.frame`].
#' @param k A number of clusters.
#' @param given Given centers. Not yet implemented.
#'
#' @importFrom matrixStats colSums2
#'
#'
find_centers_kpp ... |
a45005e4031d54bfd41e68429ae00a4c8324a94f | 67b0547199b3bbc37434d3db37275e5ce013b960 | /purrr.r | 6addd6aaa3cf06c5299cd389126b85b83664d059 | [] | no_license | thefactmachine/purrr_experiments | 20ce4f729a7f6066df7a86c742d44de8367f3307 | 3184eb40afc9a462cb415e889136ad67e05b5bc1 | refs/heads/master | 2021-01-18T03:51:31.785712 | 2017-03-24T04:42:41 | 2017-03-24T04:42:41 | 85,783,107 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,436 | r | purrr.r | library(purrr)
# https://blog.rstudio.org/2016/01/06/purrr-0-2-0/
df <- data.frame(
a = 1L,
b = 1.5,
y = Sys.time(),
z = ordered(1)
)
df[1:4] %>% sapply(class) %>% str()
# clear the decks
rm(list=ls())
options(stringsAsFactors=FALSE)
library(dplyr)
library(lubridate)
library(tidyr)
library(purrr)
# turn off... |
3a3765787f6c23b231cce5dbfb1d2e881cc506a1 | 812e9c9df8f276ba93c4f9c79e97fb5430f5ed60 | /RCode/power_analysis_cluster.R | 652beeb46e944d8b053696665c8e2d2098b04e72 | [
"MIT"
] | permissive | janhove/janhove.github.io | d090a22fa90776926301b9cb5b318475c2010cb5 | 44bb9fe9c8070ecda5cec049e9805da71063326f | refs/heads/master | 2023-08-21T18:52:38.584816 | 2023-08-06T09:11:17 | 2023-08-06T09:11:17 | 22,544,198 | 7 | 5 | null | 2020-05-27T09:56:52 | 2014-08-02T10:41:02 | HTML | UTF-8 | R | false | false | 15,515 | r | power_analysis_cluster.R | ################################################################################
# Power and Type-I error simulation for different approaches #
# to analysing cluster-randomised experiments #
# ... |
af0bdd0ae3d2e51add7c6111561d8c682f982846 | 7cb02aa5f54e66d5dc1b309e810f3ca5cdcee895 | /PhenoForecast/man/createInits_forecast.Rd | 3d1b72bf992d8ef2118f559e1e81b124e7a1efa7 | [
"MIT"
] | permissive | victorfeagins/NEFI_pheno | 940c5a5f5cc8f06c456867cec3665458b9db1045 | ad22dc2bf24bfb1ed8275e196bf4812d15a3cbbb | refs/heads/master | 2023-05-14T06:29:38.563240 | 2021-03-04T23:13:02 | 2021-03-04T23:13:02 | 375,135,836 | 0 | 0 | MIT | 2021-06-08T20:25:32 | 2021-06-08T20:25:31 | null | UTF-8 | R | false | true | 366 | rd | createInits_forecast.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/createInits_forecast.R
\name{createInits_forecast}
\alias{createInits_forecast}
\title{Create inits based on previous out.burn}
\usage{
createInits_forecast(out.burn, variableNames)
}
\arguments{
\item{variableNames}{}
}
\value{
}
\descripti... |
ef50327d9b5ad91d53a8adf83f3c90b2df0b6b8d | 6b1cb96496ec20452510216aaed1c5f3d0468e43 | /picay_creek_map.R | e9fdbf6f382851959098250d99d4a7aa88bd59b0 | [] | no_license | sebankston/san_ysidro_map | bec49d538c0c7470fb49c22f3647415522f77580 | 1c28cd92a4d14dc067124865a57a9199d159f1d4 | refs/heads/master | 2020-04-07T03:21:12.249054 | 2019-01-05T00:20:25 | 2019-01-05T00:20:25 | 158,012,848 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,415 | r | picay_creek_map.R | library(tidyverse)
library(sf)
library(leaflet)
library(leaflet.extras)
library(googlesheets)
library(janitor)
library(htmlwidgets)
all_sheets <- as_tibble(gs_ls())
all_sheets$sheet_title %>% str_subset("Picay")
pcy_all <- gs_title("Picay Inventory")
gs_ws_ls(pcy_all)
pcy_data <- gs_read(ss = pcy_all, ws = "Sheet1... |
8e6b879b99ff6eda0b926ff9ae34b0e7c229676f | 06584f5c1d0092830e67150ccb0d67b4a5851e24 | /dev/dev.R | e8fa1d3c145c35edf9bb1a512b8f7d31ad4abd93 | [
"MIT"
] | permissive | davidruvolo51/random-api | 4d193ca0881e36ae3a2c5f78573bfca2003c687f | d84d4c7c38f36cdd0bea4b95cb7cf459bd7a4bb2 | refs/heads/main | 2023-08-02T05:48:27.138687 | 2021-10-02T11:49:37 | 2021-10-02T11:49:37 | 401,309,113 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 495 | r | dev.R | #'////////////////////////////////////////////////////////////////////////////
#' FILE: dev.R
#' AUTHOR: David Ruvolo
#' CREATED: 2021-09-01
#' MODIFIED: 2021-09-01
#' PURPOSE: workspace management
#' STATUS: in.progress
#' PACKAGES: NA
#' COMMENTS: NA
#'////////////////////////////////////////////////////////... |
286225b259885cb30626760d367080ba38622ed8 | fb25129d8e0c03dbc4837276a25040a8ceb2ad39 | /run_analysis.R | 8e0eff6bb5f51a481b40090c930cfcea863ab874 | [] | no_license | suryade/gettingandcleaningdata | 6cb9606b67baa4a3f3a18ae80681d5d4110de3d5 | cb8ac11cb7cff5aca490d4b16374f60a4d8f6627 | refs/heads/master | 2021-01-10T03:05:17.018421 | 2015-10-22T22:30:57 | 2015-10-22T22:30:57 | 44,775,912 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,159 | r | run_analysis.R | ## This section loads up all the packages that will be required for the run_analysis script
## to run properly.
require(data.table)
require(plyr)
## The merge_all_data function merges the train and the test data sets and returns one
## large super set so to speak. For convenience I am also labeling the columns and m... |
b54afb3273329c6a22c20210cf1e15d717806543 | f499cfb079da7190894aed672b5be240137cb04d | /plot4.R | 7847470d33f652a429e39b54377cc9e6ba018900 | [] | no_license | ArchanaSrinivas/ExData_Plotting1 | 9234720157fb10092c1415aad8d739bd6eb3e1fd | 8e814720700d9a9c40b6b7ddb8ad7aae2c7252a6 | refs/heads/master | 2020-12-28T23:16:13.574008 | 2015-01-11T20:11:29 | 2015-01-11T20:11:29 | 29,037,634 | 0 | 0 | null | 2015-01-09T22:11:50 | 2015-01-09T22:11:49 | null | UTF-8 | R | false | false | 1,903 | r | plot4.R | ##The following code to be run only if to create data frame for the first time - reusing dataset is better if it exists
---------------------------------------------------------------------------------------------------------------
##download the zip folder
##Extract file from zip folder into working directory
##Read E... |
04e3cffaea5b74fabd261c8282791cc32a5b660d | df7ad23a78e32abf5ff7c3d63899e2083103e469 | /server.R | 3439ec8061f6fa8c7e31ddd5745299d63fa4f848 | [] | no_license | rstudio/ca-predict-covid | 98f9b899e9456bbe9c133d206d48ba3908ddcc96 | 85cd2343b6835ef1a1de440a0e926293968eca7c | refs/heads/master | 2022-11-13T07:33:01.626550 | 2020-06-24T20:14:45 | 2020-06-24T20:14:45 | 274,699,556 | 0 | 0 | null | 2020-06-24T16:27:09 | 2020-06-24T15:09:43 | HTML | UTF-8 | R | false | false | 77,515 | r | server.R | # Developed by California COVID Modeling Team
#
# John Pugliese, PhD.
# California Department of Public Health
#
# Jason Vargo, PhD.
# California Department of Public Health
#
# Beta Version : Released 6/22/2020
#
library(shiny)
# Define server logic required to draw a histogram
server <- function(input, output, sess... |
aed6b16ecb84b980b33d6dd1387010b0c90d49d3 | feee549a212d7d2e24d5686249b1cc0cba26832f | /gcd/run_analysis.R | 88b1c38bba0eaea268f4c53c531567c74afa2011 | [] | no_license | fsmontenegro/datasciencecoursera | 057feff2b9032d9e25db9b9058e8d6a785e76338 | c862b360269df04e1dfcff84ed44f65fa7c8fcba | refs/heads/master | 2016-08-07T14:18:46.228591 | 2015-07-26T20:42:53 | 2015-07-26T20:42:53 | 29,143,338 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,362 | r | run_analysis.R | ## run_analysis.R
## JHU's Data Specialization - Getting and Cleaning Data - Project Assignment
## Mar 22, 2015
## Fernando Montenegro (fsmontenegro@gmail.com)
##
## This script loads the UCI HAR Dataset and generates a new tidy dataset as
## per the project instructions.
# Load dplyr package
library(dplyr)
curdir... |
b22baa5f709478ab166f5c6294a4358024f51a91 | 27afc60193cec4647201cdc2967351c7a6738fff | /EDA-DR-MDS.R | 22308cc56e0d6e6d4d0c0de10739f4de7e1cc180 | [] | no_license | hyginn/BCB410-DataScience | ad7a04906b901e1a0984b4283fb54dcfdc94597b | eee2dcaa11d789e8e3b0b0791cfb163054074af4 | refs/heads/master | 2021-08-23T23:57:59.736964 | 2017-12-07T05:15:20 | 2017-12-07T05:15:20 | 105,763,164 | 1 | 2 | null | 2017-12-07T05:15:21 | 2017-10-04T12:00:59 | R | UTF-8 | R | false | false | 10,425 | r | EDA-DR-MDS.R | #EDA-DR-MDS.R
#
# Purpose: A Bioinformatics Course:
# R code accompanying the EDA-DR-MDS unit.
#
# Version: 1
#
# Date: 2017 12 06
# Author: Ricardo Ramnarine (ricardo.ramnarine@mail.utoronto.ca)
#
# Versions:
# 0.1 (Initial - skeleton template)
# 0.2 (Added section for ... |
9a829d7836c42d7f204a9f76b192b0eacbaa97c1 | 38e22dcf20dd6e9b2cd745c1871c318b238c27ca | /R/nonexportedSpdepFuns.R | 4610b2977e4973203e1dd6785f1f236b9e225531 | [] | no_license | cran/splm | 5f6d21bf534ea13dd96e371a41f8f2e698cb2ba0 | 62b73c011ed69da35c92d4cf713feeb8871bb9d1 | refs/heads/master | 2023-08-02T12:21:20.641346 | 2023-07-20T16:00:02 | 2023-07-20T17:31:05 | 17,700,055 | 10 | 9 | null | 2017-12-05T04:27:11 | 2014-03-13T06:31:08 | R | UTF-8 | R | false | false | 7,321 | r | nonexportedSpdepFuns.R | ## from spdep_0.5-74, copies of non-exported functions
can.be.simmed <- function (listw)
{
res <- is.symmetric.nb(listw$neighbours, FALSE)
if (res) {
if (attr(listw$weights, "mode") == "general")
res <- attr(listw$weights, "glistsym")
}
else return(res)
res
}
jacobianSetup <-... |
7e259a44c13e08e3b96c4efb63ae36138ecbfe6a | 9fab87354090fa1938a89a81eef82019dd7ad8a0 | /assignments/assignment_1/corr.R | 4b4ebb331a129a6d51a515ab8b6ae6d71e8a39fa | [] | no_license | mwoitek/r_programming_johns_hopkins_2 | e53db114b3e1a383a9baf1524b367079e537a3d5 | f4268b9559e8a67e9d39045aa459c6d458d7be19 | refs/heads/master | 2023-02-13T09:50:43.125499 | 2021-01-19T19:13:25 | 2021-01-19T19:13:25 | 327,976,849 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 888 | r | corr.R | corr <- function(directory, threshold = 0) {
# "directory" is a character vector of length 1. It stores the location of
# the csv files.
# "threshold" is a numeric vector of length 1. It stores the number of
# complete observations required to compute the correlation between nitrate
# and sulfate m... |
94668167c202efa0de6ed394e7573834b8d211c8 | 2a8b63ffbe4c3237c14fefd16bc2efb557e23b31 | /R/bq_groups.R | 1637cd95032afeba929db1e7eb6b9704ca521221 | [] | no_license | davidrubinger/briqr | 4a9f2670e7b67868ed668f222a03fa7630e95ae1 | 2e27316fbb7f2bda8eb3ed1e0a6f8096c21a7b0f | refs/heads/master | 2020-05-02T21:59:31.816652 | 2019-07-27T17:13:09 | 2019-07-27T17:13:09 | 178,237,580 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 991 | r | bq_groups.R | #' Briq user groups
#'
#' List all the 'Briq' user groups of your organization
#'
#' @param organization Name of your Briq organization
#' @param api_token Briq API token
#'
#' @return Returns a tibble of Briq user groups of your organization
#' @export
#' @examples
#' \dontrun{
#' # Read organization and api_token fro... |
a4a99f21306cf4a6a9ae3277dc1e97ac204c55c2 | 4f2ee7e68e9261fee8a99e6fb087afb456f7965b | /inst/doc/diagis.R | 29a01b010abd451da00b37deabe405266ad6eaf2 | [] | no_license | cran/diagis | 9859ff2b99267e5c5b582313bd4998c352fefc13 | 8da65154d85c51419469b28c27088ba24db61b5f | refs/heads/master | 2022-01-01T01:31:36.106340 | 2021-11-29T15:10:02 | 2021-11-29T15:10:02 | 72,307,787 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 763 | r | diagis.R | ## ----setup, include=FALSE-----------------------------------------------------
knitr::opts_chunk$set(echo = TRUE)
## ----finite_var---------------------------------------------------------------
library("diagis")
set.seed(1)
x <- rgamma(10000, 1, 0.75)
w <- dgamma(x, 2, 1) / dgamma(x, 1, 0.75)
plot(w)
weigh... |
b88f549cb1c5a9ae194a846eeaf98b9b83c27bce | 50379b138496f26b30ee2f3d8efeb6ac4774baf4 | /R/block_sizes.R | 65906fedc6250e73e02cc43532f840e0dc482120 | [] | no_license | russHyde/bobbins | 3e822ac8ac0a980c32c486f5a51efe243d31754c | 4df0b7f607b32330a2ce7614bb23694db4e5768a | refs/heads/master | 2020-07-25T08:28:16.742941 | 2019-09-13T11:00:01 | 2019-09-13T11:00:01 | 208,230,377 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 427 | r | block_sizes.R | #'
block_sizes <- function(files, mode = c("tokens", "lines")) {
# rather than choose between tokens and lines, return a data-frame containing
# number of (non-trivial) tokens and number of (non-comment / non-whitespace)
# lines of code
tokens <- dupree:::preprocess_code_blocks(files, min_block_size = 0)
toke... |
a1e006da1489b5c2529b59dcb9899e336ce16fa7 | 4163b2ff26b31e00b8d73da528d5c881d94108e3 | /R/SEQUOIA.R | 1b8461ea8b68bf48e16a9b0fd26111102d5bd235 | [] | no_license | VB6Hobbyst7/R_SEQUOIA | 6cfdb9586036efe7bac44857aee0eed8515d1e85 | def0603d5bb699a3cfc04ea9efd91c190d1c2a9d | refs/heads/master | 2023-04-26T08:45:06.117938 | 2021-05-27T15:21:47 | 2021-05-27T15:21:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,179 | r | SEQUOIA.R | SEQUOIA <- function(enrg=FALSE) {
# Lancement des library
packages <- c("devtools", "prettydoc",
"data.table", "dplyr", "plyr", "foreign",
"gdalUtils", "lwgeom", "osmdata", "R.utils",
"raster", "RCurl", "readxl", "rlang", "rlist",
"rvest", "sf", "smoothr", "stringr", "tcl... |
f45d898c3a5324f42300e4d564868c9c23c1c824 | d59b1245f1868090e259e8286feca5b61ebdcff3 | /Question 9/9.r | 31bf92a835a81a1a27043fa0fd6b50fb5e8bb4ef | [] | no_license | sawood14012/dalab | 1818100af639e8487be3c1a583e189dc1c53cb95 | fa62039430e6a4ca38eb63560ebfbe555dcc4fc0 | refs/heads/master | 2020-11-28T14:18:37.391371 | 2019-12-24T01:01:17 | 2019-12-24T01:01:17 | 229,845,448 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,348 | r | 9.r | library(digest)
library(bit)
BloomFilter = setRefClass(
"BloomFilter",
fields = list(
.fp_prob = "numeric",
.size = "integer",
.hash_size = "integer",
.bit_array = "ANY"
),
methods = list(
initialize = function(num_items, fp_prob)
{
.fp_prob <<- fp_prob
.size <<- get_size(nu... |
617c347a2fa191a9cff434847f279e0ed9e5a0eb | 71c3209f5f4c060876ad25ab8bc93fda0c46df95 | /inst/examples/titanic_example.R | 1775aa647e9f03043a8965579c27281556faedf1 | [] | no_license | timelyportfolio/SearchTree | cc67818ac86bdf8f1e080fbeb1c2d606a2cc5da3 | f15e28b4289bb575364cff829bc5b4944cea7c60 | refs/heads/master | 2020-06-15T07:46:11.398241 | 2016-12-05T15:16:25 | 2016-12-05T15:16:48 | 75,312,550 | 1 | 1 | null | 2016-12-03T03:37:24 | 2016-12-01T16:45:57 | JavaScript | UTF-8 | R | false | false | 325 | r | titanic_example.R | library(SearchTree)
# see if search tree is working as an htmlwidget
tit_d3 <- list(
root = SearchTree:::df2tree(as.data.frame(Titanic)),
layout = 'collapse'
)
ggtree(tit_d3)
library(d3r)
ggtree(
list(
root = d3r::d3_nest(
as.data.frame(Titanic)
),
layout = "collapse"
),
value = "colnam... |
ddd593f2a7899a5723b6fbd75ccf2a5e8c53a2cd | 14e19c36dba435df0a75158e14f7d00a0fa1096d | /R/tntTracks-compositeTrack.R | 7c49bb78d78653fdc1834f5b316a952a35c7b4e0 | [] | no_license | Marlin-Na/TnT | 2fc227de7cae7266886104d6009b0b36add6f2b2 | 386cf9fc3c53ab861c954b73b47b3c83be35ea89 | refs/heads/master | 2021-01-11T20:36:04.356306 | 2020-01-30T07:08:50 | 2020-01-30T07:08:50 | 79,152,363 | 16 | 3 | null | null | null | null | UTF-8 | R | false | false | 7,913 | r | tntTracks-compositeTrack.R |
#' @include tntTracks-compilation.R
setClass("CompositeTrackData", contains = c("list", "TrackData"))
setClass("CompositeTrack", contains = "TnTTrack", slots = c(Data = "CompositeTrackData"))
setValidity("CompositeTrackData",
function (object) {
if (!all(vapply(object, is, logical(1L), class2 = "RangeBa... |
ce8de555b8b577034fc23f0df37876856617de20 | f0d35b6ea0ebe9517537ecdf921bb442f1fd7550 | /ColonelHouNote/src/main/java/com/hn/opensource/shell/tool/当前脚本名称.RD | 7a2ac1ef47a4a36e91a3eb2943827688ec2b0fdd | [] | no_license | jiangsy163/ColonelHouNote | 01191a63d51542b09ef23e9662896e8407211119 | 6173c265c82b7b0197846cf621ecebab44073ef6 | refs/heads/master | 2021-01-14T12:47:41.091704 | 2015-11-19T08:40:09 | 2015-11-26T08:41:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 42 | rd | 当前脚本名称.RD | execFileName=$0
echo ${execFileName#*/}
|
cc1efd9d0eb26056bb7b5ff426a7585cca8806e5 | bcf1de9b0b559e201cfa4c7783c8eb634d83fadd | /R/rwx2.R | cce3ef5a4ae8bdf4e1f9dcc65881568ebffa61e6 | [] | no_license | einarhjorleifsson/mac | 05861ad4a0040fc640bbbfb24f4e6c6567eac238 | 0e0edc7a74e2d0149fafd4e6ca073ad6e87e0914 | refs/heads/master | 2021-01-18T14:15:02.820160 | 2017-06-30T11:08:16 | 2017-06-30T11:08:16 | 21,002,266 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,616 | r | rwx2.R | # Amended fishvise functions
#' @title Reads the stock in numbers and fishing mortality
#'
#' @description Reads fishing mortality and stock in numbers by year and age
#' from \code{sam}.
#'
#' @export
#'
#' @return Returns a \code{data.frame} containing the following items:
#'
#' @param x Object from read.fit
#' ... |
b7950ac0f53974e234a7dba6da2e3ea13298df08 | 9871d45970de0cae95c10e6d69da1b626cae0337 | /functions.R | 6f607b6f4d8a9faaf98437a438c7656c63d56b01 | [] | no_license | jbarrientos/RepData_PeerAssessment1 | a37b940ba3cd1f367f8866a643da445b58154613 | 16087321fb15cc80b39ab60ed4a0525e44ee08f1 | refs/heads/master | 2020-05-23T10:29:53.150009 | 2017-03-13T06:50:52 | 2017-03-13T06:50:52 | 84,762,162 | 0 | 0 | null | 2017-03-12T22:29:09 | 2017-03-12T22:29:09 | null | UTF-8 | R | false | false | 278 | r | functions.R | fill.na <- function(ds, dsNA){
means <- tapply(ds$steps, ds$interval, mean)
for(i in 1:288){
## Update with the mean
dsNA[dsNA$interval == as.integer(names(means[i])),]$steps <- means[i]
}
return (dsNA)
} |
a792be7250ecf0b11974248848ce21e1b72e1437 | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /B_analysts_sources_github/bcaffo/exactLoglinTest/death.R | f0da4ab4c116d56bfe720e0320dec0e7798c2c37 | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 197 | r | death.R | dat <- read.table("death.dat")
names(dat) <- c("BLACKD", "WHITVIC", "V4CPTY", "V5DPTY",
"PTDTHRC", "SESF1", "POOLADEH", "POOLGBF",
"POOLMCG", "POOMABEF", "OTHAGG")
|
421517d4d5ed4d8a381060d80fab8cfda2cd9285 | d5c7866164c46d1663ee33060ec0465110f92572 | /tests/testthat/test-db.R | b87c0a6917c9a458bee057fd20336d47a082acb0 | [
"MIT"
] | permissive | vimc/orderly | c57562c73ae75320fbccda42aa20beb2d9f73834 | 788ce5c7bcba928acc2cda826d83077648c82d71 | refs/heads/master | 2023-07-25T05:27:47.997733 | 2023-06-21T10:45:49 | 2023-06-21T10:45:49 | 92,043,843 | 119 | 10 | NOASSERTION | 2023-07-13T12:48:18 | 2017-05-22T10:58:56 | R | UTF-8 | R | false | false | 19,054 | r | test-db.R | context("db")
test_that("invalid db type", {
expect_error(orderly_db("xxx", "example"),
"Invalid db type 'xxx'")
})
test_that("custom fields", {
path <- tempfile()
orderly_init(path)
file_copy("example_config.yml", file.path(path, "orderly_config.yml"),
overwrite = TRUE)
con <- o... |
31cf127fa5e8b1f67fde896ac02026b706afdb51 | 082ae6acef6cfafb85ccc8c98c67c670ffd934ee | /R/htmlrmd.R | 4dcc0eac0cf092ab76fae30ceb100f1ffe38944d | [
"MIT"
] | permissive | AnirudhHimself/ragtag | 9825b3905e79a14e0b08f1f6051c4f38923dd86f | 6b0eda50ad886860e0bd653f8c516a7d53e101a7 | refs/heads/master | 2023-02-05T20:48:25.921055 | 2020-12-25T21:36:54 | 2020-12-25T21:36:54 | 267,073,259 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,115 | r | htmlrmd.R | #' Personal Rmd Temlate. It only converts to HTML right now.
#'
#' It essentially uses the base rmarkdown html_document function
#' but adds in additional CSS and and a footer template file.
#' It essentially uses the base rmarkdown html_document function,
#' but adds in additional CSS and and a footer template file.
#... |
72c2f46bd360a65c3a1577209fe74011ecb6e247 | 6ca19435cf789e314304c77546b03c049e1c004a | /Maghav Airline Code.R | 47c32617877b7ecd90d56c5862934689415c3c6b | [] | no_license | maghavgoyal/Airline-pricing-analysis | 2e330cb526dd4f8c97a52846d6938e5f3f7c4ab8 | 12b4d7b283bb92b5beba94aa40f2ea4766b5592f | refs/heads/master | 2020-06-24T09:49:06.128394 | 2017-07-11T19:44:48 | 2017-07-11T19:44:48 | 96,930,304 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,248 | r | Maghav Airline Code.R | #Analysis of Airline Ticket Pricing
#Name: Maghav Goyal
#EMail: maghavgoyal@gmail.com
#College: DTU
#Setting the working directory
setwd("C:/Users/ANIL GOYAL/Desktop/New folder (2)/data sets")
#Reading the data and creating a data frame
air.df<-read.csv(paste("AIRLINE.csv",sep=""),)
#Viewing the data fr... |
dc64bf7e7928b7f5db3c3255abefc04aa67cf4a5 | 72f7da392743b54817109487ec7f0f533829b335 | /man/onco_enrich.Rd | 1f4dab3556e53e4651f20b6f1fc9d8427139fddd | [
"MIT"
] | permissive | shijianasdf/oncoEnrichR | ee4891218a73a4ac2e65e61dfd785371b8e1eedc | bdd913da6dbb6f6d3276e033a059fdae93ea3b7b | refs/heads/master | 2023-08-29T09:17:42.081801 | 2021-10-12T18:36:40 | 2021-10-12T18:36:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 6,445 | rd | onco_enrich.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/onco_enrichr.R
\name{onco_enrich}
\alias{onco_enrich}
\title{Interrogate a gene list for cancer relevance}
\usage{
onco_enrich(
query,
query_id_type = "symbol",
ignore_id_err = TRUE,
html_floating_toc = T,
html_report_theme = "defau... |
7c1f74c0c75b1721c4e38a5e66725aa8a07330d2 | 514de18f0822291a0a57d41264d5e0e33fc44378 | /RCode/work1119.r | 3801eecc74c20baae7b90b303d252b80c3a63bd6 | [] | no_license | eburas77/BikeshareWork | 1b2a05b8454d497e2f69e993de9d06e35063bc7c | df275536a3f8ff2d87ad9719d1caeb5e0854b863 | refs/heads/master | 2021-01-10T12:29:58.770835 | 2015-11-10T22:35:28 | 2015-11-10T22:35:28 | 45,944,631 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,290 | r | work1119.r | # Aggregate over all combinations of day / subscription type / hour / start station.
# Use the df Q2 from work1111.Rdata to do this.
MyDF = aggregate(date ~ day*subscription.type*hour*start.terminal, data = Q2, FUN = length)
names(MyDF)[5] <- "count" # Since the argument "date" is arbitrary and this column really... |
c9f047a73377792997578bba4ca17cb02dc50abb | 05c855aedb2f08484d6b76ebbd1b50b5212ef8c6 | /lib/predict_score1.R | 5d466db88a8b377dbb8f75f6652deb0eaba9d0a0 | [] | no_license | Wanting-Cui/Collaborative-Filtering | 80e12b3ca5a9bcb59b52c99f263cca13a5e2496b | 01eebd86fed06fcc9c537e1348f3b0ce0f9f76d2 | refs/heads/master | 2020-04-14T15:30:18.980070 | 2019-01-03T05:53:56 | 2019-01-03T05:53:56 | 163,928,996 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,076 | r | predict_score1.R | predict.score.movie <- function(train, test, weight,
par = list(threshold = 0.3,n = 10),
run.threshold = FALSE,
run.bestn = FALSE){
rownames(weight) <- rownames(train)
avg <- rowMeans(train, na.rm = T)
train_c <- train - avg
train_... |
e4448372e0f52b4cae8566a9ea2b733510f48b8f | 74e6fe0e281e7e9bf0a4b62baad95edbe29f8f46 | /man/mycltu.Rd | d5f54bb23aa91a6244f1745d0743fef09526f1c6 | [] | no_license | Jackschwarz58/OU-Math4753-Fall | 6f7e4885ac1f67c42c9d4121f43d0e0d412e6c89 | 35710af1c06e9744e129d89685cc2229016b86bc | refs/heads/master | 2023-01-13T04:00:34.169729 | 2020-11-19T01:07:09 | 2020-11-19T01:07:09 | 314,062,465 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,022 | rd | mycltu.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mycltu.R
\name{mycltu}
\alias{mycltu}
\title{mycltu(n, iter, a, b)}
\usage{
mycltu(n, iter, a, b)
}
\arguments{
\item{n}{The desired sample size}
\item{iter}{The number of iterations to run to compute the random sample}
\item{a}{The a value... |
ad1371c513b3a08c4b3f85a293aced7470f6a0bd | eaf6ef22efe32208656c29483c9f504ce08c643d | /R/get.obj.R | 725661af3ce79d5adb1bfc2019c3c6d653e2f700 | [] | no_license | leekgroup/Set | 6d1fdbbbc5d9fe2dfb3d829458702feb26ef9496 | 3e0ab08aa5c1c41f8256f9bacb883a5afdfe939f | refs/heads/master | 2021-01-20T04:33:17.659425 | 2015-04-28T00:13:49 | 2015-04-28T00:13:49 | 4,983,637 | 1 | 1 | null | 2015-04-28T00:13:51 | 2012-07-11T02:51:08 | R | UTF-8 | R | false | false | 183 | r | get.obj.R | get.obj <-
function(t, k, n, q)
{
res <- (1-k) * sum((n-q)[t==1])
res1 <- res / sum(n[t==1])
res <- k * sum(q[t==0])
res2 <- res / sum(n[t==0])
res1 + res2
}
|
6a8aef5cddc26f4af5d3ff334d23448bcd66ab1b | 2e5bcb3c8028ea4bd4735c4856fef7d6e46b5a89 | /R/SnpPlm.R | cc65a64836528e0ffe765af64c8cb09b0de04502 | [] | no_license | HenrikBengtsson/aroma.affymetrix | a185d1ef3fb2d9ee233845c0ae04736542bb277d | b6bf76f3bb49474428d0bf5b627f5a17101fd2ed | refs/heads/master | 2023-04-09T13:18:19.693935 | 2022-07-18T10:52:06 | 2022-07-18T10:52:06 | 20,847,056 | 9 | 4 | null | 2018-04-06T22:26:33 | 2014-06-15T03:10:59 | R | UTF-8 | R | false | false | 2,590 | r | SnpPlm.R | ###########################################################################/**
# @RdocClass SnpPlm
#
# @title "The SnpPlm interface class"
#
# \description{
# @classhierarchy
#
# An @see "R.oo::Interface" implementing methods special for
# @see "ProbeLevelModel"s specific to SNP arrays.
# }
#
# @synopsis
#
# \argume... |
152651c3258abfc60e4ae7a49cb85dc05dae283a | b6aba9b09f3fd4672c17c0311f5ee3eafdb29968 | /Codes/DE_Profiling/run_DESeq.R | 92f9bb39387d997129d72e599a6aa836425013b7 | [] | no_license | tambonis/GA_RNA_Seq | fc31d0e0674b334adfdf727555149aa2a42b7585 | 4ddb2e45e5d37f6e4437c1f3234b05346f0fc03b | refs/heads/master | 2022-03-01T13:03:41.041835 | 2019-11-05T13:23:45 | 2019-11-05T13:23:45 | 105,914,262 | 1 | 0 | null | 2017-10-09T12:05:04 | 2017-10-05T16:34:12 | null | UTF-8 | R | false | false | 726 | r | run_DESeq.R | runDESeq <- function(count.dat, conditions){
if(! packageDescription("DESeq")$Version == "1.22.1"){
stop("Wrong version of DESeq package. This script requires DESeq-1.22.1")
}
require("DESeq")
kSamples <- colnames(count.dat)
targets <- data.frame(kSamples, Factor=conditions)
## ... |
4d102e14eec715d6b05c21312771660a04b7c120 | 0c1dfbb49e4055c2fb0223461cd0501463d7fdcf | /DumbellChart.R | c6f7c3be6f0a5dc3d10b0caca59c13cfe7fa63ad | [
"Apache-2.0"
] | permissive | amrrs/Unique-Plots-in-R | 2f077377828d2ef8a6c2344ffa90a3c84f5af6c5 | b9dc487cdd3a0f4c4479c08c5ef905d46407bbad | refs/heads/master | 2021-06-18T18:10:10.683619 | 2017-07-13T15:56:16 | 2017-07-13T15:56:16 | 109,792,845 | 0 | 1 | null | 2017-11-07T05:54:24 | 2017-11-07T05:54:24 | null | UTF-8 | R | false | false | 1,332 | r | DumbellChart.R | #Dumbell Chart
#Dumbell plots are also a great Tool to vislaualize the Relative Positions between the 2 points
#like Growth and Decline
require(ggplot2)
devtools::install_github("hrbrmstr/ggalt")
require(ggalt)
theme_set(theme_classic())
#Loading the Dataset
health<-read.csv("https://raw.githubusercontent.com/anishsi... |
f6f49e3da85c2cd565d0612e77925eefda8c61b0 | b728b6f9a8cdb0ef468caffaa36b8d3c7e11ea08 | /files/plot2.R | 69c54f5153da3f3a8f781a7e2a093a5082c4d94c | [] | no_license | soparkar/ExData_Plotting1 | 5f5cd763c6b7bcb6960b82824923f238c69af046 | 7a1287e6790d7873b93df8c8f725b207fa6f5a54 | refs/heads/master | 2021-01-24T23:35:56.299977 | 2014-11-08T06:42:23 | 2014-11-08T06:42:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 160 | r | plot2.R | # initialize using clean_dat.R file
source("clean_data.R")
# plot the variables
plot(datetime, power, type="l", xlab="", ylab="Global Active Power (kilowatts)") |
a052134a922304fad5df0cd3959977e2568e4563 | b5e65100e2c9eb3efd6bc49ca9bb309411fb908d | /ui.R | f6a7f5a05db83df3e1ef397f4820a4a00783f2fa | [] | no_license | wangrenfeng0/wangrenfeng0.github.io | e0f15c9696898fd4fb1a08d4763bc83b14508637 | 66adeb34a32a7f918cbb9f7f8821b6c3e687f786 | refs/heads/main | 2023-01-06T17:10:43.333325 | 2020-11-07T20:46:39 | 2020-11-07T20:46:39 | 309,583,337 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,147 | r | ui.R | library(shiny)
library(tidyr)
library(ggplot2)
library(usmap)
library(magrittr)
library(dplyr)
ui <- fluidPage(
titlePanel("Beer Data"),
sidebarLayout(
sidebarPanel(
selectInput("select", label = h3("ABV OR IBU"),
choices = c("AB... |
697b9b4494222521a2e9c1705b0335930a6c5682 | 38373485330e50b09d27ea265ee0535b368f0579 | /code/grouping/grouping.R | 483325e2767b8182ce989d61891d64d0184a337d | [] | no_license | s81320/vis | 5300e346349acd568cd7ff4ad06751960aeb42b8 | b96755388ebdbd50c42d145e9e6fc26b2c1c45c4 | refs/heads/master | 2022-11-18T03:34:05.794807 | 2020-07-21T17:25:05 | 2020-07-21T17:25:05 | 270,222,860 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,245 | r | grouping.R | ## work with correlation based igraph and corrplot
## to find groups in the field positions and skills
## our-data.RDS is the data set I guess we all work with
# library
install.packages("igraph")
library(igraph)
setwd("~/Desktop/grouping-R")
soc.data <- readRDS("our-data.RDS")
#######
### field positions
### groupin... |
ec3f1661679fffbd319be30296de107a99819e99 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/SHELF/examples/SHELF-package.Rd.R | 2f3db905d0b2739cb64aeb9396f68a54e413bb43 | [] | 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,697 | r | SHELF-package.Rd.R | library(SHELF)
### Name: SHELF-package
### Title: Tools to Support the Sheffield Elicitation Framework
### Aliases: SHELF-package SHELF
### ** Examples
## Not run:
##D ## 1) Elicit judgements from two experts individually
##D # Expert A states P(X<30)=0.25, P(X<40)=0.5, P(X<50)=0.75
##D # Expert B states P(X<20)=... |
f92588a2782c5423e89ff48a6df9ecce5b40ce5d | 9bd311ddca0e60ee4007a806c19e5e764c2c8558 | /scripts/segmentDynamics.R | 62657a81863066c9be082a69d5e92a22f17302b9 | [] | no_license | raim/segmenTools | 8b34fc62c4e10d2ffa4423cc972367b9def2c689 | 7d356916b09a0cc019baf152de5dbf778130c0a1 | refs/heads/master | 2023-08-18T15:50:03.200348 | 2023-08-09T14:27:16 | 2023-08-09T14:27:16 | 77,826,031 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 33,502 | r | segmentDynamics.R | #!/usr/bin/env Rscript
## COLLECTING SEGMENT READ DISTRIBUTIONS AND CLUSTERING OF SEGMENT TIME SERIES
## load segments and time-series, incl. phase/pval
## * analyze phase-dist of adjacent segments, tandem
## select significantly different segments
## * rm all coding segments and calculate overlap, Jaccard measure an... |
ccc39879b8b224605fa5b8022bd0bfbcc3421366 | c755955ceae00ad0c4f28c4cbdcae76c40f9e389 | /MEDGOLD_ExtractGrid.R | f23a6fc3f8656ca07d8cf87068c4196630d8d567 | [] | no_license | sandrocalmanti/med-gold | 3b8debae3ebd480775ac439065c688a1acbdac43 | 9577477dc6bd1d2a6a77441fb4871d32ef2f3196 | refs/heads/master | 2020-06-22T21:13:56.681948 | 2019-07-24T13:44:41 | 2019-07-24T13:44:41 | 198,371,245 | 1 | 0 | null | 2019-07-23T07:41:54 | 2019-07-23T06:57:43 | null | UTF-8 | R | false | false | 1,074 | r | MEDGOLD_ExtractGrid.R | #Clean all
rm(list=ls())
library(s2dverification)
library(SpecsVerification)
library(abind)
library(multiApply)
library(easyVerification)
library(ncdf4)
library(CSTools)
library(zeallot)
library(lubridate)
start_time <- Sys.time()
fi_var_name <- 'tmin2m'
nc_var_name <- 'mn2t24'
nc_var_longname <- 'Minimum temperatur... |
1667666b83e4176ed9260730f3492dd554abbcab | d6517414d24b19b20b19a62f152b2baf664b161f | /R/second.r | c07f15107832796fbc4936ada4e526737e2f5249 | [] | no_license | NickGor18/test | 9220067fe8514e7450b3e9e6e1567b370f37d769 | 3ccea109d7c93a8851be09149a2943e3da3daace | refs/heads/main | 2023-03-04T21:47:32.877949 | 2021-02-22T20:37:37 | 2021-02-22T20:37:37 | 257,052,649 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,062 | r | second.r | rand = function(x,m,a,c,rang,lim){
y = x
k = 0
arr = c(x)
while(TRUE){
k = k+1
x = (a*x+c)%%m;
arr = c(arr,x%%rang)
if((x==y)||(k>lim)){
break;
}
}
return(arr)
}
n1=rand(1,7,2,4,7,3)
n2=rand(1,125,6,17,125,126)
n3=rand(1,(2^15)-1,1664525,1013904223,1000,30000)
n4=rand(1,(2^31)-1,48271,0,10000,20000)
n5... |
5f3c2adc09ff9c3bdc283bacd09ecf348c5bd1c6 | 600aaf4836ff6a6a9bed6849e62ccbb5be9659e3 | /R/myfirstfun.R | ca4a780f280e0cd195228515613ca2333f3625e8 | [] | no_license | Tim-OB/MATH4753OBRIEN | df480d265c48a4babbc7a0c19140513a4fb744c9 | da5a43d264c7771ba6616f5a06bf34c3957c188c | refs/heads/master | 2023-03-29T22:04:32.094990 | 2021-04-13T03:29:14 | 2021-04-13T03:29:14 | 334,214,140 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 209 | r | myfirstfun.R | #' @title My first R function
#'
#' @param x A vector of quantitative data
#'
#' @return The squared value of vector x
#' @export
#'
#' @examples
#' y <- 1:10; myfirstfun(y)
myfirstfun <- function(x){
x^2
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.