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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6178557bffca92040f4997f2362fa093a2881ff2 | f1372147a5410d09b5c3b8607dd9e27214ccf0c5 | /Unit 2/Resampling/LOOCV.R | ae2725dd697d66ba4bc3886e716d15847aae91ca | [] | no_license | prady026/Prady_Data_Science | 6262abd4d873ce8e75d6932f08f8d36849e0e8af | d6070650c03a01dedebab53e9de70172691eeb16 | refs/heads/master | 2020-08-06T11:21:33.108365 | 2019-10-05T07:20:14 | 2019-10-05T07:20:14 | 212,957,892 | 1 | 0 | null | 2019-10-05T07:20:15 | 2019-10-05T06:57:53 | Python | UTF-8 | R | false | false | 1,181 | r | LOOCV.R | library (ISLR)
install.packages("boot")
library (boot)
Auto=read.delim(file="D:/CARRER/My_Course/Daily Classes/Module2/9 Assessing Performance/Re-Sampling Methods/CV/Auto.csv",header=T,sep=",")
dim(Auto)
names(Auto)
attach(Auto)
summary(Auto)
glm.fit=glm(mpg~horsepower ,data=Auto)
cv.err = cv.glm(Auto ,glm.fit)
cv.... |
59c604d947b5be9f3158aa0f29e37ce1afd882a6 | ab92c90db51c5ffb6e9e5b417936bef8c7318136 | /FindMaliciousEvents.R | 152a66cbcf539b4ce0abdfe0813b7ac37df93e8e | [
"MIT"
] | permissive | Richl-lab/recognize-unusual-logins | 87308b2052aa6207525234795fcb1c03e79fa5b5 | d82c685b94acfb9beb4c5e87407373387a27d8a5 | refs/heads/main | 2023-07-28T06:03:35.283611 | 2021-09-14T15:10:12 | 2021-09-14T15:10:12 | 375,682,044 | 2 | 0 | MIT | 2021-09-14T15:13:51 | 2021-06-10T12:01:15 | R | UTF-8 | R | false | false | 87,987 | r | FindMaliciousEvents.R | #!/usr/bin/Rscript --vanilla
#https://www.r-bloggers.com/2019/11/r-scripts-as-command-line-tools/
# Module: Bachelor thesis
# Theme: Detect malicious/unusual Login Events
# Author: Richard Mey <richard.mey@syss.de>
# Status: 28.07.2021
###########
# Comment #
###########
... |
9d1a6f867383c8817d9ddd81d28fad33850499b1 | 58c08466de73ff0d150c849063257684788e52cb | /man/project_maxent.Rd | af5be6cff2a8abf6a7e4252550d416f0c75f9fc9 | [] | no_license | johnbaums/things | 59649377b1e683bb912a2a21043f89efdb81ca33 | 3930b7d2e52fa80fe4956596ecb09c8d146ef7e7 | refs/heads/master | 2020-12-24T08:15:31.484749 | 2016-08-11T05:07:02 | 2016-08-11T05:07:02 | 39,105,105 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 3,519 | rd | project_maxent.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/project_maxent.R
\name{project_maxent}
\alias{project_maxent}
\title{Project a fitted Maxent model}
\usage{
project_maxent(lambdas, newdata, mask, quiet = FALSE)
}
\arguments{
\item{lambdas}{Either a \code{MaxEnt} fitted model object (fitted ... |
5dac291c0adde380da5a00f6dc1426d6f3b7b233 | 3af5d90172af27b5eafd7243d70be19e3fdab0c4 | /exercise-1/exercise.R | 69d635502a93a602d819b728f82ebe439b2068bf | [
"MIT"
] | permissive | Yubo-W/m8-dataframes | d129a49e5324112ef8405e04ce77ab8a36c9a6d0 | 47651f9abc30a80445837d81b34d67633d347805 | refs/heads/master | 2021-01-10T23:12:09.715629 | 2016-10-13T22:04:37 | 2016-10-13T22:04:37 | 70,634,404 | 0 | 0 | null | 2016-10-11T20:52:54 | 2016-10-11T20:52:53 | null | UTF-8 | R | false | false | 896 | r | exercise.R | # Exercise 1: Lists
# Create a vector of everything you ate for breakfast
my.breakfast <- c("fried rice", "bacon")
# Create a vector of everything you ate for lunch
my.lunch <- c("sausage", "eggs", "onions")
# Create a list `meals` that has contains your breakfast and lunch
meals <- list(breakfast=my.breakfast, lun... |
f2fe8bdcdf6e17c7ed95d8bf4968ae997755543c | 967d4193faebe58aaf9326144bb087e616a52349 | /src/COMP_LOG_FRAC.R | 060a2d44569f29c81109c2364aabb54873b285bb | [] | no_license | princerachit/stabilityofchaoticmaps | c81a55094be4ddba4d0f2bf5528e00621a3c4532 | 062cc54645712b9a64f5e2aaefb9445bde09ccfc | refs/heads/master | 2021-09-08T10:34:02.936692 | 2018-03-08T09:34:46 | 2018-03-08T09:34:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 832 | r | COMP_LOG_FRAC.R |
#Generation of fractals from complex logistic map
#Mamta Rani a, * , Rashi Agarwal b
cols <- colorRampPalette(c("white","yellow","red","black"))(5)
# variables
x <- seq(xmin, xmax,by=gap)
y <- seq(ymin, ymax,by=gap)
c <- outer(x,y*1i,FUN="+")
p <- matrix(c, nrow=length(x), ncol=length(y))
k <- matrix(0.0, nrow=length... |
f60201838beb7699cfa94c3469375e501a4e9af2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/quanteda/examples/fcm-class.Rd.R | 6858b2709aaa2572b89ab1083168f04e89062495 | [] | 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 | 841 | r | fcm-class.Rd.R | library(quanteda)
### Name: fcm-class
### Title: Virtual class "fcm" for a feature co-occurrence matrix The fcm
### class of object is a special type of fcm object with additional
### slots, described below.
### Aliases: fcm-class t,fcm-method Arith,fcm,numeric-method
### Arith,numeric,fcm-method [,fcm,index,in... |
7c3023b4232ee71e315097aefc193aeb20272d67 | bbf8b4fa0d3e5bcbd1076bcb332da488c6a0f14f | /R/R_API_celib.R | 931854fda683f2bbe6230123b7cf8dd8da32ea4e | [] | no_license | regardscitoyens/openfisca-web-notebook | 46611edd4ef159eb5de3aee040dcac3c5ac2ff3a | f4d8d58680011fbbb2f6c8ad24a023f2ee5c988d | refs/heads/master | 2021-01-18T09:18:12.959893 | 2014-03-22T14:07:03 | 2014-03-22T14:07:03 | 18,010,662 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,531 | r | R_API_celib.R | ####
### API needs JSON format input and gives JSON outputs
### This program :
# 1. converts an input data to a json file
# 2. get the results from the API and converts them to R data the outputs
##### 0. Preparation #####
# Warning : order matters in packages loading
library(rjson)
library(jsonlite)
library(httr)
... |
70b594b72e816e075c5c098becfb01af2cb1f1d8 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /ProFound/man/profoundDrawEllipse.Rd | c5a79e5dae2cf32a9526be45f0f6b6972e2bacd1 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,849 | rd | profoundDrawEllipse.Rd | \name{profoundDrawEllipse}
\alias{profoundDrawEllipse}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Draw Ellipse
}
\description{
Draws multiple ellipses on a plot window.
}
\usage{
profoundDrawEllipse(xcen = 0, ycen = 0, rad = 1, axrat = 1, ang = 0, box = 0, ...)
}
%- maybe also 'usage' for ot... |
572278c59f7e1002b8946c18aab7704e42f055f4 | f0b305ef32ab21d2ffa0b9aba3c86f56e91bd12b | /Environment_/Linear Regression/MLR_Assignment.R | eefd57aceac6b73a89d1e099a99a02bdc0db1011 | [] | no_license | manojnahak02/R-Irfan-Sir-Codes | f31c25140888c96453d652308271fff54611e036 | 8e7eae13fce0befb43142568ee04339268fc0c25 | refs/heads/master | 2022-11-24T21:31:46.879754 | 2020-07-29T17:03:54 | 2020-07-29T17:03:54 | 283,553,861 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,371 | r | MLR_Assignment.R | ## OBJECTIVE: To find out the whether there is a relation between PM10 and other pollutants.
# To select the file
data1<-read.csv(file.choose())
#To show the data
View(data1)
#To show the header of each column
names(data1)
#Check the data type for each column
str(data1)
#converting Zn to num as it's data typ... |
6c1669ad2c9ae69d5f59c3a785c1b9570c441d34 | 88a4f8854572e5482baf63c0b4bde90d2a7ec31b | /R/timelinejs.R | c13d5cf64dded922250b62ec859540bcff11c207 | [
"MIT"
] | permissive | jpmarindiaz/timelinejs | f999222d72fa58a76e51e70b1d9cfc4868f7a73c | c5e78b27e816f5e308431a960cd04a134ec5191d | refs/heads/master | 2021-01-15T12:02:20.902512 | 2017-11-01T23:19:45 | 2017-11-01T23:19:45 | 99,644,256 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,158 | r | timelinejs.R |
#' @export
timelinejs <- function(d, title = NULL, era = NULL, scale = "human",
opts = NULL, debug = FALSE,
width = NULL, height = NULL, ...) {
#opts <- parseOpts()
opts <- parseOpts(opts = opts, ...)
if(!scale %in% c("human","cosmological"))
stop("Scale must be... |
b72384230ba10e701d0a657c8aeb29884542928c | 8a9e282803403adaa8ec2a8eafd048ced37265ca | /11 - Support vector machine/shiny/ui.r | dc091dbcd794625794d02e5127669883fdbdee82 | [
"MIT"
] | permissive | shadowusr/ml-course | 481f350fa34881aac21ce9ea84d3a5bfb168824f | 5e336dc47ed9dff71877e830a4d67afd8a23a8a1 | refs/heads/master | 2023-02-03T02:28:50.792565 | 2020-12-21T16:43:00 | 2020-12-21T16:43:00 | 294,619,134 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,201 | r | ui.r | library(shiny)
library(matrixcalc)
library(plotly)
ui <- fluidPage(
titlePanel("SVM demo"),
sidebarLayout(
sidebarPanel(
h3("The first class specs"),
h6("Expected value, μ"),
fluidRow(
column(6,
numericInput("mu11", value = 1.825, label = "μ1")
),
column... |
0dd23a20211a83f00b3b9238d013573a7be19d6e | 7aeb132d2cc105818a4437e1eaa2390d66582fa1 | /man/get_ha_number.Rd | 37880e9bb81ada83dda8508423d78c3d5413bf0a | [] | no_license | sokabayashi/nhlutils | d7d57ad1db14f01f631738b801c799cc84351ab3 | 9ab46a6ebb3b0bee711e53113184b08b4924d9d9 | refs/heads/master | 2021-03-24T13:12:33.880828 | 2016-09-07T15:38:23 | 2016-09-07T15:38:23 | 44,276,711 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 415 | rd | get_ha_number.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gameutils.R
\name{get_ha_number}
\alias{get_ha_number}
\title{Convert (ha, number) pair into ha_number}
\usage{
get_ha_number(ha, number)
}
\arguments{
\item{ha}{String "H" or "A"}
\item{number}{Jersey number}
}
\value{
String of form ha_num... |
69d688033d0208a04e8e26685e24b53164d80840 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/SSBtools/examples/HierarchicalGroups.Rd.R | ba15fb3d19d63f8bf01b2824c93db672abda0ba4 | [] | 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 | 300 | r | HierarchicalGroups.Rd.R | library(SSBtools)
### Name: HierarchicalGroups
### Title: Finding hierarchical variable groups
### Aliases: HierarchicalGroups
### ** Examples
x <- rep(c("A","B","C"),3)
y <- rep(c(11,22,11),3)
z <- c(1,1,1,2,2,2,3,3,3)
zy <- paste(z,y,sep="")
m <- cbind(x,y,z,zy)
HierarchicalGroups(m)
|
1a61563454695734de728258bd989b41269c8f47 | 20925a992f5e542366b049232bdea1aa7aca1112 | /man-roxygen/dat.R | def12f4d0bfcdee785ccae98e9fb1c5cffa045c9 | [] | no_license | r4atlantis/atlantisom | 608a42edcfa16a4e4ee1cbc449d12f26fd15421a | b39a88f268a76014de9844ae8fffa67876c218fd | refs/heads/master | 2023-06-25T13:57:15.235092 | 2022-06-30T22:30:05 | 2022-06-30T22:30:05 | 47,479,048 | 7 | 6 | null | 2021-04-29T14:03:50 | 2015-12-06T01:14:26 | R | UTF-8 | R | false | false | 359 | r | dat.R | #' @param dat A \code{data.frame} of numbers at age containing the following columns:
#' \itemize{
#' \item{species}
#' \item{agecl}
#' \item{polygon}
#' \item{layer}
#' \item{time}
#' \item{atoutput}
#' }
#' The \code{data.frame} is generated from either \code{\link{create_survey}}
#' o... |
8033c1322c14d78d4372a74ac766a16935ad66e0 | 2a1a0925c7ea2826e5f4148e08ecc4775f57fbd6 | /example-2/hrs_wyppt_mm/calling-script.R | 8457db9bdd60fa7623f14f266aa9cf9bb7ada518 | [] | no_license | nationalparkservice/bayes-for-non-ignorable-designs | e87b5682c3189c9d308834f1d3931f4469c97484 | fec95df52b0cb9a55171c5bdfa85f586d2293091 | refs/heads/master | 2023-08-03T14:01:22.197469 | 2021-09-16T18:33:53 | 2021-09-16T18:33:53 | 404,710,509 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,514 | r | calling-script.R | library(tidyverse)
library(rjags)
library(coda)
load.module("dic")
source("utils.R")
args <- commandArgs(trailingOnly = TRUE)
frac_iter <- if (length(args) == 0) 1 else 1 / 4
# Set example / project paths and source required utilities.
ex_path <- get_ex_path()
output_path <- get_output_path(ex_path)
# Load the tabul... |
3c39e544a1cae0e37fc9ae06e4139bb7364c622d | 9d3fef10fd5845f31373ef19599f2a4498ac8837 | /R/easingr.R | 468964337a0c86d5f688688e9a10c2ad4e46a271 | [] | no_license | arturochian/easingr | 8dcdc301c70043cbb4edd93caf41864d1a93d074 | a46917a9c5a95951ba04f695a61fd6cf167030ef | refs/heads/master | 2020-12-24T14:10:29.145820 | 2014-11-05T01:07:36 | 2014-11-05T01:07:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,218 | r | easingr.R | #' @title Get credit easing data.
#' @description Downloads Cleveland FRB credit easing policy tool data.
#' @details Forms a query using the given \code{id} and submits the query to the data site, thereby downloading the requested data in CSV format. Transforms the CSV into a data frame, transforms the character date... |
73cbce534d05164944b47486d0099198a04b1fdb | 3185e97bf12b55436851d0a1ac141e249907d6cf | /Plot4.R | 90b6d506f1eb12b8272d0d7a18477075c9d4ac12 | [] | no_license | SamyakShah21/Exploratory-Data-Analysis-Week-4-Project | b72e2057b396ec97bb551b7dbb1720ee1361e7f8 | a57d729d9338a589fbcf49200ecfec5a27adf61d | refs/heads/master | 2022-06-10T16:39:40.387116 | 2020-05-08T19:48:44 | 2020-05-08T19:48:44 | 262,411,236 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 808 | r | Plot4.R | #It is assumed that the file has been dwnloaded and unzipped.
#The path for the directory may vary.
setwd("C:/Users/Samyak/Desktop/Academics/Coursera/Data_Science_JHU_4/Week_4")
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
library(ggplot2)
library(dplyr)
png(filename... |
cbe3c08f0a805c4b4f7979f5f10e35b2316b15e8 | 60f7c788937e67e94fa86f0f9bbdaac3f2d7e2c4 | /Scripts/01_Fn_SimPropModel.R | dfad2934af996f9a691f4be24ad622591f22ef8f | [] | no_license | AMDraghici/correlation_within_pair_bonds_CJS | 3a812429105db0ee25e342392338d67cdf4a2683 | d6a2acf2577667fc9c1f580cb2e2fc76c0cadbea | refs/heads/main | 2023-04-19T05:32:07.224213 | 2022-05-01T06:09:39 | 2022-05-01T06:09:39 | 328,504,069 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,214 | r | 01_Fn_SimPropModel.R | #############################################################################################################
### This script contains functions used to simulate a single dataset from the proposed model of the manuscript
###
### NOTE: Code should not be run directly in here. Source() in this script using
### ... |
5e2eeb5ee2c97d3faaa6649fa18927f32d26cce3 | ac743b1fa58c9c5030efd800e36c1932fd85362f | /R/save_tmaps.R | 5d3926db3443dfc6dd7a7392fd7c80b14de99cfa | [] | no_license | DanOvando/demons | 1a76e8e37c65d9e1a62d23fe56679ebd12e9d8d7 | 448e5db5d4dcad337d8e43352814840c946789e9 | refs/heads/master | 2020-06-13T21:23:39.763298 | 2018-10-23T18:10:37 | 2018-10-23T18:10:37 | 83,343,896 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,023 | r | save_tmaps.R | #' save_tmaps saves all plots in the environment tagged
#' with the appropriate variable name, such as '_plot'
#'
#' @param plot_dir the directory to save plots
#' @param extension the extension to save the plots as
#' @param plot_tag the tag to identify what's a plot
#' @param fig_width the height of the figure in inc... |
41f27ef547771476d6deef490e8024bed26a2aab | 28c837b92420a08ef0c6adcb961704094257f61f | /replicationCode/13-generateComparativeExample.R | b04960334e4e0b19b8f001f24bc3c776561f7585 | [] | no_license | theo-s/ridgeEvaluation | 07d50bbfee1463cd7c2be28064a5b03297d3f89d | b3d9447b69afad79188a76a2f2aee581d1446a6b | refs/heads/master | 2021-06-10T21:10:37.319036 | 2021-05-05T21:03:00 | 2021-05-05T21:03:00 | 149,820,691 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,648 | r | 13-generateComparativeExample.R | # A Simple example illustrating the flexibility of Linear Random Forests
setwd("~/Dropbox/ridgeEvaluationCode")
set.seed(4335)
library(forestry)
library(grf)
library(ggplot2)
library(dplyr)
library(reshape)
n <- 100
x <- runif(n,0,2 )
noise_less_y <- ifelse(x > 1, -2*x+ 4, 2*x )
y <- noise_less_y + rnorm(n, sd = .3) ... |
7c643d60012411d6d88cb57c3bd25f2df18f197e | d9c9a98ebac494fbddea79be4996b89a6d5f86e2 | /functions_sampling.R | 285a7be9dac151fdc6007b4f27b58cf4b53dc051 | [] | no_license | cbarbu/SynWood | 9ec37be85a269cb507dd5a67137723b8a6e0e9bc | 706f44d122ed6e689bf812fba56f0a9b7d3f1378 | refs/heads/master | 2021-01-16T21:22:23.649273 | 2012-10-19T17:31:18 | 2012-10-19T17:31:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,161 | r | functions_sampling.R |
#============================
# Perso MH
#===========================
# function sampling a parameter fed to Model
normSample<-function(Model,Data,oldTheta,nameParam,sdprop){
# identify param to sample
names(oldTheta)<-Data$parm.names
old<-oldTheta[nameParam]
# cat("parm:",nameParam,"old:",old,"oldTheta:",old... |
8e71480abee363f276a0117efff88d9ac53b1e1a | 0c2c555accd7311bc988ef87c3093055db4eaf25 | /R/odin.R | 99dd2ae13f2253782f4e1fda0b3acbd3bd707f4d | [] | no_license | Geidelberg/cotonou | 1dc491e8f659ba431d2fbbec43ad19934457e7ba | b0cc0c0afae63bad0e2aeb073c60a60928c51c50 | refs/heads/master | 2021-06-05T09:43:07.530294 | 2020-07-27T11:37:32 | 2020-07-27T11:37:32 | 87,826,062 | 0 | 3 | null | 2020-01-15T10:02:21 | 2017-04-10T15:18:39 | R | UTF-8 | R | false | false | 14,106 | r | odin.R | ## Automatically generated by odin - do not edit
.main_model <- odin:::odin_c_class("main_model", list(get_internal = "main_model_get_internal", finalise = "main_model_finalise", create = "main_model_create", initmod_desolve = "main_model_initmod_desolve", contents = "main_model_contents", set_user = "main_model_set_us... |
81ea5258e7d875c132418e1d5c8bccee165c6490 | a034d355e35d8fa4fc562b8f71a771bca760a877 | /R/QC.R | 11883415c8ea1ca10d9e49ea4a34c6ca57157a57 | [] | no_license | tshmak/Tmisc | eeda1df8d449c3df7dd0d91f6ee698b10f6f3839 | 81f224e89a8d2ee9455f5ccfd1eae34e0ef7d8c6 | refs/heads/master | 2021-07-15T13:27:45.526848 | 2020-05-14T05:34:18 | 2020-05-14T05:34:18 | 144,684,908 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 849 | r | QC.R | QC <- function(X, MAF.min=0.05, HWE.min=1e-6, batch=F, ...) {
### Function to do QC
### X should be a matrix of SNP genotypes
### batch: make use of ffcolapply in ff package for batch processing
### to save memory
### ...: Other arguments to pass to ffcolapply
if(!batch) {
colMea... |
087900b018a98866bf9a58840e501b16d1e22118 | a854f6b525ee5b2434a813ef7599c6164209fcf2 | /content/post/2022-04-23-tf-dataset-from-3d-nifti/featured.R | 9c8e5a78000fcb5a554691bc8271b4195a7b2f19 | [] | no_license | psadil/psadil | 22514d470296f340961153b87f906a9d1ac9d463 | b45b1de5c46e2cc77360c7cfe8fb90b9b89d55c2 | refs/heads/main | 2023-09-04T11:39:47.437314 | 2023-08-22T12:51:40 | 2023-08-22T12:51:40 | 115,663,041 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 403 | r | featured.R |
library(flametree)
# pick some colours
shades <- c(
"deepskyblue",
"darkolivegreen",
"gold3",
"red3")
# data structure defining the trees
d <- flametree_grow(
time = 6,
trees = 2,
seed = 365,
split = 3)
# draw the plot
d |>
flametree_plot(
background = "gainsboro",
palette = shades,
... |
3d56240d43be2d665943588621102f1639a23f4a | ed6d69f508ef11d9a24deece7fa40e52f91453e6 | /plot2.R | 97338c4a98ed27ad6c5a27ce708d170c29077ff5 | [] | no_license | Matthew-Amos/ExData_Plotting1 | bac80b5ba21105b3f24eff20f79d6b681bf03650 | e60ba0ec77e8c73ed9a443cc68a21eccdb73fad0 | refs/heads/master | 2021-06-01T00:44:56.279096 | 2016-02-03T01:29:50 | 2016-02-03T01:29:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 194 | r | plot2.R | source('load_data.R')
png('plot2.png', bg = "transparent")
plot(dat$DateTime, dat$Global_active_power,
type="l",
xlab = '',
ylab = 'Global Active Power (kilowatts)')
dev.off() |
616df22be40435dcca84102b7f729f6b6748ad68 | 187d170f88518defcceb303502419962b453fa71 | /man/CriteriaSet.Rd | 4361ea3c8c68101176e317af4fd86f398c72a433 | [] | no_license | vubiostat/wfccmr | 8cec84461825caae45fa19fd2372ce3d7eb33bb6 | 9a1a340ac5e93133eec781418206d0d1fc9e460e | refs/heads/master | 2020-06-01T06:57:12.552197 | 2009-02-23T22:29:08 | 2009-02-23T22:29:08 | 115,112 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 708 | rd | CriteriaSet.Rd | \name{CriteriaSet}
\alias{CriteriaSet}
\alias{is.CriteriaSet}
\title{CriteriaSet objects}
\description{
Create or test for objects of type \code{"CriteriaSet"}.
}
\usage{
CriteriaSet(criteria = Criteria(), pass = "")
is.CriteriaSet(x)
}
\arguments{
\item{criteria}{object of type \code{"Criteria"}}
\item{pass}{cha... |
a231c68d77d4dbbf0121ba31fae7cb80061e0c12 | 1d0c61f8a764dcefcd333b60d2916cefb9fe7b0e | /run_analysis.R | 2547e5c592217462bab168b0070ccd0ccdf4bdef | [] | no_license | datasciencefan/GettingCleaningData | ee49811ffe45c71e3f1dce3a4619b77806a6f944 | e5b01ce1fb390ea55bf120c1e5080358456fb10e | refs/heads/master | 2016-09-06T19:47:59.255387 | 2014-04-27T18:23:49 | 2014-04-27T18:23:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,530 | r | run_analysis.R | #Load the raw data into R
trainX <- read.table("./UCI HAR Dataset/train/X_train.txt")
trainY <- read.table("./UCI HAR Dataset/train/Y_train.txt")
subject_train <- read.table("./UCI HAR Dataset/train/subject_train.txt")
testX <- read.table("./UCI HAR Dataset/test/X_test.txt")
testY <- read.table("./UCI HAR Dataset/test... |
182fd0500d4d252d4b8ce19c47234a87b2a26e01 | a0aacfded5e9cc6b90ee9e4a5dcd41d80f6015e9 | /R/re_exports.R | 894ca9ade01eceac48cf6f79440f4f84fc8d5ab4 | [
"MIT",
"CC-BY-4.0"
] | permissive | lbusett/antanym | f86746bcb777e699c75cd6354188540d8b9a337d | 2a6fee4e09dc039922832a04b6ec14ba3032e659 | refs/heads/master | 2020-03-11T05:15:28.618319 | 2018-04-22T21:13:56 | 2018-04-22T21:13:56 | 129,797,394 | 0 | 0 | MIT | 2018-04-16T19:50:51 | 2018-04-16T19:50:51 | null | UTF-8 | R | false | false | 27 | r | re_exports.R | #' @export
magrittr::`%>%`
|
cff9360e41996efe32d1fc6e6088997746fc2377 | bf64af11943bfe65c4904cb0f673328e1d0315a0 | /pipelines/Deprecated/Trying to make functions.R | 218d9b6fd64f4740a765bbb49893364c75a7368f | [] | no_license | Primordial-Haggis/birds_misc_R_Scripts | 41f07674b9d91b981c8c64e57fdd3ce6f5aee809 | 1d71a711ed8e7b925d8b637e921f6048ae7ac10d | refs/heads/master | 2022-06-17T22:43:38.070518 | 2019-10-25T17:50:23 | 2019-10-25T17:50:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,768 | r | Trying to make functions.R | library(dplyr)
library(readr)
library(data.table)
library(DescTools)
library(tidyr)
crusade_df <- read_csv("data_sum_OTU.dat")
#data_sum_OTU <- crusade_df %>%
# dplyr::select(c(Order, Family, Genus, OTU), c(8:38))
# Trying to replace All of this nonsense with a function ------------------
clean_test <- crusade... |
01b17a4339feb7b7bd85fa86360cd2f0cc42b1e8 | ba5e8bafef9c419a5f2c458b0fb3b9ea29fdbcb1 | /R/reverseEdgeDirections.R | 1a164f09c75623eb97fa7c23cafecdaee18e74b2 | [] | no_license | Bioconductor/graph | eb5e26d0a287eafed39f99694f9cd04ee952cd83 | 91706d22ecc17cb42de0395803272740a99d5942 | refs/heads/devel | 2023-08-29T12:39:45.270517 | 2023-04-25T13:38:48 | 2023-04-25T13:38:48 | 102,150,187 | 3 | 15 | null | 2023-03-27T20:24:28 | 2017-09-01T20:22:29 | R | UTF-8 | R | false | false | 314 | r | reverseEdgeDirections.R | reverseEdgeDirections <- function(g) {
## FIXME: This needs to fix edge attributes, but for now, we punt
## and we are only using node attrs here anyhow...
gam <- as(g, "graphAM")
nodeNames <- nodes(g)
gam@adjMat <- t(gam@adjMat)
colnames(gam@adjMat) <- nodeNames
as(gam, "graphNEL")
}
|
cdf715f92719c2d7b1dc34524de1abd33f7ffc93 | e6e018524f8b64671864317831a9fb12a1ed763f | /Getting_&_cleaning_data/Getting&CleaningData/run_analysis.R | 69b93ab7eae09e5e9e2778f6acb810d9963420ef | [] | no_license | Mbe45/Gettingandcleaningdata | cf45dec850830ef6773fcd874e5281520fc7ae6e | 6b80d2bf65bbd6548828f0042cac3a156204375e | refs/heads/master | 2021-01-21T12:50:13.052730 | 2017-08-21T21:39:29 | 2017-08-21T21:39:29 | 91,802,560 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,596 | r | run_analysis.R | ###### this script is about the curse
###### project in getting and cleaning data,
###### which is part of the Data Science Specialization
##### offer by JHU through Coursera Platform
##### 19/05/2017
####Mbecho Techago Emmanuel
###The task to perform
###1Merges the training and the test sets to create one data set.... |
8e53a90c86cb73b2453a7ff20b52c153e90228eb | 89ba97bd314b82085d4cd4b5bce59e4f1686698f | /man/facet_limits.Rd | b115d3193c61175c42d5b217a4e18594fe012a56 | [] | no_license | raredd/plotr | b863bc3a1d5d6623b4ce9fb01e9524434efe710b | a39426d3fe4a1dd1870bd8e5d64c789b15677e93 | refs/heads/master | 2022-09-11T16:19:30.157318 | 2022-09-02T03:53:19 | 2022-09-02T03:53:19 | 27,737,506 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,838 | rd | facet_limits.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ggplots.R
\name{facet_limits}
\alias{facet_limits}
\title{Custom facet limits}
\usage{
facet_limits(pl, limits, useNA = c("ifany", "no", "always"))
}
\arguments{
\item{pl}{a \code{\link{ggplot}} object}
\item{limits}{a named list containing ... |
f256e9b20c7ebf0fc501da25afd0e5513a4d57e0 | a84d320d18ad67fc717a70f2ed196af3797eaaca | /reporting-grofwild/man/loadToekenningen.Rd | d023e113d7b09a230398c5ba7d8234a8f2175c62 | [
"MIT"
] | permissive | inbo/reporting-rshiny-grofwildjacht | 858e92cc4e701a621788e76e75596b693f7d81c9 | 4bebff97f0e84146e2a702b057bf671716df1fc8 | refs/heads/master | 2023-07-25T16:15:27.551309 | 2023-07-14T13:04:20 | 2023-07-14T13:04:20 | 88,876,066 | 1 | 1 | MIT | 2023-09-06T07:42:48 | 2017-04-20T14:37:50 | HTML | UTF-8 | R | false | true | 1,042 | rd | loadToekenningen.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_load.R
\name{loadToekenningen}
\alias{loadToekenningen}
\title{Read toekenningen (Ree) data}
\usage{
loadToekenningen(
bucket = config::get("bucket", file = system.file("config.yml", package =
"reportingGrofwild"))
)
}
\arguments{
... |
a949a43f76c539058427450aac6b69723c91ff86 | 9d3a4709b30707fd58a6e179c2719a9c0d117ccd | /machine-learning-ex4/R version/checkNNGradients.R | 290e56a08ceed96829c91cb8a8cb197d33362825 | [] | no_license | lucariel/ML_coursera | 0d02b150de5b09af3e4ccc4be2e44637e4850562 | 8b4c57814fcc6b0939b1eea25bd0ea29c7ca4cb1 | refs/heads/master | 2020-04-21T14:40:08.104809 | 2019-03-22T13:26:44 | 2019-03-22T13:26:44 | 169,642,627 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,161 | r | checkNNGradients.R | #########checkNNGradients and auxiliar functions for the checking
checkNNGradients<-function(lambda = 0){
source("aux_functions.R")
source("nnCostFunction.R")
input_layer_size <- 3
hidden_layer_size <- 5
num_labels <- 3
m <- 5
# We generate some 'random' test data
Theta1 <- debugInitializeWeights(... |
df5c5e1074277543d3c9ffcd1c2c72d41dadeefd | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/JMbayes/examples/survfitJM.Rd.R | 795eaf598c4fd66c79c001eb56a88522c94bab50 | [] | 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 | 2,679 | r | survfitJM.Rd.R | library(JMbayes)
### Name: survfitJM
### Title: Prediction in Joint Models
### Aliases: survfitJM survfitJM.JMbayes survfitJM.mvJMbayes
### Keywords: methods
### ** Examples
## Not run:
##D # we construct the composite event indicator (transplantation or death)
##D pbc2$status2 <- as.numeric(pbc2$status != "alive"... |
8c6db951715d5d8e02220328b4952605157a610e | 8ca4a11106d883c6ada47acae72757018a77cb0d | /V1/func.R | 27fde3a18ebea8d2a9272f99b7c28379970ab37b | [] | no_license | kgalinsky/GroupLasso | b8e818779ba10c0b9f8280113bb30ea378f40f27 | 209af88aee576b325c1e9553a95d384df03de102 | refs/heads/master | 2020-03-28T16:27:47.536281 | 2018-09-13T20:49:22 | 2018-09-13T20:49:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,934 | r | func.R | ### Logistic
f <- function(beta,X,y) { -t(y)%*%(X%*%beta) + sum(log(1+exp(X%*%beta))) } # objective function
gradf <- function(beta,X,y) { -t(X)%*%(y-plogis(X%*%beta)) } # gradient
### Ordinary
f <- function(beta,X,y){ 0.5*norm(X%*%beta - y, "F")^2 }
gradf <- function(beta,X,y){ t(X)%*%(X%*%beta - y) }
### Penalty
s... |
796b58589b09c481c02cd4e275d8add5da35c9a6 | cf4f79fa6328ae5cd50ecc4d4f4c0ae283b65db1 | /R/1_Discretization/main_discretization.R | 5dcc1eb0cea8cfa16a63f4617bb7e4ef5351bbd8 | [] | no_license | keizai-seminar-quant-macro/chapter2 | 9736332138fe516fca851aebc817d025d91de714 | 8f9b53a2edf473fce804d67148ede4cd35c4b090 | refs/heads/master | 2020-04-21T19:38:36.150834 | 2019-04-18T08:58:51 | 2019-04-18T08:58:51 | 169,814,328 | 6 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,008 | r | main_discretization.R | # メインファイル
# 状態変数と操作変数を離散化して2期間モデルを解く.
# environmentから変数をクリア
rm(list=ls())
source("CRRA.R")
# カリブレーション
beta <- 0.985**30 # 割引因子
gamma <- 2.0 # 相対的危険回避度
rent <- 1.025**30-1.0 # 純利子率
# パラメータ
nw <- 10 # 所得グリッドの数
na <- 40 # 貯蓄グリッドの数
w_max <- 1.0 # 所得グリッドの最大値
w_min <- 0.1 # 所得グリッドの最小値
a_max <- 1.0 #... |
cb6eea75b88f83b38f89afde67dd815bea167616 | 4c0ee84e0691c47eee62348fe5b5621236c633cf | /Meyers-monograph/appendix/SCC.R | fe94cf0100aa133a4319eae6c25fa4b34594cdd3 | [] | no_license | problemofpoints/advanced-reserve-methods | 2ebdeb5400b3405511b745480cd51a20c18d42f1 | 464b96891f2ac75396ef972925d46fa6ed290c9f | refs/heads/master | 2020-07-28T10:57:41.677904 | 2020-01-03T21:57:30 | 2020-01-03T21:57:30 | 209,399,584 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,672 | r | SCC.R | #
# Script to run the SCC Model on data from the CAS Loss Reserve Database
# Uses Stan for the MCMC run
# by Glenn Meyers
# Run time on my computer - < 1 minute
#
####### Most of the script is in functions - They are called at the end.
#
#
rm(list = ls()) # clear workspace
t0=Sys.time()
#
# get packages
#
library(rs... |
437777b85b9da200096f33a6272999c0e5fdc082 | 72513a9502cd2247b2ddbb8f9c05520d09851d69 | /man/pin_convert.Rd | ea4158d0b1ba28aa373bbde9520f82fafb381e91 | [] | no_license | kozo2/sweidnumbr | 8187c2dab554286da3d5ca670aaf328a23a50cd7 | eb338dc206e8b0a9aab54ef77ec2dd6766123390 | refs/heads/master | 2021-05-10T12:35:11.191839 | 2016-09-14T14:54:19 | 2016-09-14T14:54:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 437 | rd | pin_convert.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pin_internal.R
\name{pin_convert}
\alias{pin_convert}
\title{pin_convert}
\usage{
pin_convert(pin, format)
}
\arguments{
\item{pin}{A character element of length one.}
\item{format}{Which format should be converted. See \link{as.pin}.}
}
\va... |
70c37cb30be0c068e40f222f712a94af9394e3ff | 39da6ebcf2d578230dbaf05713864757ac85da0c | /Plot1.R | 7470e649a4371440953a27085a82efb35a04e5e4 | [] | no_license | HuichunChien/ExData_Plotting1 | 6b106fa75d6f4ce4528e5ab564260b5a418941cb | b7d78d1c5c1d0323fdbc2e32122a4514b87056e6 | refs/heads/master | 2021-01-17T15:49:20.792191 | 2014-10-12T22:57:34 | 2014-10-12T22:57:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 616 | r | Plot1.R | # Plot1.R
data=read.table("household_power_consumption.txt", na.strings = "?", sep=";", header=TRUE)
#get subdata with data are 1/2/2007 and 2/2/2007
subdata<-subset(data,data$Date=='1/2/2007'|data$Date=='2/2/2007', select=c(Global_active_power,Global_reactive_power,Voltage,Global_intensity ,Sub_metering_1,Sub_meterin... |
7322b7648e6e0b1b19a779adde50de1d35d2e616 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/intReg/examples/coef.intReg.Rd.R | 0c8fa238c4322137dc8210957bd1a92373f6d185 | [] | 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,310 | r | coef.intReg.Rd.R | library(intReg)
### Name: coef.intReg
### Title: Extract (only informative) coefficients, standard errors, and
### variance-covariance matrix from 'intReg' model.
### Aliases: coef.intReg print.coef.intReg print.summary.intReg
### summary.intReg stdEr.intReg vcov.intReg
### Keywords: methods
### ** Examples
## ... |
48c6f3cb267e107bbf437c65b2f8d9811bde2c70 | 3bcfdd173001146e637d459b05a8e3e2723cd4f7 | /scripts/pipeline_all_diseases.R | 1592253624a24201c56b3c608ddf482d1e781564 | [] | no_license | aidanmacnamara/netChoose | 2c97e0f0717969c6ea215098ca15a3a706ca271b | b1b4ced8c54da2e4b8879b68b1fdbe2d511cc168 | refs/heads/main | 2023-01-24T18:28:02.954851 | 2020-11-24T05:15:05 | 2020-11-24T05:15:05 | 315,525,039 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,053 | r | pipeline_all_diseases.R |
# LOAD --------------------------------------------------------------------
require(tidyverse)
require(biomaRt)
require(eulerr)
require(jsonlite)
require(readxl)
require(igraph)
require(sparklyr)
# MAPPING -----------------------------------------------------------------
mapping = read_excel("gwas/HumanGeneList_17... |
292f43c8f3213cf9a6cc50d15151fb77efd30711 | 3413a4251da58e64b85b6f07055c7ee250fa853d | /MATCH/EMA/maintainenceClean/match_ema_clean_diagnosis_w3.R | b865feb4fc37affa4d44866d0ab2fe13e5301c34 | [] | no_license | wangjingke/reach | 48dd0da6901f8393f22c4db02fce7d5fc10f214c | 1320fd5e9f76533ffe0e3d1e124ce8ed10673aa1 | refs/heads/master | 2020-05-21T14:59:02.926515 | 2018-04-23T03:43:29 | 2018-04-23T03:43:29 | 63,976,443 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,330 | r | match_ema_clean_diagnosis_w3.R | work_dir <- "D:/REACH/MATCH/EMA_Clean/Wave3"
setwd(work_dir)
source("D:/GitHub/reach/MATCH/EMA/backend/match_ema_promptList.R")
library(XLConnect)
w3 <- readWorksheetFromFile("D:/GitHub/reach/MATCH/EMA/backend/match_ema_keys.xlsx", sheet = "W3", colTypes = "character")
w3 <- w3[!is.na(w3$w3_start),]
w3$DID <- ifelse(n... |
ebecea1dd2b7460d560603ca1393ff12b02d2d8a | 007757ece48ebd78299fb8395ae17eae3f9d6c09 | /analysis/networks/src/not_in_ms/specMets.R | c115fee3950426c7ca90b05af3e8de5ad46186af | [] | no_license | Lucy-Guarnieri/hedgerow_metacom | d8f4124d9e5d96953e7721a1a1e9257bf46e2411 | 3a91700551c7687134902666218a8a34d35bed7f | refs/heads/master | 2022-10-17T06:48:48.002125 | 2020-06-12T20:31:49 | 2020-06-12T20:31:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,367 | r | specMets.R | rm(list=ls())
setwd('~/Dropbox/hedgerow_metacom/analysis/speciesLevel')
source('src/initialize.R')
## **********************************************************
## species level metrics
## **********************************************************
spec.metrics <- calcSpec(nets, spec, spec.metric = "degree", 3)
save(sp... |
bb2062f02a6cd6b3ae7d8fc2d2f38c392fed80dd | 14edd8524265d64b1713909c83086a81bfbf6eaa | /R/elo_lookup.R | 1292a31434d345d1e105bbdf431eeeeff5ab0913 | [] | no_license | jotremblay/inmatch_api | 43847d21cda3356bcfe7a55e6cc7ac0cc271ec94 | 29a9f568786703a60811c9ea7b2e6ff8337cfbb8 | refs/heads/master | 2021-01-04T06:19:56.823230 | 2020-01-17T02:42:36 | 2020-01-17T02:42:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,350 | r | elo_lookup.R | #' Current Elo
#'
#' Extracts current elo from stored "elo" data
#'
#' @param id1 Character id of player 1
#' @param id2 Character id of player 2 (if doubles)
#' @param mens Logical if mens or womens match
#' @param default Numerical rating used when ID not found
#'
#' @return Numeric elo value
#'
#' @export
elo_lookup... |
5f472df060cd49541739b74be21e687458493a95 | 41a532d92286f1e2c95c355ae7cda970b2447003 | /ENMeval_Modeling.R | 13eea8b9c25f33cd350e10670dadb0ade832bf4c | [] | no_license | Shenggeqianxing/ENM | e6215855b9e572945b9dd92337b7d502b1d6975f | 9b6ad24ff9096866e6a9eaa96c83cfb0946f9c64 | refs/heads/master | 2023-01-08T00:53:39.974471 | 2020-10-24T02:55:07 | 2020-10-24T02:55:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,710 | r | ENMeval_Modeling.R | ## A.E. Melton
# Script to run ENMEval
### Install required packages
#library(devtools)
#install_github("bobmuscarella/ENMeval@master", force = TRUE)
#devtools::install_github("Pakillo/rSDM", force = TRUE)
#options(java.parameters = "- Xmx16g") # increase memory that can be used
#library(devtools)
#install_github('jo... |
56eb738cab422db500ce48d7c880a5261c4b790a | 9a49c0e424edfa60ab81fc07693f9c05f3cf984e | /R/testROH.R | a6d2b87dd550671ae68613b6695435edf773d829 | [] | no_license | HenrikBengtsson/PSCBS | c6967835662c27512e668f1a63e5cf3fccb10b3c | 4f6ccedc90d8cf58344b8dd436b5b9c82dab07ed | refs/heads/master | 2023-01-10T01:03:29.915343 | 2021-10-23T08:00:28 | 2021-10-23T08:00:28 | 20,844,732 | 9 | 6 | null | 2018-04-11T02:17:13 | 2014-06-15T00:15:30 | R | UTF-8 | R | false | false | 5,449 | r | testROH.R | ###########################################################################/**
# @set "class=numeric"
# @RdocMethod testROH
#
# @title "Tests if a segment is in Run-of-Homozygosity (ROH)"
#
# \description{
# @get "title".
# }
#
# @synopsis
#
# \arguments{
# \item{muN}{An @numeric @vector of J genotype calls in
# ... |
5b16c80dd5e69a943a605536c6812d64d9be9c15 | 0cb6804ae4b54daa547311909c12805cc31dbb41 | /run_analysis.R | f781c3bda2664efb0544b6593ba0290c1ded8323 | [] | no_license | efrainplaza/GettingAndCleaningData | 588edea4a48c6c63d4caeb50a90b8dcd1489c34c | ff6520b0bac82a8c02670a573691befff2d8fc42 | refs/heads/master | 2020-03-20T02:01:29.115878 | 2018-06-18T20:54:28 | 2018-06-18T20:54:28 | 137,096,842 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,690 | r | run_analysis.R | ## This script reads and merges data to create a Tidy Dataset
##Libraries
library(dplyr)
# Load data for test sets
setwd("C:/Data/R/Getting and Creating Data Week4/Week 4 Final Project/UCI HAR Dataset/test")
test_set <- read.csv("X_test.txt", sep = "",header = FALSE)
test_keys_set <- read.csv("y_test.txt", sep = ... |
6c8df1b7af20a67aaed46d7dd78c42fd2b6136f9 | f0fcba83d61b4e6c6da3de57cd9f666e42d6bc7d | /R/VRIInit_siteTree.R | 1c660f28d164eabadd8ba791aa5ccaaf7c79250d | [
"Apache-2.0"
] | permissive | Miss-White/BCForestGroundSample | 42dfe06e7debe04e2f8fcde42fb8b0b499308a4d | 9d2761276fbc7b3aef2fedf03e073f8753cd0058 | refs/heads/master | 2021-04-06T03:59:26.127425 | 2018-03-02T17:00:21 | 2018-03-02T17:00:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,433 | r | VRIInit_siteTree.R | #' Load and select site trees-VRI specific
#'
#' @description This function connects site tree data (vi_h, cardh) to selected cluster/plot-level data.
#' Site tree data is located in \code{//Mayhem/GIS_TIB/RDW/RDW_Data2/Work_Areas/VRI_ASCII_PROD/vri_sa}
#'
#' @param clusterplotHeader data.table, co... |
1814cbdf23ea9348c74a5829224ca82ce6c56886 | 514723241b6d6f3f12856b8faa17cb34ce873d69 | /milestone4/R-Code Files/kfold_classification.r | bf287128c745f0437ba86ddc1ecaa3ac8eca97fd | [] | no_license | hitesha14/Blockchain-and-Cryptocurrency | 829334aaebd0ae0de0c1bc66ae5f33631c121657 | 4bdcf95567c11a9cc1d6bb8c000231d41ed6a2f0 | refs/heads/master | 2021-05-06T03:30:28.766879 | 2017-12-02T13:22:12 | 2017-12-02T13:22:12 | 114,903,019 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,358 | r | kfold_classification.r | library(caret)
library(readr)
library(glmnet)
library(tictoc)
# Setting the directory
setwd('/home/akanksha/Desktop/Sem III/Data Analytics/Course Project/Dataset/cryptocurrencypricehistory/Cleaned Dataset')
# Load MODIFIED dataset
eth <- read_csv('eth_dataset_cleaned_filtered.csv')
# Drop eth_price_ternary_label and... |
a5c22053666faeef55e9c83be8b3e35cd638388b | 49caa2248976a81b483c1852f57a342c42a64052 | /tests/testthat/test-pptx-selections.R | 7e8725d8e2527f75b4d3e59f688a94ab785d9e4f | [
"MIT"
] | permissive | davidgohel/officer | 3aa90b22052c86743a2eb80790ba5562b1b91189 | c0e15dc488c33268cdb8a8ef633ecd20f2370db2 | refs/heads/master | 2023-08-28T01:14:23.519702 | 2023-07-15T09:03:55 | 2023-07-15T09:03:55 | 62,127,714 | 577 | 114 | NOASSERTION | 2023-09-12T21:56:59 | 2016-06-28T09:22:18 | R | UTF-8 | R | false | false | 2,175 | r | test-pptx-selections.R | test_that("check slide selection", {
x <- read_pptx()
x <- add_slide(x, "Title and Content", "Office Theme")
x <- ph_with(x, "Hello world 1", location = ph_location_type(type = "body"))
x <- add_slide(x, "Title and Content", "Office Theme")
x <- ph_with(x, "Hello world 2", location = ph_location_type(type = "... |
fc13d32db541e9fbee153ded6af19c395211a512 | 522db9be1de76f55caca5264c98480ce8d638ce5 | /man/fish_trip_simulation.Rd | 0beb0d37bcaed8e296aa37cc6d34c36ef7418dc8 | [] | no_license | peterkuriyama/ch4 | edd70b2fac81c7c47dbc5fcf46dfc08a6a38b0cc | 439c4aa2c2882db91576732fb03ae18123a78e4a | refs/heads/master | 2021-10-27T14:04:27.115425 | 2019-04-17T17:34:05 | 2019-04-17T17:34:05 | 72,870,772 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,414 | rd | fish_trip_simulation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fish_trip_simulation.R
\name{fish_trip_simulation}
\alias{fish_trip_simulation}
\title{Run Fish Trip Simulation
Function to run fish_trip simulations in parallel}
\usage{
fish_trip_simulation(in_list)
}
\arguments{
\item{nreps}{Number of repl... |
4e317eca03acab7f86e78b8d3287fcfb245e6dc6 | b1a9184604fa99fc58a181d3c9f8cf167ea3b8ab | /man/YeastIRO.Rd | 14ea2bf100191be82d22e7f1e0adf77149fd6205 | [] | no_license | cran/IROmiss | b6a09d3b7142c88c717200f7fa4ed8393efbf47d | b99f2e9ce866893a419466fd41ed812f65277590 | refs/heads/master | 2021-05-11T19:18:27.202776 | 2020-02-19T04:10:02 | 2020-02-19T04:10:02 | 117,863,390 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,662 | rd | YeastIRO.Rd | \name{YeastIRO}
\alias{YeastIRO}
\title{ Learning gene regulatory networks for Yeast Cell Expression Data.}
\description{An Imputation Regularized Optimization (IRO) algorithm for learning gene regulatory networks with missing data. The dataset is collected from the yeast Saccharomyces cerevisiae responding to diverse ... |
3937dab5c5e72a4ef621bd3e504d00d016931e8f | 3a8ff7937829e3ebb16f1b1d00fdb2676c99cd22 | /man/complete_network.Rd | 0fdc4f7a6a4e1027ad69567ad2f88dd0fd92d91a | [] | no_license | cran/SDDE | 3890abf2fb6ab21582d034700d66f84ae4757c2c | 66fc2f6eeade2aabaf634bd4b6ffd9078b19f930 | refs/heads/master | 2021-01-01T15:50:31.452166 | 2015-08-26T23:23:36 | 2015-08-26T23:23:36 | 31,781,169 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,294 | rd | complete_network.Rd | \encoding{ISO-8859-2}
\name{complete_network}
\alias{complete_network}
\title{compare two given networks (original and augmented, presented as undirected graphs) using a path analysis}
\description{This function computes the number of paths in each category for all pairs of nodes of the original network.}
\usage{
comp... |
614923ecee033623af5e564d27646aa0a6bcaafa | b96d5cd00c721ba2e0ce3a99ede77959e45989ef | /Feb7th.R | c15b46ced3e0b01cd5a56721b8fce59106672170 | [] | no_license | soy54uce/statRepo | 7e60f2a2fcd503a51d8c68acb5f77706caeeaea7 | 404ba428cc252a3b3de761c65a6280f4e07add1b | refs/heads/master | 2020-04-17T07:00:44.469650 | 2019-04-02T13:32:13 | 2019-04-02T13:32:13 | 166,349,492 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,044 | r | Feb7th.R | # Feb 7th
library(stats)
library(dplyr)
library(ggplot2)
View(mpg)
# 5 Main verbs of dplyr
# 1. FILTER -- filter where some column meets some condition
mpg40 <- mpg %>%
filter(hwy > 40)
enEff <- mpg %>%
filter(hwy > 40, cty > 30)
enEff <- mpg %>%
filter(hwy > 40 | cty > 30)
# Choosing cars in a set of part... |
bfb1f1b42926f9eba9e014217f9189e9222d8b4e | a85cd3c3dfc49477313f3b3572d7703264ff627b | /JATAgri/SYNTAX1.R | 79b6eb1028f6df39f4fa759ffb095fc388b0392f | [] | no_license | manigrew/emdp | 806d8f1cba59b21b7f0fc07aa8b722967f587965 | c5d745b1fca0d8d76a2a38787e080e1e142adefe | refs/heads/master | 2023-06-04T23:23:57.783253 | 2021-06-27T14:26:29 | 2021-06-27T14:26:29 | 350,419,461 | 0 | 1 | null | 2021-06-08T19:49:24 | 2021-03-22T16:48:09 | HTML | UTF-8 | R | false | false | 8,189 | r | SYNTAX1.R | library(readxl)
##############################
# Question 1: Anand, the cofounder of JAT, claims that disease 6 (leaf curl) information was accessed at least 60 times every month on average since October 2017 due to this disease outbreak.
# Test this claim at a significance level of 0.05 using an appropriate hypothesi... |
1ae7c2dc506edfb6bb6b69c85fe9f20bb5f562b3 | e270b17fa8f5ee5eb94866f6ce786893f17e8082 | /pages/stocks.R | 04781ec623dd7393625442ff0433413ce87833c1 | [] | no_license | casestudyassignment/WILProject1 | 7722dfacc1f3bb31a39c4119bc8bd37290bc0a6f | 13b41e89134a73b0ec36c076f3479f0d7e8a5923 | refs/heads/master | 2022-12-24T15:51:28.465737 | 2020-09-29T16:50:07 | 2020-09-29T16:50:07 | 285,493,991 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,459 | r | stocks.R | # STOCKS UI PAGE (VISUALISATION & MODELLING)
library(shinydashboard)
library(shiny)
tab_stocks_visualisation <- tabItem(tabName = "dataVisStocks",
tabsetPanel(
tabPanel("Data Viewer",
class = "data... |
151296d009566e3247d7e245b1f69e54109e235d | 5e6ac7a2cda8eba04c6aaaa96f5d26b63e8b2391 | /run_analysis.R | 1366027cfca3e4276fb7d88e89b362904b50b510 | [] | no_license | Danielle1105/Course-Project | 3481fba7ee02b09bc365a93606447bf757502c1f | 718980c884f9684f5d93d7b31c9e0a87273dd673 | refs/heads/master | 2020-05-29T18:34:59.766169 | 2014-09-21T15:23:44 | 2014-09-21T15:23:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,392 | r | run_analysis.R | > x_test<-read.table("x_test.txt")
> x_train<-read.table("x_train.txt")
> x<-rbind(x_test,x_train)
> features<-read.table("features.txt")
> names(x)<-features[,2]
> y_test<-read.table("y_test.txt")
> y_train<-read.table("y_train.txt")
> y<-rbind(y_test,y_train)
> names(y... |
00ed9e43f13505a2143eb9382111524863971923 | e73cfd17823a4a7766ed21ad715df27a15658385 | /Myscripts/ggplot2/HW/4.R | 95a7ceaf7ecb46c688b4e00d1d58aea69df926dd | [] | no_license | kanishkd4/R_learning_code | 546b133f66ec63894ce844e91f3eefe7e3113563 | 53cac10180ecd34f80d42951e8be7c5e1d95608b | refs/heads/master | 2020-12-25T11:15:16.931186 | 2016-09-29T08:13:01 | 2016-09-29T08:13:01 | 61,795,112 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,118 | r | 4.R | ?plotmath
?ggplot
library(ggplot2)
library("scales")
p <- ggplot(diamonds, aes(carat, price, colour = cut))
p <- p + layer(geom = "point")
p
P <- p + layer(geom = "bar", geom_params = list(fill = "steelblue"), stat = "bin",
stat_params = list(binwidth = 2) # stat = "bin" didn't work for me
)
P... |
17268170ab2880b51f1523cb83210365698b6d7f | 0a906cf8b1b7da2aea87de958e3662870df49727 | /gjam/inst/testfiles/tnormRcpp/libFuzzer_tnormRcpp/tnormRcpp_valgrind_files/1610046524-test.R | b0f001367f7e187cbebadc899d0db69fd6dd17d9 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 146 | r | 1610046524-test.R | testlist <- list(hi = 0, lo = 1.39079479304311e-320, mu = 0, sig = 4.53801546776667e+279)
result <- do.call(gjam:::tnormRcpp,testlist)
str(result) |
5e5fe7f4b1ed7ed92cd51a36abfb0474d5c1e093 | 0d4dc2dacd77b5f3307ad552bf6ddaa26c3daa4f | /nrfr.R | 93b0f952a3cfaccc63212527765a6df8e718cfd7 | [
"MIT"
] | permissive | MGrauLeguia/rdn-fr | 9925033ce226e6df9510e64c0dfac8f4674777d1 | 5515796ea619e391a6ab2f36ec79b5e677379db0 | refs/heads/master | 2020-07-06T22:40:07.629431 | 2019-10-01T09:46:45 | 2019-10-01T09:46:45 | 203,160,255 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,116 | r | nrfr.R | # net reconstruction via feature ranking
library(randomForest) # for feature ranking with Random Forest
library(CORElearn) # for feature ranking with RReliefF
library(pROC) # for calculating the area under ROC curve
# read single trajectory from a CSV file fname, where:
# - each column corresponds to a net... |
821e152d4e34000516645501f6937f75b405c4af | 29bd7ec43e40263e62535f51169d95082d11832f | /man/pct_dom1_group.Rd | e03e776003fb5614a382f81265d1ad4f37627a00 | [] | no_license | esocid/Benthos | 171ab922b751f5b2d03caa5e36aedc239f7894d0 | 60ba98f6935ee70998e6061ca0891f32dc0a8d5d | refs/heads/master | 2021-06-18T18:28:10.526456 | 2017-06-22T16:18:44 | 2017-06-22T16:18:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 716 | rd | pct_dom1_group.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/group_metrics.R
\name{pct_dom1_group}
\alias{pct_dom1_group}
\title{The percent of the most dominant group}
\usage{
pct_dom1_group(long.df, master.df, Group, taxa.rank)
}
\arguments{
\item{long.df}{Long data frame format of taxonomic counts.}... |
82c4f4b1dd2b9d69f3881020c36f61173f9dfbd4 | f5e1e7f34f8c3166b2e80404ff48c4432c8a9d3d | /genestructureID.R | 03b080f42b8f1caaa57f47cb5d2ba7ecfc91c2b4 | [] | no_license | jiangchb/SoybeanGDB | c0160bcc4ddbf95d4cac0ce008e725879c1586f9 | a8831d1366f6e731f496e01ab2a90fd9931421e8 | refs/heads/main | 2023-08-16T15:49:13.970483 | 2021-10-14T07:26:11 | 2021-10-14T07:26:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,061 | r | genestructureID.R | genestructureID <- function(chr="chr1", start=21418069, end=21434067, geneid = "SoyZH13_01G071600", gff = NULL){
start <- as.numeric(start)
end <- as.numeric(end)
gff.mrna <- gff[gff$type == "mRNA", ]
gff.reg.mrna <- gff.mrna[grep(geneid, gff.mrna$id), ]
gff.reg <- gff[gff$id %in% gff.reg.mrna$id, ]
gff.... |
aa89effd2188927f31357074c3047625333ce665 | de7b5af9c415426ad5496ccf0b87f91b663cee29 | /man/subset_withAttributes.Rd | 19a8524273553c956c1d222c56fc33ce43694d9b | [
"MIT"
] | permissive | rgriffier/statsBordeaux | bb465057eab0b41e6d1515f02cfd13adb8179ac8 | ded4292fb43e2a959058267a1f707d25505c0b7d | refs/heads/master | 2021-09-06T15:02:07.420504 | 2021-08-03T13:56:13 | 2021-08-03T13:56:13 | 178,895,755 | 2 | 0 | null | 2020-09-28T14:14:45 | 2019-04-01T15:45:33 | R | UTF-8 | R | false | true | 866 | rd | subset_withAttributes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/statistic_functions.R
\name{subset_withAttributes}
\alias{subset_withAttributes}
\title{Subset data keeping attributes}
\usage{
subset_withAttributes(data, subset)
}
\arguments{
\item{data}{a data.frame}
\item{subset}{a logical vector}
}
\va... |
318899c580e16f8907df4fcae864c133f9de5e91 | 23f331debdc1d0c244686b22852720cf14c83801 | /jeff/getBioVolCatData.R | e2945a2d874df4920cfd45528ecc696a91822ebf | [] | no_license | willbmisled/cyanoLakes | 96ceb15e3d81a6ca869a70a08d13eb08d188ee07 | 345fc108ca5df96333a518ae819cd3dd80420ffb | refs/heads/master | 2021-01-18T08:12:05.803687 | 2018-07-26T14:46:41 | 2018-07-26T14:46:41 | 18,803,295 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,456 | r | getBioVolCatData.R | #get the Biovolume data
load('L:/Public/Milstead_Lakes/RData/cyanoBioVolume2014-03-11.rda')
#Data definition LbioV (bioVolume based on Lester's aggregated Cyano volumes)
#'data.frame': 1148 obs. of 3 variables:
# SITE_ID : chr "NLA06608-0001" "NLA06608-0002" : NLA ID
# sumLbioV: num 172 260935 6959269 63955 8220 ... |
7af3ca32e3bfa3959bc178129af0a59f10a89418 | 91350b5c91092fa867240342bd29272d6487b335 | /R/namedata.r | bd562ebdb5f8bbd047cd308204565e53cb368845 | [
"CC-BY-4.0",
"MIT",
"CC-BY-3.0",
"LicenseRef-scancode-public-domain"
] | permissive | LittlePenguinPenguin/globalnamedata | 6ed2991b384bfbc5540f6482cecbdbc01d172e92 | 64c8de74c30127e4b4ae2ec94a9a04bdf9e41694 | refs/heads/master | 2021-01-20T23:18:06.749370 | 2015-08-11T21:26:13 | 2015-08-11T21:26:13 | 40,331,750 | 0 | 0 | null | 2015-08-06T23:42:47 | 2015-08-06T23:42:46 | null | UTF-8 | R | false | false | 501 | r | namedata.r | #' Open Data for names and gender mapping
#'
#' namedata provides a set of tools for gathering name/gender
#' mappings from publicly available data. Functions to process and classify
#' gender by incidence are provided as are open datasets from the United
#' States and the United Kingdom.
#'
#' Pre and postprocessed d... |
f7f82903378c9d03d91bfcc9f5d3930cef84b65b | 6fb04083c9d4ee38349fc04f499a4bf83f6b32c9 | /tests/upstream/test_ks.test.R | 8c93cc5f4f1d38c1e59383e707827ef02306a6ef | [] | no_license | phani-srikar/AdapteR | 39c6995853198f01d17a85ac60f319de47637f89 | 81c481df487f3cbb3d5d8b3787441ba1f8a96580 | refs/heads/master | 2020-08-09T10:33:28.096123 | 2017-09-07T09:39:25 | 2017-09-07T09:39:25 | 214,069,176 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,290 | r | test_ks.test.R | # Problems with data.name,
# p.value error computed is wrong.
# Kolmogorov-Smirnov (KS) Test 1S
sqlstr <- paste0("SELECT * FROM tblKSTest WHERE GroupID = 1")
t <- sqlQuery(connection, sqlstr)
Renv = n... |
69e0a23a0b96f8c323fafff3d240f7115ed103d6 | 81753f3a4b5b0030fe96577f23c9dcd6e8267924 | /paper/data/wilcox_file_0006_cost.r | fdf818943d04360c19b9456bc71180b5ad1abaa7 | [] | no_license | gecko655/yamamori-mthesis | a48992c479c43f7fc11a3a85062913d087a0a2dc | b9eba558437f995137517dfdab2ecbd0e7255970 | refs/heads/master | 2021-01-15T10:37:14.162553 | 2016-01-25T07:15:01 | 2016-01-25T07:15:01 | 47,237,921 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 750 | r | wilcox_file_0006_cost.r | #Precision
coref_p=c(0.165243532,0.168612714,0.195634953,0.172589677,0.179265574,0.20864691,0.236549587,0.218925127,0.298376125)
cochg_p=c(0.0914587,0.10220134,0.175369193,0.149735927,0.200903947)
#Recall
coref_r=c(0.212995052,0.16113769,0.142661197,0.109901232,0.085838967,0.062706637,0.048061674,0.035831078,0.02127157... |
a476c3e55a70f162dc43475742e7dc60655e81b0 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/MFPCA/examples/screeplot.MFPCAfit.Rd.R | dd87ea47ad22145c7137e1bfd358acd6ae09cc1b | [] | 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 | 805 | r | screeplot.MFPCAfit.Rd.R | library(MFPCA)
### Name: screeplot.MFPCAfit
### Title: Screeplot for Multivariate Functional Principal Component
### Analysis
### Aliases: screeplot.MFPCAfit
### ** Examples
# Simulate multivariate functional data on one-dimensonal domains
# and calculate MFPCA (cf. MFPCA help)
set.seed(1)
# simulate data (one-di... |
f90a7bd06c272a7fdc824decaa7c3aa5d93533ff | 32694467865205579b98f15bf738d88c19fb954d | /tests/testthat/test_version_response.R | ebdcfc60962a92758f572520429064a3b9273180 | [] | no_license | vjcitn/terraClientR | ee0dc11c00b8d707d023d93776637b5622c189b6 | 85ab30d88da3b4c3da9e36a9b2f9dbc7ab5f237a | refs/heads/main | 2023-06-05T04:42:36.218619 | 2021-06-29T15:43:36 | 2021-06-29T15:43:36 | 381,414,881 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 416 | r | test_version_response.R | # Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
context("Test VersionResponse")
model.instance <- VersionResponse$new()
test_that("cromwell", {
# tests for the property `cromwell` (character)
# The version of the Cromwell Engine
# uncommen... |
ec4ea3ef8e1a7df8ae842b4b3eaeb103d51eb20e | c9b151232ad188a38469473ec765c0f7a1defe7c | /man/smoothfun.Rd | 1174ab66a07d888093c6da90101f389c4869182d | [] | no_license | obreschkow/cooltools | 3b2c46ac539962153c3a9aa8fbeaeee185455015 | 3b212d077537220aec5b8162f04ed85f7f0af996 | refs/heads/main | 2023-08-15T02:14:07.742064 | 2023-07-24T08:47:36 | 2023-07-24T08:47:36 | 184,692,943 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,541 | rd | smoothfun.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/smoothfun.R
\name{smoothfun}
\alias{smoothfun}
\title{Smoothed Function}
\usage{
smoothfun(x, y = NULL, w = NULL, df = NULL, ...)
}
\arguments{
\item{x}{a vector giving the values of the predictor variable, or a list or a two-column matrix sp... |
c9dbc9a2a340b7d1717bf26971dc1e137849c719 | 9309ad6799efec5f820b0f9921b2e2450da3a78e | /man/Lextale-package.Rd | 62ccccb6b0353cf0dc104a89bc6e363fde7d8409 | [
"MIT"
] | permissive | Ghozayel/Lextale | 6c6a6f730dbadfe3f1a71e37d864ae0e72836ce4 | b92214cb1a9c38fbef7033cb9ff9d3ec29811ccc | refs/heads/master | 2023-06-10T02:27:12.435039 | 2023-05-28T10:36:56 | 2023-05-28T10:36:56 | 525,854,071 | 3 | 3 | MIT | 2022-10-03T16:06:35 | 2022-08-17T15:32:07 | R | UTF-8 | R | false | true | 754 | rd | Lextale-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Lextale-package.R
\docType{package}
\name{Lextale-package}
\alias{Lextale}
\alias{Lextale-package}
\title{Lextale: A Package to calculate scoring for LexTALE-test, English, German and Dutch versions.}
\description{
This package calculates the... |
8c8dd2a3fba4fa92a6e2c692750da7bf616be365 | 12f63547182b536a68a7dff027207f1bbef6b01f | /tests/testthat/test-team1.R | 9dadb5e77610d2ac1d4d09d487b3443adb9c26cf | [] | no_license | SPI-Birds/lorentz_hackathon | 2f4fbd106d709d54a07c602315a7bfd2db0f0d15 | 2d1d13d1655a781df2431b065400d5b6bcc4689f | refs/heads/main | 2023-08-13T12:26:50.551292 | 2021-09-09T13:54:25 | 2021-09-09T13:54:25 | 403,632,489 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 459 | r | test-team1.R | test_that("team1 function works as expected...", {
#Ask for a file with capture data
message("Please link to capture data")
capture_data <- read.csv(file.choose(), header = TRUE, sep = ",")
#Filter it to just be 1 year for testing
input_data <- capture_data %>%
dplyr::filter(BreedingSeason == 2014)... |
3a3a0615b9feeb29c15ccf8960646ea308a5712a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RandomFields/examples/RMmodelsMultivariate.Rd.R | bca3c3dab738c442dce1d2429ac6ff6006a811c4 | [] | 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,254 | r | RMmodelsMultivariate.Rd.R | library(RandomFields)
### Name: RMmodelsMultivariate
### Title: Multivariate models
### Aliases: RMmodelsMultivariate 'Multivariate RMmodels'
### Keywords: spatial
### ** Examples
## Don't show:
StartExample()
## End(Don't show)
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
## ... |
5bfb7aecd936b91211e1b3ca700dec5cd7633b75 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/pooling/examples/test_pe.Rd.R | 469d3a964fddd5425ecffdf6f606c58829342834 | [] | 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 | 555 | r | test_pe.Rd.R | library(pooling)
### Name: test_pe
### Title: Test for Underestimated Processing Error Variance in Pooling
### Studies
### Aliases: test_pe
### ** Examples
# Generate data for hypothetical study designed assuming sigsq_p = 0.1, but
# truly sigsq_p = 0.25. Have data collected for 40 pools of size 5, and wish
# to ... |
bd5090f9f568514390f28f03bee78c1bf63735dc | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/numbersBR/examples/format.Rd.R | 0bf451431064f48f7025909b22aede042ef824d5 | [] | 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 | 294 | r | format.Rd.R | library(numbersBR)
### Name: format.CNPJ
### Title: Format numbers
### Aliases: format.CNPJ format.CPF format.RENAVAN format
### ** Examples
x <- CNPJ(66670000100)
format(x)
format(x, "stripped")
x <- CPF(1239157673)
format(x)
format(x, "stripped")
x <- RENAVAN("68194359406")
format(x)
|
d7b26eeb4ea1b118ef7d18a72905fef313dad9ea | 4025bf67ebc1ab8e065deba65a8a3f482d1c3453 | /man/changes.Rd | a8b0866a0be83b6a28cd9df89393842093706360 | [
"CC0-1.0"
] | permissive | chgrl/rdnb | 644ecdf571640bb73825341696b13a265a6a0e8b | 88cf054e84c909964eb79e3c14de357a098491ab | refs/heads/master | 2023-02-21T01:34:59.698186 | 2023-02-17T15:00:58 | 2023-02-17T15:00:58 | 51,138,778 | 2 | 2 | NOASSERTION | 2021-04-17T21:53:09 | 2016-02-05T09:55:33 | R | UTF-8 | R | false | true | 364 | rd | changes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zzz.R
\name{changes}
\alias{changes}
\title{View changes notes.}
\usage{
changes(pkg = "rdnb")
}
\arguments{
\item{pkg}{Set to the default "rdnb". Other packages make no sense.}
}
\description{
\code{changes} brings up the NEWS file of the pa... |
a0a47a52ecc3df3ccc2949975d1ffa8e6694c710 | 81ad6ec0e3a465e30ab4c9e1c067c0ac502587d2 | /3.MoreModelDevelopment.r | 78c622b8faf2521271ea291fa56c3879bcfcdda4 | [] | no_license | SrAriza/Prediction-sentiment | d726bf168cc3ca473680e9b3fd6ee93a58ef1029 | ceaba300951a11de07d57f5a667f028810257517 | refs/heads/master | 2020-07-22T21:15:34.906564 | 2019-09-25T14:45:15 | 2019-09-25T14:45:15 | 207,330,369 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,549 | r | 3.MoreModelDevelopment.r | #######################
#Sentiment prediction
#
#By Julian Ariza
#
######################
#Libraries
library(doParallel)
library(caret)
library(ggplot2)
library(dplyr)
library(plotly)
library(e1071)
library(randomForest)
library(ROSE)
#Loading the data
iphonedata <- readRDS("iphone_dataframe.rds")
... |
3297d68ee848670eaf188338c7131bd801d3002b | 9e8c1f5ac055cbbfd6aae73bca32885bdadcd491 | /Regression/SVM.R | 22ae9f343b5ecff1b0993766c9dc842d626279d0 | [] | no_license | hughbzhang/SIMR | 682c0a03720933210ed779d13f8b4640f3a83d1f | 9022b2114d139d41738f588ecdb5f951f03220c2 | refs/heads/master | 2021-06-11T20:11:40.144148 | 2016-04-03T07:14:45 | 2016-04-03T07:14:45 | 21,960,479 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,120 | r | SVM.R | #This is my code for using an SVM to predict the data
#SVM seems to overfit less than Random Forest
library(kernlab)
cur = all[sample(130),]
trainerr = 0
testerr = 0
for ( i in 1:10){
check = cur[(13*(i-1)+1):(13*i),]
attach(check)
#testx = cbind(V26,V3,V6,V4,V34,V41,V17,V21,V24,V15,V27,V7)
testx = cbind(... |
0fc4741b0c9b1cca99d1e792e03eb38c8861505e | 1709ead9cb5b0286bf8bc2125a33fa603a8bf7f2 | /man/build.y.Rd | a689e0877e37f357595a26fe2234374e28dcf517 | [] | no_license | jaredlander/useful | 92f26b088a19f62138bec71a4339ce4f1dcaaa31 | 1882e50b7494a7b5cdc8052f8491ed28630ccf98 | refs/heads/master | 2022-05-05T04:10:41.711760 | 2018-08-17T21:00:03 | 2018-08-17T21:00:03 | 2,523,193 | 5 | 5 | null | 2017-08-04T20:34:00 | 2011-10-06T00:31:58 | R | UTF-8 | R | false | true | 527 | rd | build.y.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/buildMatrix.r
\name{build.y}
\alias{build.y}
\title{build.y}
\usage{
build.y(formula, data)
}
\arguments{
\item{formula}{A formula}
\item{data}{A data.frame}
}
\value{
The y object from a formula and data
}
\description{
Build the y object f... |
355153f85244563be871d17b98ef4f05f7924612 | f3d9770b6dd5a21960215757074f279adb8339a2 | /man/getMarkDupsMetrics.Rd | 4f9e7f9162dc1e39f5dfafae1e9d158abb6651cb | [
"MIT"
] | permissive | dakl/clinseqr | 63f491457470db4991f5c984c9036f1936770dd4 | 28ef16998e84e472db27ede4a2f925c69b502e40 | refs/heads/master | 2016-09-05T12:12:42.714418 | 2015-11-02T13:15:19 | 2015-11-02T13:15:19 | 25,638,438 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 617 | rd | getMarkDupsMetrics.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/getMarkDupsMetrics.R
\name{getMarkDupsMetrics}
\alias{getMarkDupsMetrics}
\title{Get MarkDups Metrics}
\usage{
getMarkDupsMetrics(reports, src = "PANEL_MARKDUPS_METRICS")
}
\arguments{
\item{reports}{data frame with reports}
\item{sr... |
b6aad2e4616e0388a9a05393615c650f3557b220 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/openintro/examples/student.housing.Rd.R | ae7d84c231599d377ebaaf8420dc06d569e4dc5a | [] | 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 | 490 | r | student.housing.Rd.R | library(openintro)
### Name: student.housing
### Title: Community college housing (simulated data, 2015)
### Aliases: student.housing
### Keywords: datasets
### ** Examples
data(student.housing)
set.seed(5)
generate.student.housing <- data.frame(
price = round(rnorm(175, 515, 65) + exp(rnorm(175, 4.2, 1))))
his... |
c27dbe55078c485e81f1b652923c5cccdb8007f9 | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.database/man/elasticache_delete_global_replication_group.Rd | 971d4c41dc162ca302cdb60e71edf073dffa8016 | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 2,436 | rd | elasticache_delete_global_replication_group.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/elasticache_operations.R
\name{elasticache_delete_global_replication_group}
\alias{elasticache_delete_global_replication_group}
\title{Deleting a Global Datastore is a two-step process:}
\usage{
elasticache_delete_global_replication_group(Glo... |
1c64b3821a0033ac3e722532f2bf90b13820d100 | fc0eb864d127a5487820d76e3121f1272769796a | /BigMart_Sales_Prediction_With_Dimentionality_Reduction/Dataset/Pradeep_Exploration_1.R | f13ffbb58654d640ac23aacc9d3834d8f99fc401 | [] | no_license | pradeepsathyamurthy/university_projects | 5d092d25fd83eaa607b8c13dfa86e509eaa6792d | 7f82a450eecfbdde7e4fb42818482229c77df256 | refs/heads/master | 2021-01-10T23:53:21.764024 | 2017-11-29T00:06:10 | 2017-11-29T00:06:10 | 70,092,710 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,594 | r | Pradeep_Exploration_1.R | ######################################################################################
# Author: Pradeep Sathyamurthy
# Date: 07-June-2017
# Course: CSC-433
# Guiding Prof: Prof. Steve Jost
# Project: Final Project Submission
# Train Dataset Name: mart_train.csv
# Test Dataset Name: mart_test.csv
######################... |
74b798b4a8f33d5a95798ba1c9ed3ced3217008a | 7d39123774a9a4b651d9a6f0cebf2a10ccb29288 | /man/footprint.Rd | 577a0925c75bf5178217ed6654a031194a486ffa | [
"MIT"
] | permissive | ThomasDCY/INFIMA | 3c858b6d5657373db58435d3dfff62ff2967bdc4 | f1ebe80eb906a6ddfd7b263aec0275347e6b6c69 | refs/heads/master | 2023-04-15T07:42:29.792045 | 2021-07-13T14:01:12 | 2021-07-13T14:01:12 | 258,241,256 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 336 | rd | footprint.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_description.R
\docType{data}
\name{footprint}
\alias{footprint}
\title{footprint}
\format{a vector, the dimension of which equals to the number of local-ATAC-MVs}
\description{
the footprint vector
}
\author{
Chenyang Dong \email{cdong@s... |
a1ac346ce1a5e56adc4e70736a5426640313d644 | cb4d4f8cb3f16d8ca733772ee699088934236873 | /man/ridl_resource_patch.Rd | d0cea0c95265a37aea0ab63dda5d7c8e670c7114 | [
"MIT"
] | permissive | UNHCRmdl/ridl-1 | 9d59d22feca4184ac845f1ca6df9babf92bb40e0 | fb48ac36a5dfce43467bb50d66e1f7b491636454 | refs/heads/master | 2023-03-15T05:13:02.413607 | 2021-03-23T17:28:52 | 2021-03-23T17:28:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 586 | rd | ridl_resource_patch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/resource.R
\name{ridl_resource_patch}
\alias{ridl_resource_patch}
\title{Patch a resource on RIDL}
\usage{
ridl_resource_patch(resource, file_path, dataset_id, configuration = NULL)
}
\arguments{
\item{resource}{RIDLResource, a resource objec... |
e9bad22963e669be26701300bde640b059773355 | 52377bc6bf76d313ecfd32254b47aee9777599de | /shiny.R | 3e4e8ffab3ae21d0844c972dd611042013fb0fab | [] | no_license | shivapal/EDAproj | be4559453dad340f594bfdc6e688c688bd25381f | 87bb63a0bb57bf23b0fef80d77004f45b3c91dfc | refs/heads/master | 2020-04-25T20:03:48.674808 | 2019-03-28T20:00:41 | 2019-03-28T20:00:41 | 173,042,043 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,297 | r | shiny.R |
library(shiny)
library("dplyr")
library("ggmap")
library("maptools")
library(maps)
library(ggplot2)
register_google(key = 'AIzaSyAzCWRarLpXhmd9Dx05XgXsdZetHXCVAog')
ui <- fluidPage(
titlePanel("Map"),
sidebarPanel(
selectInput("variable", "Compare Maps:",
c("CDC vs #flu & #fluszn"= "all", "C... |
75fda4b9e8d0a9f5e7d74d46ab7d2c02432f4edf | 52595664b4574420a27f5c32a9e5051881f25824 | /man/optifix.Rd | 75aeaa737b176cedd06692beeb5390add3b6e69c | [] | no_license | ick003/GPspt | 0bc6f54d626505759100f1bc8395eb4d1490a25d | d103992df60daa4161cc2fef9b6010cd0e9f8d00 | refs/heads/master | 2022-04-25T17:33:48.257316 | 2020-03-13T03:32:02 | 2020-03-13T03:32:02 | 72,394,880 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 996 | rd | optifix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{optifix}
\alias{optifix}
\title{Optimise with fixed parameters}
\usage{
optifix(
par,
fixed,
fn,
gr = NULL,
...,
method = c("Nelder-Mead", "BFGS", "CG", "L-BFGS-B", "SANN"),
lower = -Inf,
upper = Inf,
control =... |
2ed060d5e707d20e2bbd52f78346400b7a0a5755 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Database/Gent-Rowley/Connect5/cf_5_6x6_r_/cf_5_6x6_r_.R | 27273e913caf88559b6a25feee439bc2e60706ee | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 64 | r | cf_5_6x6_r_.R | 056abd3573e95322846f430e898fef74 cf_5_6x6_r_.qdimacs 97636 42339 |
fbb9219332b75f79babe858fba609a1e42d9460d | 65cb1fe25385cd10a159f4d7b6e3716cae92197d | /man/grp_mean.Rd | d4af06ccb7de613266dde7712548a484844a2bdb | [
"MIT"
] | permissive | tbonza/supml | 46f795838442b22e56f2a82c01501a235dd336b6 | d64dcd3216a4abdec8cb04442e7baa92ab4fd507 | refs/heads/master | 2020-04-10T09:42:03.006011 | 2018-12-13T17:19:45 | 2018-12-13T17:19:45 | 160,944,681 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 288 | rd | grp_mean.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/discriminant.R
\name{grp_mean}
\alias{grp_mean}
\title{Mean of each predictor attribute for each class K}
\usage{
grp_mean(indices, predictors)
}
\description{
See HT, Elements of Statistical Learning (4.10)
}
|
37578739d6e62497505f478b7e4e4e91e8e32a7f | b1039c40b1a579fdee1c36f80bb525bdfa6a00fe | /man/DGMcrf-package.Rd | e8e80bcd41f97ba0a7016221f587aff93bb7b53c | [] | no_license | bensonkenduiywo/DGMcrf | 3060bec293a3e0e19337381a97ce963a720dbfa3 | 5e9a8564f5c87ea953bedeb214e7b0f44aa03e8b | refs/heads/master | 2020-07-21T06:43:28.236608 | 2019-09-06T11:25:35 | 2019-09-06T11:25:35 | 206,772,603 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 464 | rd | DGMcrf-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DGMcrf-package.R
\docType{package}
\name{DGMcrf-package}
\alias{DGMcrf}
\alias{DGMcrf-package}
\title{DGMcrf: Directed Graphical Models: Conditional Random Fields}
\description{
USes directed graphicals models to model spatial depencies in im... |
661a0cc4f149be00d729abced580d00358f7996d | 531c16f88b06811084f57fb1dcb3a501e96cb2af | /Part4/sec1_2_network.R | 23ee97d053f9cbcc80779df3655463afbc71b49b | [] | no_license | noc1992/R_Data_Analysis | 2c84152deb264eefaa2a1965b3507aaa8c852249 | d73e9c521eade5d5b50c7cb0852ee8ffc898925d | refs/heads/master | 2020-06-05T04:06:55.971142 | 2019-11-18T01:42:07 | 2019-11-18T01:42:07 | 189,162,866 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,723 | r | sec1_2_network.R | install.packages("igraph")
library(igraph)
g1 <- graph(c(1,2, 2,3, 2,4, 1,5, 5,5, 3,6))
plot(g1)
str(g1)
name <- c('seo','il','kim','son','no','li','yu','sin','kang','kwang','jung')
pemp <- c('seo','seo','il','kim','kim','seo','li','yu','seo','kang','kwang')
emp <- data.frame(na = name, suna = pemp)
emp
g <- graph.data... |
3de263217ff219fadd948b54d9bad8201be73ff8 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.media.services/R/mediapackage_service.R | 1ede23d76de76a59cff3ebe3af4dca92c2405c32 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | false | 4,197 | r | mediapackage_service.R | # This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common new_handlers new_service set_config
NULL
#' AWS Elemental MediaPackage
#'
#' @description
#' AWS Elemental MediaPackage
#'
#' @param
#' config
#' Optional configuration of credentials, endpoint, and/or region.
#'
#' @section Ser... |
2b7c88d835f88c50895e8b03c2d937b2f7c1d757 | 850406eebc34d582fe8603a9ed79b6bcf613f132 | /h2o.predict_json.Rd | 7db88f1675596f9cdb998618cf2d38b11523168d | [
"MIT"
] | permissive | sanjaybasu/sdh_t2dm | 7652a7452cc271f345a9bf9303d77f1bf3efa73c | 5b1d5752a056898397bff7e51c6e1aa180feccc2 | refs/heads/master | 2020-03-29T04:00:35.481658 | 2019-04-19T23:11:19 | 2019-04-19T23:11:19 | 149,511,195 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,121 | rd | h2o.predict_json.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/predict.R
\name{h2o.predict_json}
\alias{h2o.predict_json}
\title{H2O Prediction from R without having H2O running}
\usage{
h2o.predict_json(model, json, genmodelpath, labels, classpath, javaoptions)
}
\arguments{
\item{model}{String with fil... |
535e40ed7a285332715ef1753de471b3fc885170 | fe872a4ad8d46e7df60dd19617fb14e988f07ed8 | /R/utils-proj.R | 89299f6cce7ae50e1739b42a3d7ff15b4f914816 | [
"MIT"
] | permissive | chaudhary-amit/acblm | 638aa75273f6f4522279634e67b3b831036d0a03 | b6aa44163c1f2782becbbef6b6f71d5fe4b85f62 | refs/heads/master | 2023-04-25T06:25:22.124853 | 2021-05-18T15:49:43 | 2021-05-18T15:49:43 | 368,360,787 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,741 | r | utils-proj.R | #' Generate a linear projection decomposition for the model
#' with continuous worker hetergoneity
#'
#' @export
lin.proja <- function(sdata,y_col="y",k_col="k",j_col="j",do_interacted_reg=1) {
rr = list()
sdata2 = copy(data.table(sdata))
sdata2[,y_imp := get(y_col)]
sdata2[,k_imp := get(k_col)]
sdata2[,j ... |
b4d52399fe3909801537ed684ee9d56d63ec45d1 | e93d573e0a6d8fdf22bab955684c66cbda6cd1dd | /test/test_dirichlet_mle.R | b050b91e682ccda68313c7c5f4845afefb1745e0 | [] | no_license | eric-f/mixedWarpedCurves2 | ecfe08ee25e8fad62fa3923cd08b3a0c5f8e92ef | f8c496beb96f2f8520859adc23d35609972254be | refs/heads/master | 2020-03-14T10:02:00.327450 | 2018-05-16T19:17:33 | 2018-05-16T19:17:33 | 131,557,746 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,164 | r | test_dirichlet_mle.R | library(gtools)
library(mixedWarpedCurves2)
library(ggplot2)
kappa0 <- c(1,2,2,1)
kappa0 <- kappa0 / sum(kappa0)
kappa1 <- c(0.5,1,1,0.5)
kappa1 <- kappa1 / sum(kappa1)
kappa2 <- c(1.2,1,1,1.2)
kappa2 <- kappa2 / sum(kappa2)
kappa3 <- c(0.5,1,2,1)
kappa3 <- kappa3 / sum(kappa3)
kappa4 <- c(1,1,0.5,0.5)
kappa4 <- kappa... |
de973586d5602b8c8fce0a23a6da633cc479e9bd | 19f597b79290d1f71c57a790d7565c0ca30ea2b2 | /plot4.R | 0fb27466ab9609bc311a50b9e2abca6956fba21d | [] | no_license | mpadmana/ExData_Plotting1 | acf35b878b64461b1e00d7323e18ed4b93df147c | 4e8eff81792f87414829fd3d35f79166543691b9 | refs/heads/master | 2021-01-18T00:15:22.865224 | 2015-01-11T06:58:25 | 2015-01-11T06:58:25 | 29,079,011 | 0 | 0 | null | 2015-01-11T02:39:51 | 2015-01-11T02:39:51 | null | UTF-8 | R | false | false | 1,809 | r | plot4.R | rowsInEachIter=100000
dataset <- read.table("household_power_consumption.txt", header = TRUE, sep=";", nrows = rowsInEachIter, na.strings = "?")
columns<-colnames(dataset)
dataset$DateToFilter <- as.Date(dataset$Date, format="%d/%m/%Y")
get.rows <- dataset$DateToFilter == as.Date("2007-02-01") | dataset$DateToFilter =... |
a5d3ee5c992bf6ba277ad4cb5ad583aee9304d73 | 63b0cd5d17131f25ba33d858797c0b27d248e89f | /tests/testthat/test-auth.R | 06ff247be229df0042d4fbe9a7f8dc64cf192269 | [
"MIT"
] | permissive | yutannihilation/mediumr | da43bb26a8669eaa6c0c95d2cf9ea86a32ed0235 | 691e0254e90ee53b746930b4eb4dd54403ae39d5 | refs/heads/master | 2021-05-15T11:05:54.758993 | 2017-11-08T12:23:58 | 2017-11-08T12:23:58 | 108,277,200 | 25 | 3 | null | null | null | null | UTF-8 | R | false | false | 255 | r | test-auth.R | context("auth")
test_that("Authorization header", {
withr::with_envvar(
setNames("xxxx", "MEDIUM_API_TOKEN"),
{
expect_equivalent(
medium_authorization_header()$headers["Authorization"],
"Bearer xxxx"
)
}
)
})
|
8f7af93cb6606472eb1554c370853fef047044a0 | 27b1e9936a96dd1b9f8cd0a399f6bbfb1019de47 | /customer acq.R | 367e3dc8b204fa970c7aedf033c11ff8dcc94c3a | [] | no_license | muralidatascience/Rcode | 4c7d5a98e56106a7f0b0b19588962677c7155b9c | 43676264a899f7c366f66f0b4f408c89400927ab | refs/heads/master | 2020-04-06T06:47:24.324611 | 2016-08-26T12:33:30 | 2016-08-26T12:33:30 | 55,692,889 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 746 | r | customer acq.R |
#Simple Bar Plot
counts4 <- table(Dataframe2$polarity)
barplot(counts4, main="Number of Customer Opinion",
xlab="Categories")
# Stacked Bar Plot with Colors and Legend
counts2 <- table(Dataframe2$location, Dataframe2$polarity)
barplot(counts2, main="Customer Feedbacks & Sources",
xlab="Number of Cus... |
ed5ce5d793c3de34d5b520837f3f198ca14ce857 | 58f4573bc3e9efbc14ff9ebbf089231c246cf066 | /demos/caseStudies/oncology/rocchetti.R | 533fd84e6b6e2c6190b7e6f121890c3c288b2674 | [] | no_license | Anathawa/mlxR | 1a4ec2f277076bd13525f0c1d912ede3d20cb1cc | 7e05119b78b47c8b19126de07c084e7d267c4baf | refs/heads/master | 2021-01-19T09:17:35.765267 | 2017-04-05T18:00:39 | 2017-04-05T18:00:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,191 | r | rocchetti.R | #------------------------------------------------------
model.pharmml <- 'pharmML/Rocchetti_2013_oncology_TGI_antiangiogenic_combo_v1.xml'
#------------------------------------------------------
d = read.csv('data/rocchetti2013_data.csv',skip=1,na='.')
head(d)
adm1 <- list( time = d$TIME[d$EVID==1&d$CMT==1],
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.