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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4603650e776cec0d6f359160f4e59c05d3690c37 | 13e5bb662191dea441b93247a5112f6cefd83d0c | /rf_tuning.R | 7eebefee49c852966a95f7ce001d3d4769d86d2c | [] | no_license | nmagas/classification-comp | f8e0e9448c34af0a0dc0380f4aafaf8d0c4ba1d3 | 61877f28d43b562a1d19c5d50aa08fcf822dfc7b | refs/heads/master | 2023-05-02T19:00:23.569110 | 2021-05-28T23:25:29 | 2021-05-28T23:25:29 | 370,411,105 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 871 | r | rf_tuning.R | # Random Forest Tuning ----
# Load package(s) ----
library(tidyverse)
library(tidymodels)
set.seed(42)
# load required objects ----
load(file = "data/loan_folds.rda")
load(file = "data/loan_recipe.rda")
# Define model ----
rf_model <- rand_forest(mtry = tune(), min_n = tune()) %>%
set_mode("classification") %>% ... |
e29b38603bf8a7ba950e09b62c6b77fa30479387 | 535921a60d15998a64bf2a61043b5527e966b09e | /src/get_fdr_nfeat_associated_univar_igx_mods.R | 8908eb26ca6626ac236491effb64f8021dfd839a | [] | no_license | SimonCouv/ip-igx-public | 6209923499e3f64acb2a128e385abb6f8305b171 | fe56017e15a1e5c3f104403112c2f51b47251349 | refs/heads/master | 2020-06-11T21:19:50.162833 | 2019-06-28T21:06:19 | 2019-06-28T21:06:19 | 194,088,945 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 905 | r | get_fdr_nfeat_associated_univar_igx_mods.R | get_fdr_nfeat_associated_univar_igx_mods <- function(fdr_thresholds, data, p_adj="pv_adj_global"){
n_associated <- list()
for (fdr_threshold in fdr_thresholds){
n_associated[[as.character(fdr_threshold)]] <- data %>%
.[.[[p_adj]] < fdr_threshold, ] %>%
summarise(n_modules = n_distinct(module_tag),
... |
b6ea84d8efec050636d668ab9165dbb895deb481 | 5344417f4d7f08603ccd0faa2e59f0eb62ba36f3 | /man/slm_log.Rd | 2e7712fd3166f7d28623737ae30c9e8be305e721 | [] | no_license | yunrougong/r_package_sha | 455bb23daccd413d025ef4b99bb4dab31cca8f70 | afb1e9e757de1db0c5f142e1f56beebc50b25651 | refs/heads/master | 2021-08-30T18:13:52.266212 | 2017-12-19T00:00:51 | 2017-12-19T00:00:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 742 | rd | slm_log.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/slm_log.R
\name{slm_log}
\alias{slm_log}
\title{Fit a Simple Linear Regression Model (Log transformed)}
\usage{
slm_log(data, x, y)
}
\arguments{
\item{data}{a dataframe}
\item{x}{the independent variable}
\item{y}{the dependent varible}
}
... |
8aa88f9347caa7cf453930e10701d2f5fb701c9a | f16c66f69be8127eca953d6472141f3fd125fb5e | /Map Count Visualization/Data Preprocessing/get_bgtoccs.R | 834481e3e914f99d063690f630fe0f43589be431 | [] | no_license | IIT-IBM-BurningGlass/Job_Analytics_and_Visualizations | 6b3c1a7ae93804e555e2b7a8c4aa06aea6c626d8 | 64bfe17abe21d66e8cc5df2fed8829e1e3802256 | refs/heads/master | 2020-07-11T15:23:24.712465 | 2016-11-17T09:12:29 | 2016-11-17T09:12:29 | 74,000,351 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 756 | r | get_bgtoccs.R | ###############################################
#Original author: Dan Liu
#Last modified by: Dan Liu
#Last modified time: 11/16/2016
#get the occupation's bgtoccs data
###############################################
library("rjson")
library("XML")
setwd("/Users/Dan/IBM project/data/new/occupations")
occupations_files... |
849bffec9fa5fcb7d4585db3e097d11d9b454170 | 0327f08a07b06cdc0bd96a73cb3ec75f57929f19 | /plot3.R | eef24774696364ddb66d9ea7c165637ae7a34312 | [] | no_license | jabutler66/ExData_Plotting1 | 75c4990edbb52dbb6b7d6ded9ee72f550634ed10 | 6ef4076690f674bf658673d63a84a6b5ed04e40a | refs/heads/master | 2021-01-21T06:24:44.112668 | 2015-10-09T22:40:42 | 2015-10-09T22:40:42 | 43,920,000 | 0 | 0 | null | 2015-10-08T22:39:09 | 2015-10-08T22:39:09 | null | UTF-8 | R | false | false | 1,259 | r | plot3.R | # Course Project 1 for Exploratory Data Class
# create graphs for Electric Power Consumption Dataset
# Plot 3
library(dplyr)
# Read in data set
txtfile <-"exdata-data-household_power_consumption/household_power_consumption.txt"
tempfile <- read.table(txtfile, header = TRUE, sep = ";", na.strings = "?")
# re-format d... |
160ab05ec616bc0a3a8a7067dc1bd5d8c9532ccd | a903ed44358270d8261b0f94da35f20eeda5f3b4 | /R/post.R | c26a573015e84552eaa75979c64703fe3df9f5d8 | [] | no_license | JohnNay/rtweet | a168db17ca7e353d02ab4bf025aae217aa032df1 | 6f2fe8b17c7f8db3d350072b217ed3e5ae1c2b1d | refs/heads/master | 2021-01-22T21:32:37.719375 | 2017-03-19T00:22:45 | 2017-03-19T00:22:45 | 85,440,656 | 1 | 0 | null | 2017-03-19T00:21:01 | 2017-03-19T00:21:01 | null | UTF-8 | R | false | false | 7,387 | r | post.R | #' post_tweet
#'
#' @description Posts status update to user's Twitter account
#'
#' @param status Character, tweet status. Must be 140
#' characters or less.
#' @param token OAuth token. By default \code{token = NULL}
#' fetches a non-exhausted token from an environment
#' variable tokens.
#'
#' @examples
#' \do... |
8ad0b091a53df258760020fa95f96e65d325616f | 04c3a615d3b456608cc5dce5c754c0ae99ee4299 | /cachematrix.R | ae6c44eacd4bb2ec7e1555e2211a0cf4f88bd62c | [] | no_license | Flippinglakes/ProgrammingAssignment2 | b854514f06dd518db834443c2f681e6d64bba69e | 85341f0efaa676fbaf0035739dc48c27d555779f | refs/heads/master | 2021-01-17T04:29:06.878885 | 2017-02-23T19:36:33 | 2017-02-23T19:36:33 | 82,961,099 | 0 | 0 | null | 2017-02-23T19:03:44 | 2017-02-23T19:03:44 | null | UTF-8 | R | false | false | 852 | r | cachematrix.R | ## The functions makeCacheMatrix and cachesolve work together to calculate and cache, or retrieve, the inverse of a matrix
## Makes a matrix object which can be used to cache the inverse of a matrix
makeCacheMatrix<-function(x=matrix()){
m<-NULL
set<-function(y){
x<<-y
m<<-NULL
}
get<-function() x
... |
81e34ed018ff43a82356b44f50b785bb121b146b | b9a00c239f767f41b54fbedef26e21342682822d | /scripts/script_day2.R | 439126c404c060a4b697269ba10f8af8ed734867 | [] | no_license | mark-andrews/rsdwr | 2cb29b511d8d7d4fd4b04172a942fd284e0016b6 | 6d2e8aed167ba37f93a021267f80a7b286ad146c | refs/heads/master | 2022-12-18T16:35:36.096883 | 2020-09-21T07:50:27 | 2020-09-21T07:50:27 | 294,670,868 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,811 | r | script_day2.R | library(tidyverse)
recall_df <- read_csv('data/repeated_measured_a.csv')
recall_df_long <- pivot_longer(recall_df,
cols = -Subject,
names_to = 'condition',
values_to = 'score')
pivot_wider(recall_df_long,
names_f... |
b3eb0a367babfb241c662640471d9d14a24784f8 | 2b91f630f568179c6e3d95b8675ad09f4c0d65a9 | /other scripts/db.R | 255a3d6976b0bf1a687451d6da54a1f7829b0ae0 | [] | no_license | agualtieri/JMMI_partners_tracker | f4b18504660f6013adb8de593d6255318b838c1c | 509edf20e0f8326a1605999cbec2da424c9ab5c8 | refs/heads/master | 2022-07-26T04:59:56.421674 | 2020-05-24T08:32:31 | 2020-05-24T08:32:31 | 252,101,652 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,930 | r | db.R | ### Partners Tracker - Online Dashboard Code
## Yemen Team Data Unit
## 08-03-200
## V1
###########
#Build Dashboard
###########
ui <- fluidPage(
#theme = ".small-box.bg-yellow { background-color: #FFFF00 !important; color: #000000 !important; }",
titlePanel("JMMI Partner Coverage Sheet"),
#includeCSS("Admi... |
f86b3ad539b4e9bde58d00ad6dc034c86ef0800c | bd8349fea7d6c7302d1dbb544cab639ec57846e6 | /man/bmi.Rd | 0f8de0a6e90421fbc4bb3fe70ed99b79995a560b | [] | no_license | hlennon/LCTMtools | 47ca70975739f134d432f01643cae9f50d2b0b63 | ba62f239773618bd22afae0ca030ed8a282b2fb2 | refs/heads/master | 2022-12-05T05:14:51.441761 | 2022-12-01T10:52:00 | 2022-12-01T10:52:00 | 125,241,020 | 21 | 13 | null | 2019-06-28T08:59:12 | 2018-03-14T16:20:23 | R | UTF-8 | R | false | true | 667 | rd | bmi.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bmi.R
\docType{data}
\name{bmi}
\alias{bmi}
\title{Body Mass Index (BMI) repeated measures of 10,000 individuals in wide format.}
\format{A wide format data frame of simulated BMI values of 10,000 individuals.
\describe{
\item{id}{Individua... |
81b3252dec87be763f0ba043794249e935ea46c8 | 389e4267342c395fd480e78d732f1caa0f7a9435 | /plot3.R | a93de5d886c45b8fdd4ecba8fadef63f61610fc5 | [] | no_license | BlauBeereB/ExData_Plotting1 | 619fe00b1a0afb98ad37f2b8579b42ace162c5bf | 7ce1429318691002b161ef48d15e229e34445a22 | refs/heads/master | 2020-12-03T05:18:46.143443 | 2015-07-12T11:33:06 | 2015-07-12T11:33:06 | 38,804,101 | 0 | 0 | null | 2015-07-09T07:13:14 | 2015-07-09T07:13:13 | null | UTF-8 | R | false | false | 3,284 | r | plot3.R | # Note: The data file 'called household_power_consumption.txt'
# needs to be in a subfolder called 'exdata'.
# Clear any old variables:
rm(list = ls())
# Set name for directory with data files:
dataDir <- "exdata"
# Set names for original and new data file:
origFileName <- 'household_power_consumption.txt'
editFile... |
f64847c0a4da753cc967cde7ae4d30435a720f90 | 29585dff702209dd446c0ab52ceea046c58e384e | /simmer/demo/E-ctmc.R | 97ce7503dd12709f0065e4b7c8682c3be4104dbe | [] | 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 | 7,957 | r | E-ctmc.R | # ---- setup
library(simmer)
library(ggplot2)
library(dplyr)
library(tidyr)
set.seed(1234)
# ---- example1-part1
# Arrival rate
lambda <- 3/20
# Service rate (cars, motorcycles)
mu <- c(1/8, 1/3)
# Probability of car
p <- 0.75
# Theoretical resolution
A <- matrix(c(1, mu[1], 0,
1, -lambda... |
9bd2d9fd877f6374ec10bb377bf3493d1aeefb50 | 43b3606a3fac8fceb8363e91e37e6c7b9ec3fc18 | /house_pred.R | 73ee1785152d8ea9c5eb157b71d7772818f693ce | [] | no_license | uthreshh/DMP_Project | 30bab2935ab762bf7f724d14202c8a76135228fa | e58ecc475f47f623dd643778a20efe4e6676501e | refs/heads/main | 2023-04-09T01:38:20.246253 | 2021-04-25T21:40:20 | 2021-04-25T21:40:20 | 359,941,076 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,148 | r | house_pred.R | library(readr)
library(dplyr)
library(ggplot2)
library(glmnet)
library(corrplot)
library(caret)
library(MASS)
library(olsrr)
library(modelr)
library(glasso)
# Importing data
data_train <- read_csv('D:/MS DS/Sem 1/DMP/Project/Dataset/train.csv')
data_test <- read_csv('D:/MS DS/Sem 1/DMP/Project/Dataset/tes... |
2cd75aee344d6069094845953e469679993564f3 | 55101b998da352c6a87bf45a7aac567ba5401d14 | /R/state_names.R | 6a8f0b62368ad26badabf6c1e5ee03b07ee2b2a0 | [] | no_license | cran/seqHMM | 94bc81490712340cc081746d23e44c7d1e7e50e3 | 6e6f92383f1a74f770c69ac25b1d37f39160c79c | refs/heads/master | 2023-07-25T09:27:57.558114 | 2023-07-05T23:10:29 | 2023-07-05T23:10:29 | 48,318,279 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,370 | r | state_names.R | #' Get state names from hmm or mhmm object
#'
#' @param object An object of class `hmm` or `mhmm`.
#' @return A character vector containing the state names, or a list of such
#' vectors in `mhmm` case.
#' @export
state_names <- function(object) {
UseMethod("state_names")
}
#' @export
state_names.hmm <- ... |
3f5ed94fb70ca8bc34231136c73fb198db4aff0e | c5824359870ca766c2684c7ff3abe956de472377 | /Profile/abundance_based/Fit_ALR_as_Response/Fit_ALR_as_Response.r | f11067f4290d2b4d003ab7a5957e1b9e80b5e22d | [] | no_license | MedicineAndTheMicrobiome/AnalysisTools | ecb8d6fd4926b75744f515b84a070e31f953b375 | 8176ca29cb4c5cba9abfa0a0250378e1000b4630 | refs/heads/master | 2023-09-01T21:10:39.942961 | 2023-08-31T22:43:03 | 2023-08-31T22:43:03 | 64,432,395 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 50,407 | r | Fit_ALR_as_Response.r | #!/usr/bin/env Rscript
###############################################################################
library(MASS);
library(vegan);
library('getopt');
library(car);
options(useFancyQuotes=F);
RM_NA_TRIALS=10000*64;
NUM_TOP_CATEGORIES=30;
params=c(
"summary_file", "s", 1, "character",
"factors", "f", 1, "charact... |
9b808ee5de9913e7cff609c79123b255f707f783 | 92befee27f82e6637c7ed377890162c9c2070ca9 | /R/ccov_np_regression.R | 097741458b0a0ce3ed4e4fec735e159cc32ffcf9 | [] | no_license | alexanderrobitzsch/sirt | 38e72ec47c1d93fe60af0587db582e5c4932dafb | deaa69695c8425450fff48f0914224392c15850f | refs/heads/master | 2023-08-31T14:50:52.255747 | 2023-08-29T09:30:54 | 2023-08-29T09:30:54 | 95,306,116 | 23 | 11 | null | 2021-04-22T10:23:19 | 2017-06-24T15:29:20 | R | UTF-8 | R | false | false | 429 | r | ccov_np_regression.R | ## File Name: ccov_np_regression.R
## File Version: 0.141
ccov_np_regression <- function(x, y, xgrid, bwscale=1.1, smooth=TRUE, score=NULL)
{
N <- length(x)
if (smooth){
y <- stats::ksmooth( x=x, y=y, bandwidth=bwscale*N^(-1/5),
x.points=xgrid, kernel='normal')$y
} else ... |
432a1526fc5182983f4df48ece13fbb8c951859c | dcb3bdd567fb31ff3851bd9a419a6dc4a7a7fcdc | /app.R | 0474c70fd23643decb06846e5e7b0a7edf491a72 | [] | no_license | gonzalezben81/statistics-app | a2fdd2ba6e264d656138227ba0b2676ee587eaff | 9f57ab5916f003ac1015dbc5ae8ba569a98942f2 | refs/heads/master | 2020-04-05T16:39:01.788592 | 2019-03-07T21:41:30 | 2019-03-07T21:41:30 | 157,022,754 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,340 | r | app.R | ## app.R ##
library(shinydashboard)
library(shiny)
library(corrgram)
library(datasets)
library(xlsx)
library(randomForest)
library(readr)
library(dplyr)
library(ggvis)
library(tree)
library(BH)
library(tigerstats)
ui <- dashboardPage(skin = "blue",
# skin = "green",
... |
d6974d833c619cb2c3b33529dcfd9949dd00655d | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/GCalignR/examples/simple_chroma.Rd.R | 43e3dd8e19efba75a28b2ac0a9c77e7de2392370 | [] | 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 | 319 | r | simple_chroma.Rd.R | library(GCalignR)
### Name: simple_chroma
### Title: Simulate simple chromatograms
### Aliases: simple_chroma
### ** Examples
## create a chromatogram
x <- simple_chroma(peaks = c(5,10,15), N = 1, min = 0, max = 30, Names = "MyChroma")
## plot chromatogram
with(x, plot(x,y, xlab = "time", ylab = "intensity"))
|
09939bd270ef42a79aa26182bed695bc336d7a3f | 756a832543f44dff0264cf6efd4ed8b9a27136d7 | /Kombucha_anova.R | bc8303e9dd50da490f3679d7f381328af8539284 | [] | no_license | pebblehut/data650a2 | 1af427f1ce407736b08ba3ad1e15a58637f241c0 | 07e68bb9a31cb8031e0893814a7996994a8f0246 | refs/heads/master | 2021-01-11T00:27:38.659589 | 2016-10-17T03:14:47 | 2016-10-17T03:14:47 | 70,530,602 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,669 | r | Kombucha_anova.R | # Have to run LoadKombucha.R first
# install.packages("multcomp")
library(multcomp)
# install.packages("gplots")
require(gplots)
summary(tweets.df$MESSAGE_RETWEET_COUNT)
summary(tweets.df$USER_FRIENDS_COUNT)
summary(tweets.df$USER_FOLLOWERS_COUNT)
summary(tweets.df$USER_LISTED_COUNT)
summary(tweets.df$USER_STATUSES_C... |
9c471466ac67073a17753869736d4271abfeb056 | ed51d150f95a81a17414d45eee082d9bc6edf97c | /tests/testthat/test-existing_intervals.R | 8a1a8adf696895502fe188f8c456308165fe8efe | [] | no_license | ComunidadBioInfo/regutools | 86c058ba68a0aaf21bd39109900759bc9e3804a7 | 03e958710cb4970359a3c9f8ec5635b73f096813 | refs/heads/devel | 2023-06-08T08:07:55.575921 | 2023-03-23T02:03:04 | 2023-03-23T02:03:04 | 174,432,172 | 4 | 8 | null | 2023-06-05T18:01:42 | 2019-03-07T22:49:17 | HTML | UTF-8 | R | false | false | 2,161 | r | test-existing_intervals.R | context("build_condition")
test_that("existing_intervals returns an expected value", {
## Connect to the RegulonDB database if necessary
if (!exists("regulondb_conn")) {
regulondb_conn <- connect_database()
}
## Build a regulondb object
regdb <-
regulondb(
database_... |
7e2472f59aacb55f5e65bc9758f324472c53041a | c03754bd79a6f9baf6bd55e74483bed1a2dbe8a7 | /R/guessBonds.R | e53ef18d004340d2b51273b3acbd9988175abd9b | [] | no_license | julienide/Atoms | 675ee51c5803bef9868838b1a229dc9d037bce9b | d805bd893a152bd4edc350a2fb18de0ed2d19a3c | refs/heads/master | 2021-04-27T06:57:27.989087 | 2018-06-19T09:09:53 | 2018-06-19T09:09:53 | 122,623,126 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,035 | r | guessBonds.R | #' #' Guess Bonds
#' #'
#' #' @name guessBonds
#' #' @export
#' guessBonds <- function(x, ...)
#' UseMethod("guessBonds")
#'
#' #' #' @rdname guessBonds
#' #' #' @export
#' #' guessBonds.Atoms <- function(x, radius = NULL, safety = 1.2){
#' #' if(!is.numeric(safety) || length(safety) != 1L)
#' #' stop("'safet... |
70b71506c208fecf7c29ea7d061264320b095b8f | 29585dff702209dd446c0ab52ceea046c58e384e | /ChemoSpec/R/rowDist.R | bb782b0caf050c38384a408dd0670351ac253d9c | [] | 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 | 1,107 | r | rowDist.R | rowDist <- function(x, method) {
# Function to access a variety of distance methods which turn out to be in different packages,
# except for cosine which is handled here.
# Some code suggested by Roberto Canteri, and used with extremely minor modifications
# Part of ChemoSpec, October 2011, Bryan Hanson, DePauw Unive... |
9c2a0422a0ce1757d95822e2a70a46a10069af2e | c686d321ea7e6689eda2596670ea708a29aa64f3 | /run_analysis.R | 983639860c287739146e608d76fe2d99b77406a7 | [] | no_license | grahamsw/GettingAndCleaningDataProject | 2180e35cb712bc8df0f854e7234af8b7b8e18408 | c624602fbf42a00586379b8b501441a562ba6b84 | refs/heads/master | 2021-01-10T10:51:53.096585 | 2015-11-22T19:18:54 | 2015-11-22T19:18:54 | 46,536,732 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,987 | r | run_analysis.R |
# set working dir to Data dir - so that the
# rest of the script finds the data files.
dir <- paste(dirname(sys.frame(1)$ofile), '/Data', sep='')
setwd(dir)
# import headers
features <- read.table('features.txt', colClasses = c("numeric", "character"));
activityType <- read.table('activity_labels.txt');... |
cac630caad301a50baa911e8c34921181d71812b | aeed4b3d95e2bdcb6386c659230368b3b8cd1b74 | /man/special_xss.Rd | 64bda283e7fc3e46d1b608145024ac18dfe94165 | [] | no_license | ntyndall/detectR | b6d71e8322ad53fcc2dba3093eda4cd1a6d4e559 | af6d0a5f4893588d128bdda7ea75fc7246618295 | refs/heads/master | 2020-03-26T14:11:12.506467 | 2018-10-19T09:05:17 | 2018-10-19T09:05:17 | 144,976,300 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 183 | rd | special_xss.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/special_xss.R
\name{special_xss}
\alias{special_xss}
\title{Special XSS}
\usage{
special_xss(argument)
}
|
d0a31bb919260b9b2d5c8cad1debb9099f914871 | 5f22ca20b8d7d7846d4a54c138e823d00a260f99 | /man/Ste12.Rd | 37df24db8a5a4884f9c780dceed76c60cc5c54a7 | [] | no_license | pbiecek/bgmm | f3a00273fbe99e0ddcb0bb2ead48d793bf21c795 | 1c7dac30d993c3fba68a36a077830f44f9712ff4 | refs/heads/master | 2021-10-26T03:27:18.285028 | 2021-10-10T16:20:02 | 2021-10-10T16:20:02 | 12,442,683 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,381 | rd | Ste12.Rd | \name{Ste12}
\alias{Ste12Data}
\alias{Ste12}
\alias{Ste12Beliefs}
\alias{Ste12Binding}
\docType{data}
\title{Ste12 knockout data under pheromone treatment versus wild type;
Examples of Ste12 targets; Binding p-values of Ste12 to those targets.}
\description{
Ste12 knockout expression data (Roberts et al., 2002) and... |
8d3e1ad25d8078c063154dab913e2e972b290fc9 | e2bda4f7df8fc6bc76e3c4e97d069a7d859f3373 | /dff.create.R | e7a4c7dadcdce1218ab931df7b58edaa85615133 | [
"MIT"
] | permissive | embruna/Ant-Plant-Habitat | 53cc65d48302980a1160c5953b801f86b26b1bdc | 7928d3f03f4ef5d13fb0de7e4e573190934fa642 | refs/heads/master | 2021-01-17T07:24:57.328774 | 2016-05-25T21:45:27 | 2016-05-25T21:45:27 | 31,282,520 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,171 | r | dff.create.R | #' IPMpack requires a dataframe called 'dff'. The function "dff.create" creates that dataframe
#'
dff.create <- function(x) {
# Begin by selecting data for each census-censuys transition
dff.12 <- subset(x, select = c(unique.plant.id, plant.species,canopy.cover, topography,
... |
c6ba2ebc858da3703fa71126ac92726768a1aed0 | 65f1e5fc4d53160a93f3b34cc7428afb2f14317a | /R/CALF-package.R | 8dcf5083f2a567e458b30d959f80f9e1e542576d | [] | no_license | cran/CALF | 0bb6da3d0fca5c5bc7134e817e7debfdde47cdd1 | ba4c449e38c76205c3e18cbd8cda035222d530bd | refs/heads/master | 2022-05-05T03:19:56.596820 | 2022-03-07T17:10:05 | 2022-03-07T17:10:05 | 48,077,419 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,329 | r | CALF-package.R | #' @name CALF-package
#' @aliases CALF-package
#' @title Coarse Approximation Linear Function
#' @description Forward selection linear regression greedy algorithm.
#' @encoding UTF-8
#' @author { Stephanie Lane [aut, cre],\cr
#' John Ford [aut],\cr
#' Clark Jeffries [aut],\cr
#' Diana Perkins [aut]
#'... |
f2c9c108ce5a572ddeb1f421f54cb9099b11c10b | a5fa47f69cd41f84cc37e9a2fcdb6ccef266daa3 | /plot_clusters.R | d71b21cd369c12266b4391a05c1fcc0586883acf | [] | no_license | AJangleZero/Kiehls_market_analysis | 8c4cec3fba3bf4e854346024de9a2c24ce8358e2 | 45de84e8c840d0cece09ebab6a6d77e0b5227d11 | refs/heads/master | 2020-05-26T15:21:28.135373 | 2019-05-23T18:05:17 | 2019-05-23T18:05:17 | 188,283,182 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,943 | r | plot_clusters.R | ## Plotting the clusters
library(MASS)
library(ggplot2)
require(scales)
PCA$cluster <- Kmeans$cluster
fit <- lda(cluster ~ PC1+PC2, data = PCA)
datPred <- data.frame(cluster=predict(fit)$class,predict(fit)$x)
fit2 <- lda(cluster ~ PC1 + PC2, data=PCA)
ld1lim <- expand_range(c(min(datPred$LD1),max(datPred$LD1)),... |
72085a39ab92b713d1b02d6a935c36daac3850f6 | 2e26bccfa670b18368e66a4f6fa9fddbb2918993 | /section3/3-1-4_murder_case_study.R | 749c5ec684e70bf309edf0471b9e5831aecb1ae1 | [] | no_license | A-Harders/PH125.6x_Wrangling | 0c3145738d4fa39c5c42f1b3454d4903e03418bd | 866be0fe04c75e3bb04f7d24626a21b6df0db503 | refs/heads/master | 2020-09-05T14:25:56.074145 | 2019-12-03T10:08:04 | 2019-12-03T10:08:04 | 220,132,104 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,076 | r | 3-1-4_murder_case_study.R | #config
library(rvest)
library(stringr)
library(tidyverse)
# scraping the web for the case study
url <- "https://en.wikipedia.org/wiki/Murder_in_the_United_States_by_state"
h <- read_html(url)
murders_raw <- h %>% html_nodes("table")
murders_raw <- murders_raw[[2]]
murders_raw <- murders_raw %>% html_table
murders_r... |
05c8ce13af7132616915ad219058018b02751d0b | 4ae32cabb0fd268f313c4c2a54cecf9daffc9797 | /man/get_redbluff_data.Rd | d71bda6f74bea8b83ecb80aff9994c6faf2af794 | [
"Apache-2.0"
] | permissive | InteragencyEcologicalProgram/smonitr | 40d9201f5284100aa34015014eeb94229e722fc2 | 6bb40251473dac065587dc1b40f4f747963d1b73 | refs/heads/master | 2021-02-13T12:33:04.458773 | 2020-10-28T17:10:49 | 2020-10-28T17:10:49 | 244,696,632 | 2 | 2 | NOASSERTION | 2020-10-01T20:54:30 | 2020-03-03T17:16:42 | R | UTF-8 | R | false | true | 1,112 | rd | get_redbluff_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/download_tools.R
\name{get_redbluff_data}
\alias{get_redbluff_data}
\title{Download Redbluff Data}
\usage{
get_redbluff_data(
report_year,
start_year = 2004,
parse_fun,
...,
verbose = TRUE
)
}
\arguments{
\item{report_year}{The repo... |
ce131da5369918195c3a2bc93b49130ebb2b0574 | f7bf342521645074de6691af0a5b7497eadbde93 | /tests/testthat.R | b5776cd08294090aca7bafdd18f7651b5d7f5e50 | [
"BSD-2-Clause"
] | permissive | markmfredrickson/optmatchExperimental | 82512bb2c8f54f67e006054e3b2b44252f82c47e | ff95a8eaaff35d93d7d3abfc1bc3ba5aa6c798cb | refs/heads/master | 2021-06-07T05:08:59.625217 | 2021-04-29T23:23:50 | 2021-04-29T23:23:50 | 37,880,463 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 84 | r | testthat.R | library(testthat)
library(optmatchExperimental)
test_check("optmatchExperimental")
|
fc24fcf1afd7c2d3f5c6fcb6266f149dabe6b639 | 241aad96241eb140e4405048411aae2276e66d3d | /ui.R | 42cb1ef83b2ad7de2dc8cc907ed371935c9f2bb5 | [] | no_license | dannhek/CourseraDatSci_Capstone | 07df00027d584ef14d77acf8d5b6c621d2cf7bba | 273096886d123b79a71624553cc859d23647d11d | refs/heads/master | 2016-08-11T13:35:06.068132 | 2016-04-11T14:50:09 | 2016-04-11T14:50:09 | 55,932,792 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,778 | r | ui.R | library(shiny)
#setwd("~/Coursera/Data Science Specialization/Data Science Capstone/data product")
# Define UI for application that reads in words and
shinyUI(fluidPage(
# Application title
titlePanel("What's the Next Word?"),
sidebarLayout(
sidebarPanel(
h3("N-Gram... |
f1b436c6804c62864efe770cd421a4d74cdf2e62 | 240bf1139f6098ec9c8c2fc96555780fc58cda30 | /lib/R/packages/lilbambu/man/harvestVariables.Rd | 7ba8bc0ed5375f0dfb7a11d576ef1784e0be34aa | [] | no_license | cerobpm/lilbambu | b9cf0d341f7f3cca493757e393cdb860331bdcdd | af48399a3198bbd2d3b3846a06a662851f705ea8 | refs/heads/master | 2020-03-22T06:22:35.764750 | 2018-09-11T19:42:15 | 2018-09-11T19:42:15 | 139,629,159 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 647 | rd | harvestVariables.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/harvestVariables.R
\name{harvestVariables}
\alias{harvestVariables}
\title{harvestVariables}
\usage{
harvestVariables(url, update = FALSE)
}
\arguments{
\item{url}{WOFWML WS end point}
\item{update}{boolean comportamiento ante VariableID dup... |
bb437c80e02a4b64e3a01cff05df2b6a54facbb6 | 109734b597c2d760725a1a050174a5d11b3c1a9b | /man/as.ppp.Rd | a9c1793c3abf0f92e09500d819c5b493cba80da8 | [] | no_license | rubak/spatstat | c293e16b17cfeba3e1a24cd971b313c47ad89906 | 93e54a8fd8276c9a17123466638c271a8690d12c | refs/heads/master | 2020-12-07T00:54:32.178710 | 2020-11-06T22:51:20 | 2020-11-06T22:51:20 | 44,497,738 | 2 | 0 | null | 2020-11-06T22:51:21 | 2015-10-18T21:40:26 | R | UTF-8 | R | false | false | 4,884 | rd | as.ppp.Rd | \name{as.ppp}
\alias{as.ppp}
\alias{as.ppp.ppp}
\alias{as.ppp.psp}
\alias{as.ppp.quad}
\alias{as.ppp.matrix}
\alias{as.ppp.data.frame}
\alias{as.ppp.influence.ppm}
\alias{as.ppp.default}
\title{Convert Data To Class ppp}
\description{
Tries to coerce any reasonable kind of data to a spatial point pattern
(an object... |
e1404c60f3db2598be5c032c360271f173b212a4 | 0502f29348e35bb27cf1922fce0627477e831bb8 | /plot3.R | ad3f8a87b42b2b5fdddc8f479c7fcfadd23d4f06 | [] | no_license | curnutt/ExData_Plotting1 | 0d6b97f7d3e43835631f683a919b0057c10febb5 | a6074a359ed200f03fdc1ef4992b59b7b9631078 | refs/heads/master | 2020-04-30T14:47:35.467969 | 2014-09-07T22:08:14 | 2014-09-07T22:08:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 978 | r | plot3.R | # skip reading the data file if it has already been read by a previous scipt invocation
if (!exists("curnutt_data_read_in")) {
# read the (unzipped) data file
mydatatable <- read.table("household_power_consumption.txt",sep=";",na.strings="?",header=TRUE)
# extract data for 2007-02-01 and 2007-02-02
dat <- mydatat... |
d3e5b26c950de1052389270592f746bf4c45fe8c | cd5e49d42b9ecd04bda186a2759a5cb28e5d17db | /hsqbrank/logit.R | 1783642c0c6ed4ed3568f5c2a34b74e071437fb4 | [] | no_license | Zerowaltz/qbmodel | d149171bdebb94acf9bc48665e54909122eb9c5a | 42164d28cf7fdb0a609eb4aa48d30649dcb50161 | refs/heads/master | 2022-01-05T22:53:29.201842 | 2018-11-28T22:59:05 | 2018-11-28T22:59:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 523 | r | logit.R | logitdata <- read.csv('logit.csv')
l <- glm(win ~ diff, data = logitdata, family = 'binomial')
x <- seq(-10,80,1)
plot(x,1/(1+2.71828^-(x*l[['coefficients']][['diff']])),
main='Win Probability vs. aPPB Difference',
xlab='Score Difference',
xlim=c(0,10),
ylab='Win Probability',
ylim=c(0,1),
... |
26917c42aacbafeb88aa2fec639a0b41ec4226b6 | 14ca164ca16243197aeea379097495ed032227f4 | /man/isStable.Rd | 4321de187713c7221ba570c55a7afac4ec345a88 | [] | no_license | yangkedc1984/mixAR | 8f63cafdfb7d550d4afff19f5e116ddc63d9bf9e | 3a35d1661675c9760deae1fbb95e36681cfeddc0 | refs/heads/master | 2023-02-15T16:50:06.696550 | 2021-01-04T10:20:02 | 2021-01-04T10:20:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,066 | rd | isStable.Rd | \name{isStable}
\alias{isStable}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Check if a MixAR model is stable}
\description{Checks if a MixAR model is stable. This is also the second
order stationarity condition.}
\usage{
isStable(x)
}
%- maybe also 'usage' for other objects documented here.... |
ad539e4005516821b6e3ee5b9bf3c1b68b0a287f | 7cbe5a44f3e568f49c5a6077fef5b0bb45e18c04 | /plot3.R | 519d90f455654749313a39632a961a2a7397e6c1 | [] | no_license | rbegg/ExData_Plotting1 | bf3f02a136d06fa8ae1ed18a00fccb2b158805b7 | 7611eedea104558a61639e2180c586e852e24f65 | refs/heads/master | 2021-01-17T20:03:54.191320 | 2016-03-20T18:33:34 | 2016-03-20T18:33:34 | 54,276,705 | 0 | 0 | null | 2016-03-19T16:53:07 | 2016-03-19T16:53:06 | null | UTF-8 | R | false | false | 1,384 | r | plot3.R | ## Coursera Exploratory Data Analysis
## Week 1 Assignment
##
## Author: Robert Begg Mar 19, 2016
##
## Function: Plot3
##
## Description: Generate plot3
library(dplyr)
source("./readEnergy.R")
plot3 <- function() {
## Check if cached energy data is already loaded
if(!exists("energy")){
## ... |
fabcf5f72c89d6716ca2500583c199355e576ee7 | c24a3829e4de3b81586c3ed090ed6f69d07c41bd | /cachematrix.R | 2153a9ff590ab4c98f8862a5606241859db43c0f | [] | no_license | AmelieRu/ProgrammingAssignment2 | 58c70470349450a49a84de49edb5834e547c2dda | c929895e85bdeae75353b447c3f7c33c3e02deb2 | refs/heads/master | 2021-01-01T20:01:52.606737 | 2017-07-29T20:51:15 | 2017-07-29T20:51:15 | 98,743,210 | 0 | 0 | null | 2017-07-29T20:51:15 | 2017-07-29T15:58:27 | R | UTF-8 | R | false | false | 2,158 | r | cachematrix.R | ## This script provides functions to
## 1. Create a matrix, calculate its inverse and cache the result.
## 2. Compute the inverse of a matrix or retrieve it from cache if already computed.
## This function creates a special "matrix" object that can cache its inverse.
makeCacheMatrix <- function(x = matrix()) {
# ... |
d86dcf3ca9959dee1b11c9fc7d00c953f0b834ac | 7273ba5590ad927faca009c589e590db2b56cd4b | /geoid/geoid.R | 5ba8817f9ec5ecaf5388e82bb893dfd21d6f25e5 | [
"MIT"
] | permissive | Bakaniko/rspatial | 7ae144dc99bf2a50909c2a7f131b3bf454979345 | 65ce4fe9247ac53459877a349de4579c18ae686a | refs/heads/main | 2023-06-21T23:56:54.742090 | 2021-07-21T21:36:02 | 2021-07-21T21:36:02 | 388,364,855 | 0 | 0 | MIT | 2021-07-22T07:14:15 | 2021-07-22T07:14:14 | null | UTF-8 | R | false | false | 3,401 | r | geoid.R | library("raster")
library("geometry")
library("rgl")
library("sf")
library("geosphere")
library("smoothr")
library("magick")
# -------------
# IMPORTS & COMPUTATION
# -------------
r <- raster("files/geoid30.tif")
ctr <- densify(st_read("shp/land.shp"), n = 3)
grat <- st_read("shp/ne_50m_graticules_20.shp")
m <- st_... |
58af4b17b0e68680a2a3138f2842d9d671905292 | 4951e7c534f334c22d498bbc7035c5e93c5b928d | /regression/Alemzadeh-influence.R | 985036c4d4c43ad54521ecd75baa274492321ed3 | [] | no_license | Derek-Jones/ESEUR-code-data | 140f9cf41b2bcc512bbb2e04bcd81b5f82eef3e1 | 2f42f3fb6e46d273a3803db21e7e70eed2c8c09c | refs/heads/master | 2023-04-04T21:32:13.160607 | 2023-03-20T19:19:51 | 2023-03-20T19:19:51 | 49,327,508 | 420 | 50 | null | null | null | null | UTF-8 | R | false | false | 1,021 | r | Alemzadeh-influence.R | #
# Alemzadeh-influence.R, 17 Mar 14
#
# Data from:
# Analysis of safety-critical computer failures in medical devices
# Homa Alemzadeh and Ravishankar K. Iyer and Zbigniew Kalbarczyk and Jai Raman
#
# Example from:
# Evidence-based Software Engineering: based on the publicly available data
# Derek M. Jones
#
# TAG har... |
9b5748b51fc790b5d5385a942b0c9a8200ff3c1f | b15e5da82043cc40a64a5e868f6ca55388bf79e1 | /helper_diff_meth.R | 97080e629eba3a76902b2a106497a7cdb83925a6 | [] | no_license | ishanparanjpe/lupus_clustering | c4183921fca69c1049a254f44f3c13abfbfa85b0 | e16bdac8be98c63ed858a4d367abd4bc9ce3028e | refs/heads/master | 2022-02-21T12:29:41.441626 | 2022-02-10T16:13:00 | 2022-02-10T16:13:00 | 179,760,073 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,383 | r | helper_diff_meth.R | library(VennDiagram)
library(ggplot2)
library(calibrate)
makeVenn<- function(itemList, nameList,filename, title){
# list1<- list1[!is.na(list1)]
# list2<-list2[!is.na(list2)]
# list3<-list3[!is.na(list3)]
plotList<-itemList
print(plotList)
(venn.diagram(x=plotList,category.names = nameList,main = title,
... |
b0993fba1e93d7d06daa96ce6acbd1bb6822f289 | e398cbd33cba9912e5180fdba83569945e0648c9 | /buscador_fauna/shinyapp/ui.R | 07bdb969cd4700e4df68efe1acee587e0d3ee82b | [] | no_license | tereom/shiny_snmb | fbcd12750231ec86a1b5b0ccf27351233e7cc7b7 | a142c7087163bcf722e3d45097b10efc6264355b | refs/heads/master | 2016-09-07T19:07:40.363360 | 2016-01-21T17:40:10 | 2016-01-21T17:40:10 | 41,378,751 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,051 | r | ui.R | library(leaflet)
# Define UI for miles per gallon application
shinyUI(fluidPage(
p(),
# title
h2("Buscador de especies"),
wellPanel(
textInput("especies", label = "Nombre:", value = "vaca|taurus|caballo|equus"),
helpText("Ingresa el nombre o nombres (común y/o científico) de los animales
o plant... |
b039af6e57da062f2c46c924c9ae4b03d2fdf9ed | 9eac9f8e7495d916f7596c4444461521b1a39086 | /scripts/edgeR_analysis_abyzov_unique.R | c9cc0df6037a3ce7a40fe6c9487281e7f4af37e8 | [
"Apache-2.0"
] | permissive | uniqueg/scripts | bbb42d455196f8e047df2681661a02d38e4a762f | 9fdcb93f740c0d353b8f9c0fe3ceab6a941af87d | refs/heads/master | 2023-04-08T17:08:00.911197 | 2023-03-16T08:46:40 | 2023-03-16T08:46:40 | 211,389,152 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,531 | r | edgeR_analysis_abyzov_unique.R | #######
### GENERAL:
### --------
### Author: Alexander Kanitz
### Created: 05-APR-2013
### Modified: 28-MAY-2013 Christina Herrmann
### Language: R
### Version: 2.15.2
### Requirements: Bioconductor_2.11, edgeR + dependencies
### Description: Differential gene expression analysis of sample groups using the R/... |
506b2eb29c784d3c39c75b095b90975496206a19 | daeec4abfed850c3cf402437c4ac1bfcc25be3f0 | /man/exemplar.Rd | a31450cb5be14f24bf24fe944b73e1826fe2816b | [] | no_license | bgreenwell/pdp | 20cf41a88de955fcd4359336079ff490071d7444 | 4f22141faf57d7e53761574067f2924aceb88e0f | refs/heads/master | 2022-08-03T22:42:31.546822 | 2022-05-27T01:35:33 | 2022-05-27T01:35:33 | 53,458,235 | 100 | 13 | null | 2022-07-18T08:14:48 | 2016-03-09T01:29:34 | R | UTF-8 | R | false | true | 1,092 | rd | exemplar.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/exemplar.R
\name{exemplar}
\alias{exemplar}
\alias{exemplar.data.frame}
\alias{exemplar.matrix}
\alias{exemplar.dgCMatrix}
\title{Exemplar observation}
\usage{
exemplar(object)
\method{exemplar}{data.frame}(object)
\method{exemplar}{matrix}... |
9301b99c302792c6181047dc53a82695c5b099b6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RNeXML/examples/nexml_write.Rd.R | 834af795deb36d3ed3a4d288617a6508aa6fc03a | [] | 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,471 | r | nexml_write.Rd.R | library(RNeXML)
### Name: nexml_write
### Title: Write nexml files
### Aliases: nexml_write write.nexml
### ** Examples
## Write an ape tree to nexml, analgous to write.nexus:
library(ape); data(bird.orders)
write.nexml(bird.orders, file="example.xml")
## Not run:
##D # takes > 5s
##D ## Assemble a nexml sec... |
65917e4f6e373cef013041a4efa59d1537f341f3 | 5a417aada499c1e9f7ff307e3924bcc6c228aa08 | /KNN_cancer_R.R | e72a49e8f86754c7c4e3994ce6f746315bcaa155 | [] | no_license | kumarvn12/KNN | 2f50a424aed3118810e86ef869be2db1310e611b | 98cab08e04c24f017faf8cc6b46f9334a04cc270 | refs/heads/master | 2021-07-12T23:58:36.646777 | 2020-06-03T00:25:09 | 2020-06-03T00:25:09 | 152,942,669 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,507 | r | KNN_cancer_R.R | getwd()
prc <- read.csv("Prostate_Cancer_KNN.csv",stringsAsFactors = FALSE) #This command imports the required data set and saves it to the prc data frame.
#stringsAsFactors = FALSE #This command helps to convert every
#character vector to a factor wherever it makes sense.
str(prc)
#the first variable 'id' ... |
9d8b984699aaeaf6cf0e7abfb96cc4434f77661d | 1ce8c7b4b6dc8df06639648450ac080ca7dd1bea | /dcrp.R | 68654bd2872af8f84d7290eb39a6016ff959e704 | [] | no_license | martinarielhartmann/MdCRQA | 7899b84d0da44fdc96b39933b4e71de7604dd6a7 | 6ab88d29cf2cb6f7c1f8e2462b91b91834402062 | refs/heads/master | 2023-02-26T20:56:31.207429 | 2021-02-01T13:00:57 | 2021-02-01T13:00:57 | 334,950,494 | 0 | 0 | null | 2021-02-01T13:00:57 | 2021-02-01T12:57:46 | null | UTF-8 | R | false | false | 1,893 | r | dcrp.R | dcrp <- function(CRP,lags,ang) {
# This function computes a diagonal cross-recurrence profile
#
#
# Inputs:
#
# CRP is a sparse binary (cross-)recurrence matrix
#
# lags is the number of lags around the diagonal of that matrix for which
# percent recurrence should be computed
#
# ang is the angle with which the ... |
93ab966e902b2d1cef24110e5554b0640f25ce85 | 1c817ee8e21b3021e2723a5a4d5799008029c415 | /analysis/concatenated.conservation.round.two.parser.R | ae730e9289414d356f20285552ab4e09850fc0c4 | [
"MIT"
] | permissive | sarahjohanknecht/conservationExperiment | e7eee371355df17b2f8daafc9ccce764b792edaf | 68c009a56f8b9437abb8c34b91a09f957888aedc | refs/heads/master | 2020-12-03T02:09:30.571366 | 2018-04-19T17:09:30 | 2018-04-19T17:09:30 | 95,905,846 | 1 | 0 | null | 2017-06-30T16:26:37 | 2017-06-30T16:26:36 | null | UTF-8 | R | false | false | 5,995 | r | concatenated.conservation.round.two.parser.R | # Set my working directory to put things in the right place
#setwd("/Users/mmgdepartment/Desktop/Conservation_9-25-2015")
# This is where files will be from both my and Emily's HPCC accounts, on
# the round of testing that gave us [WHAT IS IN THIS SET OF DATA?]
#Start Code
#Read in data
# First line sets what the ... |
49d20a8d4cc9c39cb98b415d3d2233e1b6dd04d4 | 80725c80adec9f01d51c77dec14a0c5ea000c5b0 | /cmap.R | 23b0a25f8520345bc64f4b933c32d63867396821 | [] | no_license | henrymanley/cMapKMeans | 8ae854e34d3d5a176075a37cd6f0469d62378193 | 711a16470495096080fd85daf85ed10b8e0d3be9 | refs/heads/master | 2023-04-22T11:45:34.472454 | 2021-05-07T15:56:56 | 2021-05-07T15:56:56 | 363,974,568 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 429 | r | cmap.R | # Calls the sorting function, feeds rCMAP
library("reticulate")
library("shiny")
library("DT")
library("readxl")
library("rtf")
library("smacof")
library("xtable")
path = getwd()
if (!grepl("cMapKMeans", path)){
setwd(paste(path, "/cMapKMeans", sep = ""))
}
# Make data -- need to fix this
py_run_file("autoSort.py"... |
4332a04510e223971e5d05290bc6f84036301b71 | aff50fb938de4b301f78eddc361fb8c6723f3bc7 | /lab2/log.R | ebfded756ac22bc57b6bd2bfce74ee728c2c3efb | [] | no_license | Evantastic/analisis_12020 | 0820e575462da36453074af183d0bee6dd5d7abe | 096d719acf5bba4edcd4bd9871ffde06dd6191b1 | refs/heads/master | 2022-12-21T19:26:19.620711 | 2020-09-13T01:26:03 | 2020-09-13T01:26:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,417 | r | log.R | library(ggplot2)
library(dplyr)
library(fastDummies)
url <- "https://raw.githubusercontent.com/Evantastic/analisis12020/master/agaricus-lepiota.data"
set.seed(88)
personal.theme <- theme(plot.title = element_text(family = "Helvetica", face = "bold", size = (15), hjust = 0.5),
legend.title = el... |
b36a0cdeccfb8fa8ae216bed83f030cac4425c67 | 2448d4800d4336b53489bcce3c17a32e442a7716 | /R/check-results.R | ab8a5479176df8cbf421605b91549d6859ba0782 | [] | no_license | vsbuffalo/devtools | 17d17fd1d2fb620fef8d9883dffed389f80e39fb | 782e6b071d058eea53aae596a3c120d61df2f0b4 | refs/heads/master | 2020-12-24T10:41:24.637105 | 2016-02-18T14:03:05 | 2016-02-18T14:03:05 | 52,121,375 | 2 | 0 | null | 2016-02-19T22:42:43 | 2016-02-19T22:42:43 | null | UTF-8 | R | false | false | 3,499 | r | check-results.R | parse_check_results <- function(path) {
lines <- paste(readLines(path, warn = FALSE), collapse = "\n")
# Strip off trailing NOTE and WARNING messages
lines <- gsub("^NOTE: There was .*\n$", "", lines)
lines <- gsub("^WARNING: There was .*\n$", "", lines)
pieces <- strsplit(lines, "\n\\* ")[[1]]
structure... |
a13f1b2d83ab0a7417d9cf1a484dd2eed11b4431 | 6327b8dfd117375e89010d669a67f88689a83aaa | /cachematrix.R | 0ea6ecac274c4f9eab8f2b827d175661be4ec040 | [] | no_license | ishan-varshney/ProgrammingAssignment2 | 9caffe27397d50ca29baa472054407b1823af307 | 7d57c6db11866bf782744900e44bcfa7cf26f65a | refs/heads/master | 2022-11-16T08:04:53.869111 | 2020-07-08T16:21:30 | 2020-07-08T16:21:30 | 278,133,937 | 0 | 0 | null | 2020-07-08T16:23:24 | 2020-07-08T15:59:57 | R | UTF-8 | R | false | false | 883 | r | cachematrix.R | ## This function creates a matrix that can cache the inverse of itself
## Args: x - A matrix passed in as an argument
makeCacheMatrix <- function(x = matrix()) {
## cached inverse of matrix
inv <- NULL
## setter for matrix
set <- function(y) {
x <<- y
inv <<- NULL
}
## getter for matrix
get... |
b9cd81f60dcb93925a812943d88fc544a76cff9c | 1d19af7e2088f3570693981cb19001dd2e4f33f5 | /tests/testthat/api.twitter.com/2/users/by-ed3b03.R | df5d520f11e22835281846fd75d3b266ed5c651a | [
"MIT"
] | permissive | cjbarrie/academictwitteR | 1fa1852458795f175e65ced8d119e8c8198c2e3e | 9b573fe799c56353362dddc94de442852da67266 | refs/heads/master | 2023-07-07T03:57:55.082369 | 2023-06-30T07:51:40 | 2023-06-30T07:51:40 | 340,095,903 | 228 | 57 | NOASSERTION | 2023-02-14T12:23:45 | 2021-02-18T15:38:58 | R | UTF-8 | R | false | false | 3,256 | r | by-ed3b03.R | structure(list(url = "https://api.twitter.com/2/users/by?usernames=icahdq%2CPOTUS%2ChadleywickhaM%2C_R_Foundation%2Cadljfhjsd",
status_code = 200L, headers = structure(list(date = "Tue, 02 Nov 2021 20:37:27 UTC",
server = "tsa_o", `api-version` = "2.27", `content-type` = "application/json; charset=utf-8",... |
11766395eae055c2c7d3fc2ec8978702b8631bda | 98ba050961cae57b4613f99128e681a8944fc889 | /examples/Chapter6.R | 4b46ad10c8202192b92f57f882a3dc6f50bac1a6 | [] | no_license | CHeitzenrater/InfoSecEcon-InvestmentModels | 3e70bef518ea96d86ad58b55f2a57d44bd7c33ae | e83f2e2bf387982dfb6422361e8190d3c1b647fe | refs/heads/master | 2021-07-17T22:42:55.568407 | 2017-10-25T20:41:00 | 2017-10-25T20:41:00 | 64,062,883 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 23,300 | r | Chapter6.R | ################################################################################
##
## Code to generate the analysis/graphs used in dissertation Chapter 6,
## "Software Security Economics in Practice"
##
################################################################################
## Required source files
source(... |
dc377c0e92a94e3eef4b5a06c3a8e0a1014ba193 | 84be4da8fb667c4e9d9ab52a072309ead778bce7 | /R/bootImpute.R | c1782dcc1028e8bb2553acfdb2584cd3c826a540 | [] | no_license | jwb133/bootImpute | 570ba860cd76f65f829b99f732602695366fbaa6 | 91c402d59d0e5ff52f7731da04d09fac3069e90b | refs/heads/master | 2023-06-12T08:39:32.273206 | 2023-06-01T14:14:03 | 2023-06-01T14:14:03 | 178,089,579 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,093 | r | bootImpute.R | #' Bootstrap then impute an incomplete dataset
#'
#' Bootstraps an incomplete dataset and then imputes each bootstrap a number
#' of times. The resulting list of bootstrapped then imputed datasets can
#' be analysed with \code{\link{bootImputeAnalyse}}.
#'
#' The \code{impfun} must be a function which when passed an in... |
585722866643cb8e3775ba9019f078e49ccdaea1 | 545e9b06f3a27db484971194a6c4d2084f236b38 | /week_2/week_2.r | df9559ae2fc10528e46f066176d3c4f5b6f26b83 | [] | no_license | imclab/dwob | 3aab864218fb874df3e997cea221fd7615c9ec1e | 0f6f5519976025b8c5391ad3d1cdaaae5bbef813 | refs/heads/master | 2021-01-15T12:15:24.989898 | 2012-11-14T02:08:43 | 2012-11-14T02:08:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,454 | r | week_2.r | #HOMEWORK 2
#import data
snf <- read.csv(file="http://www.jakeporway.com/teaching/data/snf_2.csv", head=TRUE, as.is=TRUE)
# Write code to return the percentage of people who were frisked for each
# race. In other words, count up the number of people who were frisked for a given race
# divided by the number of peop... |
a322867b8669fcceb1d147d4238835da0aedbf97 | 67a4fde7eb27258b15360a1e2ac4b8714581ce77 | /app.R | c1aa0f0fb012bc04917225435039a066fdcb967e | [] | no_license | thlytras/COVID-19-trendviz | 96b163b87ecb7bfb9ba005decd34d5fd7d3cee77 | 055bb2967650d74b2e7cae4f742b1bd8bb21e069 | refs/heads/master | 2021-01-03T00:38:33.849409 | 2020-02-15T11:33:08 | 2020-02-15T11:33:08 | 239,839,813 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,981 | r | app.R | load("dat.RData")
source("include.R")
library(shiny)
library(shinyWidgets)
library(markdown)
library(Cairo)
options(shiny.usecairo=TRUE)
ui <- fluidPage(
tags$head(
tags$link(rel = "stylesheet", type = "text/css", href = "mine.css"),
tags$link(rel = "shortcut icon", href = "logo-small.png")
),
titlePan... |
3ba859fac7c7ab04e2b1d3b25e1c8c02e93a14bb | b10f519b2490144f651475f9232074b3fd6af06b | /man/updateLSVM.Rd | 56d5bdc001a3beae1afecab99693afc7de413272 | [] | no_license | ClementWalter/mistral | a3720ee50b8262e05bb48a19483087d801e49a1e | 8cabf6f94cc1ea7391c3714ccf2bf55b97d00673 | refs/heads/master | 2021-06-09T02:32:25.686536 | 2020-01-02T07:37:11 | 2020-01-02T07:37:11 | 68,203,801 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,453 | rd | updateLSVM.Rd | \name{updateLSVM}
\alias{updateLSVM}
\title{Update LSVM classifier}
\description{
Update the existing classifier LSVM with a new set of data.
}
\usage{
updateLSVM(X.new,
Y.new,
X,
Y,
A.model.lsvm,
convexity,
PLOTSVM = FALSE,
... |
f4ddbe894940ab51200f35df6fcfde38f4a02b6f | 71f18a6a166ce48895c0230f39044093a4d6be36 | /Indiana_Cumulative_Counts/app.R | fad2d1604358d317f064c974954a46643790dc79 | [] | no_license | theandyb/nyt_covid | 8af1a53195eaed365513ff4b1bdbece404ade2f0 | 6c3244a9ec35e85a6e6f523e6aaac88590893f6b | refs/heads/master | 2021-05-17T06:24:36.609522 | 2020-06-19T23:56:54 | 2020-06-19T23:56:54 | 250,671,304 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,743 | r | app.R | library(shiny)
library(tidyverse)
library(xlsx)
df <- read.xlsx("covid_report_county_date.xlsx", 1)
cases_as_of_date <-function(Day, County,df){
df %>%
filter(DATE <= as.Date(Day)) %>%
filter(COUNTY_NAME == County) %>%
pull(COVID_COUNT) %>% sum()
}
deaths_as_of_date <-function(Day, Coun... |
4e3c56e648c1ac46741b18cbbc3c2782dde65a65 | d746fef241f9a0e06ae48cc3b1fe72693c43d808 | /tesseract/rotate/d7dw2j-011.r | 060bfe36fc82ebcba56e7ac132db17bd5634e007 | [
"MIT"
] | permissive | ucd-library/wine-price-extraction | 5abed5054a6e7704dcb401d728c1be2f53e05d78 | c346e48b5cda8377335b66e4a1f57c013aa06f1f | refs/heads/master | 2021-07-06T18:24:48.311848 | 2020-10-07T01:58:32 | 2020-10-07T01:58:32 | 144,317,559 | 5 | 0 | null | 2019-10-11T18:34:32 | 2018-08-10T18:00:02 | JavaScript | UTF-8 | R | false | false | 199 | r | d7dw2j-011.r | r=359.98
https://sandbox.dams.library.ucdavis.edu/fcrepo/rest/collection/sherry-lehmann/catalogs/d7dw2j/media/images/d7dw2j-011/svc:tesseract/full/full/359.98/default.jpg Accept:application/hocr+xml
|
f2b234ee6500a4387859f5b4c2389804ee600507 | 6c1036850e7ddee4d18bfb9c10cee73ce9e587b9 | /man/smad_norm.Rd | bbe6618405952607d684e4ce641ce0744c345d57 | [] | no_license | mattglittenberg/proteoanalysis | 13eb2610b873ad206f7851aa7b47b8cd96189dab | 06a52e4b92bad718a899ab2c7f2b16d893a68ec4 | refs/heads/master | 2023-04-18T05:46:07.122187 | 2021-05-05T04:13:49 | 2021-05-05T04:13:49 | 364,389,568 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 391 | rd | smad_norm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/smad_norm.R
\name{smad_norm}
\alias{smad_norm}
\title{Scaled Median Absolute Deviation based Normalization}
\usage{
smad_norm(log_matrix)
}
\arguments{
\item{log_matrix}{Log-Transformed Matrix}
}
\value{
Log-Transformed and Normalized Matrix
... |
476ee85e325dbc2ec3577634279985091e78a17c | a4ef3cbc137ec6012b723ae1d16ff4cc294f94c8 | /tests/testthat.R | e63ae3811d21b779a94bc9af8a888b51372e93fe | [
"MIT"
] | permissive | antchau/berdcsc | 2f3ee91bf05e956bfb8d8315107cec5680e22d28 | 6dc8418785e30728141d36bdb37c8bbc3efe3f7a | refs/heads/main | 2023-01-08T22:18:34.862277 | 2020-11-13T00:42:08 | 2020-11-13T00:42:08 | 303,248,915 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 58 | r | testthat.R | library(testthat)
library(berdcsc)
test_check("berdcsc")
|
21837204ce83ce476bf8aa3de0bc3f9636584dcb | 1a6e57ddd0ab0cad37f72bd61f384f4c802c7b47 | /man/MethyLumiM2GenoSet.Rd | eeb26806df5b65b77eac8daf4a8ad2022d6092d7 | [] | no_license | CHARKKS/methyAnalysis-1 | 737aa9acad8fe30d1e4aac5b5256beafc77c47f8 | fb282c56b819f5aeb9a615939a72a10d534f648b | refs/heads/master | 2021-06-18T11:12:52.055971 | 2017-06-27T17:05:27 | 2017-06-27T17:05:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,312 | rd | MethyLumiM2GenoSet.Rd | \name{MethyLumiM2GenoSet}
\alias{MethyLumiM2GenoSet}
\title{
Coerce objects of MethyLumiM-class to MethyGenoSet
}
\description{
Coerce objects of \code{\link{MethyLumiM-class}} to \code{MethyGenoSet}
}
\usage{
MethyLumiM2GenoSet(methyLumiM, lib = "FDb.InfiniumMethylation.hg19", bigMatrix=FALSE, dir.bigMatrix='.', s... |
2aa37ac10450c883ca29fa63e9297035ae86e6fa | 16c45c6168b3a7013b39300085879f7fde819d50 | /man/format_driors.Rd | a9dd22a880be1bdd28b6f39cbe6657a10fda2c21 | [
"MIT"
] | permissive | jcvdav/sraplus | 73531550fc5902367ea63a14863631d622f87261 | db8953aced6522b8825047cb2b17a107da40978d | refs/heads/master | 2020-04-17T05:12:48.476671 | 2019-01-17T17:55:54 | 2019-01-17T17:55:54 | 166,268,263 | 0 | 0 | null | 2019-01-17T17:34:52 | 2019-01-17T17:34:52 | null | UTF-8 | R | false | true | 1,917 | rd | format_driors.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/format-driors.R
\name{format_driors}
\alias{format_driors}
\title{Format data and priors for sraplus}
\usage{
format_driors(taxa = "gadus morhua", initial_b = 1,
initial_b_cv = 0.1, terminal_b = 0.25, terminal_b_cv = 0.1,
carry = NA, carr... |
0ee5a7d6826ab07400fda1034c7079c38aec1f5d | e3de9965e161c401a5946852a002e1aec0d130b4 | /man/bam2bedgraph.Rd | 050a2aa5bb5863178be1171973f2c1c6690817c1 | [] | no_license | sidiropoulos/RNAprobR | 3f653b3c1721269bfb9bb1428fdb41ef3e6242d5 | d445a82bfe84e22b17d0a8f0bb434f438942f23b | refs/heads/master | 2021-01-02T09:09:57.398859 | 2017-11-02T17:28:04 | 2017-11-02T17:28:04 | 40,180,196 | 0 | 2 | null | 2015-08-04T11:11:42 | 2015-08-04T11:11:42 | null | UTF-8 | R | false | false | 1,413 | rd | bam2bedgraph.Rd | \name{bam2bedgraph}
\alias{bam2bedgraph}
\title{Function converts bam file to bedgraph by counting number of reads starting
at each position (termination counts).
It creates two-track bedgraph file (one track for each strand).}
\usage{
bam2bedgraph(bam_path, allowed_flags = 0:4095, maxMemory = 8000,
genome_build, bed... |
91ae8acf3fa915264c8fbe7cd99a12823afe7ec5 | 96ee33ed52f11a4efb4d32fdb4b4c02e3cec2940 | /PredictionOutputs.R | 5b7a92620be82a9280e52cf9e9a3198778549e45 | [] | no_license | jSandersWhite/PetFinder | 5778ce47307a60f68812969c92b444a4ce031809 | decda65fbfc1a5d1e57c3ac1edd7d115c8eec448 | refs/heads/master | 2020-05-14T22:29:21.236000 | 2019-04-25T00:04:07 | 2019-04-25T00:04:07 | 181,979,816 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,877 | r | PredictionOutputs.R | ## Best models and predicted outputs for Tuned C.50, Bagging, and SVM
## Import packages
library(kernlab)
library(caret)
library(gmodels)
library(ipred)
library(e1071)
library(adabag)
## Import data
pet <- readRDS('data/pet.csv')
## Numerical data for SVM
petNum <- read.csv('data/train/train.csv')
#... |
a3f32eb604c74ea22b3f1c966a6e71619060c4a8 | 4bd77d14bd2541dabbdc29479f7a1b182ed101eb | /man/individual_data.Rd | 9a933d394c3b4e3c48887992b508b02dde5a01fe | [] | no_license | Spatial-R/EnvExpInd | f416350836cb985cc6f34158fb833c2f1cb3be70 | cc1051108bee08a3ee99bd12d8c9ebb449938071 | refs/heads/master | 2023-01-01T05:39:27.811575 | 2020-10-19T03:55:45 | 2020-10-19T03:55:45 | 90,520,549 | 6 | 1 | null | null | null | null | UTF-8 | R | false | true | 587 | rd | individual_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wuhan_data.R
\docType{data}
\name{individual_data}
\alias{individual_data}
\title{The detailed information for each individual.}
\format{
A data frame with 21 rows and 3 variables:
\describe{
\item{id}{id number for each individual}
\item... |
cd42ae73c95025188e3ee133352fd7f142c0dddd | 1a6d54370cf45d385fe783afcffab4961501540c | /database/judge_biography/database.R | b067a72b9a1b931cb687ec47c80279d865bedaff | [] | no_license | alexahn917/ExParte | eeb966d39cd07eb7f050c02a0af2a9e3dc731e2f | d2dc2d820aaf67de364fa26110a6c1b87a1ca214 | refs/heads/master | 2021-06-12T05:14:34.505351 | 2017-03-12T07:26:16 | 2017-03-12T07:26:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 726 | r | database.R | library('dplyr')
DB <- read.csv("jb.txt")
names(DB)
#list <- select(DB, Judge.Identification.Number, Judge.First.Name, Judge.Last.Name, Birth.year, Place.of.Birth..City., Place.of.Birth..State., Court.Name, Court.Type, President.name, Party.Affiliation.of.President, Renominating.President.name, Party.Affiliation.of.... |
8449f0106ca4cbeea75b68568ab0ad5c1b36579c | 9e1f73ac2c4ae4676d945a1de8d72f0530b6f1c0 | /rand.fun1.R | 7e35e4d595bc8927a8e76af2e05b9d6a79702068 | [] | no_license | hmaeda/Hello-World | a23aa38a9bb647fdcac18ef30219658f5b239920 | f249c76bf4db254b5ad6518ceb7de3949b6c915c | refs/heads/master | 2020-06-02T19:06:57.174119 | 2013-07-10T20:42:32 | 2013-07-10T20:42:32 | 1,873,508 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 40 | r | rand.fun1.R | rand.fun1 <- function(){
rnorm(1000)
} |
ef668ea0c5cd3bcce5b15ffbcf0d00fa9a36e919 | 5813cf97fd8f6f5bee4797fe8cfb5aeeb07e2c23 | /plot3.R | 374f0d1581ed612ed30d98f31e4be9e54c89fcce | [] | no_license | Doug0212/ExData_Plotting1 | b3becd0f371b286ca8250ca25171d7fcda326fe5 | 06cefe18aefcdf9544f0b57ad0cceee63d735f0d | refs/heads/master | 2021-01-17T13:18:26.123480 | 2015-02-05T21:19:58 | 2015-02-05T21:19:58 | 30,310,853 | 0 | 0 | null | 2015-02-04T17:15:21 | 2015-02-04T17:15:21 | null | UTF-8 | R | false | false | 1,521 | r | plot3.R | # Set path
setwd("C:/DataScience/ExploratoryDataAnalysis/Project1")
# Read household_power_consumption.txt file into variable
hpc <- read.table("household_power_consumption.txt", sep = ";", header = TRUE, stringsAsFactors = FALSE)
# Get subset of rows where date equals 02/01/2007 and 02/02/2007 and merge files
hpc1 <... |
0e8bcb7c52aad9ad3d5368f26c75a93d8c72baa5 | 7c756f0eaa3779587672508437e5eef5db9b9236 | /man/is_discrete.Rd | 3951ba0728386a9ae18918ee9d939f6d0c6979df | [
"MIT"
] | permissive | vjcitn/baker | 6da8e43e717eeb68f00b80eb27cdd60dfc9336f8 | 140718dfb9e87d23543570f4a402a39ea024f095 | refs/heads/master | 2021-01-19T10:32:40.575869 | 2016-12-21T16:55:12 | 2016-12-21T16:55:12 | 82,190,742 | 0 | 0 | null | 2017-02-16T14:42:24 | 2017-02-16T14:42:24 | null | UTF-8 | R | false | true | 745 | rd | is_discrete.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{is_discrete}
\alias{is_discrete}
\title{Check if covariates are discrete}
\usage{
is_discrete(X, X_reg)
}
\arguments{
\item{X}{A data frame of covariates}
\item{X_reg}{The vector of covariates that will stratify the analyses. T... |
6ad8c154590fd8ba6446abe65eef2e7641363ed2 | 4e0d6c32e666ddcf17963f8615c736d5fc3eb301 | /inst/samples/test08-singleGroup.R | a397850983b2f7a20f7eb1a17d3862b4631bcf59 | [] | no_license | cran/ClassComparison | ff522e3ab4bdf6d38be6956f0f72c05ebb980f1d | 6118a8471bbaad8167ed206ce3fd770855435e5e | refs/heads/master | 2020-06-24T14:29:47.094027 | 2019-05-06T15:40:12 | 2019-05-06T15:40:12 | 96,940,058 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 205 | r | test08-singleGroup.R | # two-group-stats-test.ssc
m <- rnorm(1000, 8, 2.5)
v <- rnorm(1000, 0.7)
plot(m, v)
x <- SingleGroup(m, v, name='bogus')
summary(x)
plot(x)
plot(x, multiple=2)
# cleanup
rm(m, v, x)
|
7014fd956b9455dea2e4df4915f7f1ccc41cd5d8 | 9e962cc25ed5cbd6223db61f5b61eca7195c3512 | /cachematrix.R | 4720c7eba6ba32a427848c59cdd49ac7c8a52efe | [] | no_license | martinwolst/ProgrammingAssignment2 | 16e0c7ff5d478f2edb9b341bc7d4b09944573d14 | c592caa18170b6528ec9c8f2bf0c9f738f26b2f9 | refs/heads/master | 2021-01-15T10:58:26.943614 | 2016-05-07T16:33:10 | 2016-05-07T16:33:10 | 57,602,003 | 0 | 0 | null | 2016-05-01T14:36:53 | 2016-05-01T14:36:53 | null | UTF-8 | R | false | false | 2,105 | r | cachematrix.R | ## The functions below allow the creation of a special matrix object, which can
## cache the inverse of the matrix held within the object once it has been calculated.
## Once the inverse has been cached, the inversion calcualtion is not repeated,
## rather the cached inverted matrix is simply retrieved and returned.... |
e7ac3c69fe0fd60146546040060601ced63f77a2 | 4855e806d6a5b65643c49ed3b602db276fe76d30 | /3. Static Map/Choosing colours.R | de449cf802cc2ded16b6966508a324e8d30a0a03 | [] | no_license | Cococatty/InteractiveMap | 5701a607a7605a4958c037b6b5559841c67126eb | 698b173ab0393cc38fdfd69f09b169dd87fd9f3d | refs/heads/master | 2021-01-10T18:14:56.274796 | 2016-02-17T09:02:23 | 2016-02-17T09:02:45 | 47,664,845 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 795 | r | Choosing colours.R | geoCol <- c()
#Assigning the colours to TAs by the number of people
for (i in 1:length(shape@data$Percentage[shape@data$Mean == travelMean]))
{
x <- shape@data$Percentage[shape@data$Mean == travelMean][i]
if (!is.na(x))
{
if (x < nclass$brks[2]) {
currCol <- geoPal[1]
x1 <- x1+1
} else if (... |
a85dd52a5251a9390e823a0661be5caa11767497 | 74fec5abcb297a6415a5233bce1b6b647c7cc505 | /5/2_EdgeR_Tab4.R | f83abc2ae9e5b0abb60ee9af718fb20e359d2002 | [] | no_license | GiovanniCarapezza/KING-REX | f6e311d13bdb604e86614aec7860fb0391644d58 | f06a8e0eec4da0a784b0e7846882830d24a19993 | refs/heads/master | 2020-04-21T12:46:29.726979 | 2019-02-07T15:02:41 | 2019-02-07T15:02:41 | 169,574,440 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,273 | r | 2_EdgeR_Tab4.R | #to excecute this script, you must run first script in folder 3
library(edgeR)
library(stringi)
library(pheatmap)
rm(list = ls())
#substitute your path to results
path_to_results="~/Scrivania/KING-REX data and scripts for BMC2"
#set working directory to this source file location
setwd(paste(path_to_results,"/Results/5"... |
59774e9ff3cb1e71a8dfecac495ece2f3f3bb39e | f5009969ad3f97807fd4b7ae7e2f5229b2160fa0 | /plot5.R | 37cccf777581f747af31dc272af3241ee13fb8aa | [] | no_license | doczetch/Coursera-DS-Exploratory-Data-Analysis-Course-Project-2 | 4eb8b0c6448c4f3ec72fb7fef06df0b69bbf4c81 | 0a896d14bc721381f6f70741691e124c29f8b851 | refs/heads/master | 2021-04-15T14:47:53.480613 | 2018-03-31T10:11:25 | 2018-03-31T10:11:25 | 126,468,117 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 992 | r | plot5.R | # plot5
# A. Check existence of files
if(!exists("NEI")){
NEI <- readRDS("./data/summarySCC_PM25.rds")
}
if(!exists("SCC")){
SCC <- readRDS("./data/Source_Classification_Code.rds")
}
# B. Question
## How have emissions from motor vehicle sources changed from 1999-2008 in <b>Baltimore City</b>?
# C. plot5
# png(... |
8d3bb6952ba7a76a83b466857ff46384c1b3e6ed | 280fae7f01002ddc95c0e7ec617740a58752403d | /tests/testthat.R | cfea2d5b4bccbc790f2700cd007516555b0f0971 | [
"BSD-2-Clause"
] | permissive | ktoddbrown/soilDataR | 87bb4ed675959f3fbd75024dd7b014e1966148dd | 44ab9e6ac00e49ea0106508de8ead356d9e39fa5 | refs/heads/master | 2021-04-30T07:27:34.349030 | 2018-11-09T20:07:20 | 2018-11-09T20:07:20 | 92,432,342 | 3 | 11 | null | null | null | null | UTF-8 | R | false | false | 62 | r | testthat.R | library(testthat)
library(SoilDataR)
test_check("SoilDataR")
|
6a9f554173ef6682fb396182f33a28902025ad3b | eabaf84698224f90218a5c5a1aaedec4e868d217 | /Assignment 1 - Karger's Algorithm/Karger's Analysis.R | 59630981cfe0a7adefe0d079680b0c42ee0bcc31 | [] | no_license | AlbertoParravicini/data_structures_and_algorithms | 4aa5196c5a910a7d67aaa9f6e2a74c6b3f569290 | 46ea766a67b3d4c6d165c8bb89163bc208890063 | refs/heads/master | 2021-01-18T20:12:33.317875 | 2016-12-15T10:34:14 | 2016-12-15T10:34:14 | 69,767,261 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,107 | r | Karger's Analysis.R | library(igraph)
library(dplyr)
library(ggplot2)
library(microbenchmark)
setwd("C:\\Users\\albyr\\Documents\\data_structures_and_algorithms\\Assignment 1 - Karger's Algorithm")
source("Karger's Algorithm.R")
# -------------------
# -------------------
# Profling Utilities
# -------------------
# -------------------
# ... |
388ace4e3471de0f5c57dbc06c690c7221393223 | 84d4b0f90866b8ef5ab3bd325a295d46b195d20f | /tests/testthat/test-spec_res.R | 20fc9b3c4c6d805e6f03118bdae8bb1860c835c1 | [
"CC-BY-4.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-public-domain"
] | permissive | rainyl/OpenSpecy | 310d8a42bdd6abd39f5c8b1bcd0046bf3338a158 | 92c72594abaaf91925d7c0550e791de5a149192d | refs/heads/main | 2023-05-11T06:28:30.482481 | 2021-06-01T18:04:47 | 2021-06-01T18:04:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | test-spec_res.R | data("raman_hdpe")
test_that("spec_res() gives correct output", {
expect_equal(round(spec_res(raman_hdpe$wavenumber), 3), 3.005)
})
|
5de30797937875dc9d9e448e8d8fa18391065ead | a363b992b0e3f9ae200eb2eee8a9fd698ae29819 | /times series/codeChapitre10.r | 43ed77ae5f128804c11e23c9017568c060d47569 | [] | no_license | lucayapi/Ressources_ML_Statistics | f938ebbb1a6f41e85622eb85b1546ecde3e69dae | 0302e436a796528b0ae542079fdd2782402336e2 | refs/heads/master | 2023-09-02T04:15:01.298394 | 2021-11-18T13:25:57 | 2021-11-18T13:25:57 | 429,435,808 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,087 | r | codeChapitre10.r | ########################################################
####### Codes du chapitre 5
####### Y. Aragon
########################################################
# Mise à jour effectuée le 17/08/2016
# packages utilisés dans le chapitre
require(caschrono)
require(xtable)
require(dse)
require(polynom)
# 10.1 Ident... |
e6fd48c7ee83323cae1336a2fae113286986990e | fc0c33827b13210227f590b11cce3c8b20104e59 | /R/mlClassificationBoosting.R | 3c938c960d3461943c071eee53d787925d84dad0 | [] | no_license | sophieberkhout/jaspMachineLearning | 47a6f581acbeaf9c99d3af558ca3fca6a84b7eb8 | f78574c69e7e3b00362ced4fa229ccb73f14d3d0 | refs/heads/master | 2023-09-06T04:33:53.194899 | 2021-11-24T18:58:22 | 2021-11-24T18:58:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,363 | r | mlClassificationBoosting.R | #
# Copyright (C) 2013-2021 University of Amsterdam
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program i... |
e740eb55e24343176f15d3933ebc4fc62a230afb | 1d7c7adfe4190456c0bce74a55f8842f113b54e1 | /man/evaluate_integral.Rd | d54dd12f6fb20e008c61ba1c5fa50aa8ca89591d | [
"MIT"
] | permissive | dmoseev/j0j0r | dd56cfa4e9d80324c2e39872a0f9ab480e0c3ba6 | 38e61ba17d1e8395738379adcb4af3f6ef33824b | refs/heads/master | 2023-07-31T13:57:54.235793 | 2020-05-18T20:52:57 | 2020-05-18T20:52:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 477 | rd | evaluate_integral.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/j0j0_element.R
\name{evaluate_integral}
\alias{evaluate_integral}
\title{create_integral_settings}
\usage{
evaluate_integral(integral_settings, integration_method)
}
\arguments{
\item{integral_settings}{list of settings for the integral}
\it... |
d92561f15731950a1fabaf816c8082241c371aab | f2570fca876260081b4153f623df3234493520c4 | /Week 4/HW4.R | 6cb006e3a678bb04847e9c86664feceb8812c470 | [] | no_license | pravinkunhiraman/MITAnalyticsEdge | 01dcb2f8a5739e0a707bf87870da4f1e01cd1795 | 3d97177a8c91f4f79fdadd5928096fa91c2dc276 | refs/heads/master | 2020-04-26T18:34:24.551920 | 2019-05-06T15:24:56 | 2019-05-06T15:24:56 | 173,748,227 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,874 | r | HW4.R |
data(state)
statedata = data.frame(state.x77)
str(statedata)
summary(statedata)
head(statedata)
LMModel = lm(Life.Exp ~ ., data=statedata)
summary(LMModel)
LMPredict = predict(LMModel, data=statedata)
sum((LMPredict - statedata$Life.Exp)^2)
LMModel2 = lm(Life.Exp ~ Population + Murder + Frost + HS.Grad, data=state... |
a78a9b3bef70bf5dc175a905afdd175e152d2561 | 81efde29367a2c093b8ac0994677336e74efb41d | /checkpoints/archive/2010/04.2010/04.20.2010/spacodi/man/as.phylocom.Rd | 4a800b9631dd861f7738fa03f92564d835f7e8c8 | [] | no_license | eastman/spacodiR | 642c05bb40b7ef1446d1d37f529bfa34b312ecba | a8716ab75279914d1f3c65d9c6b071312fe5c1ab | refs/heads/master | 2020-06-07T02:10:35.589573 | 2013-01-15T19:40:31 | 2013-01-15T19:40:31 | 1,932,566 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,213 | rd | as.phylocom.Rd | \name{as.phylocom}
\alias{as.phylocom}
\title{converting between data formats for community phylogenetics}
\usage{as.phylocom(data, outfile = NULL)}
\arguments{
\item{data}{a species-by-plots matrix}
\item{outfile}{an optional text file to which to write output}
}
\details{This utility converts a species-by-plo... |
a10cfd50c50f6055e24fd531f96821cfa2a2a279 | 2a96855c2e3278507371f7c60b457206c23d3bbc | /Sampling/Faces/Coherence/RUNSTEP.R | 131db1e723371c949ad586c1bb60353921d04553 | [
"MIT"
] | permissive | NeuroStat/replicability_fmri | 698154c030bcf312dd1e809a77812fe3bdf6449a | 7710ed0a8074a668130af15cebfb359e7b4ce4e8 | refs/heads/master | 2022-03-26T17:10:46.346095 | 2020-01-08T20:19:30 | 2020-01-08T20:19:30 | 103,663,214 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,507 | r | RUNSTEP.R | ####################
#### TITLE: Give back the correspondig run and step from a sequence of numbers
#### Contents:
####
#### Source Files: \\FreddieFreeloader/Script.git/Sampling/Coherence
#### First Modified: 24/05/2018
#### Notes:
#################
##
###############
### Notes
###############
##
# FACES dat... |
7c7d8c16632a57964514fa358e1e2e3abd2b41e5 | 0a524ee05014952d9dc90cd9651f6a2ac0955613 | /HW5DecisionTree.R | ce68996e63460fe68fbd3228f371ddb796d07182 | [] | no_license | shefaliemmanuel/DATA101IntroductionToDataScience | 86ea1fee035a14018a0c6dc91c3eadbb4991cc7c | 9b671c1954254ac3f9cf63d716894142645f530e | refs/heads/master | 2020-07-07T21:12:38.798945 | 2019-12-10T02:38:31 | 2019-12-10T02:38:31 | 203,479,068 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 725 | r | HW5DecisionTree.R | #Shefali Emmanuel
#Data 101 HW5 Decision Tree
#September 13, 2019
install.packages("lattice")
install.packages("ggplot2")
install.packages("rpart")
install.packages("rpart.plot")
library(lattice)
library(ggplot2)
library(rpart)
library(rpart.plot)
data ('iris')
head('iris')
str(iris)
set.seed(9850)
g <- runif(nrow... |
ceb6678ee8123bd06c20ddd66f1be8b6727a5473 | 373f2abd88834acc0d1ab21ba13ce335600ceb0f | /R/engen2008.r | e2aa794f14142d90136ee27e2410713bf87924ba | [] | no_license | ClementCalenge/adehabitat | fa26e43fba432c29a5757fcd4b5f9ffd972bdd44 | 23ba023d5a57eec861fb6d3d07772cb9d2db6968 | refs/heads/master | 2021-01-22T05:20:32.012511 | 2018-01-28T12:27:32 | 2018-01-28T12:27:32 | 81,652,118 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,980 | r | engen2008.r | engen2008II <- function(us, av, id, nsim=500, nsimra=500)
{
if (is.data.frame(us))
us <- as.matrix(us)
if (is.data.frame(av))
av <- as.matrix(av)
if (ncol(us)!=ncol(av))
stop("us and av should have the same number of column")
if (any(colnames(us)!=colnames(av)))
stop("us ... |
fe874dd6dc4577002a8757a22f7e0bdbc7b1b6b1 | 6601d897b6a632d546ec79643bc926f06d9a9d23 | /R/utils.R | 219966fdd56a4d8b30e4d0de2717b245b85150bb | [] | no_license | daryabusen/fueri | 2e74a7f4e1c7350016020923eb696ecb2062c165 | e2affd97707b397ad107822bb775bb5e9af3cf33 | refs/heads/master | 2021-08-17T02:43:50.113320 | 2017-11-20T17:36:01 | 2017-11-20T17:36:01 | 110,166,160 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 381 | r | utils.R | #' Mean value of a vector
#'
#' @param x a numeric vector
#' @return the mean of a \code{(n x 1)} - vector as a scalar value
#'
#' @examples
#' x = c(2,2,2)
#' mean(x)
#' # [1] 2
#'
#' @author Darya Busen <\email{dasha-89.89@@mail.ru}>
#'
#'
#' Return the rounded mean
mean = function(x) {
n = length(x)
sum = sum(x)... |
28085e7caea57fb125768b6afddd93894e10c2af | fad4d435ac6ac71a39b8b558985b38b95062eb50 | /codedump.R | 068c2bc396e8ab223b1fa068423d7f32f0b3a4b1 | [] | no_license | kjhogan/NFL | cbfbf4080ee82d251d631ebf8e4e5a2e0b4d60ff | de0eb45b0877b7e7a9e7250e8cb01379eec080f6 | refs/heads/master | 2018-11-25T10:01:40.598614 | 2018-10-08T13:55:22 | 2018-10-08T13:55:22 | 103,428,957 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,857 | r | codedump.R |
id <- "0021700206"
download.file("http://stats.nba.com/stats/playbyplayv2?EndPeriod=10&EndRange=55800&GameID=0021700206&RangeType=2&StartPeriod=1&StartRange=0", "address.json")
web_page <- readLines("address.json")
##regex to strip javascript bits and convert raw to csv format
x1 <- gsub("[\\{\\}\\]]", "", web_page, ... |
b04c6352328e06a342cf499e240f1bd878455395 | 75b026f4ff12ae414d61fcf1447e589c5d9b62d7 | /pr/data-raw/DATASET_rho_ci.R | 220b09b63c05dcdf1f1393e163a8fdde15a6e055 | [] | no_license | jpwoeltjen/PersistentRegressors | ccd5fec5e164510e2bb1d5296f3766ca71c71aad | 685e66a8fa7ed2526d2e2e569835fcd7f12005a1 | refs/heads/master | 2020-06-08T18:50:57.776840 | 2019-09-18T07:42:28 | 2019-09-18T07:42:28 | 193,285,696 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 742 | r | DATASET_rho_ci.R |
name = 'df_gls95'
dir_name = paste('/Users/jan/Desktop/PersistentRegressors/ci/',name, '.csv', sep='')
df_gls95 = read.csv(dir_name, header =TRUE, sep=",", dec="." , row.names = 1, check.names=TRUE)
usethis::use_data(df_gls95, overwrite = TRUE)
name = 'df_gls90'
dir_name = paste('/Users/jan/Desktop/PersistentRegress... |
d6f1ce2a401b47d81e2bf62d55497e385eb0d1a8 | a407e7551a05b15a26085369bc4aeeadc80fee87 | /man/raw2intR.Rd | 93fb9a33e8cb0556914d9a0d39980bca6ca09550 | [
"MIT"
] | permissive | tkatsuki/dipr | 8ec80f0aaaec481e6a477f2108365760964e7511 | 2d9adf558a893cd3525ee54c099695c9becae0a4 | refs/heads/master | 2021-06-06T19:54:00.071143 | 2021-04-18T06:04:38 | 2021-04-18T06:04:38 | 63,497,539 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 588 | rd | raw2intR.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/raw2intR.R, R/raw2intcpp.R
\name{raw2intR}
\alias{raw2intR}
\title{2 byte raw to integer conversion}
\usage{
raw2intR(obj)
raw2intR(obj)
}
\arguments{
\item{obj}{A target image of Image object or an array.}
\item{ref}{A reference image of I... |
e1cfeee614c7bec5e6c40eadc2ec3cd869c49d1e | 6f7ff548a95059157cc23f68c7bc8864588b66ed | /top20pie.R | 6036ae7be8b31b4a14baf02c498b4d0852f53b29 | [] | no_license | hedlundb/LP16S | f92581277bcca35f5290e03d1e4d00bac9f77f38 | c1e21615c9845bc8ce0f7805ce665ed2b22b397e | refs/heads/master | 2020-12-03T08:48:56.499885 | 2020-03-01T01:35:26 | 2020-03-01T01:35:26 | 231,259,858 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,427 | r | top20pie.R | library('ggplot2')
library('phyloseq')
source('tax_glom_fast.R')
#source('run_this.R')
taxpal = read.csv('Genus.taxa.pal.csv', header=TRUE, row.names=1, stringsAsFactors=FALSE)
physeq = snp_physeq
ranks = colnames(tax_table(physeq))
## Make substitutions in the taxonomy.
tax_table(physeq)[,1] = gsub(paste0('^D_0__')... |
5184afbb606d6190768966a779a26dfc7c77f546 | 9a5cd516300be561dc627ebb3fc07ead2707b502 | /man/as_numeric.Rd | c734f7e324cec78ebc68b38f83bce0c0a9523b25 | [] | no_license | cran/incadata | 11535f59e08977e5cb0dca961ea16f5e723e4b2e | a80e811b5d22ae44d39231b5ed1994653dc01d27 | refs/heads/master | 2021-05-23T02:43:52.314286 | 2020-04-09T07:20:02 | 2020-04-09T07:20:02 | 82,063,922 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 991 | rd | as_numeric.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/as_numeric.R
\name{as_numeric}
\alias{as_numeric}
\alias{is_numeric}
\title{Test object for, or coerce to, numeric}
\usage{
as_numeric(x)
is_numeric(x)
}
\arguments{
\item{x}{object to be coerced or tested
(and return a logical ... |
d3d5b64dde916b54564ae57f9b5cef28e429364f | fc46c8b63c5a13c373627c48754063324e4300ca | /예제코드/DBDA2Eprograms/OneOddGroupModelComp2E.R | f52c91d9708aaaebe1dc3f259c3afa46cde9c805 | [] | no_license | Jpub/DBDA | 98cc57fe0d1f47ac9bfbd583a5e765c95d4b683e | f6e51982170bf68b5e4708edb831de7a0735029c | refs/heads/master | 2022-05-04T11:40:46.530475 | 2019-01-02T01:27:06 | 2019-01-02T01:27:06 | 155,650,138 | 3 | 3 | null | 2022-04-08T09:25:45 | 2018-11-01T02:22:52 | R | UTF-8 | R | false | false | 10,222 | r | OneOddGroupModelComp2E.R | # OneOddGroupModelComp2E.R
# Accompanies the book:
# Kruschke, J. K. (2014). Doing Bayesian Data Analysis:
# A Tutorial with R, JAGS, and Stan. 2nd Edition. Academic Press / Elsevier.
graphics.off()
rm(list=ls(all=TRUE))
source("DBDA2E-utilities.R")
#require(rjags)
#require(runjags)
fileNameRoot="OneOddGroupModelC... |
ffabbf008783474473e0f03313f6c4453720bf98 | aaa77251f64018398dcc9c23f800f7478eb15798 | /HousingData_Modeling.R | cf1bb984901898b8d2906a2e9a62fe49d4d120a5 | [
"MIT"
] | permissive | amotter443/r-python-housing | 1c9433ec6b21c5f722660e04f5fad49a81239f52 | 7e1f68875df9390e3f3cb85d6220c062f41eb22a | refs/heads/master | 2022-12-23T23:16:59.470045 | 2020-09-25T18:18:13 | 2020-09-25T18:18:13 | 297,347,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,159 | r | HousingData_Modeling.R | #Part 2: Modeling
library(readxl)
library(dplyr)
library(MASS)
start_time<-Sys.time()
housing_data<-read.csv('housingdata_clean.csv',stringsAsFactors = FALSE)
train<-housing_data[!is.na(housing_data$SalePrice),]
#Think these plots may be problematic and need removing
plot(housing_data$LowQualFinSF,housing... |
950bef73d06659f4b49f37fb2fbdc56481e8bbb0 | 97f72636249030afadffe1551bc91a005fc5c68e | /Model4/Chain3/LIDEL_MCMC_setup_trial3.R | b908804a6d92bea717d08d4aac9d9594e0bf4d97 | [] | no_license | eecampbell/LIDEL | 7cf251b6c3e565188562668a80bb662212d27425 | 29de2a22e3c29e1493d6c6a137080e1a7f84d9d5 | refs/heads/master | 2021-01-20T11:42:06.590595 | 2015-11-25T17:39:05 | 2015-11-25T17:39:05 | 44,201,733 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 14,572 | r | LIDEL_MCMC_setup_trial3.R | ##########SETUP FOR MCMC##########
#using all data
#Nell Campbell
#moved to separate file 11/17/14
##################################
#####iterations and chains
#Set up the number of iterations. While you are getting things working, this can be small, ca 5000
n.chain=1
num_litter=5
model_names=c("Day", "C1_5", "C6", "... |
716b8f8689333c70644c510d42a6cbfacfd4eed2 | 49679b97305617476aa1acd685ae31e0c7fadb87 | /All data extract/All data extract EXP4 Extinction.R | 6678508b495fc8d39847ee481ba6c42deaf3a201 | [] | no_license | mvegavillar/Accumbens-Rew-learning | 2541e07dc6e93f7ea1b39516f783f75f97470a20 | be221cf5777ec62365927213c613bc9dd6066664 | refs/heads/master | 2020-05-24T11:19:13.151823 | 2019-07-09T17:01:57 | 2019-07-09T17:01:57 | 187,246,076 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 44,486 | r | All data extract EXP4 Extinction.R |
######################################################################################################
### EXPERIMENT 4: UNILATERAL AP5 INFUSIONS: EXTINCTION TEST (MV ) ###
######################################################################################################
##... |
e03559dc7c3107a17f67b14b4ea1c33bd0a18adf | 41cf007ff1b7abd744f1d9afae2eaa49537dd480 | /lesson_06/barcharts_of_mean_price.r | ec008f1a3693cbd0ba7432768ff25e0d67ad436e | [] | no_license | dsharath/R_programmimg | 1ecd82534a26b8ef7cd75ebd4b61ee387a2bb7a1 | 7f95347109a57879a2f770e64731a83b35e02b7c | refs/heads/master | 2021-09-05T16:48:50.002962 | 2018-01-29T18:56:12 | 2018-01-29T18:56:12 | 116,184,935 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,432 | r | barcharts_of_mean_price.r | # We’ve created summary data frames with the mean price
# by clarity and color. You can run the code in R to
# verify what data is in the variables diamonds_mp_by_clarity
# and diamonds_mp_by_color.
# Your task is to write additional code to create two bar plots
# on one output image using the grid.arrange() function ... |
d352f2d63fa7474e5fed26657924a0fe8c3a63ea | 46bc75bcd08ec918f4859d6dbb6d97dbb02b03b4 | /quarantine.R | 5ae490acf85225c24005f4ff01d1f9ddf0ccf817 | [
"MIT"
] | permissive | sanjmeh/covid | 2a0162bff21151c2982370a8b8e14e77909c4531 | 036519c96c441064af6a6382cc7cba7a964ba357 | refs/heads/master | 2022-11-28T08:10:01.651810 | 2020-08-14T19:03:20 | 2020-08-14T19:03:20 | 287,571,456 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,894 | r | quarantine.R | library(tidyverse)
library(janitor)
library(readxl)
library(magrittr)
library(stringr)
library(stringdist)
library(splitstackshape)
library(data.table)
library(googlesheets4)
library(googledrive)
library(lubridate)
library(wrapr)
library(gmapsdistance)
library(geosphere)
library(ggmap)
library(ggrepel)
library(htmlTabl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.